Init Commit
quality / commitlint (push) Skipped
CD / update-wiki (push) Failing after 7s
quality / changes (push) Successful in 4s
quality / docker-check (push) Skipped
quality / web (push) Failing after 38s
quality / api (push) Successful in 49s
CD / quality (push) Failing after 1m36s
CD / publish (push) Skipped

This commit is contained in:
Denozordec
2026-09-04 11:48:19 +07:00
commit cb8a79260e
300 changed files with 42404 additions and 0 deletions
+45
View File
@@ -0,0 +1,45 @@
// src/app-switcher.ts
import { z } from "zod";
var appSwitcherIconSchema = z.enum([
"server",
"cloud",
"globe",
"dashboard",
"chart"
]);
var appSwitcherEntrySchema = z.object({
id: z.string(),
name: z.string(),
subtitle: z.string().optional(),
url: z.string().url(),
icon: appSwitcherIconSchema.default("server"),
enabled: z.boolean().optional(),
sort: z.number().optional(),
shortcut: z.string().optional()
});
var appSwitcherConfigSchema = z.object({
menuLabel: z.string().default("\u041F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F"),
apps: z.array(appSwitcherEntrySchema).min(1)
});
// src/settings.ts
import { z as z2 } from "zod";
var loginSchema = z2.object({
username: z2.string().min(1),
password: z2.string().min(1)
});
var appSettingsPatchSchema = z2.object({
showQuickActions: z2.boolean().optional()
});
var appSettingsSchema = z2.object({
id: z2.string(),
showQuickActions: z2.boolean()
});
export {
appSettingsPatchSchema,
appSettingsSchema,
appSwitcherConfigSchema,
appSwitcherEntrySchema,
appSwitcherIconSchema,
loginSchema
};