@trokky/trokky 3.5.6 → 3.6.1

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 (89) hide show
  1. package/dist/adapters/filesystem-data/filesystem-data-adapter.d.ts +2 -0
  2. package/dist/adapters/filesystem-data/filesystem-data-adapter.d.ts.map +1 -1
  3. package/dist/adapters/filesystem-data/filesystem-data-adapter.js +23 -0
  4. package/dist/adapters/filesystem-data/filesystem-data-adapter.js.map +1 -1
  5. package/dist/adapters/postgres-data/postgres-data-adapter.d.ts.map +1 -1
  6. package/dist/adapters/postgres-data/postgres-data-adapter.js +7 -5
  7. package/dist/adapters/postgres-data/postgres-data-adapter.js.map +1 -1
  8. package/dist/core/adapters/registry.d.ts +6 -0
  9. package/dist/core/adapters/registry.d.ts.map +1 -1
  10. package/dist/core/adapters/registry.js +39 -6
  11. package/dist/core/adapters/registry.js.map +1 -1
  12. package/dist/core/core/engine.d.ts +24 -1
  13. package/dist/core/core/engine.d.ts.map +1 -1
  14. package/dist/core/core/engine.js +67 -8
  15. package/dist/core/core/engine.js.map +1 -1
  16. package/dist/core/diagnostics/doctor.d.ts +50 -0
  17. package/dist/core/diagnostics/doctor.d.ts.map +1 -0
  18. package/dist/core/diagnostics/doctor.js +160 -0
  19. package/dist/core/diagnostics/doctor.js.map +1 -0
  20. package/dist/core/schema/registry.d.ts +12 -0
  21. package/dist/core/schema/registry.d.ts.map +1 -1
  22. package/dist/core/schema/registry.js +113 -0
  23. package/dist/core/schema/registry.js.map +1 -1
  24. package/dist/core/security/auth.d.ts +0 -4
  25. package/dist/core/security/auth.d.ts.map +1 -1
  26. package/dist/core/security/auth.js +0 -11
  27. package/dist/core/security/auth.js.map +1 -1
  28. package/dist/core/security/jwt-secret.d.ts +36 -0
  29. package/dist/core/security/jwt-secret.d.ts.map +1 -0
  30. package/dist/core/security/jwt-secret.js +93 -0
  31. package/dist/core/security/jwt-secret.js.map +1 -0
  32. package/dist/core/services/document-service.d.ts +11 -2
  33. package/dist/core/services/document-service.d.ts.map +1 -1
  34. package/dist/core/services/document-service.js +4 -2
  35. package/dist/core/services/document-service.js.map +1 -1
  36. package/dist/core/services/mfa-service.d.ts.map +1 -1
  37. package/dist/core/services/mfa-service.js +2 -7
  38. package/dist/core/services/mfa-service.js.map +1 -1
  39. package/dist/core/services/user-service.d.ts.map +1 -1
  40. package/dist/core/services/user-service.js +4 -1
  41. package/dist/core/services/user-service.js.map +1 -1
  42. package/dist/core/types/index.d.ts +11 -0
  43. package/dist/core/types/index.d.ts.map +1 -1
  44. package/dist/core/types/index.js.map +1 -1
  45. package/dist/core/types/storage-adapters.d.ts +6 -0
  46. package/dist/core/types/storage-adapters.d.ts.map +1 -1
  47. package/dist/core/validation/validator.d.ts +8 -1
  48. package/dist/core/validation/validator.d.ts.map +1 -1
  49. package/dist/core/validation/validator.js +33 -21
  50. package/dist/core/validation/validator.js.map +1 -1
  51. package/dist/i18n/config.d.ts +2 -0
  52. package/dist/i18n/config.d.ts.map +1 -1
  53. package/dist/i18n/locales/en/studio.json +1 -0
  54. package/dist/i18n/locales/fr/studio.json +1 -0
  55. package/dist/integrations/express/config.d.ts +11 -0
  56. package/dist/integrations/express/config.d.ts.map +1 -1
  57. package/dist/integrations/express/config.js +4 -2
  58. package/dist/integrations/express/config.js.map +1 -1
  59. package/dist/integrations/express/integration.d.ts.map +1 -1
  60. package/dist/integrations/express/integration.js +96 -79
  61. package/dist/integrations/express/integration.js.map +1 -1
  62. package/dist/integrations/express/persistence.d.ts +38 -0
  63. package/dist/integrations/express/persistence.d.ts.map +1 -0
  64. package/dist/integrations/express/persistence.js +97 -0
  65. package/dist/integrations/express/persistence.js.map +1 -0
  66. package/dist/routes/handlers/documents.d.ts.map +1 -1
  67. package/dist/routes/handlers/documents.js +13 -4
  68. package/dist/routes/handlers/documents.js.map +1 -1
  69. package/dist/routes/handlers/index.d.ts +1 -0
  70. package/dist/routes/handlers/index.d.ts.map +1 -1
  71. package/dist/routes/handlers/index.js +1 -0
  72. package/dist/routes/handlers/index.js.map +1 -1
  73. package/dist/routes/handlers/media.d.ts +7 -0
  74. package/dist/routes/handlers/media.d.ts.map +1 -1
  75. package/dist/routes/handlers/media.js +30 -1
  76. package/dist/routes/handlers/media.js.map +1 -1
  77. package/dist/routes/handlers/system.d.ts +14 -0
  78. package/dist/routes/handlers/system.d.ts.map +1 -0
  79. package/dist/routes/handlers/system.js +24 -0
  80. package/dist/routes/handlers/system.js.map +1 -0
  81. package/dist/routes/routes.d.ts.map +1 -1
  82. package/dist/routes/routes.js +7 -2
  83. package/dist/routes/routes.js.map +1 -1
  84. package/dist/structure/validation/schemas.d.ts +50 -50
  85. package/dist/types/oauth2.d.ts +1 -1
  86. package/dist/types/oauth2.d.ts.map +1 -1
  87. package/dist/types/oauth2.js +2 -0
  88. package/dist/types/oauth2.js.map +1 -1
  89. package/package.json +1 -1
@@ -63,15 +63,15 @@ export declare const BadgeConfigSchema: z.ZodObject<{
63
63
  field?: string | undefined;
64
64
  text?: string | undefined;
65
65
  custom?: ((...args: unknown[]) => unknown) | undefined;
66
- count?: boolean | undefined;
67
66
  color?: "gray" | "red" | "yellow" | "green" | "blue" | "indigo" | "purple" | "pink" | undefined;
67
+ count?: boolean | undefined;
68
68
  position?: "inline" | "corner" | undefined;
69
69
  }, {
70
70
  field?: string | undefined;
71
71
  text?: string | undefined;
72
72
  custom?: ((...args: unknown[]) => unknown) | undefined;
73
- count?: boolean | undefined;
74
73
  color?: "gray" | "red" | "yellow" | "green" | "blue" | "indigo" | "purple" | "pink" | undefined;
74
+ count?: boolean | undefined;
75
75
  position?: "inline" | "corner" | undefined;
76
76
  }>;
77
77
  /**
@@ -105,6 +105,7 @@ export declare const BulkActionConfigSchema: z.ZodObject<{
105
105
  }, "strip", z.ZodTypeAny, {
106
106
  title: string;
107
107
  action: string;
108
+ icon?: string | undefined;
108
109
  handler?: ((...args: unknown[]) => unknown) | undefined;
109
110
  permissions?: {
110
111
  custom?: Record<string, any> | undefined;
@@ -113,11 +114,11 @@ export declare const BulkActionConfigSchema: z.ZodObject<{
113
114
  delete?: any;
114
115
  read?: any;
115
116
  } | undefined;
116
- icon?: string | undefined;
117
117
  confirm?: string | undefined;
118
118
  }, {
119
119
  title: string;
120
120
  action: string;
121
+ icon?: string | undefined;
121
122
  handler?: ((...args: unknown[]) => unknown) | undefined;
122
123
  permissions?: {
123
124
  custom?: Record<string, any> | undefined;
@@ -126,7 +127,6 @@ export declare const BulkActionConfigSchema: z.ZodObject<{
126
127
  delete?: any;
127
128
  read?: any;
128
129
  } | undefined;
129
- icon?: string | undefined;
130
130
  confirm?: string | undefined;
131
131
  }>;
132
132
  /**
@@ -273,6 +273,7 @@ export declare const ActionConfigSchema: z.ZodObject<{
273
273
  id: string;
274
274
  title: string;
275
275
  type?: "link" | "button" | "dropdown" | undefined;
276
+ icon?: string | undefined;
276
277
  handler?: ((...args: unknown[]) => unknown) | undefined;
277
278
  permissions?: {
278
279
  custom?: Record<string, any> | undefined;
@@ -281,7 +282,6 @@ export declare const ActionConfigSchema: z.ZodObject<{
281
282
  delete?: any;
282
283
  read?: any;
283
284
  } | undefined;
284
- icon?: string | undefined;
285
285
  confirm?: boolean | undefined;
286
286
  confirmMessage?: string | undefined;
287
287
  style?: "default" | "primary" | "secondary" | "danger" | undefined;
@@ -290,6 +290,7 @@ export declare const ActionConfigSchema: z.ZodObject<{
290
290
  id: string;
291
291
  title: string;
292
292
  type?: "link" | "button" | "dropdown" | undefined;
293
+ icon?: string | undefined;
293
294
  handler?: ((...args: unknown[]) => unknown) | undefined;
294
295
  permissions?: {
295
296
  custom?: Record<string, any> | undefined;
@@ -298,7 +299,6 @@ export declare const ActionConfigSchema: z.ZodObject<{
298
299
  delete?: any;
299
300
  read?: any;
300
301
  } | undefined;
301
- icon?: string | undefined;
302
302
  confirm?: boolean | undefined;
303
303
  confirmMessage?: string | undefined;
304
304
  style?: "default" | "primary" | "secondary" | "danger" | undefined;
@@ -458,6 +458,7 @@ export declare const ListViewConfigSchema: z.ZodObject<{
458
458
  id: string;
459
459
  title: string;
460
460
  type?: "link" | "button" | "dropdown" | undefined;
461
+ icon?: string | undefined;
461
462
  handler?: ((...args: unknown[]) => unknown) | undefined;
462
463
  permissions?: {
463
464
  custom?: Record<string, any> | undefined;
@@ -466,7 +467,6 @@ export declare const ListViewConfigSchema: z.ZodObject<{
466
467
  delete?: any;
467
468
  read?: any;
468
469
  } | undefined;
469
- icon?: string | undefined;
470
470
  confirm?: boolean | undefined;
471
471
  confirmMessage?: string | undefined;
472
472
  style?: "default" | "primary" | "secondary" | "danger" | undefined;
@@ -475,6 +475,7 @@ export declare const ListViewConfigSchema: z.ZodObject<{
475
475
  id: string;
476
476
  title: string;
477
477
  type?: "link" | "button" | "dropdown" | undefined;
478
+ icon?: string | undefined;
478
479
  handler?: ((...args: unknown[]) => unknown) | undefined;
479
480
  permissions?: {
480
481
  custom?: Record<string, any> | undefined;
@@ -483,7 +484,6 @@ export declare const ListViewConfigSchema: z.ZodObject<{
483
484
  delete?: any;
484
485
  read?: any;
485
486
  } | undefined;
486
- icon?: string | undefined;
487
487
  confirm?: boolean | undefined;
488
488
  confirmMessage?: string | undefined;
489
489
  style?: "default" | "primary" | "secondary" | "danger" | undefined;
@@ -514,6 +514,7 @@ export declare const ListViewConfigSchema: z.ZodObject<{
514
514
  id: string;
515
515
  title: string;
516
516
  type?: "link" | "button" | "dropdown" | undefined;
517
+ icon?: string | undefined;
517
518
  handler?: ((...args: unknown[]) => unknown) | undefined;
518
519
  permissions?: {
519
520
  custom?: Record<string, any> | undefined;
@@ -522,7 +523,6 @@ export declare const ListViewConfigSchema: z.ZodObject<{
522
523
  delete?: any;
523
524
  read?: any;
524
525
  } | undefined;
525
- icon?: string | undefined;
526
526
  confirm?: boolean | undefined;
527
527
  confirmMessage?: string | undefined;
528
528
  style?: "default" | "primary" | "secondary" | "danger" | undefined;
@@ -553,6 +553,7 @@ export declare const ListViewConfigSchema: z.ZodObject<{
553
553
  id: string;
554
554
  title: string;
555
555
  type?: "link" | "button" | "dropdown" | undefined;
556
+ icon?: string | undefined;
556
557
  handler?: ((...args: unknown[]) => unknown) | undefined;
557
558
  permissions?: {
558
559
  custom?: Record<string, any> | undefined;
@@ -561,7 +562,6 @@ export declare const ListViewConfigSchema: z.ZodObject<{
561
562
  delete?: any;
562
563
  read?: any;
563
564
  } | undefined;
564
- icon?: string | undefined;
565
565
  confirm?: boolean | undefined;
566
566
  confirmMessage?: string | undefined;
567
567
  style?: "default" | "primary" | "secondary" | "danger" | undefined;
@@ -596,6 +596,7 @@ export declare const ListViewConfigSchema: z.ZodObject<{
596
596
  id: string;
597
597
  title: string;
598
598
  type?: "link" | "button" | "dropdown" | undefined;
599
+ icon?: string | undefined;
599
600
  handler?: ((...args: unknown[]) => unknown) | undefined;
600
601
  permissions?: {
601
602
  custom?: Record<string, any> | undefined;
@@ -604,7 +605,6 @@ export declare const ListViewConfigSchema: z.ZodObject<{
604
605
  delete?: any;
605
606
  read?: any;
606
607
  } | undefined;
607
- icon?: string | undefined;
608
608
  confirm?: boolean | undefined;
609
609
  confirmMessage?: string | undefined;
610
610
  style?: "default" | "primary" | "secondary" | "danger" | undefined;
@@ -647,6 +647,7 @@ export declare const ListViewConfigSchema: z.ZodObject<{
647
647
  id: string;
648
648
  title: string;
649
649
  type?: "link" | "button" | "dropdown" | undefined;
650
+ icon?: string | undefined;
650
651
  handler?: ((...args: unknown[]) => unknown) | undefined;
651
652
  permissions?: {
652
653
  custom?: Record<string, any> | undefined;
@@ -655,7 +656,6 @@ export declare const ListViewConfigSchema: z.ZodObject<{
655
656
  delete?: any;
656
657
  read?: any;
657
658
  } | undefined;
658
- icon?: string | undefined;
659
659
  confirm?: boolean | undefined;
660
660
  confirmMessage?: string | undefined;
661
661
  style?: "default" | "primary" | "secondary" | "danger" | undefined;
@@ -743,6 +743,7 @@ export declare const GridViewConfigSchema: z.ZodObject<{
743
743
  id: string;
744
744
  title: string;
745
745
  type?: "link" | "button" | "dropdown" | undefined;
746
+ icon?: string | undefined;
746
747
  handler?: ((...args: unknown[]) => unknown) | undefined;
747
748
  permissions?: {
748
749
  custom?: Record<string, any> | undefined;
@@ -751,7 +752,6 @@ export declare const GridViewConfigSchema: z.ZodObject<{
751
752
  delete?: any;
752
753
  read?: any;
753
754
  } | undefined;
754
- icon?: string | undefined;
755
755
  confirm?: boolean | undefined;
756
756
  confirmMessage?: string | undefined;
757
757
  style?: "default" | "primary" | "secondary" | "danger" | undefined;
@@ -760,6 +760,7 @@ export declare const GridViewConfigSchema: z.ZodObject<{
760
760
  id: string;
761
761
  title: string;
762
762
  type?: "link" | "button" | "dropdown" | undefined;
763
+ icon?: string | undefined;
763
764
  handler?: ((...args: unknown[]) => unknown) | undefined;
764
765
  permissions?: {
765
766
  custom?: Record<string, any> | undefined;
@@ -768,7 +769,6 @@ export declare const GridViewConfigSchema: z.ZodObject<{
768
769
  delete?: any;
769
770
  read?: any;
770
771
  } | undefined;
771
- icon?: string | undefined;
772
772
  confirm?: boolean | undefined;
773
773
  confirmMessage?: string | undefined;
774
774
  style?: "default" | "primary" | "secondary" | "danger" | undefined;
@@ -787,6 +787,7 @@ export declare const GridViewConfigSchema: z.ZodObject<{
787
787
  id: string;
788
788
  title: string;
789
789
  type?: "link" | "button" | "dropdown" | undefined;
790
+ icon?: string | undefined;
790
791
  handler?: ((...args: unknown[]) => unknown) | undefined;
791
792
  permissions?: {
792
793
  custom?: Record<string, any> | undefined;
@@ -795,7 +796,6 @@ export declare const GridViewConfigSchema: z.ZodObject<{
795
796
  delete?: any;
796
797
  read?: any;
797
798
  } | undefined;
798
- icon?: string | undefined;
799
799
  confirm?: boolean | undefined;
800
800
  confirmMessage?: string | undefined;
801
801
  style?: "default" | "primary" | "secondary" | "danger" | undefined;
@@ -814,6 +814,7 @@ export declare const GridViewConfigSchema: z.ZodObject<{
814
814
  id: string;
815
815
  title: string;
816
816
  type?: "link" | "button" | "dropdown" | undefined;
817
+ icon?: string | undefined;
817
818
  handler?: ((...args: unknown[]) => unknown) | undefined;
818
819
  permissions?: {
819
820
  custom?: Record<string, any> | undefined;
@@ -822,7 +823,6 @@ export declare const GridViewConfigSchema: z.ZodObject<{
822
823
  delete?: any;
823
824
  read?: any;
824
825
  } | undefined;
825
- icon?: string | undefined;
826
826
  confirm?: boolean | undefined;
827
827
  confirmMessage?: string | undefined;
828
828
  style?: "default" | "primary" | "secondary" | "danger" | undefined;
@@ -845,6 +845,7 @@ export declare const GridViewConfigSchema: z.ZodObject<{
845
845
  id: string;
846
846
  title: string;
847
847
  type?: "link" | "button" | "dropdown" | undefined;
848
+ icon?: string | undefined;
848
849
  handler?: ((...args: unknown[]) => unknown) | undefined;
849
850
  permissions?: {
850
851
  custom?: Record<string, any> | undefined;
@@ -853,7 +854,6 @@ export declare const GridViewConfigSchema: z.ZodObject<{
853
854
  delete?: any;
854
855
  read?: any;
855
856
  } | undefined;
856
- icon?: string | undefined;
857
857
  confirm?: boolean | undefined;
858
858
  confirmMessage?: string | undefined;
859
859
  style?: "default" | "primary" | "secondary" | "danger" | undefined;
@@ -884,6 +884,7 @@ export declare const GridViewConfigSchema: z.ZodObject<{
884
884
  id: string;
885
885
  title: string;
886
886
  type?: "link" | "button" | "dropdown" | undefined;
887
+ icon?: string | undefined;
887
888
  handler?: ((...args: unknown[]) => unknown) | undefined;
888
889
  permissions?: {
889
890
  custom?: Record<string, any> | undefined;
@@ -892,7 +893,6 @@ export declare const GridViewConfigSchema: z.ZodObject<{
892
893
  delete?: any;
893
894
  read?: any;
894
895
  } | undefined;
895
- icon?: string | undefined;
896
896
  confirm?: boolean | undefined;
897
897
  confirmMessage?: string | undefined;
898
898
  style?: "default" | "primary" | "secondary" | "danger" | undefined;
@@ -1087,6 +1087,7 @@ export declare const KanbanColumnConfigSchema: z.ZodObject<{
1087
1087
  id: string;
1088
1088
  title: string;
1089
1089
  type?: "link" | "button" | "dropdown" | undefined;
1090
+ icon?: string | undefined;
1090
1091
  handler?: ((...args: unknown[]) => unknown) | undefined;
1091
1092
  permissions?: {
1092
1093
  custom?: Record<string, any> | undefined;
@@ -1095,7 +1096,6 @@ export declare const KanbanColumnConfigSchema: z.ZodObject<{
1095
1096
  delete?: any;
1096
1097
  read?: any;
1097
1098
  } | undefined;
1098
- icon?: string | undefined;
1099
1099
  confirm?: boolean | undefined;
1100
1100
  confirmMessage?: string | undefined;
1101
1101
  style?: "default" | "primary" | "secondary" | "danger" | undefined;
@@ -1104,6 +1104,7 @@ export declare const KanbanColumnConfigSchema: z.ZodObject<{
1104
1104
  id: string;
1105
1105
  title: string;
1106
1106
  type?: "link" | "button" | "dropdown" | undefined;
1107
+ icon?: string | undefined;
1107
1108
  handler?: ((...args: unknown[]) => unknown) | undefined;
1108
1109
  permissions?: {
1109
1110
  custom?: Record<string, any> | undefined;
@@ -1112,7 +1113,6 @@ export declare const KanbanColumnConfigSchema: z.ZodObject<{
1112
1113
  delete?: any;
1113
1114
  read?: any;
1114
1115
  } | undefined;
1115
- icon?: string | undefined;
1116
1116
  confirm?: boolean | undefined;
1117
1117
  confirmMessage?: string | undefined;
1118
1118
  style?: "default" | "primary" | "secondary" | "danger" | undefined;
@@ -1129,6 +1129,7 @@ export declare const KanbanColumnConfigSchema: z.ZodObject<{
1129
1129
  id: string;
1130
1130
  title: string;
1131
1131
  type?: "link" | "button" | "dropdown" | undefined;
1132
+ icon?: string | undefined;
1132
1133
  handler?: ((...args: unknown[]) => unknown) | undefined;
1133
1134
  permissions?: {
1134
1135
  custom?: Record<string, any> | undefined;
@@ -1137,7 +1138,6 @@ export declare const KanbanColumnConfigSchema: z.ZodObject<{
1137
1138
  delete?: any;
1138
1139
  read?: any;
1139
1140
  } | undefined;
1140
- icon?: string | undefined;
1141
1141
  confirm?: boolean | undefined;
1142
1142
  confirmMessage?: string | undefined;
1143
1143
  style?: "default" | "primary" | "secondary" | "danger" | undefined;
@@ -1154,6 +1154,7 @@ export declare const KanbanColumnConfigSchema: z.ZodObject<{
1154
1154
  id: string;
1155
1155
  title: string;
1156
1156
  type?: "link" | "button" | "dropdown" | undefined;
1157
+ icon?: string | undefined;
1157
1158
  handler?: ((...args: unknown[]) => unknown) | undefined;
1158
1159
  permissions?: {
1159
1160
  custom?: Record<string, any> | undefined;
@@ -1162,7 +1163,6 @@ export declare const KanbanColumnConfigSchema: z.ZodObject<{
1162
1163
  delete?: any;
1163
1164
  read?: any;
1164
1165
  } | undefined;
1165
- icon?: string | undefined;
1166
1166
  confirm?: boolean | undefined;
1167
1167
  confirmMessage?: string | undefined;
1168
1168
  style?: "default" | "primary" | "secondary" | "danger" | undefined;
@@ -1244,6 +1244,7 @@ export declare const KanbanViewConfigSchema: z.ZodObject<{
1244
1244
  id: string;
1245
1245
  title: string;
1246
1246
  type?: "link" | "button" | "dropdown" | undefined;
1247
+ icon?: string | undefined;
1247
1248
  handler?: ((...args: unknown[]) => unknown) | undefined;
1248
1249
  permissions?: {
1249
1250
  custom?: Record<string, any> | undefined;
@@ -1252,7 +1253,6 @@ export declare const KanbanViewConfigSchema: z.ZodObject<{
1252
1253
  delete?: any;
1253
1254
  read?: any;
1254
1255
  } | undefined;
1255
- icon?: string | undefined;
1256
1256
  confirm?: boolean | undefined;
1257
1257
  confirmMessage?: string | undefined;
1258
1258
  style?: "default" | "primary" | "secondary" | "danger" | undefined;
@@ -1261,6 +1261,7 @@ export declare const KanbanViewConfigSchema: z.ZodObject<{
1261
1261
  id: string;
1262
1262
  title: string;
1263
1263
  type?: "link" | "button" | "dropdown" | undefined;
1264
+ icon?: string | undefined;
1264
1265
  handler?: ((...args: unknown[]) => unknown) | undefined;
1265
1266
  permissions?: {
1266
1267
  custom?: Record<string, any> | undefined;
@@ -1269,7 +1270,6 @@ export declare const KanbanViewConfigSchema: z.ZodObject<{
1269
1270
  delete?: any;
1270
1271
  read?: any;
1271
1272
  } | undefined;
1272
- icon?: string | undefined;
1273
1273
  confirm?: boolean | undefined;
1274
1274
  confirmMessage?: string | undefined;
1275
1275
  style?: "default" | "primary" | "secondary" | "danger" | undefined;
@@ -1286,6 +1286,7 @@ export declare const KanbanViewConfigSchema: z.ZodObject<{
1286
1286
  id: string;
1287
1287
  title: string;
1288
1288
  type?: "link" | "button" | "dropdown" | undefined;
1289
+ icon?: string | undefined;
1289
1290
  handler?: ((...args: unknown[]) => unknown) | undefined;
1290
1291
  permissions?: {
1291
1292
  custom?: Record<string, any> | undefined;
@@ -1294,7 +1295,6 @@ export declare const KanbanViewConfigSchema: z.ZodObject<{
1294
1295
  delete?: any;
1295
1296
  read?: any;
1296
1297
  } | undefined;
1297
- icon?: string | undefined;
1298
1298
  confirm?: boolean | undefined;
1299
1299
  confirmMessage?: string | undefined;
1300
1300
  style?: "default" | "primary" | "secondary" | "danger" | undefined;
@@ -1311,6 +1311,7 @@ export declare const KanbanViewConfigSchema: z.ZodObject<{
1311
1311
  id: string;
1312
1312
  title: string;
1313
1313
  type?: "link" | "button" | "dropdown" | undefined;
1314
+ icon?: string | undefined;
1314
1315
  handler?: ((...args: unknown[]) => unknown) | undefined;
1315
1316
  permissions?: {
1316
1317
  custom?: Record<string, any> | undefined;
@@ -1319,7 +1320,6 @@ export declare const KanbanViewConfigSchema: z.ZodObject<{
1319
1320
  delete?: any;
1320
1321
  read?: any;
1321
1322
  } | undefined;
1322
- icon?: string | undefined;
1323
1323
  confirm?: boolean | undefined;
1324
1324
  confirmMessage?: string | undefined;
1325
1325
  style?: "default" | "primary" | "secondary" | "danger" | undefined;
@@ -1342,6 +1342,7 @@ export declare const KanbanViewConfigSchema: z.ZodObject<{
1342
1342
  id: string;
1343
1343
  title: string;
1344
1344
  type?: "link" | "button" | "dropdown" | undefined;
1345
+ icon?: string | undefined;
1345
1346
  handler?: ((...args: unknown[]) => unknown) | undefined;
1346
1347
  permissions?: {
1347
1348
  custom?: Record<string, any> | undefined;
@@ -1350,7 +1351,6 @@ export declare const KanbanViewConfigSchema: z.ZodObject<{
1350
1351
  delete?: any;
1351
1352
  read?: any;
1352
1353
  } | undefined;
1353
- icon?: string | undefined;
1354
1354
  confirm?: boolean | undefined;
1355
1355
  confirmMessage?: string | undefined;
1356
1356
  style?: "default" | "primary" | "secondary" | "danger" | undefined;
@@ -1379,6 +1379,7 @@ export declare const KanbanViewConfigSchema: z.ZodObject<{
1379
1379
  id: string;
1380
1380
  title: string;
1381
1381
  type?: "link" | "button" | "dropdown" | undefined;
1382
+ icon?: string | undefined;
1382
1383
  handler?: ((...args: unknown[]) => unknown) | undefined;
1383
1384
  permissions?: {
1384
1385
  custom?: Record<string, any> | undefined;
@@ -1387,7 +1388,6 @@ export declare const KanbanViewConfigSchema: z.ZodObject<{
1387
1388
  delete?: any;
1388
1389
  read?: any;
1389
1390
  } | undefined;
1390
- icon?: string | undefined;
1391
1391
  confirm?: boolean | undefined;
1392
1392
  confirmMessage?: string | undefined;
1393
1393
  style?: "default" | "primary" | "secondary" | "danger" | undefined;
@@ -1420,6 +1420,7 @@ export declare const KanbanViewConfigSchema: z.ZodObject<{
1420
1420
  id: string;
1421
1421
  title: string;
1422
1422
  type?: "link" | "button" | "dropdown" | undefined;
1423
+ icon?: string | undefined;
1423
1424
  handler?: ((...args: unknown[]) => unknown) | undefined;
1424
1425
  permissions?: {
1425
1426
  custom?: Record<string, any> | undefined;
@@ -1428,7 +1429,6 @@ export declare const KanbanViewConfigSchema: z.ZodObject<{
1428
1429
  delete?: any;
1429
1430
  read?: any;
1430
1431
  } | undefined;
1431
- icon?: string | undefined;
1432
1432
  confirm?: boolean | undefined;
1433
1433
  confirmMessage?: string | undefined;
1434
1434
  style?: "default" | "primary" | "secondary" | "danger" | undefined;
@@ -1469,6 +1469,7 @@ export declare const KanbanViewConfigSchema: z.ZodObject<{
1469
1469
  id: string;
1470
1470
  title: string;
1471
1471
  type?: "link" | "button" | "dropdown" | undefined;
1472
+ icon?: string | undefined;
1472
1473
  handler?: ((...args: unknown[]) => unknown) | undefined;
1473
1474
  permissions?: {
1474
1475
  custom?: Record<string, any> | undefined;
@@ -1477,7 +1478,6 @@ export declare const KanbanViewConfigSchema: z.ZodObject<{
1477
1478
  delete?: any;
1478
1479
  read?: any;
1479
1480
  } | undefined;
1480
- icon?: string | undefined;
1481
1481
  confirm?: boolean | undefined;
1482
1482
  confirmMessage?: string | undefined;
1483
1483
  style?: "default" | "primary" | "secondary" | "danger" | undefined;
@@ -1658,6 +1658,7 @@ export declare const BaseStructureItemSchema: z.ZodObject<{
1658
1658
  title: string;
1659
1659
  id?: string | undefined;
1660
1660
  metadata?: Record<string, any> | undefined;
1661
+ icon?: string | undefined;
1661
1662
  permissions?: {
1662
1663
  custom?: Record<string, any> | undefined;
1663
1664
  create?: any;
@@ -1665,11 +1666,11 @@ export declare const BaseStructureItemSchema: z.ZodObject<{
1665
1666
  delete?: any;
1666
1667
  read?: any;
1667
1668
  } | undefined;
1668
- icon?: string | undefined;
1669
1669
  }, {
1670
1670
  title: string;
1671
1671
  id?: string | undefined;
1672
1672
  metadata?: Record<string, any> | undefined;
1673
+ icon?: string | undefined;
1673
1674
  permissions?: {
1674
1675
  custom?: Record<string, any> | undefined;
1675
1676
  create?: any;
@@ -1677,7 +1678,6 @@ export declare const BaseStructureItemSchema: z.ZodObject<{
1677
1678
  delete?: any;
1678
1679
  read?: any;
1679
1680
  } | undefined;
1680
- icon?: string | undefined;
1681
1681
  }>;
1682
1682
  /**
1683
1683
  * Document list item schema
@@ -1784,15 +1784,15 @@ export declare const DocumentListItemSchema: z.ZodObject<{
1784
1784
  field?: string | undefined;
1785
1785
  text?: string | undefined;
1786
1786
  custom?: ((...args: unknown[]) => unknown) | undefined;
1787
- count?: boolean | undefined;
1788
1787
  color?: "gray" | "red" | "yellow" | "green" | "blue" | "indigo" | "purple" | "pink" | undefined;
1788
+ count?: boolean | undefined;
1789
1789
  position?: "inline" | "corner" | undefined;
1790
1790
  }, {
1791
1791
  field?: string | undefined;
1792
1792
  text?: string | undefined;
1793
1793
  custom?: ((...args: unknown[]) => unknown) | undefined;
1794
- count?: boolean | undefined;
1795
1794
  color?: "gray" | "red" | "yellow" | "green" | "blue" | "indigo" | "purple" | "pink" | undefined;
1795
+ count?: boolean | undefined;
1796
1796
  position?: "inline" | "corner" | undefined;
1797
1797
  }>>;
1798
1798
  bulkActions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1823,6 +1823,7 @@ export declare const DocumentListItemSchema: z.ZodObject<{
1823
1823
  }, "strip", z.ZodTypeAny, {
1824
1824
  title: string;
1825
1825
  action: string;
1826
+ icon?: string | undefined;
1826
1827
  handler?: ((...args: unknown[]) => unknown) | undefined;
1827
1828
  permissions?: {
1828
1829
  custom?: Record<string, any> | undefined;
@@ -1831,11 +1832,11 @@ export declare const DocumentListItemSchema: z.ZodObject<{
1831
1832
  delete?: any;
1832
1833
  read?: any;
1833
1834
  } | undefined;
1834
- icon?: string | undefined;
1835
1835
  confirm?: string | undefined;
1836
1836
  }, {
1837
1837
  title: string;
1838
1838
  action: string;
1839
+ icon?: string | undefined;
1839
1840
  handler?: ((...args: unknown[]) => unknown) | undefined;
1840
1841
  permissions?: {
1841
1842
  custom?: Record<string, any> | undefined;
@@ -1844,7 +1845,6 @@ export declare const DocumentListItemSchema: z.ZodObject<{
1844
1845
  delete?: any;
1845
1846
  read?: any;
1846
1847
  } | undefined;
1847
- icon?: string | undefined;
1848
1848
  confirm?: string | undefined;
1849
1849
  }>, "many">>;
1850
1850
  options: z.ZodOptional<z.ZodObject<{
@@ -1998,6 +1998,7 @@ export declare const DocumentListItemSchema: z.ZodObject<{
1998
1998
  sortFields?: string[] | undefined;
1999
1999
  refreshInterval?: number | undefined;
2000
2000
  } | undefined;
2001
+ icon?: string | undefined;
2001
2002
  permissions?: {
2002
2003
  custom?: Record<string, any> | undefined;
2003
2004
  create?: any;
@@ -2005,7 +2006,6 @@ export declare const DocumentListItemSchema: z.ZodObject<{
2005
2006
  delete?: any;
2006
2007
  read?: any;
2007
2008
  } | undefined;
2008
- icon?: string | undefined;
2009
2009
  views?: {
2010
2010
  type: string;
2011
2011
  default?: boolean | undefined;
@@ -2029,13 +2029,14 @@ export declare const DocumentListItemSchema: z.ZodObject<{
2029
2029
  field?: string | undefined;
2030
2030
  text?: string | undefined;
2031
2031
  custom?: ((...args: unknown[]) => unknown) | undefined;
2032
- count?: boolean | undefined;
2033
2032
  color?: "gray" | "red" | "yellow" | "green" | "blue" | "indigo" | "purple" | "pink" | undefined;
2033
+ count?: boolean | undefined;
2034
2034
  position?: "inline" | "corner" | undefined;
2035
2035
  } | undefined;
2036
2036
  bulkActions?: {
2037
2037
  title: string;
2038
2038
  action: string;
2039
+ icon?: string | undefined;
2039
2040
  handler?: ((...args: unknown[]) => unknown) | undefined;
2040
2041
  permissions?: {
2041
2042
  custom?: Record<string, any> | undefined;
@@ -2044,7 +2045,6 @@ export declare const DocumentListItemSchema: z.ZodObject<{
2044
2045
  delete?: any;
2045
2046
  read?: any;
2046
2047
  } | undefined;
2047
- icon?: string | undefined;
2048
2048
  confirm?: string | undefined;
2049
2049
  }[] | undefined;
2050
2050
  }, {
@@ -2078,6 +2078,7 @@ export declare const DocumentListItemSchema: z.ZodObject<{
2078
2078
  sortFields?: string[] | undefined;
2079
2079
  refreshInterval?: number | undefined;
2080
2080
  } | undefined;
2081
+ icon?: string | undefined;
2081
2082
  permissions?: {
2082
2083
  custom?: Record<string, any> | undefined;
2083
2084
  create?: any;
@@ -2085,7 +2086,6 @@ export declare const DocumentListItemSchema: z.ZodObject<{
2085
2086
  delete?: any;
2086
2087
  read?: any;
2087
2088
  } | undefined;
2088
- icon?: string | undefined;
2089
2089
  views?: {
2090
2090
  type: string;
2091
2091
  default?: boolean | undefined;
@@ -2109,13 +2109,14 @@ export declare const DocumentListItemSchema: z.ZodObject<{
2109
2109
  field?: string | undefined;
2110
2110
  text?: string | undefined;
2111
2111
  custom?: ((...args: unknown[]) => unknown) | undefined;
2112
- count?: boolean | undefined;
2113
2112
  color?: "gray" | "red" | "yellow" | "green" | "blue" | "indigo" | "purple" | "pink" | undefined;
2113
+ count?: boolean | undefined;
2114
2114
  position?: "inline" | "corner" | undefined;
2115
2115
  } | undefined;
2116
2116
  bulkActions?: {
2117
2117
  title: string;
2118
2118
  action: string;
2119
+ icon?: string | undefined;
2119
2120
  handler?: ((...args: unknown[]) => unknown) | undefined;
2120
2121
  permissions?: {
2121
2122
  custom?: Record<string, any> | undefined;
@@ -2124,7 +2125,6 @@ export declare const DocumentListItemSchema: z.ZodObject<{
2124
2125
  delete?: any;
2125
2126
  read?: any;
2126
2127
  } | undefined;
2127
- icon?: string | undefined;
2128
2128
  confirm?: string | undefined;
2129
2129
  }[] | undefined;
2130
2130
  }>;
@@ -2296,6 +2296,7 @@ export declare const SingletonItemSchema: z.ZodObject<{
2296
2296
  props?: Record<string, any> | undefined;
2297
2297
  }[] | undefined;
2298
2298
  } | undefined;
2299
+ icon?: string | undefined;
2299
2300
  permissions?: {
2300
2301
  custom?: Record<string, any> | undefined;
2301
2302
  create?: any;
@@ -2303,7 +2304,6 @@ export declare const SingletonItemSchema: z.ZodObject<{
2303
2304
  delete?: any;
2304
2305
  read?: any;
2305
2306
  } | undefined;
2306
- icon?: string | undefined;
2307
2307
  layout?: {
2308
2308
  type: "default" | "tabs" | "accordion" | "wizard";
2309
2309
  options?: Record<string, any> | undefined;
@@ -2337,6 +2337,7 @@ export declare const SingletonItemSchema: z.ZodObject<{
2337
2337
  props?: Record<string, any> | undefined;
2338
2338
  }[] | undefined;
2339
2339
  } | undefined;
2340
+ icon?: string | undefined;
2340
2341
  permissions?: {
2341
2342
  custom?: Record<string, any> | undefined;
2342
2343
  create?: any;
@@ -2344,7 +2345,6 @@ export declare const SingletonItemSchema: z.ZodObject<{
2344
2345
  delete?: any;
2345
2346
  read?: any;
2346
2347
  } | undefined;
2347
- icon?: string | undefined;
2348
2348
  layout?: {
2349
2349
  type: "default" | "tabs" | "accordion" | "wizard";
2350
2350
  options?: Record<string, any> | undefined;
@@ -2412,6 +2412,7 @@ export declare const GroupItemSchema: z.ZodObject<{
2412
2412
  maxItems?: number | undefined;
2413
2413
  ordering?: "type" | "manual" | "alphabetical" | undefined;
2414
2414
  } | undefined;
2415
+ icon?: string | undefined;
2415
2416
  permissions?: {
2416
2417
  custom?: Record<string, any> | undefined;
2417
2418
  create?: any;
@@ -2419,7 +2420,6 @@ export declare const GroupItemSchema: z.ZodObject<{
2419
2420
  delete?: any;
2420
2421
  read?: any;
2421
2422
  } | undefined;
2422
- icon?: string | undefined;
2423
2423
  collapsible?: boolean | undefined;
2424
2424
  defaultCollapsed?: boolean | undefined;
2425
2425
  }, {
@@ -2433,6 +2433,7 @@ export declare const GroupItemSchema: z.ZodObject<{
2433
2433
  maxItems?: number | undefined;
2434
2434
  ordering?: "type" | "manual" | "alphabetical" | undefined;
2435
2435
  } | undefined;
2436
+ icon?: string | undefined;
2436
2437
  permissions?: {
2437
2438
  custom?: Record<string, any> | undefined;
2438
2439
  create?: any;
@@ -2440,7 +2441,6 @@ export declare const GroupItemSchema: z.ZodObject<{
2440
2441
  delete?: any;
2441
2442
  read?: any;
2442
2443
  } | undefined;
2443
- icon?: string | undefined;
2444
2444
  collapsible?: boolean | undefined;
2445
2445
  defaultCollapsed?: boolean | undefined;
2446
2446
  }>;
@@ -2454,11 +2454,11 @@ export declare const DividerItemSchema: z.ZodObject<{
2454
2454
  }, "strip", z.ZodTypeAny, {
2455
2455
  type: "divider";
2456
2456
  title?: string | undefined;
2457
- style?: "line" | "space" | "label" | undefined;
2457
+ style?: "label" | "line" | "space" | undefined;
2458
2458
  }, {
2459
2459
  type: "divider";
2460
2460
  title?: string | undefined;
2461
- style?: "line" | "space" | "label" | undefined;
2461
+ style?: "label" | "line" | "space" | undefined;
2462
2462
  }>;
2463
2463
  /**
2464
2464
  * Custom view item schema
@@ -2511,6 +2511,7 @@ export declare const CustomViewItemSchema: z.ZodObject<{
2511
2511
  viewType: string;
2512
2512
  id?: string | undefined;
2513
2513
  metadata?: Record<string, any> | undefined;
2514
+ icon?: string | undefined;
2514
2515
  permissions?: {
2515
2516
  custom?: Record<string, any> | undefined;
2516
2517
  create?: any;
@@ -2518,7 +2519,6 @@ export declare const CustomViewItemSchema: z.ZodObject<{
2518
2519
  delete?: any;
2519
2520
  read?: any;
2520
2521
  } | undefined;
2521
- icon?: string | undefined;
2522
2522
  dataSource?: {
2523
2523
  refresh?: "auto" | "manual" | "realtime" | undefined;
2524
2524
  query?: any;
@@ -2531,6 +2531,7 @@ export declare const CustomViewItemSchema: z.ZodObject<{
2531
2531
  viewType: string;
2532
2532
  id?: string | undefined;
2533
2533
  metadata?: Record<string, any> | undefined;
2534
+ icon?: string | undefined;
2534
2535
  permissions?: {
2535
2536
  custom?: Record<string, any> | undefined;
2536
2537
  create?: any;
@@ -2538,7 +2539,6 @@ export declare const CustomViewItemSchema: z.ZodObject<{
2538
2539
  delete?: any;
2539
2540
  read?: any;
2540
2541
  } | undefined;
2541
- icon?: string | undefined;
2542
2542
  dataSource?: {
2543
2543
  refresh?: "auto" | "manual" | "realtime" | undefined;
2544
2544
  query?: any;