Initial LisgloSIPS V2 implementation

This commit is contained in:
hectorzhao
2026-06-22 10:56:38 +08:00
commit 5fa1bd35e9
303 changed files with 35644 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
{
"name": "@lisglosips/contracts",
"version": "0.2.0",
"private": true,
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc -p tsconfig.json"
}
}
+10
View File
@@ -0,0 +1,10 @@
export const API_PREFIX = '/api/v2';
export type HealthStatus = 'ok' | 'degraded' | 'down';
export interface HealthCheckResponse {
status: HealthStatus;
service: string;
timestamp: string;
checks: Record<string, HealthStatus>;
}
+10
View File
@@ -0,0 +1,10 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"composite": true,
"rootDir": "src",
"outDir": "dist",
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo"
},
"include": ["src/**/*.ts"]
}