/
Alex_Ural
/
opencode
Обзор
Документация
Войти
/
Alex_Ural
/
opencode
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
packages/schema/src/installation-event.ts
20 строк
448 B
Kit Langton
refactor(schema): extract public event definitions (#33579)
24 июн 2026, 23:43
Не верифицирован
24 июн 2026, 23:43
24b0132
Код
Авторство
О чём код?
export * as InstallationEvent from "./installation-event" import { Schema } from "effect" import { Event } from "./event" export const Updated = Event.define({ type: "installation.updated", schema: { version: Schema.String, }, }) export const UpdateAvailable = Event.define({ type: "installation.update-available", schema: { version: Schema.String, }, }) export const Definitions = Event.inventory(Updated, UpdateAvailable)