Download packages/core/src/project/schema.ts from SaylorTwift/opencode: direct link, hf CLI and curl.
- Browser
- Download file 386 Bytes
-
https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/core/src/project/schema.ts
- Command line
-
hf download hf://SaylorTwift/opencode/packages/core/src/project/schema.ts
-
curl -L -o schema.ts https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/core/src/project/schema.ts
386 Bytes
| export * as ProjectSchema from "./schema" | |
| import { Schema } from "effect" | |
| import { Project } from "@opencode-ai/schema/project" | |
| import { AbsolutePath } from "../schema" | |
| export const ID = Project.ID | |
| export type ID = typeof ID.Type | |
| export const Vcs = Schema.Union([ | |
| Schema.Struct({ | |
| type: Schema.Literal("git"), | |
| store: AbsolutePath, | |
| }), | |
| ]) | |
| export type Vcs = typeof Vcs.Type | |