@middag-io/react 0.46.1 → 0.48.0
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/dist-lib/{FormField-M7Khc1eo.js → FormField-BGqAQLtX.js} +2155 -2130
- package/dist-lib/{FormPanelBlock-70gQ9d9K.js → FormPanelBlock-CGgA83Mu.js} +46 -45
- package/dist-lib/base/blocks/CardGridBlock.d.ts.map +1 -1
- package/dist-lib/base/blocks/DenseTableBlock.d.ts.map +1 -1
- package/dist-lib/base/blocks/DetailPanelBlock.d.ts.map +1 -1
- package/dist-lib/base/blocks/FormPanelBlock.d.ts.map +1 -1
- package/dist-lib/base/partials/ActionBar/index.d.ts.map +1 -1
- package/dist-lib/base/partials/FilterBar/index.d.ts.map +1 -1
- package/dist-lib/base/shell/BasicShell.d.ts +1 -1
- package/dist-lib/base/shell/BasicShell.js +1 -1
- package/dist-lib/base/shell/partials/InlineEditablePanel.d.ts.map +1 -1
- package/dist-lib/base/shell/partials/InlineEditablePanel.js +131 -127
- package/dist-lib/base/shell/partials/PageActionButton.d.ts.map +1 -1
- package/dist-lib/base/shell/partials/PageActionButton.js +1 -1
- package/dist-lib/base/theme/appearance.d.ts.map +1 -1
- package/dist-lib/base/theme/appearance.js +1 -1
- package/dist-lib/base/utils/action-intent.d.ts +3 -0
- package/dist-lib/base/utils/action-intent.d.ts.map +1 -0
- package/dist-lib/base/utils/action-intent.js +16 -0
- package/dist-lib/base/utils/icon-registry.d.ts +3 -2
- package/dist-lib/base/utils/icon-registry.d.ts.map +1 -1
- package/dist-lib/chunks/subpath-Bs35txZS.js +166 -0
- package/dist-lib/contracts/generated/index.d.ts +4 -4
- package/dist-lib/contracts/generated/index.d.ts.map +1 -1
- package/dist-lib/contracts/generated/schemas.d.ts +338 -243
- package/dist-lib/contracts/generated/schemas.d.ts.map +1 -1
- package/dist-lib/contracts/generated/types.d.ts +88 -52
- package/dist-lib/contracts/generated/types.d.ts.map +1 -1
- package/dist-lib/contracts/navigation.d.ts +5 -38
- package/dist-lib/contracts/navigation.d.ts.map +1 -1
- package/dist-lib/contracts/page-contract-schema.d.ts +11 -11
- package/dist-lib/contracts/shared-props.d.ts +10 -71
- package/dist-lib/contracts/shared-props.d.ts.map +1 -1
- package/dist-lib/engine/providers/auth.d.ts +2 -2
- package/dist-lib/engine/providers/auth.d.ts.map +1 -1
- package/dist-lib/engine/providers/flash.d.ts.map +1 -1
- package/dist-lib/index.d.ts +2 -2
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/middag-react.js +9837 -9773
- package/docs/public/schemas/ai-contract-manifest.json +9 -9
- package/docs/public/schemas/fragment.json +221 -89
- package/docs/public/schemas/manifest.json +4 -4
- package/docs/public/schemas/page-contract.json +221 -89
- package/docs/public/schemas/shared-props.json +2457 -114
- package/package.json +1 -1
- package/src/base/blocks/CardGridBlock.tsx +2 -1
- package/src/base/blocks/DenseTableBlock.tsx +2 -1
- package/src/base/blocks/DetailPanelBlock.tsx +2 -1
- package/src/base/blocks/FormPanelBlock.tsx +2 -1
- package/src/base/partials/ActionBar/index.tsx +3 -2
- package/src/base/partials/FilterBar/index.tsx +12 -1
- package/src/base/shell/BasicShell.tsx +7 -7
- package/src/base/shell/partials/InlineEditablePanel.tsx +14 -7
- package/src/base/shell/partials/PageActionButton.tsx +3 -1
- package/src/base/theme/appearance.ts +2 -1
- package/src/base/utils/action-intent.ts +22 -0
- package/src/base/utils/icon-registry.ts +3 -3
- package/src/contracts/generated/index.ts +4 -4
- package/src/contracts/generated/schemas.ts +85 -44
- package/src/contracts/generated/types.ts +107 -60
- package/src/contracts/navigation.ts +5 -52
- package/src/contracts/page-contract-schema.ts +2 -2
- package/src/contracts/shared-props.ts +10 -75
- package/src/engine/providers/auth.tsx +1 -1
- package/src/engine/providers/flash.tsx +0 -5
- package/dist-lib/chunks/subpath-Bh1MAmBT.js +0 -165
- package/docs/public/schemas/navigation.json +0 -72
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
* Regenerate: npm run gen:contracts
|
|
8
8
|
* Drift gate: npm run gen:contracts:check
|
|
9
9
|
*
|
|
10
|
-
* @source middag-io/middag-php-ui@v1.
|
|
11
|
-
* @contract-version
|
|
12
|
-
* @hash
|
|
10
|
+
* @source middag-io/middag-php-ui@v1.13.0 schema/{page-contract.json,fragment.json,shared-props.json}
|
|
11
|
+
* @contract-version 2
|
|
12
|
+
* @hash a11a97d1f5ad9c63
|
|
13
13
|
*/
|
|
14
14
|
import { z } from "zod";
|
|
15
15
|
import type { NavigationNode, FormSectionNode, FormGroupNode, FormSchemaNode } from "./types.js";
|
|
@@ -60,7 +60,7 @@ export declare const ActionTargetSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
60
60
|
}, z.core.$strip>, z.ZodObject<{
|
|
61
61
|
kind: z.ZodLiteral<"panel">;
|
|
62
62
|
}, z.core.$strip>]>;
|
|
63
|
-
export declare const ActionIntentSchema: z.ZodEnum<{
|
|
63
|
+
export declare const ActionIntentSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
64
64
|
success: "success";
|
|
65
65
|
link: "link";
|
|
66
66
|
primary: "primary";
|
|
@@ -69,7 +69,7 @@ export declare const ActionIntentSchema: z.ZodEnum<{
|
|
|
69
69
|
warning: "warning";
|
|
70
70
|
info: "info";
|
|
71
71
|
ghost: "ghost";
|
|
72
|
-
}>;
|
|
72
|
+
}>, z.ZodString]>;
|
|
73
73
|
export declare const ConfirmationSchema: z.ZodObject<{
|
|
74
74
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
75
75
|
key: z.ZodString;
|
|
@@ -121,7 +121,7 @@ export declare const ActionSchema: z.ZodObject<{
|
|
|
121
121
|
}, z.core.$strip>, z.ZodObject<{
|
|
122
122
|
kind: z.ZodLiteral<"panel">;
|
|
123
123
|
}, z.core.$strip>]>;
|
|
124
|
-
intent: z.ZodEnum<{
|
|
124
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
125
125
|
success: "success";
|
|
126
126
|
link: "link";
|
|
127
127
|
primary: "primary";
|
|
@@ -130,7 +130,7 @@ export declare const ActionSchema: z.ZodObject<{
|
|
|
130
130
|
warning: "warning";
|
|
131
131
|
info: "info";
|
|
132
132
|
ghost: "ghost";
|
|
133
|
-
}>;
|
|
133
|
+
}>, z.ZodString]>;
|
|
134
134
|
icon: z.ZodOptional<z.ZodString>;
|
|
135
135
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
136
136
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -208,7 +208,7 @@ export declare const PageMetaSchema: z.ZodObject<{
|
|
|
208
208
|
}, z.core.$strip>, z.ZodObject<{
|
|
209
209
|
kind: z.ZodLiteral<"panel">;
|
|
210
210
|
}, z.core.$strip>]>;
|
|
211
|
-
intent: z.ZodEnum<{
|
|
211
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
212
212
|
success: "success";
|
|
213
213
|
link: "link";
|
|
214
214
|
primary: "primary";
|
|
@@ -217,7 +217,7 @@ export declare const PageMetaSchema: z.ZodObject<{
|
|
|
217
217
|
warning: "warning";
|
|
218
218
|
info: "info";
|
|
219
219
|
ghost: "ghost";
|
|
220
|
-
}>;
|
|
220
|
+
}>, z.ZodString]>;
|
|
221
221
|
icon: z.ZodOptional<z.ZodString>;
|
|
222
222
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
223
223
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -296,7 +296,7 @@ export declare const BlockDescriptorSchema: z.ZodObject<{
|
|
|
296
296
|
}, z.core.$strip>, z.ZodObject<{
|
|
297
297
|
kind: z.ZodLiteral<"panel">;
|
|
298
298
|
}, z.core.$strip>]>;
|
|
299
|
-
intent: z.ZodEnum<{
|
|
299
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
300
300
|
success: "success";
|
|
301
301
|
link: "link";
|
|
302
302
|
primary: "primary";
|
|
@@ -305,7 +305,7 @@ export declare const BlockDescriptorSchema: z.ZodObject<{
|
|
|
305
305
|
warning: "warning";
|
|
306
306
|
info: "info";
|
|
307
307
|
ghost: "ghost";
|
|
308
|
-
}>;
|
|
308
|
+
}>, z.ZodString]>;
|
|
309
309
|
icon: z.ZodOptional<z.ZodString>;
|
|
310
310
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
311
311
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -389,7 +389,7 @@ export declare const LayoutDescriptorSchema: z.ZodObject<{
|
|
|
389
389
|
}, z.core.$strip>, z.ZodObject<{
|
|
390
390
|
kind: z.ZodLiteral<"panel">;
|
|
391
391
|
}, z.core.$strip>]>;
|
|
392
|
-
intent: z.ZodEnum<{
|
|
392
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
393
393
|
success: "success";
|
|
394
394
|
link: "link";
|
|
395
395
|
primary: "primary";
|
|
@@ -398,7 +398,7 @@ export declare const LayoutDescriptorSchema: z.ZodObject<{
|
|
|
398
398
|
warning: "warning";
|
|
399
399
|
info: "info";
|
|
400
400
|
ghost: "ghost";
|
|
401
|
-
}>;
|
|
401
|
+
}>, z.ZodString]>;
|
|
402
402
|
icon: z.ZodOptional<z.ZodString>;
|
|
403
403
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
404
404
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -439,74 +439,32 @@ export declare const LayoutDescriptorSchema: z.ZodObject<{
|
|
|
439
439
|
}, z.core.$strip>>>, z.ZodArray<z.ZodUnknown>]>;
|
|
440
440
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
441
441
|
}, z.core.$strip>;
|
|
442
|
-
export declare const ThemeModeSchema: z.ZodEnum<{
|
|
443
|
-
light: "light";
|
|
444
|
-
dark: "dark";
|
|
445
|
-
system: "system";
|
|
446
|
-
}>;
|
|
447
|
-
export declare const UserPreferencesSchema: z.ZodObject<{
|
|
448
|
-
theme: z.ZodEnum<{
|
|
449
|
-
light: "light";
|
|
450
|
-
dark: "dark";
|
|
451
|
-
system: "system";
|
|
452
|
-
}>;
|
|
453
|
-
locale: z.ZodString;
|
|
454
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
455
|
-
dateFormat: z.ZodOptional<z.ZodString>;
|
|
456
|
-
numberFormat: z.ZodOptional<z.ZodString>;
|
|
457
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
458
|
-
export declare const IdentitySchema: z.ZodObject<{
|
|
459
|
-
id: z.ZodString;
|
|
460
|
-
name: z.ZodString;
|
|
461
|
-
email: z.ZodOptional<z.ZodString>;
|
|
462
|
-
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
463
|
-
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
464
|
-
}, z.core.$strip>;
|
|
465
442
|
export declare const BrandingSchema: z.ZodObject<{
|
|
466
443
|
appName: z.ZodString;
|
|
467
444
|
logoUrl: z.ZodOptional<z.ZodString>;
|
|
468
445
|
logoCompactUrl: z.ZodOptional<z.ZodString>;
|
|
469
446
|
}, z.core.$strip>;
|
|
470
447
|
export declare const PageResourcesSchema: z.ZodObject<{
|
|
471
|
-
|
|
472
|
-
theme: z.ZodEnum<{
|
|
473
|
-
light: "light";
|
|
474
|
-
dark: "dark";
|
|
475
|
-
system: "system";
|
|
476
|
-
}>;
|
|
477
|
-
locale: z.ZodString;
|
|
478
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
479
|
-
dateFormat: z.ZodOptional<z.ZodString>;
|
|
480
|
-
numberFormat: z.ZodOptional<z.ZodString>;
|
|
481
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
482
|
-
capabilities: z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodBoolean>, z.ZodArray<z.ZodUnknown>]>;
|
|
483
|
-
featureFlags: z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodBoolean>, z.ZodArray<z.ZodUnknown>]>;
|
|
484
|
-
user: z.ZodOptional<z.ZodObject<{
|
|
485
|
-
id: z.ZodString;
|
|
486
|
-
name: z.ZodString;
|
|
487
|
-
email: z.ZodOptional<z.ZodString>;
|
|
488
|
-
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
489
|
-
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
490
|
-
}, z.core.$strip>>;
|
|
448
|
+
featureFlags: z.ZodRecord<z.ZodString, z.ZodBoolean>;
|
|
491
449
|
branding: z.ZodOptional<z.ZodObject<{
|
|
492
450
|
appName: z.ZodString;
|
|
493
451
|
logoUrl: z.ZodOptional<z.ZodString>;
|
|
494
452
|
logoCompactUrl: z.ZodOptional<z.ZodString>;
|
|
495
453
|
}, z.core.$strip>>;
|
|
496
454
|
}, z.core.$strip>;
|
|
497
|
-
export declare const NotificationLevelSchema: z.ZodEnum<{
|
|
455
|
+
export declare const NotificationLevelSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
498
456
|
success: "success";
|
|
499
457
|
warning: "warning";
|
|
500
458
|
info: "info";
|
|
501
459
|
error: "error";
|
|
502
|
-
}>;
|
|
460
|
+
}>, z.ZodString]>;
|
|
503
461
|
export declare const NotificationSchema: z.ZodObject<{
|
|
504
|
-
level: z.ZodEnum<{
|
|
462
|
+
level: z.ZodUnion<readonly [z.ZodEnum<{
|
|
505
463
|
success: "success";
|
|
506
464
|
warning: "warning";
|
|
507
465
|
info: "info";
|
|
508
466
|
error: "error";
|
|
509
|
-
}>;
|
|
467
|
+
}>, z.ZodString]>;
|
|
510
468
|
message: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
511
469
|
key: z.ZodString;
|
|
512
470
|
domain: z.ZodString;
|
|
@@ -547,7 +505,7 @@ export declare const NotificationSchema: z.ZodObject<{
|
|
|
547
505
|
}, z.core.$strip>, z.ZodObject<{
|
|
548
506
|
kind: z.ZodLiteral<"panel">;
|
|
549
507
|
}, z.core.$strip>]>;
|
|
550
|
-
intent: z.ZodEnum<{
|
|
508
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
551
509
|
success: "success";
|
|
552
510
|
link: "link";
|
|
553
511
|
primary: "primary";
|
|
@@ -556,7 +514,7 @@ export declare const NotificationSchema: z.ZodObject<{
|
|
|
556
514
|
warning: "warning";
|
|
557
515
|
info: "info";
|
|
558
516
|
ghost: "ghost";
|
|
559
|
-
}>;
|
|
517
|
+
}>, z.ZodString]>;
|
|
560
518
|
icon: z.ZodOptional<z.ZodString>;
|
|
561
519
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
562
520
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -587,7 +545,7 @@ export declare const NotificationSchema: z.ZodObject<{
|
|
|
587
545
|
}, z.core.$strip>>;
|
|
588
546
|
}, z.core.$strip>;
|
|
589
547
|
export declare const PageContractSchema: z.ZodObject<{
|
|
590
|
-
version: z.ZodLiteral<"
|
|
548
|
+
version: z.ZodLiteral<"2">;
|
|
591
549
|
shell: z.ZodString;
|
|
592
550
|
page: z.ZodObject<{
|
|
593
551
|
key: z.ZodString;
|
|
@@ -638,7 +596,7 @@ export declare const PageContractSchema: z.ZodObject<{
|
|
|
638
596
|
}, z.core.$strip>, z.ZodObject<{
|
|
639
597
|
kind: z.ZodLiteral<"panel">;
|
|
640
598
|
}, z.core.$strip>]>;
|
|
641
|
-
intent: z.ZodEnum<{
|
|
599
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
642
600
|
success: "success";
|
|
643
601
|
link: "link";
|
|
644
602
|
primary: "primary";
|
|
@@ -647,7 +605,7 @@ export declare const PageContractSchema: z.ZodObject<{
|
|
|
647
605
|
warning: "warning";
|
|
648
606
|
info: "info";
|
|
649
607
|
ghost: "ghost";
|
|
650
|
-
}>;
|
|
608
|
+
}>, z.ZodString]>;
|
|
651
609
|
icon: z.ZodOptional<z.ZodString>;
|
|
652
610
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
653
611
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -722,7 +680,7 @@ export declare const PageContractSchema: z.ZodObject<{
|
|
|
722
680
|
}, z.core.$strip>, z.ZodObject<{
|
|
723
681
|
kind: z.ZodLiteral<"panel">;
|
|
724
682
|
}, z.core.$strip>]>;
|
|
725
|
-
intent: z.ZodEnum<{
|
|
683
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
726
684
|
success: "success";
|
|
727
685
|
link: "link";
|
|
728
686
|
primary: "primary";
|
|
@@ -731,7 +689,7 @@ export declare const PageContractSchema: z.ZodObject<{
|
|
|
731
689
|
warning: "warning";
|
|
732
690
|
info: "info";
|
|
733
691
|
ghost: "ghost";
|
|
734
|
-
}>;
|
|
692
|
+
}>, z.ZodString]>;
|
|
735
693
|
icon: z.ZodOptional<z.ZodString>;
|
|
736
694
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
737
695
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -773,26 +731,7 @@ export declare const PageContractSchema: z.ZodObject<{
|
|
|
773
731
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
774
732
|
}, z.core.$strip>;
|
|
775
733
|
resources: z.ZodOptional<z.ZodObject<{
|
|
776
|
-
|
|
777
|
-
theme: z.ZodEnum<{
|
|
778
|
-
light: "light";
|
|
779
|
-
dark: "dark";
|
|
780
|
-
system: "system";
|
|
781
|
-
}>;
|
|
782
|
-
locale: z.ZodString;
|
|
783
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
784
|
-
dateFormat: z.ZodOptional<z.ZodString>;
|
|
785
|
-
numberFormat: z.ZodOptional<z.ZodString>;
|
|
786
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
787
|
-
capabilities: z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodBoolean>, z.ZodArray<z.ZodUnknown>]>;
|
|
788
|
-
featureFlags: z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodBoolean>, z.ZodArray<z.ZodUnknown>]>;
|
|
789
|
-
user: z.ZodOptional<z.ZodObject<{
|
|
790
|
-
id: z.ZodString;
|
|
791
|
-
name: z.ZodString;
|
|
792
|
-
email: z.ZodOptional<z.ZodString>;
|
|
793
|
-
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
794
|
-
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
795
|
-
}, z.core.$strip>>;
|
|
734
|
+
featureFlags: z.ZodRecord<z.ZodString, z.ZodBoolean>;
|
|
796
735
|
branding: z.ZodOptional<z.ZodObject<{
|
|
797
736
|
appName: z.ZodString;
|
|
798
737
|
logoUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -800,12 +739,12 @@ export declare const PageContractSchema: z.ZodObject<{
|
|
|
800
739
|
}, z.core.$strip>>;
|
|
801
740
|
}, z.core.$strip>>;
|
|
802
741
|
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
803
|
-
level: z.ZodEnum<{
|
|
742
|
+
level: z.ZodUnion<readonly [z.ZodEnum<{
|
|
804
743
|
success: "success";
|
|
805
744
|
warning: "warning";
|
|
806
745
|
info: "info";
|
|
807
746
|
error: "error";
|
|
808
|
-
}>;
|
|
747
|
+
}>, z.ZodString]>;
|
|
809
748
|
message: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
810
749
|
key: z.ZodString;
|
|
811
750
|
domain: z.ZodString;
|
|
@@ -846,7 +785,7 @@ export declare const PageContractSchema: z.ZodObject<{
|
|
|
846
785
|
}, z.core.$strip>, z.ZodObject<{
|
|
847
786
|
kind: z.ZodLiteral<"panel">;
|
|
848
787
|
}, z.core.$strip>]>;
|
|
849
|
-
intent: z.ZodEnum<{
|
|
788
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
850
789
|
success: "success";
|
|
851
790
|
link: "link";
|
|
852
791
|
primary: "primary";
|
|
@@ -855,7 +794,7 @@ export declare const PageContractSchema: z.ZodObject<{
|
|
|
855
794
|
warning: "warning";
|
|
856
795
|
info: "info";
|
|
857
796
|
ghost: "ghost";
|
|
858
|
-
}>;
|
|
797
|
+
}>, z.ZodString]>;
|
|
859
798
|
icon: z.ZodOptional<z.ZodString>;
|
|
860
799
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
861
800
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -897,23 +836,11 @@ export declare const FragmentKindSchema: z.ZodEnum<{
|
|
|
897
836
|
detail: "detail";
|
|
898
837
|
inspector: "inspector";
|
|
899
838
|
}>;
|
|
900
|
-
export declare const ResourcePatchSchema: z.
|
|
901
|
-
preferences: z.ZodOptional<z.ZodObject<{
|
|
902
|
-
theme: z.ZodEnum<{
|
|
903
|
-
light: "light";
|
|
904
|
-
dark: "dark";
|
|
905
|
-
system: "system";
|
|
906
|
-
}>;
|
|
907
|
-
locale: z.ZodString;
|
|
908
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
909
|
-
dateFormat: z.ZodOptional<z.ZodString>;
|
|
910
|
-
numberFormat: z.ZodOptional<z.ZodString>;
|
|
911
|
-
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
912
|
-
capabilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
839
|
+
export declare const ResourcePatchSchema: z.ZodObject<{
|
|
913
840
|
featureFlags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
914
|
-
}, z.core.$strip
|
|
841
|
+
}, z.core.$strip>;
|
|
915
842
|
export declare const FragmentSchema: z.ZodObject<{
|
|
916
|
-
version: z.ZodLiteral<"
|
|
843
|
+
version: z.ZodLiteral<"2">;
|
|
917
844
|
kind: z.ZodEnum<{
|
|
918
845
|
custom: "custom";
|
|
919
846
|
notifications: "notifications";
|
|
@@ -926,12 +853,12 @@ export declare const FragmentSchema: z.ZodObject<{
|
|
|
926
853
|
}>;
|
|
927
854
|
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
928
855
|
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
929
|
-
level: z.ZodEnum<{
|
|
856
|
+
level: z.ZodUnion<readonly [z.ZodEnum<{
|
|
930
857
|
success: "success";
|
|
931
858
|
warning: "warning";
|
|
932
859
|
info: "info";
|
|
933
860
|
error: "error";
|
|
934
|
-
}>;
|
|
861
|
+
}>, z.ZodString]>;
|
|
935
862
|
message: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
936
863
|
key: z.ZodString;
|
|
937
864
|
domain: z.ZodString;
|
|
@@ -972,7 +899,7 @@ export declare const FragmentSchema: z.ZodObject<{
|
|
|
972
899
|
}, z.core.$strip>, z.ZodObject<{
|
|
973
900
|
kind: z.ZodLiteral<"panel">;
|
|
974
901
|
}, z.core.$strip>]>;
|
|
975
|
-
intent: z.ZodEnum<{
|
|
902
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
976
903
|
success: "success";
|
|
977
904
|
link: "link";
|
|
978
905
|
primary: "primary";
|
|
@@ -981,7 +908,7 @@ export declare const FragmentSchema: z.ZodObject<{
|
|
|
981
908
|
warning: "warning";
|
|
982
909
|
info: "info";
|
|
983
910
|
ghost: "ghost";
|
|
984
|
-
}>;
|
|
911
|
+
}>, z.ZodString]>;
|
|
985
912
|
icon: z.ZodOptional<z.ZodString>;
|
|
986
913
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
987
914
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1011,21 +938,9 @@ export declare const FragmentSchema: z.ZodObject<{
|
|
|
1011
938
|
loading: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1012
939
|
}, z.core.$strip>>;
|
|
1013
940
|
}, z.core.$strip>>>;
|
|
1014
|
-
resources: z.ZodOptional<z.
|
|
1015
|
-
preferences: z.ZodOptional<z.ZodObject<{
|
|
1016
|
-
theme: z.ZodEnum<{
|
|
1017
|
-
light: "light";
|
|
1018
|
-
dark: "dark";
|
|
1019
|
-
system: "system";
|
|
1020
|
-
}>;
|
|
1021
|
-
locale: z.ZodString;
|
|
1022
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
1023
|
-
dateFormat: z.ZodOptional<z.ZodString>;
|
|
1024
|
-
numberFormat: z.ZodOptional<z.ZodString>;
|
|
1025
|
-
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1026
|
-
capabilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
941
|
+
resources: z.ZodOptional<z.ZodObject<{
|
|
1027
942
|
featureFlags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
1028
|
-
}, z.core.$strip
|
|
943
|
+
}, z.core.$strip>>;
|
|
1029
944
|
customType: z.ZodOptional<z.ZodString>;
|
|
1030
945
|
}, z.core.$strip>;
|
|
1031
946
|
export declare const InspectorDescriptorSchema: z.ZodObject<{
|
|
@@ -1048,8 +963,84 @@ export declare const EditablePanelDescriptorSchema: z.ZodObject<{
|
|
|
1048
963
|
}>;
|
|
1049
964
|
width: z.ZodNumber;
|
|
1050
965
|
}, z.core.$strip>;
|
|
966
|
+
export declare const IdentitySchema: z.ZodObject<{
|
|
967
|
+
id: z.ZodString;
|
|
968
|
+
name: z.ZodString;
|
|
969
|
+
email: z.ZodOptional<z.ZodString>;
|
|
970
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
971
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
972
|
+
}, z.core.$strip>;
|
|
1051
973
|
export declare const NavigationNodeSchema: z.ZodType<NavigationNode>;
|
|
1052
|
-
export declare const
|
|
974
|
+
export declare const NavigationTreeSchema: z.ZodObject<{
|
|
975
|
+
tree: z.ZodArray<z.ZodType<NavigationNode, unknown, z.core.$ZodTypeInternals<NavigationNode, unknown>>>;
|
|
976
|
+
activeKey: z.ZodString;
|
|
977
|
+
footer: z.ZodArray<z.ZodType<NavigationNode, unknown, z.core.$ZodTypeInternals<NavigationNode, unknown>>>;
|
|
978
|
+
}, z.core.$strip>;
|
|
979
|
+
export declare const SharedAuthSchema: z.ZodObject<{
|
|
980
|
+
id: z.ZodString;
|
|
981
|
+
name: z.ZodString;
|
|
982
|
+
email: z.ZodOptional<z.ZodString>;
|
|
983
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
984
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
985
|
+
capabilities: z.ZodArray<z.ZodString>;
|
|
986
|
+
logoutUrl: z.ZodOptional<z.ZodString>;
|
|
987
|
+
}, z.core.$strip>;
|
|
988
|
+
export declare const ThemeModeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
989
|
+
light: "light";
|
|
990
|
+
dark: "dark";
|
|
991
|
+
system: "system";
|
|
992
|
+
}>, z.ZodString]>;
|
|
993
|
+
export declare const SharedThemeSchema: z.ZodObject<{
|
|
994
|
+
appearance: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
995
|
+
light: "light";
|
|
996
|
+
dark: "dark";
|
|
997
|
+
system: "system";
|
|
998
|
+
}>, z.ZodString]>>;
|
|
999
|
+
strings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1000
|
+
}, z.core.$strip>;
|
|
1001
|
+
export declare const FlashMessagesSchema: z.ZodObject<{
|
|
1002
|
+
success: z.ZodOptional<z.ZodString>;
|
|
1003
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1004
|
+
info: z.ZodOptional<z.ZodString>;
|
|
1005
|
+
warning: z.ZodOptional<z.ZodString>;
|
|
1006
|
+
}, z.core.$strip>;
|
|
1007
|
+
export declare const FieldErrorSchema: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
1008
|
+
export declare const FormErrorsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1009
|
+
export declare const SharedPropsSchema: z.ZodObject<{
|
|
1010
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
1011
|
+
id: z.ZodString;
|
|
1012
|
+
name: z.ZodString;
|
|
1013
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1014
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
1015
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1016
|
+
capabilities: z.ZodArray<z.ZodString>;
|
|
1017
|
+
logoutUrl: z.ZodOptional<z.ZodString>;
|
|
1018
|
+
}, z.core.$strip>>;
|
|
1019
|
+
theme: z.ZodOptional<z.ZodObject<{
|
|
1020
|
+
appearance: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1021
|
+
light: "light";
|
|
1022
|
+
dark: "dark";
|
|
1023
|
+
system: "system";
|
|
1024
|
+
}>, z.ZodString]>>;
|
|
1025
|
+
strings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1026
|
+
}, z.core.$strip>>;
|
|
1027
|
+
flash: z.ZodOptional<z.ZodObject<{
|
|
1028
|
+
success: z.ZodOptional<z.ZodString>;
|
|
1029
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1030
|
+
info: z.ZodOptional<z.ZodString>;
|
|
1031
|
+
warning: z.ZodOptional<z.ZodString>;
|
|
1032
|
+
}, z.core.$strip>>;
|
|
1033
|
+
errors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
1034
|
+
csrf_token: z.ZodOptional<z.ZodString>;
|
|
1035
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
1036
|
+
scope: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1037
|
+
navigation: z.ZodOptional<z.ZodObject<{
|
|
1038
|
+
tree: z.ZodArray<z.ZodType<NavigationNode, unknown, z.core.$ZodTypeInternals<NavigationNode, unknown>>>;
|
|
1039
|
+
activeKey: z.ZodString;
|
|
1040
|
+
footer: z.ZodArray<z.ZodType<NavigationNode, unknown, z.core.$ZodTypeInternals<NavigationNode, unknown>>>;
|
|
1041
|
+
}, z.core.$strip>>;
|
|
1042
|
+
}, z.core.$catchall<z.ZodUnknown>>;
|
|
1043
|
+
export declare const ValueFormatSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1053
1044
|
number: "number";
|
|
1054
1045
|
boolean: "boolean";
|
|
1055
1046
|
date: "date";
|
|
@@ -1058,8 +1049,8 @@ export declare const ValueFormatSchema: z.ZodEnum<{
|
|
|
1058
1049
|
time: "time";
|
|
1059
1050
|
currency: "currency";
|
|
1060
1051
|
badge: "badge";
|
|
1061
|
-
}>;
|
|
1062
|
-
export declare const ColumnVariantSchema: z.ZodEnum<{
|
|
1052
|
+
}>, z.ZodString]>;
|
|
1053
|
+
export declare const ColumnVariantSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1063
1054
|
boolean: "boolean";
|
|
1064
1055
|
link: "link";
|
|
1065
1056
|
text: "text";
|
|
@@ -1071,7 +1062,7 @@ export declare const ColumnVariantSchema: z.ZodEnum<{
|
|
|
1071
1062
|
link_group: "link_group";
|
|
1072
1063
|
annotated: "annotated";
|
|
1073
1064
|
progress: "progress";
|
|
1074
|
-
}>;
|
|
1065
|
+
}>, z.ZodString]>;
|
|
1075
1066
|
export declare const ColumnSchema: z.ZodObject<{
|
|
1076
1067
|
key: z.ZodString;
|
|
1077
1068
|
label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1081,7 +1072,7 @@ export declare const ColumnSchema: z.ZodObject<{
|
|
|
1081
1072
|
}, z.core.$strip>]>;
|
|
1082
1073
|
sortable: z.ZodBoolean;
|
|
1083
1074
|
searchable: z.ZodBoolean;
|
|
1084
|
-
format: z.ZodEnum<{
|
|
1075
|
+
format: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1085
1076
|
number: "number";
|
|
1086
1077
|
boolean: "boolean";
|
|
1087
1078
|
date: "date";
|
|
@@ -1090,10 +1081,10 @@ export declare const ColumnSchema: z.ZodObject<{
|
|
|
1090
1081
|
time: "time";
|
|
1091
1082
|
currency: "currency";
|
|
1092
1083
|
badge: "badge";
|
|
1093
|
-
}>;
|
|
1084
|
+
}>, z.ZodString]>;
|
|
1094
1085
|
formatOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1095
1086
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1096
|
-
variant: z.ZodOptional<z.ZodEnum<{
|
|
1087
|
+
variant: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1097
1088
|
boolean: "boolean";
|
|
1098
1089
|
link: "link";
|
|
1099
1090
|
text: "text";
|
|
@@ -1105,16 +1096,16 @@ export declare const ColumnSchema: z.ZodObject<{
|
|
|
1105
1096
|
link_group: "link_group";
|
|
1106
1097
|
annotated: "annotated";
|
|
1107
1098
|
progress: "progress";
|
|
1108
|
-
}>>;
|
|
1099
|
+
}>, z.ZodString]>>;
|
|
1109
1100
|
}, z.core.$strip>;
|
|
1110
|
-
export declare const FilterTypeSchema: z.ZodEnum<{
|
|
1101
|
+
export declare const FilterTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1111
1102
|
boolean: "boolean";
|
|
1112
1103
|
date: "date";
|
|
1113
1104
|
text: "text";
|
|
1114
1105
|
select: "select";
|
|
1115
1106
|
date_range: "date_range";
|
|
1116
1107
|
number_range: "number_range";
|
|
1117
|
-
}>;
|
|
1108
|
+
}>, z.ZodString]>;
|
|
1118
1109
|
export declare const FilterDefinitionSchema: z.ZodObject<{
|
|
1119
1110
|
key: z.ZodString;
|
|
1120
1111
|
label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1122,14 +1113,14 @@ export declare const FilterDefinitionSchema: z.ZodObject<{
|
|
|
1122
1113
|
domain: z.ZodString;
|
|
1123
1114
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1124
1115
|
}, z.core.$strip>]>;
|
|
1125
|
-
type: z.ZodEnum<{
|
|
1116
|
+
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1126
1117
|
boolean: "boolean";
|
|
1127
1118
|
date: "date";
|
|
1128
1119
|
text: "text";
|
|
1129
1120
|
select: "select";
|
|
1130
1121
|
date_range: "date_range";
|
|
1131
1122
|
number_range: "number_range";
|
|
1132
|
-
}>;
|
|
1123
|
+
}>, z.ZodString]>;
|
|
1133
1124
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1134
1125
|
value: z.ZodUnknown;
|
|
1135
1126
|
label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1162,7 +1153,7 @@ export declare const TableConfigSchema: z.ZodObject<{
|
|
|
1162
1153
|
}, z.core.$strip>]>;
|
|
1163
1154
|
sortable: z.ZodBoolean;
|
|
1164
1155
|
searchable: z.ZodBoolean;
|
|
1165
|
-
format: z.ZodEnum<{
|
|
1156
|
+
format: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1166
1157
|
number: "number";
|
|
1167
1158
|
boolean: "boolean";
|
|
1168
1159
|
date: "date";
|
|
@@ -1171,10 +1162,10 @@ export declare const TableConfigSchema: z.ZodObject<{
|
|
|
1171
1162
|
time: "time";
|
|
1172
1163
|
currency: "currency";
|
|
1173
1164
|
badge: "badge";
|
|
1174
|
-
}>;
|
|
1165
|
+
}>, z.ZodString]>;
|
|
1175
1166
|
formatOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1176
1167
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1177
|
-
variant: z.ZodOptional<z.ZodEnum<{
|
|
1168
|
+
variant: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1178
1169
|
boolean: "boolean";
|
|
1179
1170
|
link: "link";
|
|
1180
1171
|
text: "text";
|
|
@@ -1186,7 +1177,7 @@ export declare const TableConfigSchema: z.ZodObject<{
|
|
|
1186
1177
|
link_group: "link_group";
|
|
1187
1178
|
annotated: "annotated";
|
|
1188
1179
|
progress: "progress";
|
|
1189
|
-
}>>;
|
|
1180
|
+
}>, z.ZodString]>>;
|
|
1190
1181
|
}, z.core.$strip>>;
|
|
1191
1182
|
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1192
1183
|
key: z.ZodString;
|
|
@@ -1195,14 +1186,14 @@ export declare const TableConfigSchema: z.ZodObject<{
|
|
|
1195
1186
|
domain: z.ZodString;
|
|
1196
1187
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1197
1188
|
}, z.core.$strip>]>;
|
|
1198
|
-
type: z.ZodEnum<{
|
|
1189
|
+
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1199
1190
|
boolean: "boolean";
|
|
1200
1191
|
date: "date";
|
|
1201
1192
|
text: "text";
|
|
1202
1193
|
select: "select";
|
|
1203
1194
|
date_range: "date_range";
|
|
1204
1195
|
number_range: "number_range";
|
|
1205
|
-
}>;
|
|
1196
|
+
}>, z.ZodString]>;
|
|
1206
1197
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1207
1198
|
value: z.ZodUnknown;
|
|
1208
1199
|
label: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1246,7 +1237,7 @@ export declare const TableConfigSchema: z.ZodObject<{
|
|
|
1246
1237
|
}, z.core.$strip>, z.ZodObject<{
|
|
1247
1238
|
kind: z.ZodLiteral<"panel">;
|
|
1248
1239
|
}, z.core.$strip>]>;
|
|
1249
|
-
intent: z.ZodEnum<{
|
|
1240
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1250
1241
|
success: "success";
|
|
1251
1242
|
link: "link";
|
|
1252
1243
|
primary: "primary";
|
|
@@ -1255,7 +1246,7 @@ export declare const TableConfigSchema: z.ZodObject<{
|
|
|
1255
1246
|
warning: "warning";
|
|
1256
1247
|
info: "info";
|
|
1257
1248
|
ghost: "ghost";
|
|
1258
|
-
}>;
|
|
1249
|
+
}>, z.ZodString]>;
|
|
1259
1250
|
icon: z.ZodOptional<z.ZodString>;
|
|
1260
1251
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
1261
1252
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1312,7 +1303,7 @@ export declare const TableConfigSchema: z.ZodObject<{
|
|
|
1312
1303
|
}, z.core.$strip>, z.ZodObject<{
|
|
1313
1304
|
kind: z.ZodLiteral<"panel">;
|
|
1314
1305
|
}, z.core.$strip>]>;
|
|
1315
|
-
intent: z.ZodEnum<{
|
|
1306
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1316
1307
|
success: "success";
|
|
1317
1308
|
link: "link";
|
|
1318
1309
|
primary: "primary";
|
|
@@ -1321,7 +1312,7 @@ export declare const TableConfigSchema: z.ZodObject<{
|
|
|
1321
1312
|
warning: "warning";
|
|
1322
1313
|
info: "info";
|
|
1323
1314
|
ghost: "ghost";
|
|
1324
|
-
}>;
|
|
1315
|
+
}>, z.ZodString]>;
|
|
1325
1316
|
icon: z.ZodOptional<z.ZodString>;
|
|
1326
1317
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
1327
1318
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1419,7 +1410,7 @@ export declare const TabSchema: z.ZodObject<{
|
|
|
1419
1410
|
}, z.core.$strip>, z.ZodObject<{
|
|
1420
1411
|
kind: z.ZodLiteral<"panel">;
|
|
1421
1412
|
}, z.core.$strip>]>;
|
|
1422
|
-
intent: z.ZodEnum<{
|
|
1413
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1423
1414
|
success: "success";
|
|
1424
1415
|
link: "link";
|
|
1425
1416
|
primary: "primary";
|
|
@@ -1428,7 +1419,7 @@ export declare const TabSchema: z.ZodObject<{
|
|
|
1428
1419
|
warning: "warning";
|
|
1429
1420
|
info: "info";
|
|
1430
1421
|
ghost: "ghost";
|
|
1431
|
-
}>;
|
|
1422
|
+
}>, z.ZodString]>;
|
|
1432
1423
|
icon: z.ZodOptional<z.ZodString>;
|
|
1433
1424
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
1434
1425
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -1500,8 +1491,6 @@ export declare const FileValueSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObj
|
|
|
1500
1491
|
id: z.ZodOptional<z.ZodString>;
|
|
1501
1492
|
uploadToken: z.ZodOptional<z.ZodString>;
|
|
1502
1493
|
}, z.core.$strip>]>;
|
|
1503
|
-
export declare const FieldErrorSchema: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
1504
|
-
export declare const FormErrorsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1505
1494
|
export declare const FormFieldValidationSchema: z.ZodObject<{
|
|
1506
1495
|
minLength: z.ZodOptional<z.ZodNumber>;
|
|
1507
1496
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3013,6 +3002,130 @@ export declare const FormFieldNodeSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
3013
3002
|
props: z.ZodObject<{
|
|
3014
3003
|
label: z.ZodString;
|
|
3015
3004
|
}, z.core.$strip>;
|
|
3005
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3006
|
+
kind: z.ZodLiteral<"field">;
|
|
3007
|
+
key: z.ZodString;
|
|
3008
|
+
component: z.ZodEnum<{
|
|
3009
|
+
time: "time";
|
|
3010
|
+
richtext: "richtext";
|
|
3011
|
+
}>;
|
|
3012
|
+
props: z.ZodObject<{
|
|
3013
|
+
label: z.ZodString;
|
|
3014
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
3015
|
+
helpText: z.ZodOptional<z.ZodString>;
|
|
3016
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
3017
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
3018
|
+
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3019
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
3020
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
3021
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
3022
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
3023
|
+
patternMessage: z.ZodOptional<z.ZodString>;
|
|
3024
|
+
}, z.core.$strip>>;
|
|
3025
|
+
visible_when: z.ZodOptional<z.ZodObject<{
|
|
3026
|
+
field: z.ZodString;
|
|
3027
|
+
operator: z.ZodEnum<{
|
|
3028
|
+
equals: "equals";
|
|
3029
|
+
not_equals: "not_equals";
|
|
3030
|
+
in: "in";
|
|
3031
|
+
not_in: "not_in";
|
|
3032
|
+
}>;
|
|
3033
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
3034
|
+
}, z.core.$strip>>;
|
|
3035
|
+
hidden_when: z.ZodOptional<z.ZodObject<{
|
|
3036
|
+
field: z.ZodString;
|
|
3037
|
+
operator: z.ZodEnum<{
|
|
3038
|
+
equals: "equals";
|
|
3039
|
+
not_equals: "not_equals";
|
|
3040
|
+
in: "in";
|
|
3041
|
+
not_in: "not_in";
|
|
3042
|
+
}>;
|
|
3043
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
3044
|
+
}, z.core.$strip>>;
|
|
3045
|
+
disabled_when: z.ZodOptional<z.ZodObject<{
|
|
3046
|
+
field: z.ZodString;
|
|
3047
|
+
operator: z.ZodEnum<{
|
|
3048
|
+
equals: "equals";
|
|
3049
|
+
not_equals: "not_equals";
|
|
3050
|
+
in: "in";
|
|
3051
|
+
not_in: "not_in";
|
|
3052
|
+
}>;
|
|
3053
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
3054
|
+
}, z.core.$strip>>;
|
|
3055
|
+
required_when: z.ZodOptional<z.ZodObject<{
|
|
3056
|
+
field: z.ZodString;
|
|
3057
|
+
operator: z.ZodEnum<{
|
|
3058
|
+
equals: "equals";
|
|
3059
|
+
not_equals: "not_equals";
|
|
3060
|
+
in: "in";
|
|
3061
|
+
not_in: "not_in";
|
|
3062
|
+
}>;
|
|
3063
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
3064
|
+
}, z.core.$strip>>;
|
|
3065
|
+
}, z.core.$strip>;
|
|
3066
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3067
|
+
kind: z.ZodLiteral<"field">;
|
|
3068
|
+
key: z.ZodString;
|
|
3069
|
+
component: z.ZodLiteral<"autocomplete">;
|
|
3070
|
+
props: z.ZodIntersection<z.ZodObject<{
|
|
3071
|
+
label: z.ZodString;
|
|
3072
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
3073
|
+
helpText: z.ZodOptional<z.ZodString>;
|
|
3074
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
3075
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
3076
|
+
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3077
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
3078
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
3079
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
3080
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
3081
|
+
patternMessage: z.ZodOptional<z.ZodString>;
|
|
3082
|
+
}, z.core.$strip>>;
|
|
3083
|
+
visible_when: z.ZodOptional<z.ZodObject<{
|
|
3084
|
+
field: z.ZodString;
|
|
3085
|
+
operator: z.ZodEnum<{
|
|
3086
|
+
equals: "equals";
|
|
3087
|
+
not_equals: "not_equals";
|
|
3088
|
+
in: "in";
|
|
3089
|
+
not_in: "not_in";
|
|
3090
|
+
}>;
|
|
3091
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
3092
|
+
}, z.core.$strip>>;
|
|
3093
|
+
hidden_when: z.ZodOptional<z.ZodObject<{
|
|
3094
|
+
field: z.ZodString;
|
|
3095
|
+
operator: z.ZodEnum<{
|
|
3096
|
+
equals: "equals";
|
|
3097
|
+
not_equals: "not_equals";
|
|
3098
|
+
in: "in";
|
|
3099
|
+
not_in: "not_in";
|
|
3100
|
+
}>;
|
|
3101
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
3102
|
+
}, z.core.$strip>>;
|
|
3103
|
+
disabled_when: z.ZodOptional<z.ZodObject<{
|
|
3104
|
+
field: z.ZodString;
|
|
3105
|
+
operator: z.ZodEnum<{
|
|
3106
|
+
equals: "equals";
|
|
3107
|
+
not_equals: "not_equals";
|
|
3108
|
+
in: "in";
|
|
3109
|
+
not_in: "not_in";
|
|
3110
|
+
}>;
|
|
3111
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
3112
|
+
}, z.core.$strip>>;
|
|
3113
|
+
required_when: z.ZodOptional<z.ZodObject<{
|
|
3114
|
+
field: z.ZodString;
|
|
3115
|
+
operator: z.ZodEnum<{
|
|
3116
|
+
equals: "equals";
|
|
3117
|
+
not_equals: "not_equals";
|
|
3118
|
+
in: "in";
|
|
3119
|
+
not_in: "not_in";
|
|
3120
|
+
}>;
|
|
3121
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
3122
|
+
}, z.core.$strip>>;
|
|
3123
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3124
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3125
|
+
value: z.ZodString;
|
|
3126
|
+
label: z.ZodString;
|
|
3127
|
+
}, z.core.$strip>>>;
|
|
3128
|
+
}, z.core.$strip>>;
|
|
3016
3129
|
}, z.core.$strip>]>;
|
|
3017
3130
|
export declare const FormSectionNodeSchema: z.ZodType<FormSectionNode>;
|
|
3018
3131
|
export declare const FormGroupNodeSchema: z.ZodType<FormGroupNode>;
|
|
@@ -3080,7 +3193,7 @@ export declare const RegionUpdateSchema: z.ZodObject<{
|
|
|
3080
3193
|
}, z.core.$strip>, z.ZodObject<{
|
|
3081
3194
|
kind: z.ZodLiteral<"panel">;
|
|
3082
3195
|
}, z.core.$strip>]>;
|
|
3083
|
-
intent: z.ZodEnum<{
|
|
3196
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3084
3197
|
success: "success";
|
|
3085
3198
|
link: "link";
|
|
3086
3199
|
primary: "primary";
|
|
@@ -3089,7 +3202,7 @@ export declare const RegionUpdateSchema: z.ZodObject<{
|
|
|
3089
3202
|
warning: "warning";
|
|
3090
3203
|
info: "info";
|
|
3091
3204
|
ghost: "ghost";
|
|
3092
|
-
}>;
|
|
3205
|
+
}>, z.ZodString]>;
|
|
3093
3206
|
icon: z.ZodOptional<z.ZodString>;
|
|
3094
3207
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
3095
3208
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -3133,12 +3246,12 @@ export declare const RegionUpdateSchema: z.ZodObject<{
|
|
|
3133
3246
|
export declare const ActionResultSchema: z.ZodObject<{
|
|
3134
3247
|
success: z.ZodBoolean;
|
|
3135
3248
|
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3136
|
-
level: z.ZodEnum<{
|
|
3249
|
+
level: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3137
3250
|
success: "success";
|
|
3138
3251
|
warning: "warning";
|
|
3139
3252
|
info: "info";
|
|
3140
3253
|
error: "error";
|
|
3141
|
-
}>;
|
|
3254
|
+
}>, z.ZodString]>;
|
|
3142
3255
|
message: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3143
3256
|
key: z.ZodString;
|
|
3144
3257
|
domain: z.ZodString;
|
|
@@ -3179,7 +3292,7 @@ export declare const ActionResultSchema: z.ZodObject<{
|
|
|
3179
3292
|
}, z.core.$strip>, z.ZodObject<{
|
|
3180
3293
|
kind: z.ZodLiteral<"panel">;
|
|
3181
3294
|
}, z.core.$strip>]>;
|
|
3182
|
-
intent: z.ZodEnum<{
|
|
3295
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3183
3296
|
success: "success";
|
|
3184
3297
|
link: "link";
|
|
3185
3298
|
primary: "primary";
|
|
@@ -3188,7 +3301,7 @@ export declare const ActionResultSchema: z.ZodObject<{
|
|
|
3188
3301
|
warning: "warning";
|
|
3189
3302
|
info: "info";
|
|
3190
3303
|
ghost: "ghost";
|
|
3191
|
-
}>;
|
|
3304
|
+
}>, z.ZodString]>;
|
|
3192
3305
|
icon: z.ZodOptional<z.ZodString>;
|
|
3193
3306
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
3194
3307
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -3222,7 +3335,7 @@ export declare const ActionResultSchema: z.ZodObject<{
|
|
|
3222
3335
|
refreshBlocks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3223
3336
|
errors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
3224
3337
|
fragments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3225
|
-
version: z.ZodLiteral<"
|
|
3338
|
+
version: z.ZodLiteral<"2">;
|
|
3226
3339
|
kind: z.ZodEnum<{
|
|
3227
3340
|
custom: "custom";
|
|
3228
3341
|
notifications: "notifications";
|
|
@@ -3235,12 +3348,12 @@ export declare const ActionResultSchema: z.ZodObject<{
|
|
|
3235
3348
|
}>;
|
|
3236
3349
|
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3237
3350
|
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3238
|
-
level: z.ZodEnum<{
|
|
3351
|
+
level: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3239
3352
|
success: "success";
|
|
3240
3353
|
warning: "warning";
|
|
3241
3354
|
info: "info";
|
|
3242
3355
|
error: "error";
|
|
3243
|
-
}>;
|
|
3356
|
+
}>, z.ZodString]>;
|
|
3244
3357
|
message: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3245
3358
|
key: z.ZodString;
|
|
3246
3359
|
domain: z.ZodString;
|
|
@@ -3281,7 +3394,7 @@ export declare const ActionResultSchema: z.ZodObject<{
|
|
|
3281
3394
|
}, z.core.$strip>, z.ZodObject<{
|
|
3282
3395
|
kind: z.ZodLiteral<"panel">;
|
|
3283
3396
|
}, z.core.$strip>]>;
|
|
3284
|
-
intent: z.ZodEnum<{
|
|
3397
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3285
3398
|
success: "success";
|
|
3286
3399
|
link: "link";
|
|
3287
3400
|
primary: "primary";
|
|
@@ -3290,7 +3403,7 @@ export declare const ActionResultSchema: z.ZodObject<{
|
|
|
3290
3403
|
warning: "warning";
|
|
3291
3404
|
info: "info";
|
|
3292
3405
|
ghost: "ghost";
|
|
3293
|
-
}>;
|
|
3406
|
+
}>, z.ZodString]>;
|
|
3294
3407
|
icon: z.ZodOptional<z.ZodString>;
|
|
3295
3408
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
3296
3409
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -3320,38 +3433,14 @@ export declare const ActionResultSchema: z.ZodObject<{
|
|
|
3320
3433
|
loading: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3321
3434
|
}, z.core.$strip>>;
|
|
3322
3435
|
}, z.core.$strip>>>;
|
|
3323
|
-
resources: z.ZodOptional<z.
|
|
3324
|
-
preferences: z.ZodOptional<z.ZodObject<{
|
|
3325
|
-
theme: z.ZodEnum<{
|
|
3326
|
-
light: "light";
|
|
3327
|
-
dark: "dark";
|
|
3328
|
-
system: "system";
|
|
3329
|
-
}>;
|
|
3330
|
-
locale: z.ZodString;
|
|
3331
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
3332
|
-
dateFormat: z.ZodOptional<z.ZodString>;
|
|
3333
|
-
numberFormat: z.ZodOptional<z.ZodString>;
|
|
3334
|
-
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
3335
|
-
capabilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
3436
|
+
resources: z.ZodOptional<z.ZodObject<{
|
|
3336
3437
|
featureFlags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
3337
|
-
}, z.core.$strip
|
|
3438
|
+
}, z.core.$strip>>;
|
|
3338
3439
|
customType: z.ZodOptional<z.ZodString>;
|
|
3339
3440
|
}, z.core.$strip>>>;
|
|
3340
|
-
resources: z.ZodOptional<z.
|
|
3341
|
-
preferences: z.ZodOptional<z.ZodObject<{
|
|
3342
|
-
theme: z.ZodEnum<{
|
|
3343
|
-
light: "light";
|
|
3344
|
-
dark: "dark";
|
|
3345
|
-
system: "system";
|
|
3346
|
-
}>;
|
|
3347
|
-
locale: z.ZodString;
|
|
3348
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
3349
|
-
dateFormat: z.ZodOptional<z.ZodString>;
|
|
3350
|
-
numberFormat: z.ZodOptional<z.ZodString>;
|
|
3351
|
-
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
3352
|
-
capabilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
3441
|
+
resources: z.ZodOptional<z.ZodObject<{
|
|
3353
3442
|
featureFlags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
3354
|
-
}, z.core.$strip
|
|
3443
|
+
}, z.core.$strip>>;
|
|
3355
3444
|
}, z.core.$strip>;
|
|
3356
3445
|
export declare const ActionTargetKindSchema: z.ZodEnum<{
|
|
3357
3446
|
link: "link";
|
|
@@ -3359,11 +3448,11 @@ export declare const ActionTargetKindSchema: z.ZodEnum<{
|
|
|
3359
3448
|
request: "request";
|
|
3360
3449
|
panel: "panel";
|
|
3361
3450
|
}>;
|
|
3362
|
-
export declare const ChartTypeSchema: z.ZodEnum<{
|
|
3451
|
+
export declare const ChartTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3363
3452
|
line: "line";
|
|
3364
3453
|
bar: "bar";
|
|
3365
3454
|
area: "area";
|
|
3366
|
-
}>;
|
|
3455
|
+
}>, z.ZodString]>;
|
|
3367
3456
|
export declare const ConditionOperatorSchema: z.ZodEnum<{
|
|
3368
3457
|
in: "in";
|
|
3369
3458
|
not_in: "not_in";
|
|
@@ -3379,7 +3468,7 @@ export declare const ConditionOperatorSchema: z.ZodEnum<{
|
|
|
3379
3468
|
empty: "empty";
|
|
3380
3469
|
matches: "matches";
|
|
3381
3470
|
}>;
|
|
3382
|
-
export declare const FieldTypeSchema: z.ZodEnum<{
|
|
3471
|
+
export declare const FieldTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3383
3472
|
int: "int";
|
|
3384
3473
|
date: "date";
|
|
3385
3474
|
file: "file";
|
|
@@ -3407,14 +3496,15 @@ export declare const FieldTypeSchema: z.ZodEnum<{
|
|
|
3407
3496
|
header: "header";
|
|
3408
3497
|
richtext: "richtext";
|
|
3409
3498
|
autocomplete: "autocomplete";
|
|
3410
|
-
}>;
|
|
3411
|
-
export declare const FormComponentSchema: z.ZodEnum<{
|
|
3499
|
+
}>, z.ZodString]>;
|
|
3500
|
+
export declare const FormComponentSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3412
3501
|
int: "int";
|
|
3413
3502
|
date: "date";
|
|
3414
3503
|
file: "file";
|
|
3415
3504
|
email: "email";
|
|
3416
3505
|
text: "text";
|
|
3417
3506
|
datetime: "datetime";
|
|
3507
|
+
time: "time";
|
|
3418
3508
|
currency: "currency";
|
|
3419
3509
|
select: "select";
|
|
3420
3510
|
date_range: "date_range";
|
|
@@ -3440,13 +3530,15 @@ export declare const FormComponentSchema: z.ZodEnum<{
|
|
|
3440
3530
|
hidden: "hidden";
|
|
3441
3531
|
static: "static";
|
|
3442
3532
|
header: "header";
|
|
3443
|
-
|
|
3533
|
+
richtext: "richtext";
|
|
3534
|
+
autocomplete: "autocomplete";
|
|
3535
|
+
}>, z.ZodString]>;
|
|
3444
3536
|
export declare const RenderTargetSchema: z.ZodEnum<{
|
|
3445
3537
|
html: "html";
|
|
3446
3538
|
props: "props";
|
|
3447
3539
|
}>;
|
|
3448
3540
|
export declare const pageContractSchemaCore: z.ZodObject<{
|
|
3449
|
-
version: z.ZodLiteral<"
|
|
3541
|
+
version: z.ZodLiteral<"2">;
|
|
3450
3542
|
shell: z.ZodString;
|
|
3451
3543
|
page: z.ZodObject<{
|
|
3452
3544
|
key: z.ZodString;
|
|
@@ -3497,7 +3589,7 @@ export declare const pageContractSchemaCore: z.ZodObject<{
|
|
|
3497
3589
|
}, z.core.$strip>, z.ZodObject<{
|
|
3498
3590
|
kind: z.ZodLiteral<"panel">;
|
|
3499
3591
|
}, z.core.$strip>]>;
|
|
3500
|
-
intent: z.ZodEnum<{
|
|
3592
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3501
3593
|
success: "success";
|
|
3502
3594
|
link: "link";
|
|
3503
3595
|
primary: "primary";
|
|
@@ -3506,7 +3598,7 @@ export declare const pageContractSchemaCore: z.ZodObject<{
|
|
|
3506
3598
|
warning: "warning";
|
|
3507
3599
|
info: "info";
|
|
3508
3600
|
ghost: "ghost";
|
|
3509
|
-
}>;
|
|
3601
|
+
}>, z.ZodString]>;
|
|
3510
3602
|
icon: z.ZodOptional<z.ZodString>;
|
|
3511
3603
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
3512
3604
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -3581,7 +3673,7 @@ export declare const pageContractSchemaCore: z.ZodObject<{
|
|
|
3581
3673
|
}, z.core.$strip>, z.ZodObject<{
|
|
3582
3674
|
kind: z.ZodLiteral<"panel">;
|
|
3583
3675
|
}, z.core.$strip>]>;
|
|
3584
|
-
intent: z.ZodEnum<{
|
|
3676
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3585
3677
|
success: "success";
|
|
3586
3678
|
link: "link";
|
|
3587
3679
|
primary: "primary";
|
|
@@ -3590,7 +3682,7 @@ export declare const pageContractSchemaCore: z.ZodObject<{
|
|
|
3590
3682
|
warning: "warning";
|
|
3591
3683
|
info: "info";
|
|
3592
3684
|
ghost: "ghost";
|
|
3593
|
-
}>;
|
|
3685
|
+
}>, z.ZodString]>;
|
|
3594
3686
|
icon: z.ZodOptional<z.ZodString>;
|
|
3595
3687
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
3596
3688
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -3632,26 +3724,7 @@ export declare const pageContractSchemaCore: z.ZodObject<{
|
|
|
3632
3724
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3633
3725
|
}, z.core.$strip>;
|
|
3634
3726
|
resources: z.ZodOptional<z.ZodObject<{
|
|
3635
|
-
|
|
3636
|
-
theme: z.ZodEnum<{
|
|
3637
|
-
light: "light";
|
|
3638
|
-
dark: "dark";
|
|
3639
|
-
system: "system";
|
|
3640
|
-
}>;
|
|
3641
|
-
locale: z.ZodString;
|
|
3642
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
3643
|
-
dateFormat: z.ZodOptional<z.ZodString>;
|
|
3644
|
-
numberFormat: z.ZodOptional<z.ZodString>;
|
|
3645
|
-
}, z.core.$catchall<z.ZodUnknown>>;
|
|
3646
|
-
capabilities: z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodBoolean>, z.ZodArray<z.ZodUnknown>]>;
|
|
3647
|
-
featureFlags: z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodBoolean>, z.ZodArray<z.ZodUnknown>]>;
|
|
3648
|
-
user: z.ZodOptional<z.ZodObject<{
|
|
3649
|
-
id: z.ZodString;
|
|
3650
|
-
name: z.ZodString;
|
|
3651
|
-
email: z.ZodOptional<z.ZodString>;
|
|
3652
|
-
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
3653
|
-
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3654
|
-
}, z.core.$strip>>;
|
|
3727
|
+
featureFlags: z.ZodRecord<z.ZodString, z.ZodBoolean>;
|
|
3655
3728
|
branding: z.ZodOptional<z.ZodObject<{
|
|
3656
3729
|
appName: z.ZodString;
|
|
3657
3730
|
logoUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -3659,12 +3732,12 @@ export declare const pageContractSchemaCore: z.ZodObject<{
|
|
|
3659
3732
|
}, z.core.$strip>>;
|
|
3660
3733
|
}, z.core.$strip>>;
|
|
3661
3734
|
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3662
|
-
level: z.ZodEnum<{
|
|
3735
|
+
level: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3663
3736
|
success: "success";
|
|
3664
3737
|
warning: "warning";
|
|
3665
3738
|
info: "info";
|
|
3666
3739
|
error: "error";
|
|
3667
|
-
}>;
|
|
3740
|
+
}>, z.ZodString]>;
|
|
3668
3741
|
message: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3669
3742
|
key: z.ZodString;
|
|
3670
3743
|
domain: z.ZodString;
|
|
@@ -3705,7 +3778,7 @@ export declare const pageContractSchemaCore: z.ZodObject<{
|
|
|
3705
3778
|
}, z.core.$strip>, z.ZodObject<{
|
|
3706
3779
|
kind: z.ZodLiteral<"panel">;
|
|
3707
3780
|
}, z.core.$strip>]>;
|
|
3708
|
-
intent: z.ZodEnum<{
|
|
3781
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3709
3782
|
success: "success";
|
|
3710
3783
|
link: "link";
|
|
3711
3784
|
primary: "primary";
|
|
@@ -3714,7 +3787,7 @@ export declare const pageContractSchemaCore: z.ZodObject<{
|
|
|
3714
3787
|
warning: "warning";
|
|
3715
3788
|
info: "info";
|
|
3716
3789
|
ghost: "ghost";
|
|
3717
|
-
}>;
|
|
3790
|
+
}>, z.ZodString]>;
|
|
3718
3791
|
icon: z.ZodOptional<z.ZodString>;
|
|
3719
3792
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
3720
3793
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -3747,7 +3820,7 @@ export declare const pageContractSchemaCore: z.ZodObject<{
|
|
|
3747
3820
|
entities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3748
3821
|
}, z.core.$strip>;
|
|
3749
3822
|
export declare const fragmentSchemaCore: z.ZodObject<{
|
|
3750
|
-
version: z.ZodLiteral<"
|
|
3823
|
+
version: z.ZodLiteral<"2">;
|
|
3751
3824
|
kind: z.ZodEnum<{
|
|
3752
3825
|
custom: "custom";
|
|
3753
3826
|
notifications: "notifications";
|
|
@@ -3760,12 +3833,12 @@ export declare const fragmentSchemaCore: z.ZodObject<{
|
|
|
3760
3833
|
}>;
|
|
3761
3834
|
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3762
3835
|
notifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3763
|
-
level: z.ZodEnum<{
|
|
3836
|
+
level: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3764
3837
|
success: "success";
|
|
3765
3838
|
warning: "warning";
|
|
3766
3839
|
info: "info";
|
|
3767
3840
|
error: "error";
|
|
3768
|
-
}>;
|
|
3841
|
+
}>, z.ZodString]>;
|
|
3769
3842
|
message: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3770
3843
|
key: z.ZodString;
|
|
3771
3844
|
domain: z.ZodString;
|
|
@@ -3806,7 +3879,7 @@ export declare const fragmentSchemaCore: z.ZodObject<{
|
|
|
3806
3879
|
}, z.core.$strip>, z.ZodObject<{
|
|
3807
3880
|
kind: z.ZodLiteral<"panel">;
|
|
3808
3881
|
}, z.core.$strip>]>;
|
|
3809
|
-
intent: z.ZodEnum<{
|
|
3882
|
+
intent: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3810
3883
|
success: "success";
|
|
3811
3884
|
link: "link";
|
|
3812
3885
|
primary: "primary";
|
|
@@ -3815,7 +3888,7 @@ export declare const fragmentSchemaCore: z.ZodObject<{
|
|
|
3815
3888
|
warning: "warning";
|
|
3816
3889
|
info: "info";
|
|
3817
3890
|
ghost: "ghost";
|
|
3818
|
-
}>;
|
|
3891
|
+
}>, z.ZodString]>;
|
|
3819
3892
|
icon: z.ZodOptional<z.ZodString>;
|
|
3820
3893
|
confirmation: z.ZodOptional<z.ZodObject<{
|
|
3821
3894
|
title: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -3845,21 +3918,43 @@ export declare const fragmentSchemaCore: z.ZodObject<{
|
|
|
3845
3918
|
loading: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3846
3919
|
}, z.core.$strip>>;
|
|
3847
3920
|
}, z.core.$strip>>>;
|
|
3848
|
-
resources: z.ZodOptional<z.
|
|
3849
|
-
preferences: z.ZodOptional<z.ZodObject<{
|
|
3850
|
-
theme: z.ZodEnum<{
|
|
3851
|
-
light: "light";
|
|
3852
|
-
dark: "dark";
|
|
3853
|
-
system: "system";
|
|
3854
|
-
}>;
|
|
3855
|
-
locale: z.ZodString;
|
|
3856
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
3857
|
-
dateFormat: z.ZodOptional<z.ZodString>;
|
|
3858
|
-
numberFormat: z.ZodOptional<z.ZodString>;
|
|
3859
|
-
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
3860
|
-
capabilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
3921
|
+
resources: z.ZodOptional<z.ZodObject<{
|
|
3861
3922
|
featureFlags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
3862
|
-
}, z.core.$strip
|
|
3923
|
+
}, z.core.$strip>>;
|
|
3863
3924
|
customType: z.ZodOptional<z.ZodString>;
|
|
3864
3925
|
}, z.core.$strip>;
|
|
3926
|
+
export declare const sharedPropsSchemaCore: z.ZodObject<{
|
|
3927
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
3928
|
+
id: z.ZodString;
|
|
3929
|
+
name: z.ZodString;
|
|
3930
|
+
email: z.ZodOptional<z.ZodString>;
|
|
3931
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
3932
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3933
|
+
capabilities: z.ZodArray<z.ZodString>;
|
|
3934
|
+
logoutUrl: z.ZodOptional<z.ZodString>;
|
|
3935
|
+
}, z.core.$strip>>;
|
|
3936
|
+
theme: z.ZodOptional<z.ZodObject<{
|
|
3937
|
+
appearance: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3938
|
+
light: "light";
|
|
3939
|
+
dark: "dark";
|
|
3940
|
+
system: "system";
|
|
3941
|
+
}>, z.ZodString]>>;
|
|
3942
|
+
strings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3943
|
+
}, z.core.$strip>>;
|
|
3944
|
+
flash: z.ZodOptional<z.ZodObject<{
|
|
3945
|
+
success: z.ZodOptional<z.ZodString>;
|
|
3946
|
+
error: z.ZodOptional<z.ZodString>;
|
|
3947
|
+
info: z.ZodOptional<z.ZodString>;
|
|
3948
|
+
warning: z.ZodOptional<z.ZodString>;
|
|
3949
|
+
}, z.core.$strip>>;
|
|
3950
|
+
errors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
3951
|
+
csrf_token: z.ZodOptional<z.ZodString>;
|
|
3952
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
3953
|
+
scope: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3954
|
+
navigation: z.ZodOptional<z.ZodObject<{
|
|
3955
|
+
tree: z.ZodArray<z.ZodType<NavigationNode, unknown, z.core.$ZodTypeInternals<NavigationNode, unknown>>>;
|
|
3956
|
+
activeKey: z.ZodString;
|
|
3957
|
+
footer: z.ZodArray<z.ZodType<NavigationNode, unknown, z.core.$ZodTypeInternals<NavigationNode, unknown>>>;
|
|
3958
|
+
}, z.core.$strip>>;
|
|
3959
|
+
}, z.core.$catchall<z.ZodUnknown>>;
|
|
3865
3960
|
//# sourceMappingURL=schemas.d.ts.map
|