cloudaxe-opencode/packages/schema/src/project.ts

10 lines
276 B
TypeScript

export * as Project from "./project"
import { Schema } from "effect"
import { withStatics } from "./schema"
export const ID = Schema.String.pipe(
Schema.brand("Project.ID"),
withStatics((schema) => ({ global: schema.make("global") })),
)
export type ID = typeof ID.Type