@inf-monkeys-tech/monkeys 1.0.46 → 1.0.48

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.
Files changed (47) hide show
  1. package/lib/contracts/access.d.ts +60 -0
  2. package/lib/contracts/access.d.ts.map +1 -0
  3. package/lib/contracts/access.js +47 -0
  4. package/lib/contracts/access.js.map +1 -0
  5. package/lib/contracts/index.d.ts +1 -0
  6. package/lib/contracts/index.d.ts.map +1 -1
  7. package/lib/contracts/index.js +1 -0
  8. package/lib/contracts/index.js.map +1 -1
  9. package/lib/contracts/menu.d.ts +1 -1
  10. package/lib/contracts/page.d.ts +3 -3
  11. package/lib/contracts/render.d.ts +4 -4
  12. package/lib/contracts/semantic.d.ts +1 -1
  13. package/lib/contracts/tenant.d.ts +161 -5
  14. package/lib/contracts/tenant.d.ts.map +1 -1
  15. package/lib/contracts/tenant.js +39 -1
  16. package/lib/contracts/tenant.js.map +1 -1
  17. package/lib/esm/contracts/index.mjs +1468 -1399
  18. package/lib/esm/contracts/index.mjs.map +1 -1
  19. package/lib/esm/index.mjs +1526 -1401
  20. package/lib/esm/index.mjs.map +1 -1
  21. package/lib/esm/runtime/index.mjs +122 -2
  22. package/lib/esm/runtime/index.mjs.map +1 -1
  23. package/lib/esm/schemas/index.mjs +1468 -1399
  24. package/lib/esm/schemas/index.mjs.map +1 -1
  25. package/lib/index.d.ts +1 -0
  26. package/lib/index.d.ts.map +1 -1
  27. package/lib/index.js +3 -1
  28. package/lib/index.js.map +1 -1
  29. package/lib/json-schema/tenant-product-config.schema.json +104 -0
  30. package/lib/json-schema/tenant-runtime-config.schema.json +104 -0
  31. package/lib/runtime/access-compiler.d.ts +10 -0
  32. package/lib/runtime/access-compiler.d.ts.map +1 -0
  33. package/lib/runtime/access-compiler.js +63 -0
  34. package/lib/runtime/access-compiler.js.map +1 -0
  35. package/lib/runtime/index.d.ts +1 -0
  36. package/lib/runtime/index.d.ts.map +1 -1
  37. package/lib/runtime/index.js +1 -0
  38. package/lib/runtime/index.js.map +1 -1
  39. package/lib/runtime/menu-compiler.d.ts +0 -1
  40. package/lib/runtime/menu-compiler.d.ts.map +1 -1
  41. package/lib/runtime/menu-compiler.js +1 -2
  42. package/lib/runtime/menu-compiler.js.map +1 -1
  43. package/lib/schemas/index.d.ts +100 -9
  44. package/lib/schemas/index.d.ts.map +1 -1
  45. package/lib/schemas/index.js +11 -5
  46. package/lib/schemas/index.js.map +1 -1
  47. package/package.json +1 -1
@@ -0,0 +1,60 @@
1
+ import { z } from 'zod';
2
+ export declare const PermissionDefinitionSchema: z.ZodObject<{
3
+ code: z.ZodString;
4
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
5
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
6
+ resource: z.ZodString;
7
+ action: z.ZodString;
8
+ domain: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strict>;
10
+ export declare const PermissionBundleSchema: z.ZodObject<{
11
+ bundleId: z.ZodString;
12
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
13
+ permissionCodes: z.ZodDefault<z.ZodArray<z.ZodString>>;
14
+ }, z.core.$strict>;
15
+ export declare const SystemGroupDefinitionSchema: z.ZodObject<{
16
+ groupCode: z.ZodString;
17
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
18
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
19
+ permissionPolicy: z.ZodDefault<z.ZodEnum<{
20
+ bundles: "bundles";
21
+ studio_current: "studio_current";
22
+ all_current: "all_current";
23
+ }>>;
24
+ permissionBundleIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
25
+ }, z.core.$strict>;
26
+ export declare const ProductAccessDeclarationSchema: z.ZodObject<{
27
+ contract: z.ZodLiteral<"ProductAccessDeclaration">;
28
+ declarationId: z.ZodString;
29
+ version: z.ZodNumber;
30
+ ownerRepo: z.ZodString;
31
+ permissions: z.ZodDefault<z.ZodArray<z.ZodObject<{
32
+ code: z.ZodString;
33
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
34
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
35
+ resource: z.ZodString;
36
+ action: z.ZodString;
37
+ domain: z.ZodOptional<z.ZodString>;
38
+ }, z.core.$strict>>>;
39
+ permissionBundles: z.ZodDefault<z.ZodArray<z.ZodObject<{
40
+ bundleId: z.ZodString;
41
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
42
+ permissionCodes: z.ZodDefault<z.ZodArray<z.ZodString>>;
43
+ }, z.core.$strict>>>;
44
+ systemGroups: z.ZodArray<z.ZodObject<{
45
+ groupCode: z.ZodString;
46
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
47
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
48
+ permissionPolicy: z.ZodDefault<z.ZodEnum<{
49
+ bundles: "bundles";
50
+ studio_current: "studio_current";
51
+ all_current: "all_current";
52
+ }>>;
53
+ permissionBundleIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
54
+ }, z.core.$strict>>;
55
+ }, z.core.$strict>;
56
+ export type PermissionDefinition = z.infer<typeof PermissionDefinitionSchema>;
57
+ export type PermissionBundle = z.infer<typeof PermissionBundleSchema>;
58
+ export type SystemGroupDefinition = z.infer<typeof SystemGroupDefinitionSchema>;
59
+ export type ProductAccessDeclaration = z.infer<typeof ProductAccessDeclarationSchema>;
60
+ //# sourceMappingURL=access.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"access.d.ts","sourceRoot":"","sources":["../../src/contracts/access.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,0BAA0B;;;;;;;kBAS5B,CAAC;AAEZ,eAAO,MAAM,sBAAsB;;;;kBAMxB,CAAC;AAEZ,eAAO,MAAM,2BAA2B;;;;;;;;;;kBAYpC,CAAC;AAEL,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAUhC,CAAC;AAEZ,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC"}
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProductAccessDeclarationSchema = exports.SystemGroupDefinitionSchema = exports.PermissionBundleSchema = exports.PermissionDefinitionSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const common_1 = require("./common");
6
+ exports.PermissionDefinitionSchema = zod_1.z
7
+ .object({
8
+ code: common_1.ContractIdentifierSchema,
9
+ name: common_1.LocalizedTextSchema,
10
+ description: common_1.LocalizedTextSchema.optional(),
11
+ resource: common_1.ContractIdentifierSchema,
12
+ action: common_1.ContractIdentifierSchema,
13
+ domain: common_1.ContractIdentifierSchema.optional(),
14
+ })
15
+ .strict();
16
+ exports.PermissionBundleSchema = zod_1.z
17
+ .object({
18
+ bundleId: common_1.ContractIdentifierSchema,
19
+ name: common_1.LocalizedTextSchema,
20
+ permissionCodes: zod_1.z.array(common_1.ContractIdentifierSchema).default([]),
21
+ })
22
+ .strict();
23
+ exports.SystemGroupDefinitionSchema = zod_1.z
24
+ .object({
25
+ groupCode: common_1.ContractIdentifierSchema,
26
+ name: common_1.LocalizedTextSchema,
27
+ description: common_1.LocalizedTextSchema.optional(),
28
+ permissionPolicy: zod_1.z.enum(['bundles', 'studio_current', 'all_current']).default('bundles'),
29
+ permissionBundleIds: zod_1.z.array(common_1.ContractIdentifierSchema).default([]),
30
+ })
31
+ .strict()
32
+ .refine((value) => value.permissionPolicy !== 'bundles' || value.permissionBundleIds.length > 0, {
33
+ message: 'A bundles permission policy requires at least one permission bundle.',
34
+ path: ['permissionBundleIds'],
35
+ });
36
+ exports.ProductAccessDeclarationSchema = zod_1.z
37
+ .object({
38
+ contract: zod_1.z.literal('ProductAccessDeclaration'),
39
+ declarationId: common_1.ContractIdentifierSchema,
40
+ version: common_1.ContractVersionSchema,
41
+ ownerRepo: common_1.ContractIdentifierSchema,
42
+ permissions: zod_1.z.array(exports.PermissionDefinitionSchema).default([]),
43
+ permissionBundles: zod_1.z.array(exports.PermissionBundleSchema).default([]),
44
+ systemGroups: zod_1.z.array(exports.SystemGroupDefinitionSchema).min(1),
45
+ })
46
+ .strict();
47
+ //# sourceMappingURL=access.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"access.js","sourceRoot":"","sources":["../../src/contracts/access.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,qCAAgG;AAEnF,QAAA,0BAA0B,GAAG,OAAC;KACxC,MAAM,CAAC;IACN,IAAI,EAAE,iCAAwB;IAC9B,IAAI,EAAE,4BAAmB;IACzB,WAAW,EAAE,4BAAmB,CAAC,QAAQ,EAAE;IAC3C,QAAQ,EAAE,iCAAwB;IAClC,MAAM,EAAE,iCAAwB;IAChC,MAAM,EAAE,iCAAwB,CAAC,QAAQ,EAAE;CAC5C,CAAC;KACD,MAAM,EAAE,CAAC;AAEC,QAAA,sBAAsB,GAAG,OAAC;KACpC,MAAM,CAAC;IACN,QAAQ,EAAE,iCAAwB;IAClC,IAA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M,EAAE,CAAC"}
@@ -1,3 +1,4 @@
1
+ export * from './access';
1
2
  export * from './artifact';
2
3
  export * from './agent';
3
4
  export * from './capability';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC"}
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./access"), exports);
17
18
  __exportStar(require("./artifact"), exports);
18
19
  __exportStar(require("./agent"), exports);
19
20
  __exportStar(require("./capability"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,0CAAwB;AACxB,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,yCAAuB;AACvB,yCAAuB;AACvB,2CAAyB;AACzB,6CAA2B;AAC3B,2CAAyB;AACzB,0CAAwB;AACxB,0CAAwB;AACxB,wDAAsC;AACtC,qDAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,6CAA2B;AAC3B,0CAAwB;AACxB,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,yCAAuB;AACvB,yCAAuB;AACvB,2CAAyB;AACzB,6CAA2B;AAC3B,2CAAyB;AACzB,0CAAwB;AACxB,0CAAwB;AACxB,wDAAsC;AACtC,qDAAmC"}
@@ -298,8 +298,8 @@ export declare const MenuPageRegistrationSchema: z.ZodObject<{
298
298
  "design-board": "design-board";
299
299
  process: "process";
300
300
  record: "record";
301
- chat: "chat";
302
301
  action: "action";
302
+ chat: "chat";
303
303
  agent: "agent";
304
304
  page: "page";
305
305
  view: "view";
@@ -3,8 +3,8 @@ export declare const PageTypeSchema: z.ZodEnum<{
3
3
  "design-board": "design-board";
4
4
  process: "process";
5
5
  record: "record";
6
- chat: "chat";
7
6
  action: "action";
7
+ chat: "chat";
8
8
  agent: "agent";
9
9
  page: "page";
10
10
  view: "view";
@@ -41,8 +41,8 @@ export declare const PageDefinitionSchema: z.ZodObject<{
41
41
  "design-board": "design-board";
42
42
  process: "process";
43
43
  record: "record";
44
- chat: "chat";
45
44
  action: "action";
45
+ chat: "chat";
46
46
  agent: "agent";
47
47
  page: "page";
48
48
  view: "view";
@@ -156,8 +156,8 @@ export declare const PageRuntimeDescriptorSchema: z.ZodObject<{
156
156
  "design-board": "design-board";
157
157
  process: "process";
158
158
  record: "record";
159
- chat: "chat";
160
159
  action: "action";
160
+ chat: "chat";
161
161
  agent: "agent";
162
162
  page: "page";
163
163
  view: "view";
@@ -15,9 +15,9 @@ export declare const RenderNodeStateSchema: z.ZodEnum<{
15
15
  }>;
16
16
  export declare const RenderNodeKindSchema: z.ZodEnum<{
17
17
  record: "record";
18
+ action: "action";
18
19
  shell: "shell";
19
20
  detail: "detail";
20
- action: "action";
21
21
  page: "page";
22
22
  navigation: "navigation";
23
23
  view: "view";
@@ -160,9 +160,9 @@ export declare const RenderNodeSchema: z.ZodObject<{
160
160
  nodeId: z.ZodString;
161
161
  kind: z.ZodEnum<{
162
162
  record: "record";
163
+ action: "action";
163
164
  shell: "shell";
164
165
  detail: "detail";
165
- action: "action";
166
166
  page: "page";
167
167
  navigation: "navigation";
168
168
  view: "view";
@@ -378,9 +378,9 @@ export declare const RenderTreeSchema: z.ZodObject<{
378
378
  nodeId: z.ZodString;
379
379
  kind: z.ZodEnum<{
380
380
  record: "record";
381
+ action: "action";
381
382
  shell: "shell";
382
383
  detail: "detail";
383
- action: "action";
384
384
  page: "page";
385
385
  navigation: "navigation";
386
386
  view: "view";
@@ -598,9 +598,9 @@ export declare const OverlayNodeSchema: z.ZodObject<{
598
598
  nodeId: z.ZodString;
599
599
  kind: z.ZodEnum<{
600
600
  record: "record";
601
+ action: "action";
601
602
  shell: "shell";
602
603
  detail: "detail";
603
- action: "action";
604
604
  page: "page";
605
605
  navigation: "navigation";
606
606
  view: "view";
@@ -281,8 +281,8 @@ export declare const ProductDeclarationSchema: z.ZodObject<{
281
281
  "design-board": "design-board";
282
282
  process: "process";
283
283
  record: "record";
284
- chat: "chat";
285
284
  action: "action";
285
+ chat: "chat";
286
286
  agent: "agent";
287
287
  page: "page";
288
288
  view: "view";
@@ -331,8 +331,8 @@ export declare const TenantWorkbenchPageEnvelopeSchema: z.ZodObject<{
331
331
  "design-board": "design-board";
332
332
  process: "process";
333
333
  record: "record";
334
- chat: "chat";
335
334
  action: "action";
335
+ chat: "chat";
336
336
  agent: "agent";
337
337
  page: "page";
338
338
  view: "view";
@@ -473,8 +473,8 @@ export declare const TenantWorkbenchConfigSchema: z.ZodObject<{
473
473
  "design-board": "design-board";
474
474
  process: "process";
475
475
  record: "record";
476
- chat: "chat";
477
476
  action: "action";
477
+ chat: "chat";
478
478
  agent: "agent";
479
479
  page: "page";
480
480
  view: "view";
@@ -689,6 +689,26 @@ export declare const TenantLandingPageConfigSchema: z.ZodDiscriminatedUnion<[z.Z
689
689
  }>>;
690
690
  mode: z.ZodLiteral<"iframe">;
691
691
  }, z.core.$strict>], "mode">;
692
+ export declare const TenantListFooterConfigSchema: z.ZodObject<{
693
+ showTotal: z.ZodOptional<z.ZodBoolean>;
694
+ showPageSize: z.ZodOptional<z.ZodBoolean>;
695
+ pageSizeOptions: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
696
+ paginationMode: z.ZodOptional<z.ZodEnum<{
697
+ auto: "auto";
698
+ compact: "compact";
699
+ pages: "pages";
700
+ }>>;
701
+ alignment: z.ZodOptional<z.ZodEnum<{
702
+ start: "start";
703
+ end: "end";
704
+ "space-between": "space-between";
705
+ }>>;
706
+ density: z.ZodOptional<z.ZodEnum<{
707
+ default: "default";
708
+ compact: "compact";
709
+ comfortable: "comfortable";
710
+ }>>;
711
+ }, z.core.$strict>;
692
712
  /** Public, application-specific values that are intentionally safe for browser clients. */
693
713
  export declare const TenantApplicationConfigSchema: z.ZodObject<{
694
714
  theme: z.ZodObject<{
@@ -910,6 +930,26 @@ export declare const TenantApplicationConfigSchema: z.ZodObject<{
910
930
  left: "left";
911
931
  right: "right";
912
932
  }>>;
933
+ listFooter: z.ZodOptional<z.ZodObject<{
934
+ showTotal: z.ZodOptional<z.ZodBoolean>;
935
+ showPageSize: z.ZodOptional<z.ZodBoolean>;
936
+ pageSizeOptions: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
937
+ paginationMode: z.ZodOptional<z.ZodEnum<{
938
+ auto: "auto";
939
+ compact: "compact";
940
+ pages: "pages";
941
+ }>>;
942
+ alignment: z.ZodOptional<z.ZodEnum<{
943
+ start: "start";
944
+ end: "end";
945
+ "space-between": "space-between";
946
+ }>>;
947
+ density: z.ZodOptional<z.ZodEnum<{
948
+ default: "default";
949
+ compact: "compact";
950
+ comfortable: "comfortable";
951
+ }>>;
952
+ }, z.core.$strict>>;
913
953
  ugcViewIconOnlyMode: z.ZodOptional<z.ZodBoolean>;
914
954
  workflowPreviewExecutionGrid: z.ZodOptional<z.ZodObject<{
915
955
  selectionModeDisplayType: z.ZodOptional<z.ZodEnum<{
@@ -956,6 +996,31 @@ export declare const TenantApplicationConfigSchema: z.ZodObject<{
956
996
  compact: "compact";
957
997
  comfortable: "comfortable";
958
998
  }>>;
999
+ statusStates: z.ZodOptional<z.ZodObject<{
1000
+ loading: z.ZodOptional<z.ZodObject<{
1001
+ variant: z.ZodOptional<z.ZodEnum<{
1002
+ spinner: "spinner";
1003
+ skeleton: "skeleton";
1004
+ }>>;
1005
+ }, z.core.$strict>>;
1006
+ empty: z.ZodOptional<z.ZodObject<{
1007
+ variant: z.ZodOptional<z.ZodEnum<{
1008
+ default: "default";
1009
+ compact: "compact";
1010
+ }>>;
1011
+ }, z.core.$strict>>;
1012
+ error: z.ZodOptional<z.ZodObject<{
1013
+ showRetry: z.ZodOptional<z.ZodBoolean>;
1014
+ }, z.core.$strict>>;
1015
+ permission: z.ZodOptional<z.ZodObject<{
1016
+ showRequestAccess: z.ZodOptional<z.ZodBoolean>;
1017
+ }, z.core.$strict>>;
1018
+ density: z.ZodOptional<z.ZodEnum<{
1019
+ default: "default";
1020
+ compact: "compact";
1021
+ comfortable: "comfortable";
1022
+ }>>;
1023
+ }, z.core.$strict>>;
959
1024
  pageZoom: z.ZodOptional<z.ZodNumber>;
960
1025
  miniMode: z.ZodOptional<z.ZodObject<{
961
1026
  showPreviewViewExecutionResultGrid: z.ZodBoolean;
@@ -1010,8 +1075,8 @@ export declare const TenantApplicationConfigSchema: z.ZodObject<{
1010
1075
  "design-board": "design-board";
1011
1076
  process: "process";
1012
1077
  record: "record";
1013
- chat: "chat";
1014
1078
  action: "action";
1079
+ chat: "chat";
1015
1080
  agent: "agent";
1016
1081
  page: "page";
1017
1082
  view: "view";
@@ -1777,6 +1842,26 @@ export declare const TenantProductConfigSchema: z.ZodObject<{
1777
1842
  left: "left";
1778
1843
  right: "right";
1779
1844
  }>>;
1845
+ listFooter: z.ZodOptional<z.ZodObject<{
1846
+ showTotal: z.ZodOptional<z.ZodBoolean>;
1847
+ showPageSize: z.ZodOptional<z.ZodBoolean>;
1848
+ pageSizeOptions: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
1849
+ paginationMode: z.ZodOptional<z.ZodEnum<{
1850
+ auto: "auto";
1851
+ compact: "compact";
1852
+ pages: "pages";
1853
+ }>>;
1854
+ alignment: z.ZodOptional<z.ZodEnum<{
1855
+ start: "start";
1856
+ end: "end";
1857
+ "space-between": "space-between";
1858
+ }>>;
1859
+ density: z.ZodOptional<z.ZodEnum<{
1860
+ default: "default";
1861
+ compact: "compact";
1862
+ comfortable: "comfortable";
1863
+ }>>;
1864
+ }, z.core.$strict>>;
1780
1865
  ugcViewIconOnlyMode: z.ZodOptional<z.ZodBoolean>;
1781
1866
  workflowPreviewExecutionGrid: z.ZodOptional<z.ZodObject<{
1782
1867
  selectionModeDisplayType: z.ZodOptional<z.ZodEnum<{
@@ -1823,6 +1908,31 @@ export declare const TenantProductConfigSchema: z.ZodObject<{
1823
1908
  compact: "compact";
1824
1909
  comfortable: "comfortable";
1825
1910
  }>>;
1911
+ statusStates: z.ZodOptional<z.ZodObject<{
1912
+ loading: z.ZodOptional<z.ZodObject<{
1913
+ variant: z.ZodOptional<z.ZodEnum<{
1914
+ spinner: "spinner";
1915
+ skeleton: "skeleton";
1916
+ }>>;
1917
+ }, z.core.$strict>>;
1918
+ empty: z.ZodOptional<z.ZodObject<{
1919
+ variant: z.ZodOptional<z.ZodEnum<{
1920
+ default: "default";
1921
+ compact: "compact";
1922
+ }>>;
1923
+ }, z.core.$strict>>;
1924
+ error: z.ZodOptional<z.ZodObject<{
1925
+ showRetry: z.ZodOptional<z.ZodBoolean>;
1926
+ }, z.core.$strict>>;
1927
+ permission: z.ZodOptional<z.ZodObject<{
1928
+ showRequestAccess: z.ZodOptional<z.ZodBoolean>;
1929
+ }, z.core.$strict>>;
1930
+ density: z.ZodOptional<z.ZodEnum<{
1931
+ default: "default";
1932
+ compact: "compact";
1933
+ comfortable: "comfortable";
1934
+ }>>;
1935
+ }, z.core.$strict>>;
1826
1936
  pageZoom: z.ZodOptional<z.ZodNumber>;
1827
1937
  miniMode: z.ZodOptional<z.ZodObject<{
1828
1938
  showPreviewViewExecutionResultGrid: z.ZodBoolean;
@@ -1877,8 +1987,8 @@ export declare const TenantProductConfigSchema: z.ZodObject<{
1877
1987
  "design-board": "design-board";
1878
1988
  process: "process";
1879
1989
  record: "record";
1880
- chat: "chat";
1881
1990
  action: "action";
1991
+ chat: "chat";
1882
1992
  agent: "agent";
1883
1993
  page: "page";
1884
1994
  view: "view";
@@ -2656,6 +2766,26 @@ export declare const TenantRuntimeConfigSchema: z.ZodObject<{
2656
2766
  left: "left";
2657
2767
  right: "right";
2658
2768
  }>>;
2769
+ listFooter: z.ZodOptional<z.ZodObject<{
2770
+ showTotal: z.ZodOptional<z.ZodBoolean>;
2771
+ showPageSize: z.ZodOptional<z.ZodBoolean>;
2772
+ pageSizeOptions: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
2773
+ paginationMode: z.ZodOptional<z.ZodEnum<{
2774
+ auto: "auto";
2775
+ compact: "compact";
2776
+ pages: "pages";
2777
+ }>>;
2778
+ alignment: z.ZodOptional<z.ZodEnum<{
2779
+ start: "start";
2780
+ end: "end";
2781
+ "space-between": "space-between";
2782
+ }>>;
2783
+ density: z.ZodOptional<z.ZodEnum<{
2784
+ default: "default";
2785
+ compact: "compact";
2786
+ comfortable: "comfortable";
2787
+ }>>;
2788
+ }, z.core.$strict>>;
2659
2789
  ugcViewIconOnlyMode: z.ZodOptional<z.ZodBoolean>;
2660
2790
  workflowPreviewExecutionGrid: z.ZodOptional<z.ZodObject<{
2661
2791
  selectionModeDisplayType: z.ZodOptional<z.ZodEnum<{
@@ -2702,6 +2832,31 @@ export declare const TenantRuntimeConfigSchema: z.ZodObject<{
2702
2832
  compact: "compact";
2703
2833
  comfortable: "comfortable";
2704
2834
  }>>;
2835
+ statusStates: z.ZodOptional<z.ZodObject<{
2836
+ loading: z.ZodOptional<z.ZodObject<{
2837
+ variant: z.ZodOptional<z.ZodEnum<{
2838
+ spinner: "spinner";
2839
+ skeleton: "skeleton";
2840
+ }>>;
2841
+ }, z.core.$strict>>;
2842
+ empty: z.ZodOptional<z.ZodObject<{
2843
+ variant: z.ZodOptional<z.ZodEnum<{
2844
+ default: "default";
2845
+ compact: "compact";
2846
+ }>>;
2847
+ }, z.core.$strict>>;
2848
+ error: z.ZodOptional<z.ZodObject<{
2849
+ showRetry: z.ZodOptional<z.ZodBoolean>;
2850
+ }, z.core.$strict>>;
2851
+ permission: z.ZodOptional<z.ZodObject<{
2852
+ showRequestAccess: z.ZodOptional<z.ZodBoolean>;
2853
+ }, z.core.$strict>>;
2854
+ density: z.ZodOptional<z.ZodEnum<{
2855
+ default: "default";
2856
+ compact: "compact";
2857
+ comfortable: "comfortable";
2858
+ }>>;
2859
+ }, z.core.$strict>>;
2705
2860
  pageZoom: z.ZodOptional<z.ZodNumber>;
2706
2861
  miniMode: z.ZodOptional<z.ZodObject<{
2707
2862
  showPreviewViewExecutionResultGrid: z.ZodBoolean;
@@ -2756,8 +2911,8 @@ export declare const TenantRuntimeConfigSchema: z.ZodObject<{
2756
2911
  "design-board": "design-board";
2757
2912
  process: "process";
2758
2913
  record: "record";
2759
- chat: "chat";
2760
2914
  action: "action";
2915
+ chat: "chat";
2761
2916
  agent: "agent";
2762
2917
  page: "page";
2763
2918
  view: "view";
@@ -3210,6 +3365,7 @@ export declare const TenantRuntimeConfigSchema: z.ZodObject<{
3210
3365
  export type TenantProductConfig = z.infer<typeof TenantProductConfigSchema>;
3211
3366
  export type TenantRuntimeConfig = z.infer<typeof TenantRuntimeConfigSchema>;
3212
3367
  export type TenantApplicationConfig = z.infer<typeof TenantApplicationConfigSchema>;
3368
+ export type TenantListFooterConfig = z.infer<typeof TenantListFooterConfigSchema>;
3213
3369
  export type CurrentUserMenuDisplayText = z.infer<typeof CurrentUserMenuDisplayTextSchema>;
3214
3370
  export type CurrentUserMenuNavigationItem = z.infer<typeof CurrentUserMenuNavigationItemSchema>;
3215
3371
  export type CurrentUserMenuControlItem = z.infer<typeof CurrentUserMenuControlItemSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"tenant.d.ts","sourceRoot":"","sources":["../../src/contracts/tenant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA8CxB,uEAAuE;AACvE,eAAO,MAAM,uBAAuB;;;;;;;;;4BAIlC,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;;;kBAKhC,CAAC;AAEZ,kFAAkF;AAClF,eAAO,MAAM,uBAAuB;;;;kBAMzB,CAAC;AAEZ,wEAAwE;AACxE,eAAO,MAAM,uBAAuB;;;;;;;;4BAgBhC,CAAC;AAEL,eAAO,MAAM,wBAAwB;;;;mBAGpC,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;6BAGpC,CAAC;AAEF,+EAA+E;AAC/E,eAAO,MAAM,4BAA4B;;;kBAK9B,CAAC;AAEZ,oFAAoF;AACpF,eAAO,MAAM,sCAAsC;;kBAIxC,CAAC;AAEZ,kGAAkG;AAClG,eAAO,MAAM,6BA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AAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAC1F,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAC5F,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AACtF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AACtF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAC;AACtG,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AACpF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TenantRuntimeConfigSchema = exports.TenantProductConfigSchema = exports.TenantApplicationConfigSchema = exports.TenantLandingPageConfigSchema = exports.TenantWorkbenchConfigSchema = exports.TenantWorkbenchPageGroupSchema = exports.TenantWorkbenchPageEnvelopeSchema = exports.TenantWorkbenchPageContextSchema = exports.TenantHeadbarModuleItemSchema = exports.ThemeHeadbarSchema = exports.CurrentUserMenuProfileSchema = exports.CurrentUserMenuConfigSchema = exports.CurrentUserMenuSectionSchema = exports.CurrentUserMenuItemSchema = exports.CurrentUserMenuActionItemSchema = exports.CurrentUserMenuControlItemSchema = exports.CurrentUserMenuNavigationItemSchema = exports.CurrentUserMenuDisplayTextSchema = exports.CURRENT_USER_MENU_ACTION_REFS = exports.CURRENT_USER_MENU_CONTROL_REFS = exports.LEGACY_CURRENT_USER_MENU_ITEM_IDS = exports.TenantTrendRadarSourcesSchema = exports.TenantTrendRadarCollectionTargetSchema = exports.TenantTrendRadarSourceSchema = exports.TenantDataBindingsSchema = exports.TenantAuthBindingsSchema = exports.TenantDataBindingSchema = exports.TenantAuthBindingSchema = exports.TenantDesignTokensConfigSchema = exports.DesignTokenSourceSchema = void 0;
3
+ exports.TenantRuntimeConfigSchema = exports.TenantProductConfigSchema = exports.TenantApplicationConfigSchema = exports.TenantListFooterConfigSchema = exports.TenantLandingPageConfigSchema = exports.TenantWorkbenchConfigSchema = exports.TenantWorkbenchPageGroupSchema = exports.TenantWorkbenchPageEnvelopeSchema = exports.TenantWorkbenchPageContextSchema = exports.TenantHeadbarModuleItemSchema = exports.ThemeHeadbarSchema = exports.CurrentUserMenuProfileSchema = exports.CurrentUserMenuConfigSchema = exports.CurrentUserMenuSectionSchema = exports.CurrentUserMenuItemSchema = exports.CurrentUserMenuActionItemSchema = exports.CurrentUserMenuControlItemSchema = exports.CurrentUserMenuNavigationItemSchema = exports.CurrentUserMenuDisplayTextSchema = exports.CURRENT_USER_MENU_ACTION_REFS = exports.CURRENT_USER_MENU_CONTROL_REFS = exports.LEGACY_CURRENT_USER_MENU_ITEM_IDS = exports.TenantTrendRadarSourcesSchema = exports.TenantTrendRadarCollectionTargetSchema = exports.TenantTrendRadarSourceSchema = exports.TenantDataBindingsSchema = exports.TenantAuthBindingsSchema = exports.TenantDataBindingSchema = exports.TenantAuthBindingSchema = exports.TenantDesignTokensConfigSchema = exports.DesignTokenSourceSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const common_1 = require("./common");
6
6
  const menu_1 = require("./menu");
@@ -478,6 +478,33 @@ exports.TenantLandingPageConfigSchema = zod_1.z.discriminatedUnion('mode', [
478
478
  LandingPageHtmlConfigSchema,
479
479
  LandingPageIframeConfigSchema,
480
480
  ]);
481
+ const ListFooterPageSizeOptionsSchema = zod_1.z
482
+ .array(zod_1.z.number().int().positive().max(1000))
483
+ .min(1)
484
+ .max(10)
485
+ .superRefine((options, context) => {
486
+ const seen = new Set();
487
+ options.forEach((option, index) => {
488
+ if (seen.has(option)) {
489
+ context.addIssue({
490
+ code: 'custom',
491
+ message: `Duplicate list footer page size option ${option}.`,
492
+ path: [index],
493
+ });
494
+ }
495
+ seen.add(option);
496
+ });
497
+ });
498
+ exports.TenantListFooterConfigSchema = zod_1.z
499
+ .object({
500
+ showTotal: zod_1.z.boolean().optional(),
501
+ showPageSize: zod_1.z.boolean().optional(),
502
+ pageSizeOptions: ListFooterPageSizeOptionsSchema.optional(),
503
+ paginationMode: zod_1.z.enum(['auto', 'pages', 'compact']).optional(),
504
+ alignment: zod_1.z.enum(['start', 'end', 'space-between']).optional(),
505
+ density: zod_1.z.enum(['compact', 'default', 'comfortable']).optional(),
506
+ })
507
+ .strict();
481
508
  /** Public, application-specific values that are intentionally safe for browser clients. */
482
509
  exports.TenantApplicationConfigSchema = zod_1.z
483
510
  .object({
@@ -549,6 +576,7 @@ exports.TenantApplicationConfigSchema = zod_1.z
549
576
  .strict()
550
577
  .optional(),
551
578
  paginationPosition: zod_1.z.enum(['left', 'right']).optional(),
579
+ listFooter: exports.TenantListFooterConfigSchema.optional(),
552
580
  ugcViewIconOnlyMode: zod_1.z.boolean().optional(),
553
581
  workflowPreviewExecutionGrid: zod_1.z
554
582
  .object({
@@ -573,6 +601,16 @@ exports.TenantApplicationConfigSchema = zod_1.z
573
601
  teamAsUser: zod_1.z.boolean().optional(),
574
602
  themeMode: zod_1.z.enum(['shadow', 'border']).optional(),
575
603
  density: zod_1.z.enum(['compact', 'default', 'comfortable']).optional(),
604
+ statusStates: zod_1.z
605
+ .object({
606
+ loading: zod_1.z.object({ variant: zod_1.z.enum(['spinner', 'skeleton']).optional() }).strict().optional(),
607
+ empty: zod_1.z.object({ variant: zod_1.z.enum(['default', 'compact']).optional() }).strict().optional(),
608
+ error: zod_1.z.object({ showRetry: zod_1.z.boolean().optional() }).strict().optional(),
609
+ permission: zod_1.z.object({ showRequestAccess: zod_1.z.boolean().optional() }).strict().optional(),
610
+ density: zod_1.z.enum(['compact', 'default', 'comfortable']).optional(),
611
+ })
612
+ .strict()
613
+ .optional(),
576
614
  pageZoom: zod_1.z.number().positive().optional(),
577
615
  miniMode: zod_1.z.object({ showPreviewViewExecutionResultGrid: zod_1.z.boolean() }).strict().optional(),
578
616
  workflow: zod_1.z.object({ allowConcurrentRuns: zod_1.z.boolean() }).strict().optional(),