@inf-monkeys-tech/monkeys 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/contracts/tenant.d.ts +75 -6
- package/lib/contracts/tenant.d.ts.map +1 -1
- package/lib/contracts/tenant.js +28 -16
- package/lib/contracts/tenant.js.map +1 -1
- package/lib/esm/contracts/index.mjs +17 -13
- package/lib/esm/contracts/index.mjs.map +1 -1
- package/lib/esm/index.mjs +17 -13
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/runtime/index.mjs +15 -13
- package/lib/esm/runtime/index.mjs.map +1 -1
- package/lib/esm/schemas/index.mjs +15 -13
- package/lib/esm/schemas/index.mjs.map +1 -1
- package/lib/json-schema/tenant-product-config.schema.json +53 -3
- package/lib/json-schema/tenant-runtime-config.schema.json +53 -3
- package/lib/schemas/index.d.ts +20 -4
- package/lib/schemas/index.d.ts.map +1 -1
- package/package.json +1 -1
package/lib/esm/index.mjs
CHANGED
|
@@ -10020,12 +10020,25 @@ var AssetVariantsSchema = z11.object({
|
|
|
10020
10020
|
dark: z11.string().optional()
|
|
10021
10021
|
}).strict();
|
|
10022
10022
|
var ThemeHeadbarSchema = z11.object({
|
|
10023
|
-
theme: z11.enum(["
|
|
10023
|
+
theme: z11.enum(["card", "glassy", "ghost"]).optional(),
|
|
10024
10024
|
navPosition: z11.enum(["left", "center", "right"]).optional(),
|
|
10025
10025
|
actions: z11.union([z11.literal("*"), z11.array(ContractIdentifierSchema)]).optional(),
|
|
10026
10026
|
profile: z11.union([z11.literal("*"), z11.array(ContractIdentifierSchema)]).optional(),
|
|
10027
10027
|
showTeamQuota: z11.boolean().optional()
|
|
10028
10028
|
}).strict();
|
|
10029
|
+
var TenantHeadbarModuleLeafSchema = z11.object({
|
|
10030
|
+
id: ContractIdentifierSchema,
|
|
10031
|
+
extraInfo: z11.boolean().optional(),
|
|
10032
|
+
displayName: z11.union([z11.string(), z11.record(LocaleIdentifierSchema, z11.string())]).optional(),
|
|
10033
|
+
visible: z11.boolean().optional(),
|
|
10034
|
+
disabled: z11.boolean().optional(),
|
|
10035
|
+
icon: z11.string().optional(),
|
|
10036
|
+
showQuickSwitcher: z11.boolean().optional(),
|
|
10037
|
+
showSidebar: z11.boolean().optional()
|
|
10038
|
+
}).strict();
|
|
10039
|
+
var TenantHeadbarModuleItemSchema = TenantHeadbarModuleLeafSchema.extend({
|
|
10040
|
+
children: z11.array(TenantHeadbarModuleLeafSchema).optional()
|
|
10041
|
+
}).strict();
|
|
10029
10042
|
var KernelHeadbarSchema = z11.object({
|
|
10030
10043
|
theme: z11.literal("card").optional(),
|
|
10031
10044
|
layoutMode: z11.enum(["boxed", "full-bleed"]).optional(),
|
|
@@ -10221,18 +10234,7 @@ var TenantApplicationConfigSchema = z11.object({
|
|
|
10221
10234
|
monkeysSpaceSidebar: z11.union([z11.literal("*"), z11.array(ContractIdentifierSchema)]).optional(),
|
|
10222
10235
|
monkeysSpaceHeadbar: z11.union([
|
|
10223
10236
|
z11.literal("*"),
|
|
10224
|
-
z11.array(
|
|
10225
|
-
z11.object({
|
|
10226
|
-
id: ContractIdentifierSchema,
|
|
10227
|
-
extraInfo: z11.boolean().optional(),
|
|
10228
|
-
displayName: z11.union([z11.string(), z11.record(LocaleIdentifierSchema, z11.string())]).optional(),
|
|
10229
|
-
visible: z11.boolean().optional(),
|
|
10230
|
-
disabled: z11.boolean().optional(),
|
|
10231
|
-
icon: z11.string().optional(),
|
|
10232
|
-
showQuickSwitcher: z11.boolean().optional(),
|
|
10233
|
-
showSidebar: z11.boolean().optional()
|
|
10234
|
-
}).strict()
|
|
10235
|
-
)
|
|
10237
|
+
z11.array(TenantHeadbarModuleItemSchema)
|
|
10236
10238
|
]).optional(),
|
|
10237
10239
|
settingsSidebar: z11.union([z11.literal("*"), z11.array(ContractIdentifierSchema)]).optional()
|
|
10238
10240
|
}).strict().optional(),
|
|
@@ -12388,12 +12390,14 @@ export {
|
|
|
12388
12390
|
TenantDataBindingSchema,
|
|
12389
12391
|
TenantDataBindingsSchema,
|
|
12390
12392
|
TenantDesignTokensConfigSchema,
|
|
12393
|
+
TenantHeadbarModuleItemSchema,
|
|
12391
12394
|
TenantProductConfigSchema,
|
|
12392
12395
|
TenantRuntimeConfigSchema,
|
|
12393
12396
|
TenantWorkbenchConfigSchema,
|
|
12394
12397
|
TenantWorkbenchPageContextSchema,
|
|
12395
12398
|
TenantWorkbenchPageEnvelopeSchema,
|
|
12396
12399
|
TenantWorkbenchPageGroupSchema,
|
|
12400
|
+
ThemeHeadbarSchema,
|
|
12397
12401
|
ThemeTokenGroupSchema,
|
|
12398
12402
|
ThemeTokenSchema,
|
|
12399
12403
|
ThemeTokenTypeSchema,
|