/
Alex_Ural
/
opencode
Обзор
Документация
Войти
/
Alex_Ural
/
opencode
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
packages/schema/src/integration-id.ts
7 строк
326 B
Kit Langton
refactor(protocol): extract server contracts (#33708)
25 июн 2026, 05:15
Не верифицирован
25 июн 2026, 05:15
56a37c3
Код
Авторство
О чём код?
import { Schema } from "effect" export const IntegrationID = Schema.String.pipe(Schema.brand("Integration.ID")) export type IntegrationID = typeof IntegrationID.Type export const IntegrationMethodID = Schema.String.pipe(Schema.brand("Integration.MethodID")) export type IntegrationMethodID = typeof IntegrationMethodID.Type