Files
opencode/packages/schema/src/project-id.ts
2026-06-25 15:42:22 +00:00

9 lines
251 B
TypeScript

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