@objectstack/service-storage 4.0.5 → 4.1.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.
package/dist/index.d.cts 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,241 @@ 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" | "form" | "inline";
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;
1012
+ defaultDetailForm?: string | undefined;
703
1013
  search?: {
704
1014
  fields: string[];
705
1015
  displayFields?: string[] | undefined;
@@ -715,15 +1025,15 @@ declare const SystemFile: Omit<{
715
1025
  trash: boolean;
716
1026
  mru: boolean;
717
1027
  clone: boolean;
718
- apiMethods?: ("get" | "search" | "upsert" | "list" | "delete" | "update" | "history" | "create" | "bulk" | "aggregate" | "restore" | "purge" | "import" | "export")[] | undefined;
1028
+ apiMethods?: ("get" | "search" | "upsert" | "create" | "import" | "delete" | "list" | "update" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
719
1029
  } | undefined;
720
1030
  recordTypes?: string[] | undefined;
721
- sharingModel?: "private" | "full" | "read" | "read_write" | undefined;
1031
+ sharingModel?: "private" | "read" | "full" | "read_write" | undefined;
722
1032
  keyPrefix?: string | undefined;
723
1033
  actions?: {
724
1034
  name: string;
725
1035
  label: string;
726
- type: "url" | "flow" | "api" | "script" | "modal";
1036
+ type: "url" | "flow" | "api" | "script" | "modal" | "form";
727
1037
  refreshAfter: boolean;
728
1038
  objectName?: string | undefined;
729
1039
  icon?: string | undefined;
@@ -742,14 +1052,20 @@ declare const SystemFile: Omit<{
742
1052
  } | undefined;
743
1053
  execute?: string | undefined;
744
1054
  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
1055
  required: boolean;
1056
+ name?: string | undefined;
1057
+ field?: string | undefined;
1058
+ objectOverride?: string | undefined;
1059
+ label?: string | undefined;
1060
+ 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
1061
  options?: {
750
1062
  label: string;
751
1063
  value: string;
752
1064
  }[] | undefined;
1065
+ placeholder?: string | undefined;
1066
+ helpText?: string | undefined;
1067
+ defaultValue?: unknown;
1068
+ defaultFromRow?: boolean | undefined;
753
1069
  }[] | undefined;
754
1070
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
755
1071
  confirmText?: string | undefined;
@@ -774,6 +1090,14 @@ declare const SystemFile: Omit<{
774
1090
  } | undefined;
775
1091
  shortcut?: string | undefined;
776
1092
  bulkEnabled?: boolean | undefined;
1093
+ recordIdParam?: string | undefined;
1094
+ recordIdField?: string | undefined;
1095
+ bodyShape?: "flat" | {
1096
+ wrap: string;
1097
+ } | undefined;
1098
+ method?: "POST" | "PATCH" | "PUT" | "DELETE" | undefined;
1099
+ bodyExtra?: Record<string, unknown> | undefined;
1100
+ mode?: "custom" | "delete" | "create" | "edit" | undefined;
777
1101
  timeout?: number | undefined;
778
1102
  aria?: {
779
1103
  ariaLabel?: string | undefined;
@@ -782,7 +1106,7 @@ declare const SystemFile: Omit<{
782
1106
  } | undefined;
783
1107
  }[] | undefined;
784
1108
  }, "fields"> & Pick<{
785
- readonly name: "system_file";
1109
+ readonly name: "sys_file";
786
1110
  readonly label: "System File";
787
1111
  readonly pluralLabel: "System Files";
788
1112
  readonly icon: "file";
@@ -808,6 +1132,7 @@ declare const SystemFile: Omit<{
808
1132
  readonly dependencies?: string[] | undefined;
809
1133
  readonly theme?: string | undefined;
810
1134
  readonly externalId?: boolean | undefined;
1135
+ readonly system?: boolean | undefined;
811
1136
  readonly min?: number | undefined;
812
1137
  readonly max?: number | undefined;
813
1138
  readonly group?: string | undefined;
@@ -982,6 +1307,7 @@ declare const SystemFile: Omit<{
982
1307
  readonly dependencies?: string[] | undefined;
983
1308
  readonly theme?: string | undefined;
984
1309
  readonly externalId?: boolean | undefined;
1310
+ readonly system?: boolean | undefined;
985
1311
  readonly min?: number | undefined;
986
1312
  readonly max?: number | undefined;
987
1313
  readonly group?: string | undefined;
@@ -1156,6 +1482,7 @@ declare const SystemFile: Omit<{
1156
1482
  readonly dependencies?: string[] | undefined;
1157
1483
  readonly theme?: string | undefined;
1158
1484
  readonly externalId?: boolean | undefined;
1485
+ readonly system?: boolean | undefined;
1159
1486
  readonly min?: number | undefined;
1160
1487
  readonly max?: number | undefined;
1161
1488
  readonly group?: string | undefined;
@@ -1330,6 +1657,7 @@ declare const SystemFile: Omit<{
1330
1657
  readonly dependencies?: string[] | undefined;
1331
1658
  readonly theme?: string | undefined;
1332
1659
  readonly externalId?: boolean | undefined;
1660
+ readonly system?: boolean | undefined;
1333
1661
  readonly min?: number | undefined;
1334
1662
  readonly max?: number | undefined;
1335
1663
  readonly group?: string | undefined;
@@ -1504,6 +1832,7 @@ declare const SystemFile: Omit<{
1504
1832
  readonly dependencies?: string[] | undefined;
1505
1833
  readonly theme?: string | undefined;
1506
1834
  readonly externalId?: boolean | undefined;
1835
+ readonly system?: boolean | undefined;
1507
1836
  readonly min?: number | undefined;
1508
1837
  readonly max?: number | undefined;
1509
1838
  readonly group?: string | undefined;
@@ -1678,6 +2007,7 @@ declare const SystemFile: Omit<{
1678
2007
  readonly dependencies?: string[] | undefined;
1679
2008
  readonly theme?: string | undefined;
1680
2009
  readonly externalId?: boolean | undefined;
2010
+ readonly system?: boolean | undefined;
1681
2011
  readonly min?: number | undefined;
1682
2012
  readonly max?: number | undefined;
1683
2013
  readonly group?: string | undefined;
@@ -1852,6 +2182,7 @@ declare const SystemFile: Omit<{
1852
2182
  readonly dependencies?: string[] | undefined;
1853
2183
  readonly theme?: string | undefined;
1854
2184
  readonly externalId?: boolean | undefined;
2185
+ readonly system?: boolean | undefined;
1855
2186
  readonly min?: number | undefined;
1856
2187
  readonly max?: number | undefined;
1857
2188
  readonly group?: string | undefined;
@@ -2026,6 +2357,7 @@ declare const SystemFile: Omit<{
2026
2357
  readonly dependencies?: string[] | undefined;
2027
2358
  readonly theme?: string | undefined;
2028
2359
  readonly externalId?: boolean | undefined;
2360
+ readonly system?: boolean | undefined;
2029
2361
  readonly min?: number | undefined;
2030
2362
  readonly max?: number | undefined;
2031
2363
  readonly group?: string | undefined;
@@ -2200,6 +2532,7 @@ declare const SystemFile: Omit<{
2200
2532
  readonly dependencies?: string[] | undefined;
2201
2533
  readonly theme?: string | undefined;
2202
2534
  readonly externalId?: boolean | undefined;
2535
+ readonly system?: boolean | undefined;
2203
2536
  readonly min?: number | undefined;
2204
2537
  readonly max?: number | undefined;
2205
2538
  readonly group?: string | undefined;
@@ -2374,6 +2707,7 @@ declare const SystemFile: Omit<{
2374
2707
  readonly dependencies?: string[] | undefined;
2375
2708
  readonly theme?: string | undefined;
2376
2709
  readonly externalId?: boolean | undefined;
2710
+ readonly system?: boolean | undefined;
2377
2711
  readonly min?: number | undefined;
2378
2712
  readonly max?: number | undefined;
2379
2713
  readonly group?: string | undefined;
@@ -2548,6 +2882,7 @@ declare const SystemFile: Omit<{
2548
2882
  readonly dependencies?: string[] | undefined;
2549
2883
  readonly theme?: string | undefined;
2550
2884
  readonly externalId?: boolean | undefined;
2885
+ readonly system?: boolean | undefined;
2551
2886
  readonly min?: number | undefined;
2552
2887
  readonly max?: number | undefined;
2553
2888
  readonly group?: string | undefined;
@@ -2722,6 +3057,7 @@ declare const SystemFile: Omit<{
2722
3057
  readonly dependencies?: string[] | undefined;
2723
3058
  readonly theme?: string | undefined;
2724
3059
  readonly externalId?: boolean | undefined;
3060
+ readonly system?: boolean | undefined;
2725
3061
  readonly min?: number | undefined;
2726
3062
  readonly max?: number | undefined;
2727
3063
  readonly group?: string | undefined;
@@ -2896,6 +3232,7 @@ declare const SystemFile: Omit<{
2896
3232
  readonly dependencies?: string[] | undefined;
2897
3233
  readonly theme?: string | undefined;
2898
3234
  readonly externalId?: boolean | undefined;
3235
+ readonly system?: boolean | undefined;
2899
3236
  readonly min?: number | undefined;
2900
3237
  readonly max?: number | undefined;
2901
3238
  readonly group?: string | undefined;
@@ -3070,6 +3407,7 @@ declare const SystemFile: Omit<{
3070
3407
  readonly dependencies?: string[] | undefined;
3071
3408
  readonly theme?: string | undefined;
3072
3409
  readonly externalId?: boolean | undefined;
3410
+ readonly system?: boolean | undefined;
3073
3411
  readonly min?: number | undefined;
3074
3412
  readonly max?: number | undefined;
3075
3413
  readonly group?: string | undefined;
@@ -3429,6 +3767,7 @@ declare const SystemUploadSession: Omit<{
3429
3767
  generatedBy?: string | undefined;
3430
3768
  } | undefined;
3431
3769
  } | undefined;
3770
+ system?: boolean | undefined;
3432
3771
  inlineHelpText?: string | undefined;
3433
3772
  trackFeedHistory?: boolean | undefined;
3434
3773
  caseSensitive?: boolean | undefined;
@@ -3439,7 +3778,14 @@ declare const SystemUploadSession: Omit<{
3439
3778
  description?: string | undefined;
3440
3779
  icon?: string | undefined;
3441
3780
  tags?: string[] | undefined;
3442
- managedBy?: "system" | "better-auth" | "platform" | undefined;
3781
+ managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
3782
+ userActions?: {
3783
+ create?: boolean | undefined;
3784
+ import?: boolean | undefined;
3785
+ edit?: boolean | undefined;
3786
+ delete?: boolean | undefined;
3787
+ exportCsv?: boolean | undefined;
3788
+ } | undefined;
3443
3789
  systemFields?: false | {
3444
3790
  tenant?: boolean | undefined;
3445
3791
  owner?: boolean | undefined;
@@ -3559,6 +3905,241 @@ declare const SystemUploadSession: Omit<{
3559
3905
  } | undefined;
3560
3906
  } | undefined;
3561
3907
  compactLayout?: string[] | undefined;
3908
+ listViews?: Record<string, {
3909
+ type: "map" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "grid";
3910
+ columns: string[] | {
3911
+ field: string;
3912
+ label?: string | undefined;
3913
+ width?: number | undefined;
3914
+ align?: "left" | "center" | "right" | undefined;
3915
+ hidden?: boolean | undefined;
3916
+ sortable?: boolean | undefined;
3917
+ resizable?: boolean | undefined;
3918
+ wrap?: boolean | undefined;
3919
+ type?: string | undefined;
3920
+ pinned?: "left" | "right" | undefined;
3921
+ summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
3922
+ link?: boolean | undefined;
3923
+ action?: string | undefined;
3924
+ }[];
3925
+ name?: string | undefined;
3926
+ label?: string | undefined;
3927
+ data?: {
3928
+ provider: "object";
3929
+ object: string;
3930
+ } | {
3931
+ provider: "api";
3932
+ read?: {
3933
+ url: string;
3934
+ method: "PUT" | "POST" | "GET" | "PATCH" | "DELETE";
3935
+ headers?: Record<string, string> | undefined;
3936
+ params?: Record<string, unknown> | undefined;
3937
+ body?: unknown;
3938
+ } | undefined;
3939
+ write?: {
3940
+ url: string;
3941
+ method: "PUT" | "POST" | "GET" | "PATCH" | "DELETE";
3942
+ headers?: Record<string, string> | undefined;
3943
+ params?: Record<string, unknown> | undefined;
3944
+ body?: unknown;
3945
+ } | undefined;
3946
+ } | {
3947
+ provider: "value";
3948
+ items: unknown[];
3949
+ } | undefined;
3950
+ filter?: {
3951
+ field: string;
3952
+ operator: string;
3953
+ value?: string | number | boolean | (string | number)[] | null | undefined;
3954
+ }[] | undefined;
3955
+ sort?: string | {
3956
+ field: string;
3957
+ order: "asc" | "desc";
3958
+ }[] | undefined;
3959
+ searchableFields?: string[] | undefined;
3960
+ filterableFields?: string[] | undefined;
3961
+ resizable?: boolean | undefined;
3962
+ striped?: boolean | undefined;
3963
+ bordered?: boolean | undefined;
3964
+ compactToolbar?: boolean | undefined;
3965
+ selection?: {
3966
+ type: "multiple" | "single" | "none";
3967
+ } | undefined;
3968
+ navigation?: {
3969
+ mode: "split" | "none" | "page" | "modal" | "drawer" | "popover" | "new_window";
3970
+ preventNavigation: boolean;
3971
+ openNewTab: boolean;
3972
+ view?: string | undefined;
3973
+ width?: string | number | undefined;
3974
+ } | undefined;
3975
+ pagination?: {
3976
+ pageSize: number;
3977
+ pageSizeOptions?: number[] | undefined;
3978
+ } | undefined;
3979
+ kanban?: {
3980
+ groupByField: string;
3981
+ columns: string[];
3982
+ summarizeField?: string | undefined;
3983
+ } | undefined;
3984
+ calendar?: {
3985
+ startDateField: string;
3986
+ titleField: string;
3987
+ endDateField?: string | undefined;
3988
+ colorField?: string | undefined;
3989
+ } | undefined;
3990
+ gantt?: {
3991
+ startDateField: string;
3992
+ endDateField: string;
3993
+ titleField: string;
3994
+ progressField?: string | undefined;
3995
+ dependenciesField?: string | undefined;
3996
+ } | undefined;
3997
+ gallery?: {
3998
+ coverFit: "cover" | "contain";
3999
+ cardSize: "small" | "medium" | "large";
4000
+ coverField?: string | undefined;
4001
+ titleField?: string | undefined;
4002
+ visibleFields?: string[] | undefined;
4003
+ } | undefined;
4004
+ timeline?: {
4005
+ startDateField: string;
4006
+ titleField: string;
4007
+ scale: "day" | "week" | "month" | "quarter" | "year" | "hour";
4008
+ endDateField?: string | undefined;
4009
+ groupByField?: string | undefined;
4010
+ colorField?: string | undefined;
4011
+ } | undefined;
4012
+ chart?: {
4013
+ chartType: "bar" | "line" | "pie" | "area" | "scatter";
4014
+ xAxisField: string;
4015
+ yAxisFields: string[];
4016
+ aggregation?: "min" | "max" | "count" | "sum" | "avg" | undefined;
4017
+ groupByField?: string | undefined;
4018
+ } | undefined;
4019
+ description?: string | undefined;
4020
+ sharing?: {
4021
+ type: "personal" | "collaborative";
4022
+ lockedBy?: string | undefined;
4023
+ } | undefined;
4024
+ rowHeight?: "medium" | "short" | "compact" | "tall" | "extra_tall" | undefined;
4025
+ grouping?: {
4026
+ fields: {
4027
+ field: string;
4028
+ order: "asc" | "desc";
4029
+ collapsed: boolean;
4030
+ }[];
4031
+ } | undefined;
4032
+ rowColor?: {
4033
+ field: string;
4034
+ colors?: Record<string, string> | undefined;
4035
+ } | undefined;
4036
+ hiddenFields?: string[] | undefined;
4037
+ fieldOrder?: string[] | undefined;
4038
+ rowActions?: string[] | undefined;
4039
+ bulkActions?: string[] | undefined;
4040
+ bulkActionDefs?: Record<string, any>[] | undefined;
4041
+ virtualScroll?: boolean | undefined;
4042
+ conditionalFormatting?: {
4043
+ condition: {
4044
+ dialect: "cel" | "js" | "cron" | "template";
4045
+ source?: string | undefined;
4046
+ ast?: unknown;
4047
+ meta?: {
4048
+ rationale?: string | undefined;
4049
+ generatedBy?: string | undefined;
4050
+ } | undefined;
4051
+ } | {
4052
+ dialect: "cel" | "js" | "cron" | "template";
4053
+ source?: string | undefined;
4054
+ ast?: unknown;
4055
+ meta?: {
4056
+ rationale?: string | undefined;
4057
+ generatedBy?: string | undefined;
4058
+ } | undefined;
4059
+ };
4060
+ style: Record<string, string>;
4061
+ }[] | undefined;
4062
+ inlineEdit?: boolean | undefined;
4063
+ exportOptions?: ("json" | "csv" | "xlsx" | "pdf")[] | undefined;
4064
+ userActions?: {
4065
+ sort: boolean;
4066
+ search: boolean;
4067
+ filter: boolean;
4068
+ rowHeight: boolean;
4069
+ addRecordForm: boolean;
4070
+ buttons?: string[] | undefined;
4071
+ } | undefined;
4072
+ appearance?: {
4073
+ showDescription: boolean;
4074
+ allowedVisualizations?: ("map" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "grid")[] | undefined;
4075
+ } | undefined;
4076
+ tabs?: {
4077
+ name: string;
4078
+ pinned: boolean;
4079
+ isDefault: boolean;
4080
+ visible: boolean;
4081
+ label?: string | undefined;
4082
+ icon?: string | undefined;
4083
+ view?: string | undefined;
4084
+ filter?: {
4085
+ field: string;
4086
+ operator: string;
4087
+ value?: string | number | boolean | (string | number)[] | null | undefined;
4088
+ }[] | undefined;
4089
+ order?: number | undefined;
4090
+ }[] | undefined;
4091
+ addRecord?: {
4092
+ enabled: boolean;
4093
+ position: "top" | "bottom" | "both";
4094
+ mode: "modal" | "form" | "inline";
4095
+ formView?: string | undefined;
4096
+ } | undefined;
4097
+ showRecordCount?: boolean | undefined;
4098
+ allowPrinting?: boolean | undefined;
4099
+ emptyState?: {
4100
+ title?: string | undefined;
4101
+ message?: string | undefined;
4102
+ icon?: string | undefined;
4103
+ } | undefined;
4104
+ aria?: {
4105
+ ariaLabel?: string | undefined;
4106
+ ariaDescribedBy?: string | undefined;
4107
+ role?: string | undefined;
4108
+ } | undefined;
4109
+ responsive?: {
4110
+ breakpoint?: "md" | "xs" | "sm" | "lg" | "xl" | "2xl" | undefined;
4111
+ hiddenOn?: ("md" | "xs" | "sm" | "lg" | "xl" | "2xl")[] | undefined;
4112
+ columns?: {
4113
+ xs?: number | undefined;
4114
+ sm?: number | undefined;
4115
+ md?: number | undefined;
4116
+ lg?: number | undefined;
4117
+ xl?: number | undefined;
4118
+ '2xl'?: number | undefined;
4119
+ } | undefined;
4120
+ order?: {
4121
+ xs?: number | undefined;
4122
+ sm?: number | undefined;
4123
+ md?: number | undefined;
4124
+ lg?: number | undefined;
4125
+ xl?: number | undefined;
4126
+ '2xl'?: number | undefined;
4127
+ } | undefined;
4128
+ } | undefined;
4129
+ performance?: {
4130
+ lazyLoad?: boolean | undefined;
4131
+ virtualScroll?: {
4132
+ enabled: boolean;
4133
+ itemHeight?: number | undefined;
4134
+ overscan?: number | undefined;
4135
+ } | undefined;
4136
+ cacheStrategy?: "none" | "cache-first" | "network-first" | "stale-while-revalidate" | undefined;
4137
+ prefetch?: boolean | undefined;
4138
+ pageSize?: number | undefined;
4139
+ debounceMs?: number | undefined;
4140
+ } | undefined;
4141
+ }> | undefined;
4142
+ defaultDetailForm?: string | undefined;
3562
4143
  search?: {
3563
4144
  fields: string[];
3564
4145
  displayFields?: string[] | undefined;
@@ -3574,15 +4155,15 @@ declare const SystemUploadSession: Omit<{
3574
4155
  trash: boolean;
3575
4156
  mru: boolean;
3576
4157
  clone: boolean;
3577
- apiMethods?: ("get" | "search" | "upsert" | "list" | "delete" | "update" | "history" | "create" | "bulk" | "aggregate" | "restore" | "purge" | "import" | "export")[] | undefined;
4158
+ apiMethods?: ("get" | "search" | "upsert" | "create" | "import" | "delete" | "list" | "update" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
3578
4159
  } | undefined;
3579
4160
  recordTypes?: string[] | undefined;
3580
- sharingModel?: "private" | "full" | "read" | "read_write" | undefined;
4161
+ sharingModel?: "private" | "read" | "full" | "read_write" | undefined;
3581
4162
  keyPrefix?: string | undefined;
3582
4163
  actions?: {
3583
4164
  name: string;
3584
4165
  label: string;
3585
- type: "url" | "flow" | "api" | "script" | "modal";
4166
+ type: "url" | "flow" | "api" | "script" | "modal" | "form";
3586
4167
  refreshAfter: boolean;
3587
4168
  objectName?: string | undefined;
3588
4169
  icon?: string | undefined;
@@ -3601,14 +4182,20 @@ declare const SystemUploadSession: Omit<{
3601
4182
  } | undefined;
3602
4183
  execute?: string | undefined;
3603
4184
  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
4185
  required: boolean;
4186
+ name?: string | undefined;
4187
+ field?: string | undefined;
4188
+ objectOverride?: string | undefined;
4189
+ label?: string | undefined;
4190
+ 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
4191
  options?: {
3609
4192
  label: string;
3610
4193
  value: string;
3611
4194
  }[] | undefined;
4195
+ placeholder?: string | undefined;
4196
+ helpText?: string | undefined;
4197
+ defaultValue?: unknown;
4198
+ defaultFromRow?: boolean | undefined;
3612
4199
  }[] | undefined;
3613
4200
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
3614
4201
  confirmText?: string | undefined;
@@ -3633,6 +4220,14 @@ declare const SystemUploadSession: Omit<{
3633
4220
  } | undefined;
3634
4221
  shortcut?: string | undefined;
3635
4222
  bulkEnabled?: boolean | undefined;
4223
+ recordIdParam?: string | undefined;
4224
+ recordIdField?: string | undefined;
4225
+ bodyShape?: "flat" | {
4226
+ wrap: string;
4227
+ } | undefined;
4228
+ method?: "POST" | "PATCH" | "PUT" | "DELETE" | undefined;
4229
+ bodyExtra?: Record<string, unknown> | undefined;
4230
+ mode?: "custom" | "delete" | "create" | "edit" | undefined;
3636
4231
  timeout?: number | undefined;
3637
4232
  aria?: {
3638
4233
  ariaLabel?: string | undefined;
@@ -3641,7 +4236,7 @@ declare const SystemUploadSession: Omit<{
3641
4236
  } | undefined;
3642
4237
  }[] | undefined;
3643
4238
  }, "fields"> & Pick<{
3644
- readonly name: "system_upload_session";
4239
+ readonly name: "sys_upload_session";
3645
4240
  readonly label: "System Upload Session";
3646
4241
  readonly pluralLabel: "System Upload Sessions";
3647
4242
  readonly icon: "upload-cloud";
@@ -3667,6 +4262,7 @@ declare const SystemUploadSession: Omit<{
3667
4262
  readonly dependencies?: string[] | undefined;
3668
4263
  readonly theme?: string | undefined;
3669
4264
  readonly externalId?: boolean | undefined;
4265
+ readonly system?: boolean | undefined;
3670
4266
  readonly min?: number | undefined;
3671
4267
  readonly max?: number | undefined;
3672
4268
  readonly group?: string | undefined;
@@ -3841,6 +4437,7 @@ declare const SystemUploadSession: Omit<{
3841
4437
  readonly dependencies?: string[] | undefined;
3842
4438
  readonly theme?: string | undefined;
3843
4439
  readonly externalId?: boolean | undefined;
4440
+ readonly system?: boolean | undefined;
3844
4441
  readonly min?: number | undefined;
3845
4442
  readonly max?: number | undefined;
3846
4443
  readonly group?: string | undefined;
@@ -4015,6 +4612,7 @@ declare const SystemUploadSession: Omit<{
4015
4612
  readonly dependencies?: string[] | undefined;
4016
4613
  readonly theme?: string | undefined;
4017
4614
  readonly externalId?: boolean | undefined;
4615
+ readonly system?: boolean | undefined;
4018
4616
  readonly min?: number | undefined;
4019
4617
  readonly max?: number | undefined;
4020
4618
  readonly group?: string | undefined;
@@ -4189,6 +4787,7 @@ declare const SystemUploadSession: Omit<{
4189
4787
  readonly dependencies?: string[] | undefined;
4190
4788
  readonly theme?: string | undefined;
4191
4789
  readonly externalId?: boolean | undefined;
4790
+ readonly system?: boolean | undefined;
4192
4791
  readonly min?: number | undefined;
4193
4792
  readonly max?: number | undefined;
4194
4793
  readonly group?: string | undefined;
@@ -4363,6 +4962,7 @@ declare const SystemUploadSession: Omit<{
4363
4962
  readonly dependencies?: string[] | undefined;
4364
4963
  readonly theme?: string | undefined;
4365
4964
  readonly externalId?: boolean | undefined;
4965
+ readonly system?: boolean | undefined;
4366
4966
  readonly min?: number | undefined;
4367
4967
  readonly max?: number | undefined;
4368
4968
  readonly group?: string | undefined;
@@ -4537,6 +5137,7 @@ declare const SystemUploadSession: Omit<{
4537
5137
  readonly dependencies?: string[] | undefined;
4538
5138
  readonly theme?: string | undefined;
4539
5139
  readonly externalId?: boolean | undefined;
5140
+ readonly system?: boolean | undefined;
4540
5141
  readonly min?: number | undefined;
4541
5142
  readonly max?: number | undefined;
4542
5143
  readonly group?: string | undefined;
@@ -4711,6 +5312,7 @@ declare const SystemUploadSession: Omit<{
4711
5312
  readonly dependencies?: string[] | undefined;
4712
5313
  readonly theme?: string | undefined;
4713
5314
  readonly externalId?: boolean | undefined;
5315
+ readonly system?: boolean | undefined;
4714
5316
  readonly min?: number | undefined;
4715
5317
  readonly max?: number | undefined;
4716
5318
  readonly group?: string | undefined;
@@ -4885,6 +5487,7 @@ declare const SystemUploadSession: Omit<{
4885
5487
  readonly dependencies?: string[] | undefined;
4886
5488
  readonly theme?: string | undefined;
4887
5489
  readonly externalId?: boolean | undefined;
5490
+ readonly system?: boolean | undefined;
4888
5491
  readonly min?: number | undefined;
4889
5492
  readonly max?: number | undefined;
4890
5493
  readonly group?: string | undefined;
@@ -5059,6 +5662,7 @@ declare const SystemUploadSession: Omit<{
5059
5662
  readonly dependencies?: string[] | undefined;
5060
5663
  readonly theme?: string | undefined;
5061
5664
  readonly externalId?: boolean | undefined;
5665
+ readonly system?: boolean | undefined;
5062
5666
  readonly min?: number | undefined;
5063
5667
  readonly max?: number | undefined;
5064
5668
  readonly group?: string | undefined;
@@ -5233,6 +5837,7 @@ declare const SystemUploadSession: Omit<{
5233
5837
  readonly dependencies?: string[] | undefined;
5234
5838
  readonly theme?: string | undefined;
5235
5839
  readonly externalId?: boolean | undefined;
5840
+ readonly system?: boolean | undefined;
5236
5841
  readonly min?: number | undefined;
5237
5842
  readonly max?: number | undefined;
5238
5843
  readonly group?: string | undefined;
@@ -5407,6 +6012,7 @@ declare const SystemUploadSession: Omit<{
5407
6012
  readonly dependencies?: string[] | undefined;
5408
6013
  readonly theme?: string | undefined;
5409
6014
  readonly externalId?: boolean | undefined;
6015
+ readonly system?: boolean | undefined;
5410
6016
  readonly min?: number | undefined;
5411
6017
  readonly max?: number | undefined;
5412
6018
  readonly group?: string | undefined;
@@ -5581,6 +6187,7 @@ declare const SystemUploadSession: Omit<{
5581
6187
  readonly dependencies?: string[] | undefined;
5582
6188
  readonly theme?: string | undefined;
5583
6189
  readonly externalId?: boolean | undefined;
6190
+ readonly system?: boolean | undefined;
5584
6191
  readonly min?: number | undefined;
5585
6192
  readonly max?: number | undefined;
5586
6193
  readonly group?: string | undefined;
@@ -5755,6 +6362,7 @@ declare const SystemUploadSession: Omit<{
5755
6362
  readonly dependencies?: string[] | undefined;
5756
6363
  readonly theme?: string | undefined;
5757
6364
  readonly externalId?: boolean | undefined;
6365
+ readonly system?: boolean | undefined;
5758
6366
  readonly min?: number | undefined;
5759
6367
  readonly max?: number | undefined;
5760
6368
  readonly group?: string | undefined;
@@ -5929,6 +6537,7 @@ declare const SystemUploadSession: Omit<{
5929
6537
  readonly dependencies?: string[] | undefined;
5930
6538
  readonly theme?: string | undefined;
5931
6539
  readonly externalId?: boolean | undefined;
6540
+ readonly system?: boolean | undefined;
5932
6541
  readonly min?: number | undefined;
5933
6542
  readonly max?: number | undefined;
5934
6543
  readonly group?: string | undefined;
@@ -6103,6 +6712,7 @@ declare const SystemUploadSession: Omit<{
6103
6712
  readonly dependencies?: string[] | undefined;
6104
6713
  readonly theme?: string | undefined;
6105
6714
  readonly externalId?: boolean | undefined;
6715
+ readonly system?: boolean | undefined;
6106
6716
  readonly min?: number | undefined;
6107
6717
  readonly max?: number | undefined;
6108
6718
  readonly group?: string | undefined;
@@ -6277,6 +6887,7 @@ declare const SystemUploadSession: Omit<{
6277
6887
  readonly dependencies?: string[] | undefined;
6278
6888
  readonly theme?: string | undefined;
6279
6889
  readonly externalId?: boolean | undefined;
6890
+ readonly system?: boolean | undefined;
6280
6891
  readonly min?: number | undefined;
6281
6892
  readonly max?: number | undefined;
6282
6893
  readonly group?: string | undefined;
@@ -6451,6 +7062,7 @@ declare const SystemUploadSession: Omit<{
6451
7062
  readonly dependencies?: string[] | undefined;
6452
7063
  readonly theme?: string | undefined;
6453
7064
  readonly externalId?: boolean | undefined;
7065
+ readonly system?: boolean | undefined;
6454
7066
  readonly min?: number | undefined;
6455
7067
  readonly max?: number | undefined;
6456
7068
  readonly group?: string | undefined;
@@ -6625,6 +7237,7 @@ declare const SystemUploadSession: Omit<{
6625
7237
  readonly dependencies?: string[] | undefined;
6626
7238
  readonly theme?: string | undefined;
6627
7239
  readonly externalId?: boolean | undefined;
7240
+ readonly system?: boolean | undefined;
6628
7241
  readonly min?: number | undefined;
6629
7242
  readonly max?: number | undefined;
6630
7243
  readonly group?: string | undefined;
@@ -6799,6 +7412,7 @@ declare const SystemUploadSession: Omit<{
6799
7412
  readonly dependencies?: string[] | undefined;
6800
7413
  readonly theme?: string | undefined;
6801
7414
  readonly externalId?: boolean | undefined;
7415
+ readonly system?: boolean | undefined;
6802
7416
  readonly min?: number | undefined;
6803
7417
  readonly max?: number | undefined;
6804
7418
  readonly group?: string | undefined;
@@ -6973,6 +7587,7 @@ declare const SystemUploadSession: Omit<{
6973
7587
  readonly dependencies?: string[] | undefined;
6974
7588
  readonly theme?: string | undefined;
6975
7589
  readonly externalId?: boolean | undefined;
7590
+ readonly system?: boolean | undefined;
6976
7591
  readonly min?: number | undefined;
6977
7592
  readonly max?: number | undefined;
6978
7593
  readonly group?: string | undefined;
@@ -7132,4 +7747,4 @@ declare const SystemUploadSession: Omit<{
7132
7747
  };
7133
7748
  }, "fields">;
7134
7749
 
7135
- export { type FileRecord, LocalStorageAdapter, type LocalStorageAdapterOptions, S3StorageAdapter, type S3StorageAdapterOptions, StorageMetadataStore, type StorageRoutesOptions, StorageServicePlugin, type StorageServicePluginOptions, SystemFile, SystemUploadSession, type UploadSessionRecord, registerStorageRoutes };
7750
+ export { type FileRecord, LocalStorageAdapter, type LocalStorageAdapterOptions, S3StorageAdapter, type S3StorageAdapterOptions, StorageMetadataStore, type StorageRoutesOptions, StorageServicePlugin, type StorageServicePluginOptions, SwappableStorageService, SystemFile, SystemUploadSession, type UploadSessionRecord, registerStorageRoutes };