Download packages/schema/src/project-id.ts from SaylorTwift/opencode: direct link, hf CLI and curl.
- Browser
- Download file 251 Bytes
-
https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/schema/src/project-id.ts
- Command line
-
hf download hf://SaylorTwift/opencode/packages/schema/src/project-id.ts
-
curl -L -o project-id.ts https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/schema/src/project-id.ts
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 | |