0.1.4 #5

Merged
Thilawyn merged 67 commits from next into master 2025-10-02 18:18:23 +02:00
Showing only changes of commit 993e2c1038 - Show all commits

View File

@@ -0,0 +1,15 @@
import { Effectable, Schema, type Pipeable } from "effect"
export const TypeId: unique symbol = Symbol.for("effect-fc/types/Form")
export type TypeId = typeof TypeId
export interface Form<in out A, in out I = A, out R = never>
extends Pipeable.Pipeable {
readonly schema: Schema.Schema<A, I, R>
}
class FormImpl<in out A, in out I, out R>
extends Effectable.Class<> implements Form<> {
readonly [TypeId]: TypeId = TypeId
}