Fix example
All checks were successful
Lint / lint (push) Successful in 16s

This commit is contained in:
Julien Valverdé
2026-04-29 18:02:10 +02:00
parent e182cc4811
commit 1dc28ce8c6
11 changed files with 220 additions and 178 deletions

View File

@@ -0,0 +1,9 @@
import { Schema } from "effect"
import * as Domain from "@/domain"
import { DateTimeUtcFromZonedInput } from "@/lib/schema"
export const TodoFormSchema = Schema.compose(Schema.Struct({
...Domain.Todo.Todo.fields,
completedAt: Schema.OptionFromSelf(DateTimeUtcFromZonedInput),
}), Domain.Todo.Todo)