Skip to content

Commit 5e9d5c7

Browse files
chore: generate
1 parent b382d1a commit 5e9d5c7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/opencode/specs/effect/schema.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ the corresponding zod methods, so JSON Schema output (`type: integer`,
6464
`exclusiveMinimum`, `pattern`, `format: uuid`, …) is preserved.
6565

6666
```ts
67-
const PositiveInt = Schema.Number.check(Schema.isInt()).check(Schema.isGreaterThan(0))
67+
const PositiveInt = Schema.Number.check(Schema.isInt()).check(Schema.isGreaterThan(0))
6868
const NonNegativeInt = Schema.Number.check(Schema.isInt()).check(Schema.isGreaterThanOrEqualTo(0))
69-
const HexColor = Schema.String.check(Schema.isPattern(/^#[0-9a-fA-F]{6}$/))
69+
const HexColor = Schema.String.check(Schema.isPattern(/^#[0-9a-fA-F]{6}$/))
7070
```
7171

7272
See `test/util/effect-zod.test.ts` for the full set of translated checks.
@@ -321,5 +321,5 @@ piecewise.
321321
- Keep the migration incremental. Converting the domain model first is more
322322
valuable than converting every boundary in the same change.
323323
- Every migrated file should leave the generated SDK output (`packages/sdk/
324-
openapi.json` and `packages/sdk/js/src/v2/gen/types.gen.ts`) byte-identical
324+
openapi.json` and `packages/sdk/js/src/v2/gen/types.gen.ts`) byte-identical
325325
unless the change is deliberately user-visible.

0 commit comments

Comments
 (0)