/
Alex_Ural
/
opencode
Обзор
Документация
Войти
/
Alex_Ural
/
opencode
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
packages/core/src/config/attachments.ts
15 строк
531 B
Dax
feat(core): add location-scoped config loading (#29625)
30 май 2026, 07:06
Не верифицирован
30 май 2026, 07:06
9583e08
Код
Авторство
О чём код?
export * as ConfigAttachments from "./attachments" import { Schema } from "effect" import { PositiveInt } from "../schema" export class Image extends Schema.Class<Image>("ConfigV2.Attachments.Image")({ auto_resize: Schema.Boolean.pipe(Schema.optional), max_width: PositiveInt.pipe(Schema.optional), max_height: PositiveInt.pipe(Schema.optional), max_base64_bytes: PositiveInt.pipe(Schema.optional), }) {} export class Info extends Schema.Class<Info>("ConfigV2.Attachments")({ image: Image.pipe(Schema.optional), }) {}