refactor(schema): normalize module patterns (#33770)

This commit is contained in:
Kit Langton
2026-06-25 15:42:22 +00:00
committed by GitHub
parent 5565a8ee10
commit 7854f5b9f7
50 changed files with 204 additions and 202 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
import { Schema } from "effect"
import { ascending } from "./identifier"
import { withStatics } from "./schema"
import { statics } from "./schema"
export const WorkspaceID = Schema.String.check(Schema.isStartsWith("wrk")).pipe(
Schema.brand("WorkspaceV2.ID"),
withStatics((schema) => {
statics((schema) => {
const create = () => schema.make("wrk_" + ascending())
return {
ascending: (id?: string) => {