feat: integrate todo note microservice and modularize frontend

This commit is contained in:
Codex
2026-05-05 10:33:26 +00:00
parent abd40fa252
commit 1d0046dc50
28 changed files with 2121 additions and 381 deletions
+2
View File
@@ -60,6 +60,7 @@ export interface UniDeskMicroserviceConfig {
proxyMode: string;
frontendOnly: boolean;
public: boolean;
allowedMethods: string[];
allowedPathPrefixes: string[];
healthPath: string;
timeoutMs: number;
@@ -152,6 +153,7 @@ function microserviceConfig(item: Record<string, unknown>, index: number): UniDe
proxyMode: stringField(backend, "proxyMode", `${path}.backend`),
frontendOnly: booleanField(backend, "frontendOnly", `${path}.backend`),
public: booleanField(backend, "public", `${path}.backend`),
allowedMethods: stringArrayField(backend, "allowedMethods", `${path}.backend`),
allowedPathPrefixes: stringArrayField(backend, "allowedPathPrefixes", `${path}.backend`),
healthPath: stringField(backend, "healthPath", `${path}.backend`),
timeoutMs: numberField(backend, "timeoutMs", `${path}.backend`),