@objectstack/service-storage 4.0.5 → 4.1.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/index.d.ts CHANGED
@@ -117,6 +117,12 @@ interface StorageServicePluginOptions {
117
117
  * @default 86400
118
118
  */
119
119
  sessionTtl?: number;
120
+ /**
121
+ * Bind to the `storage` settings namespace and rebuild the inner
122
+ * adapter on every `settings:changed` event. Disable to keep the
123
+ * adapter constructor-driven (useful in tests). Default: true.
124
+ */
125
+ bindToSettings?: boolean;
120
126
  }
121
127
  /**
122
128
  * StorageServicePlugin — Production IStorageService implementation.
@@ -151,10 +157,71 @@ declare class StorageServicePlugin implements Plugin {
151
157
  private storage;
152
158
  private store;
153
159
  constructor(options?: StorageServicePluginOptions);
160
+ /** Build a concrete adapter from a values map (settings-derived). */
161
+ private buildAdapterFromValues;
154
162
  init(ctx: PluginContext): Promise<void>;
155
163
  start(ctx: PluginContext): Promise<void>;
156
164
  }
157
165
 
166
+ /**
167
+ * SwappableStorageService — IStorageService proxy with a swappable
168
+ * inner adapter.
169
+ *
170
+ * Used by `StorageServicePlugin` so the kernel can register a stable
171
+ * `file-storage` reference at init time, while the underlying adapter
172
+ * (local FS / S3) is rebuilt on every `settings:changed` event for
173
+ * the `storage` namespace.
174
+ *
175
+ * ⚠ Adapter swaps do NOT migrate previously uploaded files. Files
176
+ * stored under the previous adapter become unreachable through the
177
+ * new one. Callers are responsible for migrating data out-of-band.
178
+ *
179
+ * All `IStorageService` methods delegate to the current inner adapter.
180
+ * Optional methods (list / presigned / chunked) probe the inner
181
+ * adapter and surface a clear error when the active adapter does not
182
+ * implement them.
183
+ */
184
+ declare class SwappableStorageService implements IStorageService {
185
+ private inner;
186
+ private readonly onSwap?;
187
+ constructor(initial: IStorageService, onSwap?: (previous: IStorageService, next: IStorageService) => void);
188
+ /** Replace the inner adapter. */
189
+ swap(next: IStorageService): void;
190
+ /** Expose the active inner adapter — primarily for tests. */
191
+ getInner(): IStorageService;
192
+ upload(key: string, data: Buffer | ReadableStream, options?: StorageUploadOptions): Promise<void>;
193
+ download(key: string): Promise<Buffer>;
194
+ delete(key: string): Promise<void>;
195
+ exists(key: string): Promise<boolean>;
196
+ getInfo(key: string): Promise<StorageFileInfo>;
197
+ list(prefix: string): Promise<StorageFileInfo[]>;
198
+ getSignedUrl(key: string, expiresIn: number): Promise<string>;
199
+ getPresignedUpload(key: string, expiresIn: number, options?: StorageUploadOptions): Promise<PresignedUploadDescriptor>;
200
+ getPresignedDownload(key: string, expiresIn: number): Promise<PresignedDownloadDescriptor>;
201
+ initiateChunkedUpload(key: string, options?: StorageUploadOptions): Promise<string>;
202
+ uploadChunk(uploadId: string, partNumber: number, data: Buffer): Promise<string>;
203
+ completeChunkedUpload(uploadId: string, parts: Array<{
204
+ partNumber: number;
205
+ eTag: string;
206
+ }>): Promise<string>;
207
+ abortChunkedUpload(uploadId: string): Promise<void>;
208
+ /**
209
+ * Verify a presigned HMAC token (LocalStorageAdapter-specific).
210
+ *
211
+ * `IStorageService` does not declare this method, but `storage-routes`
212
+ * type-narrows the active storage to `LocalStorageAdapter` to handle the
213
+ * `/_local/raw/:token` PUT and GET endpoints. Without a passthrough on
214
+ * the swappable wrapper, the route sees `verifyToken === undefined` and
215
+ * returns 501 even though the underlying local adapter supports it.
216
+ */
217
+ verifyToken(token: string, expectedOp?: 'put' | 'get'): {
218
+ k: string;
219
+ ct?: string;
220
+ op: string;
221
+ exp: number;
222
+ };
223
+ }
224
+
158
225
  /**
159
226
  * Configuration for the S3 storage adapter.
160
227
  */
@@ -230,7 +297,7 @@ declare class S3StorageAdapter implements IStorageService {
230
297
  }
231
298
 
232
299
  /**
233
- * Persisted file metadata record (matches `system_file` object schema).
300
+ * Persisted file metadata record (matches `sys_file` object schema).
234
301
  */
235
302
  interface FileRecord {
236
303
  id: string;
@@ -249,7 +316,7 @@ interface FileRecord {
249
316
  updated_at?: string;
250
317
  }
251
318
  /**
252
- * Persisted upload-session record (matches `system_upload_session` object schema).
319
+ * Persisted upload-session record (matches `sys_upload_session` object schema).
253
320
  */
254
321
  interface UploadSessionRecord {
255
322
  id: string;
@@ -570,6 +637,7 @@ declare const SystemFile: Omit<{
570
637
  generatedBy?: string | undefined;
571
638
  } | undefined;
572
639
  } | undefined;
640
+ system?: boolean | undefined;
573
641
  inlineHelpText?: string | undefined;
574
642
  trackFeedHistory?: boolean | undefined;
575
643
  caseSensitive?: boolean | undefined;
@@ -580,7 +648,14 @@ declare const SystemFile: Omit<{
580
648
  description?: string | undefined;
581
649
  icon?: string | undefined;
582
650
  tags?: string[] | undefined;
583
- managedBy?: "system" | "better-auth" | "platform" | undefined;
651
+ managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
652
+ userActions?: {
653
+ create?: boolean | undefined;
654
+ import?: boolean | undefined;
655
+ edit?: boolean | undefined;
656
+ delete?: boolean | undefined;
657
+ exportCsv?: boolean | undefined;
658
+ } | undefined;
584
659
  systemFields?: false | {
585
660
  tenant?: boolean | undefined;
586
661
  owner?: boolean | undefined;
@@ -700,6 +775,240 @@ declare const SystemFile: Omit<{
700
775
  } | undefined;
701
776
  } | undefined;
702
777
  compactLayout?: string[] | undefined;
778
+ listViews?: Record<string, {
779
+ type: "map" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "grid";
780
+ columns: string[] | {
781
+ field: string;
782
+ label?: string | undefined;
783
+ width?: number | undefined;
784
+ align?: "left" | "center" | "right" | undefined;
785
+ hidden?: boolean | undefined;
786
+ sortable?: boolean | undefined;
787
+ resizable?: boolean | undefined;
788
+ wrap?: boolean | undefined;
789
+ type?: string | undefined;
790
+ pinned?: "left" | "right" | undefined;
791
+ summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
792
+ link?: boolean | undefined;
793
+ action?: string | undefined;
794
+ }[];
795
+ name?: string | undefined;
796
+ label?: string | undefined;
797
+ data?: {
798
+ provider: "object";
799
+ object: string;
800
+ } | {
801
+ provider: "api";
802
+ read?: {
803
+ url: string;
804
+ method: "PUT" | "POST" | "GET" | "PATCH" | "DELETE";
805
+ headers?: Record<string, string> | undefined;
806
+ params?: Record<string, unknown> | undefined;
807
+ body?: unknown;
808
+ } | undefined;
809
+ write?: {
810
+ url: string;
811
+ method: "PUT" | "POST" | "GET" | "PATCH" | "DELETE";
812
+ headers?: Record<string, string> | undefined;
813
+ params?: Record<string, unknown> | undefined;
814
+ body?: unknown;
815
+ } | undefined;
816
+ } | {
817
+ provider: "value";
818
+ items: unknown[];
819
+ } | undefined;
820
+ filter?: {
821
+ field: string;
822
+ operator: string;
823
+ value?: string | number | boolean | (string | number)[] | null | undefined;
824
+ }[] | undefined;
825
+ sort?: string | {
826
+ field: string;
827
+ order: "asc" | "desc";
828
+ }[] | undefined;
829
+ searchableFields?: string[] | undefined;
830
+ filterableFields?: string[] | undefined;
831
+ resizable?: boolean | undefined;
832
+ striped?: boolean | undefined;
833
+ bordered?: boolean | undefined;
834
+ compactToolbar?: boolean | undefined;
835
+ selection?: {
836
+ type: "multiple" | "single" | "none";
837
+ } | undefined;
838
+ navigation?: {
839
+ mode: "split" | "none" | "page" | "modal" | "drawer" | "popover" | "new_window";
840
+ preventNavigation: boolean;
841
+ openNewTab: boolean;
842
+ view?: string | undefined;
843
+ width?: string | number | undefined;
844
+ } | undefined;
845
+ pagination?: {
846
+ pageSize: number;
847
+ pageSizeOptions?: number[] | undefined;
848
+ } | undefined;
849
+ kanban?: {
850
+ groupByField: string;
851
+ columns: string[];
852
+ summarizeField?: string | undefined;
853
+ } | undefined;
854
+ calendar?: {
855
+ startDateField: string;
856
+ titleField: string;
857
+ endDateField?: string | undefined;
858
+ colorField?: string | undefined;
859
+ } | undefined;
860
+ gantt?: {
861
+ startDateField: string;
862
+ endDateField: string;
863
+ titleField: string;
864
+ progressField?: string | undefined;
865
+ dependenciesField?: string | undefined;
866
+ } | undefined;
867
+ gallery?: {
868
+ coverFit: "cover" | "contain";
869
+ cardSize: "small" | "medium" | "large";
870
+ coverField?: string | undefined;
871
+ titleField?: string | undefined;
872
+ visibleFields?: string[] | undefined;
873
+ } | undefined;
874
+ timeline?: {
875
+ startDateField: string;
876
+ titleField: string;
877
+ scale: "day" | "week" | "month" | "quarter" | "year" | "hour";
878
+ endDateField?: string | undefined;
879
+ groupByField?: string | undefined;
880
+ colorField?: string | undefined;
881
+ } | undefined;
882
+ chart?: {
883
+ chartType: "bar" | "line" | "pie" | "area" | "scatter";
884
+ xAxisField: string;
885
+ yAxisFields: string[];
886
+ aggregation?: "min" | "max" | "count" | "sum" | "avg" | undefined;
887
+ groupByField?: string | undefined;
888
+ } | undefined;
889
+ description?: string | undefined;
890
+ sharing?: {
891
+ type: "personal" | "collaborative";
892
+ lockedBy?: string | undefined;
893
+ } | undefined;
894
+ rowHeight?: "medium" | "short" | "compact" | "tall" | "extra_tall" | undefined;
895
+ grouping?: {
896
+ fields: {
897
+ field: string;
898
+ order: "asc" | "desc";
899
+ collapsed: boolean;
900
+ }[];
901
+ } | undefined;
902
+ rowColor?: {
903
+ field: string;
904
+ colors?: Record<string, string> | undefined;
905
+ } | undefined;
906
+ hiddenFields?: string[] | undefined;
907
+ fieldOrder?: string[] | undefined;
908
+ rowActions?: string[] | undefined;
909
+ bulkActions?: string[] | undefined;
910
+ bulkActionDefs?: Record<string, any>[] | undefined;
911
+ virtualScroll?: boolean | undefined;
912
+ conditionalFormatting?: {
913
+ condition: {
914
+ dialect: "cel" | "js" | "cron" | "template";
915
+ source?: string | undefined;
916
+ ast?: unknown;
917
+ meta?: {
918
+ rationale?: string | undefined;
919
+ generatedBy?: string | undefined;
920
+ } | undefined;
921
+ } | {
922
+ dialect: "cel" | "js" | "cron" | "template";
923
+ source?: string | undefined;
924
+ ast?: unknown;
925
+ meta?: {
926
+ rationale?: string | undefined;
927
+ generatedBy?: string | undefined;
928
+ } | undefined;
929
+ };
930
+ style: Record<string, string>;
931
+ }[] | undefined;
932
+ inlineEdit?: boolean | undefined;
933
+ exportOptions?: ("json" | "csv" | "xlsx" | "pdf")[] | undefined;
934
+ userActions?: {
935
+ sort: boolean;
936
+ search: boolean;
937
+ filter: boolean;
938
+ rowHeight: boolean;
939
+ addRecordForm: boolean;
940
+ buttons?: string[] | undefined;
941
+ } | undefined;
942
+ appearance?: {
943
+ showDescription: boolean;
944
+ allowedVisualizations?: ("map" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "grid")[] | undefined;
945
+ } | undefined;
946
+ tabs?: {
947
+ name: string;
948
+ pinned: boolean;
949
+ isDefault: boolean;
950
+ visible: boolean;
951
+ label?: string | undefined;
952
+ icon?: string | undefined;
953
+ view?: string | undefined;
954
+ filter?: {
955
+ field: string;
956
+ operator: string;
957
+ value?: string | number | boolean | (string | number)[] | null | undefined;
958
+ }[] | undefined;
959
+ order?: number | undefined;
960
+ }[] | undefined;
961
+ addRecord?: {
962
+ enabled: boolean;
963
+ position: "top" | "bottom" | "both";
964
+ mode: "modal" | "inline" | "form";
965
+ formView?: string | undefined;
966
+ } | undefined;
967
+ showRecordCount?: boolean | undefined;
968
+ allowPrinting?: boolean | undefined;
969
+ emptyState?: {
970
+ title?: string | undefined;
971
+ message?: string | undefined;
972
+ icon?: string | undefined;
973
+ } | undefined;
974
+ aria?: {
975
+ ariaLabel?: string | undefined;
976
+ ariaDescribedBy?: string | undefined;
977
+ role?: string | undefined;
978
+ } | undefined;
979
+ responsive?: {
980
+ breakpoint?: "md" | "xs" | "sm" | "lg" | "xl" | "2xl" | undefined;
981
+ hiddenOn?: ("md" | "xs" | "sm" | "lg" | "xl" | "2xl")[] | undefined;
982
+ columns?: {
983
+ xs?: number | undefined;
984
+ sm?: number | undefined;
985
+ md?: number | undefined;
986
+ lg?: number | undefined;
987
+ xl?: number | undefined;
988
+ '2xl'?: number | undefined;
989
+ } | undefined;
990
+ order?: {
991
+ xs?: number | undefined;
992
+ sm?: number | undefined;
993
+ md?: number | undefined;
994
+ lg?: number | undefined;
995
+ xl?: number | undefined;
996
+ '2xl'?: number | undefined;
997
+ } | undefined;
998
+ } | undefined;
999
+ performance?: {
1000
+ lazyLoad?: boolean | undefined;
1001
+ virtualScroll?: {
1002
+ enabled: boolean;
1003
+ itemHeight?: number | undefined;
1004
+ overscan?: number | undefined;
1005
+ } | undefined;
1006
+ cacheStrategy?: "none" | "cache-first" | "network-first" | "stale-while-revalidate" | undefined;
1007
+ prefetch?: boolean | undefined;
1008
+ pageSize?: number | undefined;
1009
+ debounceMs?: number | undefined;
1010
+ } | undefined;
1011
+ }> | undefined;
703
1012
  search?: {
704
1013
  fields: string[];
705
1014
  displayFields?: string[] | undefined;
@@ -715,10 +1024,10 @@ declare const SystemFile: Omit<{
715
1024
  trash: boolean;
716
1025
  mru: boolean;
717
1026
  clone: boolean;
718
- apiMethods?: ("get" | "search" | "upsert" | "list" | "delete" | "update" | "history" | "create" | "bulk" | "aggregate" | "restore" | "purge" | "import" | "export")[] | undefined;
1027
+ apiMethods?: ("get" | "search" | "upsert" | "create" | "import" | "delete" | "list" | "update" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
719
1028
  } | undefined;
720
1029
  recordTypes?: string[] | undefined;
721
- sharingModel?: "private" | "full" | "read" | "read_write" | undefined;
1030
+ sharingModel?: "private" | "read" | "full" | "read_write" | undefined;
722
1031
  keyPrefix?: string | undefined;
723
1032
  actions?: {
724
1033
  name: string;
@@ -742,14 +1051,20 @@ declare const SystemFile: Omit<{
742
1051
  } | undefined;
743
1052
  execute?: string | undefined;
744
1053
  params?: {
745
- name: string;
746
- label: string;
747
- type: "number" | "boolean" | "date" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "text" | "textarea" | "email" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector";
748
1054
  required: boolean;
1055
+ name?: string | undefined;
1056
+ field?: string | undefined;
1057
+ objectOverride?: string | undefined;
1058
+ label?: string | undefined;
1059
+ type?: "number" | "boolean" | "date" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "text" | "textarea" | "email" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
749
1060
  options?: {
750
1061
  label: string;
751
1062
  value: string;
752
1063
  }[] | undefined;
1064
+ placeholder?: string | undefined;
1065
+ helpText?: string | undefined;
1066
+ defaultValue?: unknown;
1067
+ defaultFromRow?: boolean | undefined;
753
1068
  }[] | undefined;
754
1069
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
755
1070
  confirmText?: string | undefined;
@@ -774,6 +1089,14 @@ declare const SystemFile: Omit<{
774
1089
  } | undefined;
775
1090
  shortcut?: string | undefined;
776
1091
  bulkEnabled?: boolean | undefined;
1092
+ recordIdParam?: string | undefined;
1093
+ recordIdField?: string | undefined;
1094
+ bodyShape?: "flat" | {
1095
+ wrap: string;
1096
+ } | undefined;
1097
+ method?: "POST" | "PATCH" | "PUT" | "DELETE" | undefined;
1098
+ bodyExtra?: Record<string, unknown> | undefined;
1099
+ mode?: "custom" | "delete" | "create" | "edit" | undefined;
777
1100
  timeout?: number | undefined;
778
1101
  aria?: {
779
1102
  ariaLabel?: string | undefined;
@@ -782,7 +1105,7 @@ declare const SystemFile: Omit<{
782
1105
  } | undefined;
783
1106
  }[] | undefined;
784
1107
  }, "fields"> & Pick<{
785
- readonly name: "system_file";
1108
+ readonly name: "sys_file";
786
1109
  readonly label: "System File";
787
1110
  readonly pluralLabel: "System Files";
788
1111
  readonly icon: "file";
@@ -808,6 +1131,7 @@ declare const SystemFile: Omit<{
808
1131
  readonly dependencies?: string[] | undefined;
809
1132
  readonly theme?: string | undefined;
810
1133
  readonly externalId?: boolean | undefined;
1134
+ readonly system?: boolean | undefined;
811
1135
  readonly min?: number | undefined;
812
1136
  readonly max?: number | undefined;
813
1137
  readonly group?: string | undefined;
@@ -982,6 +1306,7 @@ declare const SystemFile: Omit<{
982
1306
  readonly dependencies?: string[] | undefined;
983
1307
  readonly theme?: string | undefined;
984
1308
  readonly externalId?: boolean | undefined;
1309
+ readonly system?: boolean | undefined;
985
1310
  readonly min?: number | undefined;
986
1311
  readonly max?: number | undefined;
987
1312
  readonly group?: string | undefined;
@@ -1156,6 +1481,7 @@ declare const SystemFile: Omit<{
1156
1481
  readonly dependencies?: string[] | undefined;
1157
1482
  readonly theme?: string | undefined;
1158
1483
  readonly externalId?: boolean | undefined;
1484
+ readonly system?: boolean | undefined;
1159
1485
  readonly min?: number | undefined;
1160
1486
  readonly max?: number | undefined;
1161
1487
  readonly group?: string | undefined;
@@ -1330,6 +1656,7 @@ declare const SystemFile: Omit<{
1330
1656
  readonly dependencies?: string[] | undefined;
1331
1657
  readonly theme?: string | undefined;
1332
1658
  readonly externalId?: boolean | undefined;
1659
+ readonly system?: boolean | undefined;
1333
1660
  readonly min?: number | undefined;
1334
1661
  readonly max?: number | undefined;
1335
1662
  readonly group?: string | undefined;
@@ -1504,6 +1831,7 @@ declare const SystemFile: Omit<{
1504
1831
  readonly dependencies?: string[] | undefined;
1505
1832
  readonly theme?: string | undefined;
1506
1833
  readonly externalId?: boolean | undefined;
1834
+ readonly system?: boolean | undefined;
1507
1835
  readonly min?: number | undefined;
1508
1836
  readonly max?: number | undefined;
1509
1837
  readonly group?: string | undefined;
@@ -1678,6 +2006,7 @@ declare const SystemFile: Omit<{
1678
2006
  readonly dependencies?: string[] | undefined;
1679
2007
  readonly theme?: string | undefined;
1680
2008
  readonly externalId?: boolean | undefined;
2009
+ readonly system?: boolean | undefined;
1681
2010
  readonly min?: number | undefined;
1682
2011
  readonly max?: number | undefined;
1683
2012
  readonly group?: string | undefined;
@@ -1852,6 +2181,7 @@ declare const SystemFile: Omit<{
1852
2181
  readonly dependencies?: string[] | undefined;
1853
2182
  readonly theme?: string | undefined;
1854
2183
  readonly externalId?: boolean | undefined;
2184
+ readonly system?: boolean | undefined;
1855
2185
  readonly min?: number | undefined;
1856
2186
  readonly max?: number | undefined;
1857
2187
  readonly group?: string | undefined;
@@ -2026,6 +2356,7 @@ declare const SystemFile: Omit<{
2026
2356
  readonly dependencies?: string[] | undefined;
2027
2357
  readonly theme?: string | undefined;
2028
2358
  readonly externalId?: boolean | undefined;
2359
+ readonly system?: boolean | undefined;
2029
2360
  readonly min?: number | undefined;
2030
2361
  readonly max?: number | undefined;
2031
2362
  readonly group?: string | undefined;
@@ -2200,6 +2531,7 @@ declare const SystemFile: Omit<{
2200
2531
  readonly dependencies?: string[] | undefined;
2201
2532
  readonly theme?: string | undefined;
2202
2533
  readonly externalId?: boolean | undefined;
2534
+ readonly system?: boolean | undefined;
2203
2535
  readonly min?: number | undefined;
2204
2536
  readonly max?: number | undefined;
2205
2537
  readonly group?: string | undefined;
@@ -2374,6 +2706,7 @@ declare const SystemFile: Omit<{
2374
2706
  readonly dependencies?: string[] | undefined;
2375
2707
  readonly theme?: string | undefined;
2376
2708
  readonly externalId?: boolean | undefined;
2709
+ readonly system?: boolean | undefined;
2377
2710
  readonly min?: number | undefined;
2378
2711
  readonly max?: number | undefined;
2379
2712
  readonly group?: string | undefined;
@@ -2548,6 +2881,7 @@ declare const SystemFile: Omit<{
2548
2881
  readonly dependencies?: string[] | undefined;
2549
2882
  readonly theme?: string | undefined;
2550
2883
  readonly externalId?: boolean | undefined;
2884
+ readonly system?: boolean | undefined;
2551
2885
  readonly min?: number | undefined;
2552
2886
  readonly max?: number | undefined;
2553
2887
  readonly group?: string | undefined;
@@ -2722,6 +3056,7 @@ declare const SystemFile: Omit<{
2722
3056
  readonly dependencies?: string[] | undefined;
2723
3057
  readonly theme?: string | undefined;
2724
3058
  readonly externalId?: boolean | undefined;
3059
+ readonly system?: boolean | undefined;
2725
3060
  readonly min?: number | undefined;
2726
3061
  readonly max?: number | undefined;
2727
3062
  readonly group?: string | undefined;
@@ -2896,6 +3231,7 @@ declare const SystemFile: Omit<{
2896
3231
  readonly dependencies?: string[] | undefined;
2897
3232
  readonly theme?: string | undefined;
2898
3233
  readonly externalId?: boolean | undefined;
3234
+ readonly system?: boolean | undefined;
2899
3235
  readonly min?: number | undefined;
2900
3236
  readonly max?: number | undefined;
2901
3237
  readonly group?: string | undefined;
@@ -3070,6 +3406,7 @@ declare const SystemFile: Omit<{
3070
3406
  readonly dependencies?: string[] | undefined;
3071
3407
  readonly theme?: string | undefined;
3072
3408
  readonly externalId?: boolean | undefined;
3409
+ readonly system?: boolean | undefined;
3073
3410
  readonly min?: number | undefined;
3074
3411
  readonly max?: number | undefined;
3075
3412
  readonly group?: string | undefined;
@@ -3429,6 +3766,7 @@ declare const SystemUploadSession: Omit<{
3429
3766
  generatedBy?: string | undefined;
3430
3767
  } | undefined;
3431
3768
  } | undefined;
3769
+ system?: boolean | undefined;
3432
3770
  inlineHelpText?: string | undefined;
3433
3771
  trackFeedHistory?: boolean | undefined;
3434
3772
  caseSensitive?: boolean | undefined;
@@ -3439,7 +3777,14 @@ declare const SystemUploadSession: Omit<{
3439
3777
  description?: string | undefined;
3440
3778
  icon?: string | undefined;
3441
3779
  tags?: string[] | undefined;
3442
- managedBy?: "system" | "better-auth" | "platform" | undefined;
3780
+ managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
3781
+ userActions?: {
3782
+ create?: boolean | undefined;
3783
+ import?: boolean | undefined;
3784
+ edit?: boolean | undefined;
3785
+ delete?: boolean | undefined;
3786
+ exportCsv?: boolean | undefined;
3787
+ } | undefined;
3443
3788
  systemFields?: false | {
3444
3789
  tenant?: boolean | undefined;
3445
3790
  owner?: boolean | undefined;
@@ -3559,6 +3904,240 @@ declare const SystemUploadSession: Omit<{
3559
3904
  } | undefined;
3560
3905
  } | undefined;
3561
3906
  compactLayout?: string[] | undefined;
3907
+ listViews?: Record<string, {
3908
+ type: "map" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "grid";
3909
+ columns: string[] | {
3910
+ field: string;
3911
+ label?: string | undefined;
3912
+ width?: number | undefined;
3913
+ align?: "left" | "center" | "right" | undefined;
3914
+ hidden?: boolean | undefined;
3915
+ sortable?: boolean | undefined;
3916
+ resizable?: boolean | undefined;
3917
+ wrap?: boolean | undefined;
3918
+ type?: string | undefined;
3919
+ pinned?: "left" | "right" | undefined;
3920
+ summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
3921
+ link?: boolean | undefined;
3922
+ action?: string | undefined;
3923
+ }[];
3924
+ name?: string | undefined;
3925
+ label?: string | undefined;
3926
+ data?: {
3927
+ provider: "object";
3928
+ object: string;
3929
+ } | {
3930
+ provider: "api";
3931
+ read?: {
3932
+ url: string;
3933
+ method: "PUT" | "POST" | "GET" | "PATCH" | "DELETE";
3934
+ headers?: Record<string, string> | undefined;
3935
+ params?: Record<string, unknown> | undefined;
3936
+ body?: unknown;
3937
+ } | undefined;
3938
+ write?: {
3939
+ url: string;
3940
+ method: "PUT" | "POST" | "GET" | "PATCH" | "DELETE";
3941
+ headers?: Record<string, string> | undefined;
3942
+ params?: Record<string, unknown> | undefined;
3943
+ body?: unknown;
3944
+ } | undefined;
3945
+ } | {
3946
+ provider: "value";
3947
+ items: unknown[];
3948
+ } | undefined;
3949
+ filter?: {
3950
+ field: string;
3951
+ operator: string;
3952
+ value?: string | number | boolean | (string | number)[] | null | undefined;
3953
+ }[] | undefined;
3954
+ sort?: string | {
3955
+ field: string;
3956
+ order: "asc" | "desc";
3957
+ }[] | undefined;
3958
+ searchableFields?: string[] | undefined;
3959
+ filterableFields?: string[] | undefined;
3960
+ resizable?: boolean | undefined;
3961
+ striped?: boolean | undefined;
3962
+ bordered?: boolean | undefined;
3963
+ compactToolbar?: boolean | undefined;
3964
+ selection?: {
3965
+ type: "multiple" | "single" | "none";
3966
+ } | undefined;
3967
+ navigation?: {
3968
+ mode: "split" | "none" | "page" | "modal" | "drawer" | "popover" | "new_window";
3969
+ preventNavigation: boolean;
3970
+ openNewTab: boolean;
3971
+ view?: string | undefined;
3972
+ width?: string | number | undefined;
3973
+ } | undefined;
3974
+ pagination?: {
3975
+ pageSize: number;
3976
+ pageSizeOptions?: number[] | undefined;
3977
+ } | undefined;
3978
+ kanban?: {
3979
+ groupByField: string;
3980
+ columns: string[];
3981
+ summarizeField?: string | undefined;
3982
+ } | undefined;
3983
+ calendar?: {
3984
+ startDateField: string;
3985
+ titleField: string;
3986
+ endDateField?: string | undefined;
3987
+ colorField?: string | undefined;
3988
+ } | undefined;
3989
+ gantt?: {
3990
+ startDateField: string;
3991
+ endDateField: string;
3992
+ titleField: string;
3993
+ progressField?: string | undefined;
3994
+ dependenciesField?: string | undefined;
3995
+ } | undefined;
3996
+ gallery?: {
3997
+ coverFit: "cover" | "contain";
3998
+ cardSize: "small" | "medium" | "large";
3999
+ coverField?: string | undefined;
4000
+ titleField?: string | undefined;
4001
+ visibleFields?: string[] | undefined;
4002
+ } | undefined;
4003
+ timeline?: {
4004
+ startDateField: string;
4005
+ titleField: string;
4006
+ scale: "day" | "week" | "month" | "quarter" | "year" | "hour";
4007
+ endDateField?: string | undefined;
4008
+ groupByField?: string | undefined;
4009
+ colorField?: string | undefined;
4010
+ } | undefined;
4011
+ chart?: {
4012
+ chartType: "bar" | "line" | "pie" | "area" | "scatter";
4013
+ xAxisField: string;
4014
+ yAxisFields: string[];
4015
+ aggregation?: "min" | "max" | "count" | "sum" | "avg" | undefined;
4016
+ groupByField?: string | undefined;
4017
+ } | undefined;
4018
+ description?: string | undefined;
4019
+ sharing?: {
4020
+ type: "personal" | "collaborative";
4021
+ lockedBy?: string | undefined;
4022
+ } | undefined;
4023
+ rowHeight?: "medium" | "short" | "compact" | "tall" | "extra_tall" | undefined;
4024
+ grouping?: {
4025
+ fields: {
4026
+ field: string;
4027
+ order: "asc" | "desc";
4028
+ collapsed: boolean;
4029
+ }[];
4030
+ } | undefined;
4031
+ rowColor?: {
4032
+ field: string;
4033
+ colors?: Record<string, string> | undefined;
4034
+ } | undefined;
4035
+ hiddenFields?: string[] | undefined;
4036
+ fieldOrder?: string[] | undefined;
4037
+ rowActions?: string[] | undefined;
4038
+ bulkActions?: string[] | undefined;
4039
+ bulkActionDefs?: Record<string, any>[] | undefined;
4040
+ virtualScroll?: boolean | undefined;
4041
+ conditionalFormatting?: {
4042
+ condition: {
4043
+ dialect: "cel" | "js" | "cron" | "template";
4044
+ source?: string | undefined;
4045
+ ast?: unknown;
4046
+ meta?: {
4047
+ rationale?: string | undefined;
4048
+ generatedBy?: string | undefined;
4049
+ } | undefined;
4050
+ } | {
4051
+ dialect: "cel" | "js" | "cron" | "template";
4052
+ source?: string | undefined;
4053
+ ast?: unknown;
4054
+ meta?: {
4055
+ rationale?: string | undefined;
4056
+ generatedBy?: string | undefined;
4057
+ } | undefined;
4058
+ };
4059
+ style: Record<string, string>;
4060
+ }[] | undefined;
4061
+ inlineEdit?: boolean | undefined;
4062
+ exportOptions?: ("json" | "csv" | "xlsx" | "pdf")[] | undefined;
4063
+ userActions?: {
4064
+ sort: boolean;
4065
+ search: boolean;
4066
+ filter: boolean;
4067
+ rowHeight: boolean;
4068
+ addRecordForm: boolean;
4069
+ buttons?: string[] | undefined;
4070
+ } | undefined;
4071
+ appearance?: {
4072
+ showDescription: boolean;
4073
+ allowedVisualizations?: ("map" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "grid")[] | undefined;
4074
+ } | undefined;
4075
+ tabs?: {
4076
+ name: string;
4077
+ pinned: boolean;
4078
+ isDefault: boolean;
4079
+ visible: boolean;
4080
+ label?: string | undefined;
4081
+ icon?: string | undefined;
4082
+ view?: string | undefined;
4083
+ filter?: {
4084
+ field: string;
4085
+ operator: string;
4086
+ value?: string | number | boolean | (string | number)[] | null | undefined;
4087
+ }[] | undefined;
4088
+ order?: number | undefined;
4089
+ }[] | undefined;
4090
+ addRecord?: {
4091
+ enabled: boolean;
4092
+ position: "top" | "bottom" | "both";
4093
+ mode: "modal" | "inline" | "form";
4094
+ formView?: string | undefined;
4095
+ } | undefined;
4096
+ showRecordCount?: boolean | undefined;
4097
+ allowPrinting?: boolean | undefined;
4098
+ emptyState?: {
4099
+ title?: string | undefined;
4100
+ message?: string | undefined;
4101
+ icon?: string | undefined;
4102
+ } | undefined;
4103
+ aria?: {
4104
+ ariaLabel?: string | undefined;
4105
+ ariaDescribedBy?: string | undefined;
4106
+ role?: string | undefined;
4107
+ } | undefined;
4108
+ responsive?: {
4109
+ breakpoint?: "md" | "xs" | "sm" | "lg" | "xl" | "2xl" | undefined;
4110
+ hiddenOn?: ("md" | "xs" | "sm" | "lg" | "xl" | "2xl")[] | undefined;
4111
+ columns?: {
4112
+ xs?: number | undefined;
4113
+ sm?: number | undefined;
4114
+ md?: number | undefined;
4115
+ lg?: number | undefined;
4116
+ xl?: number | undefined;
4117
+ '2xl'?: number | undefined;
4118
+ } | undefined;
4119
+ order?: {
4120
+ xs?: number | undefined;
4121
+ sm?: number | undefined;
4122
+ md?: number | undefined;
4123
+ lg?: number | undefined;
4124
+ xl?: number | undefined;
4125
+ '2xl'?: number | undefined;
4126
+ } | undefined;
4127
+ } | undefined;
4128
+ performance?: {
4129
+ lazyLoad?: boolean | undefined;
4130
+ virtualScroll?: {
4131
+ enabled: boolean;
4132
+ itemHeight?: number | undefined;
4133
+ overscan?: number | undefined;
4134
+ } | undefined;
4135
+ cacheStrategy?: "none" | "cache-first" | "network-first" | "stale-while-revalidate" | undefined;
4136
+ prefetch?: boolean | undefined;
4137
+ pageSize?: number | undefined;
4138
+ debounceMs?: number | undefined;
4139
+ } | undefined;
4140
+ }> | undefined;
3562
4141
  search?: {
3563
4142
  fields: string[];
3564
4143
  displayFields?: string[] | undefined;
@@ -3574,10 +4153,10 @@ declare const SystemUploadSession: Omit<{
3574
4153
  trash: boolean;
3575
4154
  mru: boolean;
3576
4155
  clone: boolean;
3577
- apiMethods?: ("get" | "search" | "upsert" | "list" | "delete" | "update" | "history" | "create" | "bulk" | "aggregate" | "restore" | "purge" | "import" | "export")[] | undefined;
4156
+ apiMethods?: ("get" | "search" | "upsert" | "create" | "import" | "delete" | "list" | "update" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
3578
4157
  } | undefined;
3579
4158
  recordTypes?: string[] | undefined;
3580
- sharingModel?: "private" | "full" | "read" | "read_write" | undefined;
4159
+ sharingModel?: "private" | "read" | "full" | "read_write" | undefined;
3581
4160
  keyPrefix?: string | undefined;
3582
4161
  actions?: {
3583
4162
  name: string;
@@ -3601,14 +4180,20 @@ declare const SystemUploadSession: Omit<{
3601
4180
  } | undefined;
3602
4181
  execute?: string | undefined;
3603
4182
  params?: {
3604
- name: string;
3605
- label: string;
3606
- type: "number" | "boolean" | "date" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "text" | "textarea" | "email" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector";
3607
4183
  required: boolean;
4184
+ name?: string | undefined;
4185
+ field?: string | undefined;
4186
+ objectOverride?: string | undefined;
4187
+ label?: string | undefined;
4188
+ type?: "number" | "boolean" | "date" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "text" | "textarea" | "email" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
3608
4189
  options?: {
3609
4190
  label: string;
3610
4191
  value: string;
3611
4192
  }[] | undefined;
4193
+ placeholder?: string | undefined;
4194
+ helpText?: string | undefined;
4195
+ defaultValue?: unknown;
4196
+ defaultFromRow?: boolean | undefined;
3612
4197
  }[] | undefined;
3613
4198
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
3614
4199
  confirmText?: string | undefined;
@@ -3633,6 +4218,14 @@ declare const SystemUploadSession: Omit<{
3633
4218
  } | undefined;
3634
4219
  shortcut?: string | undefined;
3635
4220
  bulkEnabled?: boolean | undefined;
4221
+ recordIdParam?: string | undefined;
4222
+ recordIdField?: string | undefined;
4223
+ bodyShape?: "flat" | {
4224
+ wrap: string;
4225
+ } | undefined;
4226
+ method?: "POST" | "PATCH" | "PUT" | "DELETE" | undefined;
4227
+ bodyExtra?: Record<string, unknown> | undefined;
4228
+ mode?: "custom" | "delete" | "create" | "edit" | undefined;
3636
4229
  timeout?: number | undefined;
3637
4230
  aria?: {
3638
4231
  ariaLabel?: string | undefined;
@@ -3641,7 +4234,7 @@ declare const SystemUploadSession: Omit<{
3641
4234
  } | undefined;
3642
4235
  }[] | undefined;
3643
4236
  }, "fields"> & Pick<{
3644
- readonly name: "system_upload_session";
4237
+ readonly name: "sys_upload_session";
3645
4238
  readonly label: "System Upload Session";
3646
4239
  readonly pluralLabel: "System Upload Sessions";
3647
4240
  readonly icon: "upload-cloud";
@@ -3667,6 +4260,7 @@ declare const SystemUploadSession: Omit<{
3667
4260
  readonly dependencies?: string[] | undefined;
3668
4261
  readonly theme?: string | undefined;
3669
4262
  readonly externalId?: boolean | undefined;
4263
+ readonly system?: boolean | undefined;
3670
4264
  readonly min?: number | undefined;
3671
4265
  readonly max?: number | undefined;
3672
4266
  readonly group?: string | undefined;
@@ -3841,6 +4435,7 @@ declare const SystemUploadSession: Omit<{
3841
4435
  readonly dependencies?: string[] | undefined;
3842
4436
  readonly theme?: string | undefined;
3843
4437
  readonly externalId?: boolean | undefined;
4438
+ readonly system?: boolean | undefined;
3844
4439
  readonly min?: number | undefined;
3845
4440
  readonly max?: number | undefined;
3846
4441
  readonly group?: string | undefined;
@@ -4015,6 +4610,7 @@ declare const SystemUploadSession: Omit<{
4015
4610
  readonly dependencies?: string[] | undefined;
4016
4611
  readonly theme?: string | undefined;
4017
4612
  readonly externalId?: boolean | undefined;
4613
+ readonly system?: boolean | undefined;
4018
4614
  readonly min?: number | undefined;
4019
4615
  readonly max?: number | undefined;
4020
4616
  readonly group?: string | undefined;
@@ -4189,6 +4785,7 @@ declare const SystemUploadSession: Omit<{
4189
4785
  readonly dependencies?: string[] | undefined;
4190
4786
  readonly theme?: string | undefined;
4191
4787
  readonly externalId?: boolean | undefined;
4788
+ readonly system?: boolean | undefined;
4192
4789
  readonly min?: number | undefined;
4193
4790
  readonly max?: number | undefined;
4194
4791
  readonly group?: string | undefined;
@@ -4363,6 +4960,7 @@ declare const SystemUploadSession: Omit<{
4363
4960
  readonly dependencies?: string[] | undefined;
4364
4961
  readonly theme?: string | undefined;
4365
4962
  readonly externalId?: boolean | undefined;
4963
+ readonly system?: boolean | undefined;
4366
4964
  readonly min?: number | undefined;
4367
4965
  readonly max?: number | undefined;
4368
4966
  readonly group?: string | undefined;
@@ -4537,6 +5135,7 @@ declare const SystemUploadSession: Omit<{
4537
5135
  readonly dependencies?: string[] | undefined;
4538
5136
  readonly theme?: string | undefined;
4539
5137
  readonly externalId?: boolean | undefined;
5138
+ readonly system?: boolean | undefined;
4540
5139
  readonly min?: number | undefined;
4541
5140
  readonly max?: number | undefined;
4542
5141
  readonly group?: string | undefined;
@@ -4711,6 +5310,7 @@ declare const SystemUploadSession: Omit<{
4711
5310
  readonly dependencies?: string[] | undefined;
4712
5311
  readonly theme?: string | undefined;
4713
5312
  readonly externalId?: boolean | undefined;
5313
+ readonly system?: boolean | undefined;
4714
5314
  readonly min?: number | undefined;
4715
5315
  readonly max?: number | undefined;
4716
5316
  readonly group?: string | undefined;
@@ -4885,6 +5485,7 @@ declare const SystemUploadSession: Omit<{
4885
5485
  readonly dependencies?: string[] | undefined;
4886
5486
  readonly theme?: string | undefined;
4887
5487
  readonly externalId?: boolean | undefined;
5488
+ readonly system?: boolean | undefined;
4888
5489
  readonly min?: number | undefined;
4889
5490
  readonly max?: number | undefined;
4890
5491
  readonly group?: string | undefined;
@@ -5059,6 +5660,7 @@ declare const SystemUploadSession: Omit<{
5059
5660
  readonly dependencies?: string[] | undefined;
5060
5661
  readonly theme?: string | undefined;
5061
5662
  readonly externalId?: boolean | undefined;
5663
+ readonly system?: boolean | undefined;
5062
5664
  readonly min?: number | undefined;
5063
5665
  readonly max?: number | undefined;
5064
5666
  readonly group?: string | undefined;
@@ -5233,6 +5835,7 @@ declare const SystemUploadSession: Omit<{
5233
5835
  readonly dependencies?: string[] | undefined;
5234
5836
  readonly theme?: string | undefined;
5235
5837
  readonly externalId?: boolean | undefined;
5838
+ readonly system?: boolean | undefined;
5236
5839
  readonly min?: number | undefined;
5237
5840
  readonly max?: number | undefined;
5238
5841
  readonly group?: string | undefined;
@@ -5407,6 +6010,7 @@ declare const SystemUploadSession: Omit<{
5407
6010
  readonly dependencies?: string[] | undefined;
5408
6011
  readonly theme?: string | undefined;
5409
6012
  readonly externalId?: boolean | undefined;
6013
+ readonly system?: boolean | undefined;
5410
6014
  readonly min?: number | undefined;
5411
6015
  readonly max?: number | undefined;
5412
6016
  readonly group?: string | undefined;
@@ -5581,6 +6185,7 @@ declare const SystemUploadSession: Omit<{
5581
6185
  readonly dependencies?: string[] | undefined;
5582
6186
  readonly theme?: string | undefined;
5583
6187
  readonly externalId?: boolean | undefined;
6188
+ readonly system?: boolean | undefined;
5584
6189
  readonly min?: number | undefined;
5585
6190
  readonly max?: number | undefined;
5586
6191
  readonly group?: string | undefined;
@@ -5755,6 +6360,7 @@ declare const SystemUploadSession: Omit<{
5755
6360
  readonly dependencies?: string[] | undefined;
5756
6361
  readonly theme?: string | undefined;
5757
6362
  readonly externalId?: boolean | undefined;
6363
+ readonly system?: boolean | undefined;
5758
6364
  readonly min?: number | undefined;
5759
6365
  readonly max?: number | undefined;
5760
6366
  readonly group?: string | undefined;
@@ -5929,6 +6535,7 @@ declare const SystemUploadSession: Omit<{
5929
6535
  readonly dependencies?: string[] | undefined;
5930
6536
  readonly theme?: string | undefined;
5931
6537
  readonly externalId?: boolean | undefined;
6538
+ readonly system?: boolean | undefined;
5932
6539
  readonly min?: number | undefined;
5933
6540
  readonly max?: number | undefined;
5934
6541
  readonly group?: string | undefined;
@@ -6103,6 +6710,7 @@ declare const SystemUploadSession: Omit<{
6103
6710
  readonly dependencies?: string[] | undefined;
6104
6711
  readonly theme?: string | undefined;
6105
6712
  readonly externalId?: boolean | undefined;
6713
+ readonly system?: boolean | undefined;
6106
6714
  readonly min?: number | undefined;
6107
6715
  readonly max?: number | undefined;
6108
6716
  readonly group?: string | undefined;
@@ -6277,6 +6885,7 @@ declare const SystemUploadSession: Omit<{
6277
6885
  readonly dependencies?: string[] | undefined;
6278
6886
  readonly theme?: string | undefined;
6279
6887
  readonly externalId?: boolean | undefined;
6888
+ readonly system?: boolean | undefined;
6280
6889
  readonly min?: number | undefined;
6281
6890
  readonly max?: number | undefined;
6282
6891
  readonly group?: string | undefined;
@@ -6451,6 +7060,7 @@ declare const SystemUploadSession: Omit<{
6451
7060
  readonly dependencies?: string[] | undefined;
6452
7061
  readonly theme?: string | undefined;
6453
7062
  readonly externalId?: boolean | undefined;
7063
+ readonly system?: boolean | undefined;
6454
7064
  readonly min?: number | undefined;
6455
7065
  readonly max?: number | undefined;
6456
7066
  readonly group?: string | undefined;
@@ -6625,6 +7235,7 @@ declare const SystemUploadSession: Omit<{
6625
7235
  readonly dependencies?: string[] | undefined;
6626
7236
  readonly theme?: string | undefined;
6627
7237
  readonly externalId?: boolean | undefined;
7238
+ readonly system?: boolean | undefined;
6628
7239
  readonly min?: number | undefined;
6629
7240
  readonly max?: number | undefined;
6630
7241
  readonly group?: string | undefined;
@@ -6799,6 +7410,7 @@ declare const SystemUploadSession: Omit<{
6799
7410
  readonly dependencies?: string[] | undefined;
6800
7411
  readonly theme?: string | undefined;
6801
7412
  readonly externalId?: boolean | undefined;
7413
+ readonly system?: boolean | undefined;
6802
7414
  readonly min?: number | undefined;
6803
7415
  readonly max?: number | undefined;
6804
7416
  readonly group?: string | undefined;
@@ -6973,6 +7585,7 @@ declare const SystemUploadSession: Omit<{
6973
7585
  readonly dependencies?: string[] | undefined;
6974
7586
  readonly theme?: string | undefined;
6975
7587
  readonly externalId?: boolean | undefined;
7588
+ readonly system?: boolean | undefined;
6976
7589
  readonly min?: number | undefined;
6977
7590
  readonly max?: number | undefined;
6978
7591
  readonly group?: string | undefined;
@@ -7132,4 +7745,4 @@ declare const SystemUploadSession: Omit<{
7132
7745
  };
7133
7746
  }, "fields">;
7134
7747
 
7135
- export { type FileRecord, LocalStorageAdapter, type LocalStorageAdapterOptions, S3StorageAdapter, type S3StorageAdapterOptions, StorageMetadataStore, type StorageRoutesOptions, StorageServicePlugin, type StorageServicePluginOptions, SystemFile, SystemUploadSession, type UploadSessionRecord, registerStorageRoutes };
7748
+ export { type FileRecord, LocalStorageAdapter, type LocalStorageAdapterOptions, S3StorageAdapter, type S3StorageAdapterOptions, StorageMetadataStore, type StorageRoutesOptions, StorageServicePlugin, type StorageServicePluginOptions, SwappableStorageService, SystemFile, SystemUploadSession, type UploadSessionRecord, registerStorageRoutes };