@objectstack/service-storage 10.2.0 → 10.3.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.cts CHANGED
@@ -648,6 +648,7 @@ declare const SystemFile: Omit<{
648
648
  generatedBy?: string | undefined;
649
649
  } | undefined;
650
650
  } | undefined;
651
+ requiredPermissions?: string[] | undefined;
651
652
  system?: boolean | undefined;
652
653
  inlineHelpText?: string | undefined;
653
654
  caseSensitive?: boolean | undefined;
@@ -723,6 +724,10 @@ declare const SystemFile: Omit<{
723
724
  tenantField: string;
724
725
  crossTenantAccess: boolean;
725
726
  } | undefined;
727
+ access?: {
728
+ default: "private" | "public";
729
+ } | undefined;
730
+ requiredPermissions?: string[] | undefined;
726
731
  softDelete?: {
727
732
  enabled: boolean;
728
733
  field: string;
@@ -1176,6 +1181,7 @@ declare const SystemFile: Omit<{
1176
1181
  generatedBy?: string | undefined;
1177
1182
  } | undefined;
1178
1183
  } | undefined;
1184
+ requiredPermissions?: string[] | undefined;
1179
1185
  shortcut?: string | undefined;
1180
1186
  bulkEnabled?: boolean | undefined;
1181
1187
  ai?: {
@@ -1239,6 +1245,7 @@ declare const SystemFile: Omit<{
1239
1245
  readonly dependencies?: string[] | undefined;
1240
1246
  readonly externalId?: boolean | undefined;
1241
1247
  readonly defaultValue?: unknown;
1248
+ readonly requiredPermissions?: string[] | undefined;
1242
1249
  readonly group?: string | undefined;
1243
1250
  readonly hidden?: boolean | undefined;
1244
1251
  readonly system?: boolean | undefined;
@@ -1413,6 +1420,7 @@ declare const SystemFile: Omit<{
1413
1420
  readonly dependencies?: string[] | undefined;
1414
1421
  readonly externalId?: boolean | undefined;
1415
1422
  readonly defaultValue?: unknown;
1423
+ readonly requiredPermissions?: string[] | undefined;
1416
1424
  readonly group?: string | undefined;
1417
1425
  readonly hidden?: boolean | undefined;
1418
1426
  readonly system?: boolean | undefined;
@@ -1587,6 +1595,7 @@ declare const SystemFile: Omit<{
1587
1595
  readonly dependencies?: string[] | undefined;
1588
1596
  readonly externalId?: boolean | undefined;
1589
1597
  readonly defaultValue?: unknown;
1598
+ readonly requiredPermissions?: string[] | undefined;
1590
1599
  readonly group?: string | undefined;
1591
1600
  readonly hidden?: boolean | undefined;
1592
1601
  readonly system?: boolean | undefined;
@@ -1761,6 +1770,7 @@ declare const SystemFile: Omit<{
1761
1770
  readonly dependencies?: string[] | undefined;
1762
1771
  readonly externalId?: boolean | undefined;
1763
1772
  readonly defaultValue?: unknown;
1773
+ readonly requiredPermissions?: string[] | undefined;
1764
1774
  readonly group?: string | undefined;
1765
1775
  readonly hidden?: boolean | undefined;
1766
1776
  readonly system?: boolean | undefined;
@@ -1935,6 +1945,7 @@ declare const SystemFile: Omit<{
1935
1945
  readonly dependencies?: string[] | undefined;
1936
1946
  readonly externalId?: boolean | undefined;
1937
1947
  readonly defaultValue?: unknown;
1948
+ readonly requiredPermissions?: string[] | undefined;
1938
1949
  readonly group?: string | undefined;
1939
1950
  readonly hidden?: boolean | undefined;
1940
1951
  readonly system?: boolean | undefined;
@@ -2109,6 +2120,7 @@ declare const SystemFile: Omit<{
2109
2120
  readonly dependencies?: string[] | undefined;
2110
2121
  readonly externalId?: boolean | undefined;
2111
2122
  readonly defaultValue?: unknown;
2123
+ readonly requiredPermissions?: string[] | undefined;
2112
2124
  readonly group?: string | undefined;
2113
2125
  readonly hidden?: boolean | undefined;
2114
2126
  readonly system?: boolean | undefined;
@@ -2283,6 +2295,7 @@ declare const SystemFile: Omit<{
2283
2295
  readonly dependencies?: string[] | undefined;
2284
2296
  readonly externalId?: boolean | undefined;
2285
2297
  readonly defaultValue?: unknown;
2298
+ readonly requiredPermissions?: string[] | undefined;
2286
2299
  readonly group?: string | undefined;
2287
2300
  readonly hidden?: boolean | undefined;
2288
2301
  readonly system?: boolean | undefined;
@@ -2457,6 +2470,7 @@ declare const SystemFile: Omit<{
2457
2470
  readonly dependencies?: string[] | undefined;
2458
2471
  readonly externalId?: boolean | undefined;
2459
2472
  readonly defaultValue?: unknown;
2473
+ readonly requiredPermissions?: string[] | undefined;
2460
2474
  readonly group?: string | undefined;
2461
2475
  readonly hidden?: boolean | undefined;
2462
2476
  readonly system?: boolean | undefined;
@@ -2631,6 +2645,7 @@ declare const SystemFile: Omit<{
2631
2645
  readonly dependencies?: string[] | undefined;
2632
2646
  readonly externalId?: boolean | undefined;
2633
2647
  readonly defaultValue?: unknown;
2648
+ readonly requiredPermissions?: string[] | undefined;
2634
2649
  readonly group?: string | undefined;
2635
2650
  readonly hidden?: boolean | undefined;
2636
2651
  readonly system?: boolean | undefined;
@@ -2805,6 +2820,7 @@ declare const SystemFile: Omit<{
2805
2820
  readonly dependencies?: string[] | undefined;
2806
2821
  readonly externalId?: boolean | undefined;
2807
2822
  readonly defaultValue?: unknown;
2823
+ readonly requiredPermissions?: string[] | undefined;
2808
2824
  readonly group?: string | undefined;
2809
2825
  readonly hidden?: boolean | undefined;
2810
2826
  readonly system?: boolean | undefined;
@@ -2979,6 +2995,7 @@ declare const SystemFile: Omit<{
2979
2995
  readonly dependencies?: string[] | undefined;
2980
2996
  readonly externalId?: boolean | undefined;
2981
2997
  readonly defaultValue?: unknown;
2998
+ readonly requiredPermissions?: string[] | undefined;
2982
2999
  readonly group?: string | undefined;
2983
3000
  readonly hidden?: boolean | undefined;
2984
3001
  readonly system?: boolean | undefined;
@@ -3153,6 +3170,7 @@ declare const SystemFile: Omit<{
3153
3170
  readonly dependencies?: string[] | undefined;
3154
3171
  readonly externalId?: boolean | undefined;
3155
3172
  readonly defaultValue?: unknown;
3173
+ readonly requiredPermissions?: string[] | undefined;
3156
3174
  readonly group?: string | undefined;
3157
3175
  readonly hidden?: boolean | undefined;
3158
3176
  readonly system?: boolean | undefined;
@@ -3327,6 +3345,7 @@ declare const SystemFile: Omit<{
3327
3345
  readonly dependencies?: string[] | undefined;
3328
3346
  readonly externalId?: boolean | undefined;
3329
3347
  readonly defaultValue?: unknown;
3348
+ readonly requiredPermissions?: string[] | undefined;
3330
3349
  readonly group?: string | undefined;
3331
3350
  readonly hidden?: boolean | undefined;
3332
3351
  readonly system?: boolean | undefined;
@@ -3501,6 +3520,7 @@ declare const SystemFile: Omit<{
3501
3520
  readonly dependencies?: string[] | undefined;
3502
3521
  readonly externalId?: boolean | undefined;
3503
3522
  readonly defaultValue?: unknown;
3523
+ readonly requiredPermissions?: string[] | undefined;
3504
3524
  readonly group?: string | undefined;
3505
3525
  readonly hidden?: boolean | undefined;
3506
3526
  readonly system?: boolean | undefined;
@@ -3884,6 +3904,7 @@ declare const SystemUploadSession: Omit<{
3884
3904
  generatedBy?: string | undefined;
3885
3905
  } | undefined;
3886
3906
  } | undefined;
3907
+ requiredPermissions?: string[] | undefined;
3887
3908
  system?: boolean | undefined;
3888
3909
  inlineHelpText?: string | undefined;
3889
3910
  caseSensitive?: boolean | undefined;
@@ -3959,6 +3980,10 @@ declare const SystemUploadSession: Omit<{
3959
3980
  tenantField: string;
3960
3981
  crossTenantAccess: boolean;
3961
3982
  } | undefined;
3983
+ access?: {
3984
+ default: "private" | "public";
3985
+ } | undefined;
3986
+ requiredPermissions?: string[] | undefined;
3962
3987
  softDelete?: {
3963
3988
  enabled: boolean;
3964
3989
  field: string;
@@ -4412,6 +4437,7 @@ declare const SystemUploadSession: Omit<{
4412
4437
  generatedBy?: string | undefined;
4413
4438
  } | undefined;
4414
4439
  } | undefined;
4440
+ requiredPermissions?: string[] | undefined;
4415
4441
  shortcut?: string | undefined;
4416
4442
  bulkEnabled?: boolean | undefined;
4417
4443
  ai?: {
@@ -4475,6 +4501,7 @@ declare const SystemUploadSession: Omit<{
4475
4501
  readonly dependencies?: string[] | undefined;
4476
4502
  readonly externalId?: boolean | undefined;
4477
4503
  readonly defaultValue?: unknown;
4504
+ readonly requiredPermissions?: string[] | undefined;
4478
4505
  readonly group?: string | undefined;
4479
4506
  readonly hidden?: boolean | undefined;
4480
4507
  readonly system?: boolean | undefined;
@@ -4649,6 +4676,7 @@ declare const SystemUploadSession: Omit<{
4649
4676
  readonly dependencies?: string[] | undefined;
4650
4677
  readonly externalId?: boolean | undefined;
4651
4678
  readonly defaultValue?: unknown;
4679
+ readonly requiredPermissions?: string[] | undefined;
4652
4680
  readonly group?: string | undefined;
4653
4681
  readonly hidden?: boolean | undefined;
4654
4682
  readonly system?: boolean | undefined;
@@ -4823,6 +4851,7 @@ declare const SystemUploadSession: Omit<{
4823
4851
  readonly dependencies?: string[] | undefined;
4824
4852
  readonly externalId?: boolean | undefined;
4825
4853
  readonly defaultValue?: unknown;
4854
+ readonly requiredPermissions?: string[] | undefined;
4826
4855
  readonly group?: string | undefined;
4827
4856
  readonly hidden?: boolean | undefined;
4828
4857
  readonly system?: boolean | undefined;
@@ -4997,6 +5026,7 @@ declare const SystemUploadSession: Omit<{
4997
5026
  readonly dependencies?: string[] | undefined;
4998
5027
  readonly externalId?: boolean | undefined;
4999
5028
  readonly defaultValue?: unknown;
5029
+ readonly requiredPermissions?: string[] | undefined;
5000
5030
  readonly group?: string | undefined;
5001
5031
  readonly hidden?: boolean | undefined;
5002
5032
  readonly system?: boolean | undefined;
@@ -5171,6 +5201,7 @@ declare const SystemUploadSession: Omit<{
5171
5201
  readonly dependencies?: string[] | undefined;
5172
5202
  readonly externalId?: boolean | undefined;
5173
5203
  readonly defaultValue?: unknown;
5204
+ readonly requiredPermissions?: string[] | undefined;
5174
5205
  readonly group?: string | undefined;
5175
5206
  readonly hidden?: boolean | undefined;
5176
5207
  readonly system?: boolean | undefined;
@@ -5345,6 +5376,7 @@ declare const SystemUploadSession: Omit<{
5345
5376
  readonly dependencies?: string[] | undefined;
5346
5377
  readonly externalId?: boolean | undefined;
5347
5378
  readonly defaultValue?: unknown;
5379
+ readonly requiredPermissions?: string[] | undefined;
5348
5380
  readonly group?: string | undefined;
5349
5381
  readonly hidden?: boolean | undefined;
5350
5382
  readonly system?: boolean | undefined;
@@ -5519,6 +5551,7 @@ declare const SystemUploadSession: Omit<{
5519
5551
  readonly dependencies?: string[] | undefined;
5520
5552
  readonly externalId?: boolean | undefined;
5521
5553
  readonly defaultValue?: unknown;
5554
+ readonly requiredPermissions?: string[] | undefined;
5522
5555
  readonly group?: string | undefined;
5523
5556
  readonly hidden?: boolean | undefined;
5524
5557
  readonly system?: boolean | undefined;
@@ -5693,6 +5726,7 @@ declare const SystemUploadSession: Omit<{
5693
5726
  readonly dependencies?: string[] | undefined;
5694
5727
  readonly externalId?: boolean | undefined;
5695
5728
  readonly defaultValue?: unknown;
5729
+ readonly requiredPermissions?: string[] | undefined;
5696
5730
  readonly group?: string | undefined;
5697
5731
  readonly hidden?: boolean | undefined;
5698
5732
  readonly system?: boolean | undefined;
@@ -5867,6 +5901,7 @@ declare const SystemUploadSession: Omit<{
5867
5901
  readonly dependencies?: string[] | undefined;
5868
5902
  readonly externalId?: boolean | undefined;
5869
5903
  readonly defaultValue?: unknown;
5904
+ readonly requiredPermissions?: string[] | undefined;
5870
5905
  readonly group?: string | undefined;
5871
5906
  readonly hidden?: boolean | undefined;
5872
5907
  readonly system?: boolean | undefined;
@@ -6041,6 +6076,7 @@ declare const SystemUploadSession: Omit<{
6041
6076
  readonly dependencies?: string[] | undefined;
6042
6077
  readonly externalId?: boolean | undefined;
6043
6078
  readonly defaultValue?: unknown;
6079
+ readonly requiredPermissions?: string[] | undefined;
6044
6080
  readonly group?: string | undefined;
6045
6081
  readonly hidden?: boolean | undefined;
6046
6082
  readonly system?: boolean | undefined;
@@ -6215,6 +6251,7 @@ declare const SystemUploadSession: Omit<{
6215
6251
  readonly dependencies?: string[] | undefined;
6216
6252
  readonly externalId?: boolean | undefined;
6217
6253
  readonly defaultValue?: unknown;
6254
+ readonly requiredPermissions?: string[] | undefined;
6218
6255
  readonly group?: string | undefined;
6219
6256
  readonly hidden?: boolean | undefined;
6220
6257
  readonly system?: boolean | undefined;
@@ -6389,6 +6426,7 @@ declare const SystemUploadSession: Omit<{
6389
6426
  readonly dependencies?: string[] | undefined;
6390
6427
  readonly externalId?: boolean | undefined;
6391
6428
  readonly defaultValue?: unknown;
6429
+ readonly requiredPermissions?: string[] | undefined;
6392
6430
  readonly group?: string | undefined;
6393
6431
  readonly hidden?: boolean | undefined;
6394
6432
  readonly system?: boolean | undefined;
@@ -6563,6 +6601,7 @@ declare const SystemUploadSession: Omit<{
6563
6601
  readonly dependencies?: string[] | undefined;
6564
6602
  readonly externalId?: boolean | undefined;
6565
6603
  readonly defaultValue?: unknown;
6604
+ readonly requiredPermissions?: string[] | undefined;
6566
6605
  readonly group?: string | undefined;
6567
6606
  readonly hidden?: boolean | undefined;
6568
6607
  readonly system?: boolean | undefined;
@@ -6737,6 +6776,7 @@ declare const SystemUploadSession: Omit<{
6737
6776
  readonly dependencies?: string[] | undefined;
6738
6777
  readonly externalId?: boolean | undefined;
6739
6778
  readonly defaultValue?: unknown;
6779
+ readonly requiredPermissions?: string[] | undefined;
6740
6780
  readonly group?: string | undefined;
6741
6781
  readonly hidden?: boolean | undefined;
6742
6782
  readonly system?: boolean | undefined;
@@ -6911,6 +6951,7 @@ declare const SystemUploadSession: Omit<{
6911
6951
  readonly dependencies?: string[] | undefined;
6912
6952
  readonly externalId?: boolean | undefined;
6913
6953
  readonly defaultValue?: unknown;
6954
+ readonly requiredPermissions?: string[] | undefined;
6914
6955
  readonly group?: string | undefined;
6915
6956
  readonly hidden?: boolean | undefined;
6916
6957
  readonly system?: boolean | undefined;
@@ -7085,6 +7126,7 @@ declare const SystemUploadSession: Omit<{
7085
7126
  readonly dependencies?: string[] | undefined;
7086
7127
  readonly externalId?: boolean | undefined;
7087
7128
  readonly defaultValue?: unknown;
7129
+ readonly requiredPermissions?: string[] | undefined;
7088
7130
  readonly group?: string | undefined;
7089
7131
  readonly hidden?: boolean | undefined;
7090
7132
  readonly system?: boolean | undefined;
@@ -7259,6 +7301,7 @@ declare const SystemUploadSession: Omit<{
7259
7301
  readonly dependencies?: string[] | undefined;
7260
7302
  readonly externalId?: boolean | undefined;
7261
7303
  readonly defaultValue?: unknown;
7304
+ readonly requiredPermissions?: string[] | undefined;
7262
7305
  readonly group?: string | undefined;
7263
7306
  readonly hidden?: boolean | undefined;
7264
7307
  readonly system?: boolean | undefined;
@@ -7433,6 +7476,7 @@ declare const SystemUploadSession: Omit<{
7433
7476
  readonly dependencies?: string[] | undefined;
7434
7477
  readonly externalId?: boolean | undefined;
7435
7478
  readonly defaultValue?: unknown;
7479
+ readonly requiredPermissions?: string[] | undefined;
7436
7480
  readonly group?: string | undefined;
7437
7481
  readonly hidden?: boolean | undefined;
7438
7482
  readonly system?: boolean | undefined;
@@ -7607,6 +7651,7 @@ declare const SystemUploadSession: Omit<{
7607
7651
  readonly dependencies?: string[] | undefined;
7608
7652
  readonly externalId?: boolean | undefined;
7609
7653
  readonly defaultValue?: unknown;
7654
+ readonly requiredPermissions?: string[] | undefined;
7610
7655
  readonly group?: string | undefined;
7611
7656
  readonly hidden?: boolean | undefined;
7612
7657
  readonly system?: boolean | undefined;
@@ -7781,6 +7826,7 @@ declare const SystemUploadSession: Omit<{
7781
7826
  readonly dependencies?: string[] | undefined;
7782
7827
  readonly externalId?: boolean | undefined;
7783
7828
  readonly defaultValue?: unknown;
7829
+ readonly requiredPermissions?: string[] | undefined;
7784
7830
  readonly group?: string | undefined;
7785
7831
  readonly hidden?: boolean | undefined;
7786
7832
  readonly system?: boolean | undefined;
package/dist/index.d.ts CHANGED
@@ -648,6 +648,7 @@ declare const SystemFile: Omit<{
648
648
  generatedBy?: string | undefined;
649
649
  } | undefined;
650
650
  } | undefined;
651
+ requiredPermissions?: string[] | undefined;
651
652
  system?: boolean | undefined;
652
653
  inlineHelpText?: string | undefined;
653
654
  caseSensitive?: boolean | undefined;
@@ -723,6 +724,10 @@ declare const SystemFile: Omit<{
723
724
  tenantField: string;
724
725
  crossTenantAccess: boolean;
725
726
  } | undefined;
727
+ access?: {
728
+ default: "private" | "public";
729
+ } | undefined;
730
+ requiredPermissions?: string[] | undefined;
726
731
  softDelete?: {
727
732
  enabled: boolean;
728
733
  field: string;
@@ -1176,6 +1181,7 @@ declare const SystemFile: Omit<{
1176
1181
  generatedBy?: string | undefined;
1177
1182
  } | undefined;
1178
1183
  } | undefined;
1184
+ requiredPermissions?: string[] | undefined;
1179
1185
  shortcut?: string | undefined;
1180
1186
  bulkEnabled?: boolean | undefined;
1181
1187
  ai?: {
@@ -1239,6 +1245,7 @@ declare const SystemFile: Omit<{
1239
1245
  readonly dependencies?: string[] | undefined;
1240
1246
  readonly externalId?: boolean | undefined;
1241
1247
  readonly defaultValue?: unknown;
1248
+ readonly requiredPermissions?: string[] | undefined;
1242
1249
  readonly group?: string | undefined;
1243
1250
  readonly hidden?: boolean | undefined;
1244
1251
  readonly system?: boolean | undefined;
@@ -1413,6 +1420,7 @@ declare const SystemFile: Omit<{
1413
1420
  readonly dependencies?: string[] | undefined;
1414
1421
  readonly externalId?: boolean | undefined;
1415
1422
  readonly defaultValue?: unknown;
1423
+ readonly requiredPermissions?: string[] | undefined;
1416
1424
  readonly group?: string | undefined;
1417
1425
  readonly hidden?: boolean | undefined;
1418
1426
  readonly system?: boolean | undefined;
@@ -1587,6 +1595,7 @@ declare const SystemFile: Omit<{
1587
1595
  readonly dependencies?: string[] | undefined;
1588
1596
  readonly externalId?: boolean | undefined;
1589
1597
  readonly defaultValue?: unknown;
1598
+ readonly requiredPermissions?: string[] | undefined;
1590
1599
  readonly group?: string | undefined;
1591
1600
  readonly hidden?: boolean | undefined;
1592
1601
  readonly system?: boolean | undefined;
@@ -1761,6 +1770,7 @@ declare const SystemFile: Omit<{
1761
1770
  readonly dependencies?: string[] | undefined;
1762
1771
  readonly externalId?: boolean | undefined;
1763
1772
  readonly defaultValue?: unknown;
1773
+ readonly requiredPermissions?: string[] | undefined;
1764
1774
  readonly group?: string | undefined;
1765
1775
  readonly hidden?: boolean | undefined;
1766
1776
  readonly system?: boolean | undefined;
@@ -1935,6 +1945,7 @@ declare const SystemFile: Omit<{
1935
1945
  readonly dependencies?: string[] | undefined;
1936
1946
  readonly externalId?: boolean | undefined;
1937
1947
  readonly defaultValue?: unknown;
1948
+ readonly requiredPermissions?: string[] | undefined;
1938
1949
  readonly group?: string | undefined;
1939
1950
  readonly hidden?: boolean | undefined;
1940
1951
  readonly system?: boolean | undefined;
@@ -2109,6 +2120,7 @@ declare const SystemFile: Omit<{
2109
2120
  readonly dependencies?: string[] | undefined;
2110
2121
  readonly externalId?: boolean | undefined;
2111
2122
  readonly defaultValue?: unknown;
2123
+ readonly requiredPermissions?: string[] | undefined;
2112
2124
  readonly group?: string | undefined;
2113
2125
  readonly hidden?: boolean | undefined;
2114
2126
  readonly system?: boolean | undefined;
@@ -2283,6 +2295,7 @@ declare const SystemFile: Omit<{
2283
2295
  readonly dependencies?: string[] | undefined;
2284
2296
  readonly externalId?: boolean | undefined;
2285
2297
  readonly defaultValue?: unknown;
2298
+ readonly requiredPermissions?: string[] | undefined;
2286
2299
  readonly group?: string | undefined;
2287
2300
  readonly hidden?: boolean | undefined;
2288
2301
  readonly system?: boolean | undefined;
@@ -2457,6 +2470,7 @@ declare const SystemFile: Omit<{
2457
2470
  readonly dependencies?: string[] | undefined;
2458
2471
  readonly externalId?: boolean | undefined;
2459
2472
  readonly defaultValue?: unknown;
2473
+ readonly requiredPermissions?: string[] | undefined;
2460
2474
  readonly group?: string | undefined;
2461
2475
  readonly hidden?: boolean | undefined;
2462
2476
  readonly system?: boolean | undefined;
@@ -2631,6 +2645,7 @@ declare const SystemFile: Omit<{
2631
2645
  readonly dependencies?: string[] | undefined;
2632
2646
  readonly externalId?: boolean | undefined;
2633
2647
  readonly defaultValue?: unknown;
2648
+ readonly requiredPermissions?: string[] | undefined;
2634
2649
  readonly group?: string | undefined;
2635
2650
  readonly hidden?: boolean | undefined;
2636
2651
  readonly system?: boolean | undefined;
@@ -2805,6 +2820,7 @@ declare const SystemFile: Omit<{
2805
2820
  readonly dependencies?: string[] | undefined;
2806
2821
  readonly externalId?: boolean | undefined;
2807
2822
  readonly defaultValue?: unknown;
2823
+ readonly requiredPermissions?: string[] | undefined;
2808
2824
  readonly group?: string | undefined;
2809
2825
  readonly hidden?: boolean | undefined;
2810
2826
  readonly system?: boolean | undefined;
@@ -2979,6 +2995,7 @@ declare const SystemFile: Omit<{
2979
2995
  readonly dependencies?: string[] | undefined;
2980
2996
  readonly externalId?: boolean | undefined;
2981
2997
  readonly defaultValue?: unknown;
2998
+ readonly requiredPermissions?: string[] | undefined;
2982
2999
  readonly group?: string | undefined;
2983
3000
  readonly hidden?: boolean | undefined;
2984
3001
  readonly system?: boolean | undefined;
@@ -3153,6 +3170,7 @@ declare const SystemFile: Omit<{
3153
3170
  readonly dependencies?: string[] | undefined;
3154
3171
  readonly externalId?: boolean | undefined;
3155
3172
  readonly defaultValue?: unknown;
3173
+ readonly requiredPermissions?: string[] | undefined;
3156
3174
  readonly group?: string | undefined;
3157
3175
  readonly hidden?: boolean | undefined;
3158
3176
  readonly system?: boolean | undefined;
@@ -3327,6 +3345,7 @@ declare const SystemFile: Omit<{
3327
3345
  readonly dependencies?: string[] | undefined;
3328
3346
  readonly externalId?: boolean | undefined;
3329
3347
  readonly defaultValue?: unknown;
3348
+ readonly requiredPermissions?: string[] | undefined;
3330
3349
  readonly group?: string | undefined;
3331
3350
  readonly hidden?: boolean | undefined;
3332
3351
  readonly system?: boolean | undefined;
@@ -3501,6 +3520,7 @@ declare const SystemFile: Omit<{
3501
3520
  readonly dependencies?: string[] | undefined;
3502
3521
  readonly externalId?: boolean | undefined;
3503
3522
  readonly defaultValue?: unknown;
3523
+ readonly requiredPermissions?: string[] | undefined;
3504
3524
  readonly group?: string | undefined;
3505
3525
  readonly hidden?: boolean | undefined;
3506
3526
  readonly system?: boolean | undefined;
@@ -3884,6 +3904,7 @@ declare const SystemUploadSession: Omit<{
3884
3904
  generatedBy?: string | undefined;
3885
3905
  } | undefined;
3886
3906
  } | undefined;
3907
+ requiredPermissions?: string[] | undefined;
3887
3908
  system?: boolean | undefined;
3888
3909
  inlineHelpText?: string | undefined;
3889
3910
  caseSensitive?: boolean | undefined;
@@ -3959,6 +3980,10 @@ declare const SystemUploadSession: Omit<{
3959
3980
  tenantField: string;
3960
3981
  crossTenantAccess: boolean;
3961
3982
  } | undefined;
3983
+ access?: {
3984
+ default: "private" | "public";
3985
+ } | undefined;
3986
+ requiredPermissions?: string[] | undefined;
3962
3987
  softDelete?: {
3963
3988
  enabled: boolean;
3964
3989
  field: string;
@@ -4412,6 +4437,7 @@ declare const SystemUploadSession: Omit<{
4412
4437
  generatedBy?: string | undefined;
4413
4438
  } | undefined;
4414
4439
  } | undefined;
4440
+ requiredPermissions?: string[] | undefined;
4415
4441
  shortcut?: string | undefined;
4416
4442
  bulkEnabled?: boolean | undefined;
4417
4443
  ai?: {
@@ -4475,6 +4501,7 @@ declare const SystemUploadSession: Omit<{
4475
4501
  readonly dependencies?: string[] | undefined;
4476
4502
  readonly externalId?: boolean | undefined;
4477
4503
  readonly defaultValue?: unknown;
4504
+ readonly requiredPermissions?: string[] | undefined;
4478
4505
  readonly group?: string | undefined;
4479
4506
  readonly hidden?: boolean | undefined;
4480
4507
  readonly system?: boolean | undefined;
@@ -4649,6 +4676,7 @@ declare const SystemUploadSession: Omit<{
4649
4676
  readonly dependencies?: string[] | undefined;
4650
4677
  readonly externalId?: boolean | undefined;
4651
4678
  readonly defaultValue?: unknown;
4679
+ readonly requiredPermissions?: string[] | undefined;
4652
4680
  readonly group?: string | undefined;
4653
4681
  readonly hidden?: boolean | undefined;
4654
4682
  readonly system?: boolean | undefined;
@@ -4823,6 +4851,7 @@ declare const SystemUploadSession: Omit<{
4823
4851
  readonly dependencies?: string[] | undefined;
4824
4852
  readonly externalId?: boolean | undefined;
4825
4853
  readonly defaultValue?: unknown;
4854
+ readonly requiredPermissions?: string[] | undefined;
4826
4855
  readonly group?: string | undefined;
4827
4856
  readonly hidden?: boolean | undefined;
4828
4857
  readonly system?: boolean | undefined;
@@ -4997,6 +5026,7 @@ declare const SystemUploadSession: Omit<{
4997
5026
  readonly dependencies?: string[] | undefined;
4998
5027
  readonly externalId?: boolean | undefined;
4999
5028
  readonly defaultValue?: unknown;
5029
+ readonly requiredPermissions?: string[] | undefined;
5000
5030
  readonly group?: string | undefined;
5001
5031
  readonly hidden?: boolean | undefined;
5002
5032
  readonly system?: boolean | undefined;
@@ -5171,6 +5201,7 @@ declare const SystemUploadSession: Omit<{
5171
5201
  readonly dependencies?: string[] | undefined;
5172
5202
  readonly externalId?: boolean | undefined;
5173
5203
  readonly defaultValue?: unknown;
5204
+ readonly requiredPermissions?: string[] | undefined;
5174
5205
  readonly group?: string | undefined;
5175
5206
  readonly hidden?: boolean | undefined;
5176
5207
  readonly system?: boolean | undefined;
@@ -5345,6 +5376,7 @@ declare const SystemUploadSession: Omit<{
5345
5376
  readonly dependencies?: string[] | undefined;
5346
5377
  readonly externalId?: boolean | undefined;
5347
5378
  readonly defaultValue?: unknown;
5379
+ readonly requiredPermissions?: string[] | undefined;
5348
5380
  readonly group?: string | undefined;
5349
5381
  readonly hidden?: boolean | undefined;
5350
5382
  readonly system?: boolean | undefined;
@@ -5519,6 +5551,7 @@ declare const SystemUploadSession: Omit<{
5519
5551
  readonly dependencies?: string[] | undefined;
5520
5552
  readonly externalId?: boolean | undefined;
5521
5553
  readonly defaultValue?: unknown;
5554
+ readonly requiredPermissions?: string[] | undefined;
5522
5555
  readonly group?: string | undefined;
5523
5556
  readonly hidden?: boolean | undefined;
5524
5557
  readonly system?: boolean | undefined;
@@ -5693,6 +5726,7 @@ declare const SystemUploadSession: Omit<{
5693
5726
  readonly dependencies?: string[] | undefined;
5694
5727
  readonly externalId?: boolean | undefined;
5695
5728
  readonly defaultValue?: unknown;
5729
+ readonly requiredPermissions?: string[] | undefined;
5696
5730
  readonly group?: string | undefined;
5697
5731
  readonly hidden?: boolean | undefined;
5698
5732
  readonly system?: boolean | undefined;
@@ -5867,6 +5901,7 @@ declare const SystemUploadSession: Omit<{
5867
5901
  readonly dependencies?: string[] | undefined;
5868
5902
  readonly externalId?: boolean | undefined;
5869
5903
  readonly defaultValue?: unknown;
5904
+ readonly requiredPermissions?: string[] | undefined;
5870
5905
  readonly group?: string | undefined;
5871
5906
  readonly hidden?: boolean | undefined;
5872
5907
  readonly system?: boolean | undefined;
@@ -6041,6 +6076,7 @@ declare const SystemUploadSession: Omit<{
6041
6076
  readonly dependencies?: string[] | undefined;
6042
6077
  readonly externalId?: boolean | undefined;
6043
6078
  readonly defaultValue?: unknown;
6079
+ readonly requiredPermissions?: string[] | undefined;
6044
6080
  readonly group?: string | undefined;
6045
6081
  readonly hidden?: boolean | undefined;
6046
6082
  readonly system?: boolean | undefined;
@@ -6215,6 +6251,7 @@ declare const SystemUploadSession: Omit<{
6215
6251
  readonly dependencies?: string[] | undefined;
6216
6252
  readonly externalId?: boolean | undefined;
6217
6253
  readonly defaultValue?: unknown;
6254
+ readonly requiredPermissions?: string[] | undefined;
6218
6255
  readonly group?: string | undefined;
6219
6256
  readonly hidden?: boolean | undefined;
6220
6257
  readonly system?: boolean | undefined;
@@ -6389,6 +6426,7 @@ declare const SystemUploadSession: Omit<{
6389
6426
  readonly dependencies?: string[] | undefined;
6390
6427
  readonly externalId?: boolean | undefined;
6391
6428
  readonly defaultValue?: unknown;
6429
+ readonly requiredPermissions?: string[] | undefined;
6392
6430
  readonly group?: string | undefined;
6393
6431
  readonly hidden?: boolean | undefined;
6394
6432
  readonly system?: boolean | undefined;
@@ -6563,6 +6601,7 @@ declare const SystemUploadSession: Omit<{
6563
6601
  readonly dependencies?: string[] | undefined;
6564
6602
  readonly externalId?: boolean | undefined;
6565
6603
  readonly defaultValue?: unknown;
6604
+ readonly requiredPermissions?: string[] | undefined;
6566
6605
  readonly group?: string | undefined;
6567
6606
  readonly hidden?: boolean | undefined;
6568
6607
  readonly system?: boolean | undefined;
@@ -6737,6 +6776,7 @@ declare const SystemUploadSession: Omit<{
6737
6776
  readonly dependencies?: string[] | undefined;
6738
6777
  readonly externalId?: boolean | undefined;
6739
6778
  readonly defaultValue?: unknown;
6779
+ readonly requiredPermissions?: string[] | undefined;
6740
6780
  readonly group?: string | undefined;
6741
6781
  readonly hidden?: boolean | undefined;
6742
6782
  readonly system?: boolean | undefined;
@@ -6911,6 +6951,7 @@ declare const SystemUploadSession: Omit<{
6911
6951
  readonly dependencies?: string[] | undefined;
6912
6952
  readonly externalId?: boolean | undefined;
6913
6953
  readonly defaultValue?: unknown;
6954
+ readonly requiredPermissions?: string[] | undefined;
6914
6955
  readonly group?: string | undefined;
6915
6956
  readonly hidden?: boolean | undefined;
6916
6957
  readonly system?: boolean | undefined;
@@ -7085,6 +7126,7 @@ declare const SystemUploadSession: Omit<{
7085
7126
  readonly dependencies?: string[] | undefined;
7086
7127
  readonly externalId?: boolean | undefined;
7087
7128
  readonly defaultValue?: unknown;
7129
+ readonly requiredPermissions?: string[] | undefined;
7088
7130
  readonly group?: string | undefined;
7089
7131
  readonly hidden?: boolean | undefined;
7090
7132
  readonly system?: boolean | undefined;
@@ -7259,6 +7301,7 @@ declare const SystemUploadSession: Omit<{
7259
7301
  readonly dependencies?: string[] | undefined;
7260
7302
  readonly externalId?: boolean | undefined;
7261
7303
  readonly defaultValue?: unknown;
7304
+ readonly requiredPermissions?: string[] | undefined;
7262
7305
  readonly group?: string | undefined;
7263
7306
  readonly hidden?: boolean | undefined;
7264
7307
  readonly system?: boolean | undefined;
@@ -7433,6 +7476,7 @@ declare const SystemUploadSession: Omit<{
7433
7476
  readonly dependencies?: string[] | undefined;
7434
7477
  readonly externalId?: boolean | undefined;
7435
7478
  readonly defaultValue?: unknown;
7479
+ readonly requiredPermissions?: string[] | undefined;
7436
7480
  readonly group?: string | undefined;
7437
7481
  readonly hidden?: boolean | undefined;
7438
7482
  readonly system?: boolean | undefined;
@@ -7607,6 +7651,7 @@ declare const SystemUploadSession: Omit<{
7607
7651
  readonly dependencies?: string[] | undefined;
7608
7652
  readonly externalId?: boolean | undefined;
7609
7653
  readonly defaultValue?: unknown;
7654
+ readonly requiredPermissions?: string[] | undefined;
7610
7655
  readonly group?: string | undefined;
7611
7656
  readonly hidden?: boolean | undefined;
7612
7657
  readonly system?: boolean | undefined;
@@ -7781,6 +7826,7 @@ declare const SystemUploadSession: Omit<{
7781
7826
  readonly dependencies?: string[] | undefined;
7782
7827
  readonly externalId?: boolean | undefined;
7783
7828
  readonly defaultValue?: unknown;
7829
+ readonly requiredPermissions?: string[] | undefined;
7784
7830
  readonly group?: string | undefined;
7785
7831
  readonly hidden?: boolean | undefined;
7786
7832
  readonly system?: boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/service-storage",
3
- "version": "10.2.0",
3
+ "version": "10.3.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Storage Service for ObjectStack — implements IStorageService with local filesystem and S3 adapter skeleton",
6
6
  "type": "module",
@@ -14,10 +14,10 @@
14
14
  }
15
15
  },
16
16
  "dependencies": {
17
- "@objectstack/core": "10.2.0",
18
- "@objectstack/observability": "10.2.0",
19
- "@objectstack/platform-objects": "10.2.0",
20
- "@objectstack/spec": "10.2.0"
17
+ "@objectstack/core": "10.3.0",
18
+ "@objectstack/observability": "10.3.0",
19
+ "@objectstack/platform-objects": "10.3.0",
20
+ "@objectstack/spec": "10.3.0"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "@aws-sdk/client-s3": "^3.0.0",