opencode / packages /schema /src /project-id.ts
SaylorTwift's picture
SaylorTwift HF Staff
Add files using upload-large-folder tool
89a2873 verified
Raw
History Blame Contribute Delete
251 Bytes
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