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