mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-13 19:38:37 +00:00
8 lines
254 B
TypeScript
8 lines
254 B
TypeScript
import { Schema } from "effect"
|
|
import { statics } from "./schema.js"
|
|
|
|
export const ProjectID = Schema.String.pipe(
|
|
Schema.brand("Project.ID"),
|
|
statics((schema) => ({ global: schema.make("global") })),
|
|
)
|
|
export type ProjectID = typeof ProjectID.Type
|