/
Alex_Ural
/
opencode
Обзор
Документация
Войти
/
Alex_Ural
/
opencode
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
packages/core/src/project/schema.ts
16 строк
386 B
Kit Langton
refactor(schema): extract shared public schemas (#33571)
24 июн 2026, 05:31
Не верифицирован
24 июн 2026, 05:31
516cfe4
Код
Авторство
О чём код?
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