/
weylin
/
WtDev
Обзор
Документация
Войти
/
weylin
/
WtDev
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
dev
src/common.ts
46 строк
750 B
Weylin
Увеличен номер версии бэка
27 янв 2026, 19:54
27 янв 2026, 19:54
c0fb334
Код
Авторство
О чём код?
import { EventManager } from "./eventManager"; export const REQUIRED_BACKEND_VERSION = "b0026"; export type WtServer = { enabled?: boolean; default?: boolean; hidden?: boolean; name: string; url: string; login: string; password: string; }; export type SimpleApiResult = { ok: boolean; message?: string; }; export type ResourceUpload = { resourceCode: string; filePath: string; }; export type PreparedResource = { name: string; code: string; data: string; }; export type XmlElem = { id: string; name: string; form: string; xml: string; hash: string; filepath: string; }; export type Version = { major: number; minor: number; patch: number; }; export const globalEventManager = new EventManager();