mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-24 20:25:36 -04:00
9 lines
251 B
TypeScript
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
|