/
Alex_Ural
/
opencode
Обзор
Документация
Войти
/
Alex_Ural
/
opencode
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
packages/core/src/config/formatter.ts
12 строк
512 B
Dax
feat(core): add location-scoped config loading (#29625)
30 май 2026, 07:06
Не верифицирован
30 май 2026, 07:06
9583e08
Код
Авторство
О чём код?
export * as ConfigFormatter from "./formatter" import { Schema } from "effect" export class Entry extends Schema.Class<Entry>("ConfigV2.Formatter.Entry")({ disabled: Schema.Boolean.pipe(Schema.optional), command: Schema.String.pipe(Schema.Array, Schema.optional), environment: Schema.Record(Schema.String, Schema.String).pipe(Schema.optional), extensions: Schema.String.pipe(Schema.Array, Schema.optional), }) {} export const Info = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry)])