@objectstack/platform-objects 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.
@@ -244,6 +244,7 @@ declare const SysSetting: Omit<{
244
244
  generatedBy?: string | undefined;
245
245
  } | undefined;
246
246
  } | undefined;
247
+ requiredPermissions?: string[] | undefined;
247
248
  system?: boolean | undefined;
248
249
  inlineHelpText?: string | undefined;
249
250
  caseSensitive?: boolean | undefined;
@@ -319,6 +320,10 @@ declare const SysSetting: Omit<{
319
320
  tenantField: string;
320
321
  crossTenantAccess: boolean;
321
322
  } | undefined;
323
+ access?: {
324
+ default: "public" | "private";
325
+ } | undefined;
326
+ requiredPermissions?: string[] | undefined;
322
327
  softDelete?: {
323
328
  enabled: boolean;
324
329
  field: string;
@@ -685,7 +690,7 @@ declare const SysSetting: Omit<{
685
690
  clone: boolean;
686
691
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
687
692
  } | undefined;
688
- sharingModel?: "full" | "read" | "private" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
693
+ sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
689
694
  publicSharing?: {
690
695
  enabled: boolean;
691
696
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -772,6 +777,7 @@ declare const SysSetting: Omit<{
772
777
  generatedBy?: string | undefined;
773
778
  } | undefined;
774
779
  } | undefined;
780
+ requiredPermissions?: string[] | undefined;
775
781
  shortcut?: string | undefined;
776
782
  bulkEnabled?: boolean | undefined;
777
783
  ai?: {
@@ -934,6 +940,7 @@ declare const SysSetting: Omit<{
934
940
  readonly dependencies?: string[] | undefined;
935
941
  readonly externalId?: boolean | undefined;
936
942
  readonly defaultValue?: unknown;
943
+ readonly requiredPermissions?: string[] | undefined;
937
944
  readonly group?: string | undefined;
938
945
  readonly hidden?: boolean | undefined;
939
946
  readonly system?: boolean | undefined;
@@ -1108,6 +1115,7 @@ declare const SysSetting: Omit<{
1108
1115
  readonly dependencies?: string[] | undefined;
1109
1116
  readonly externalId?: boolean | undefined;
1110
1117
  readonly defaultValue?: unknown;
1118
+ readonly requiredPermissions?: string[] | undefined;
1111
1119
  readonly group?: string | undefined;
1112
1120
  readonly hidden?: boolean | undefined;
1113
1121
  readonly system?: boolean | undefined;
@@ -1282,6 +1290,7 @@ declare const SysSetting: Omit<{
1282
1290
  readonly dependencies?: string[] | undefined;
1283
1291
  readonly externalId?: boolean | undefined;
1284
1292
  readonly defaultValue?: unknown;
1293
+ readonly requiredPermissions?: string[] | undefined;
1285
1294
  readonly group?: string | undefined;
1286
1295
  readonly hidden?: boolean | undefined;
1287
1296
  readonly system?: boolean | undefined;
@@ -1456,6 +1465,7 @@ declare const SysSetting: Omit<{
1456
1465
  readonly dependencies?: string[] | undefined;
1457
1466
  readonly externalId?: boolean | undefined;
1458
1467
  readonly defaultValue?: unknown;
1468
+ readonly requiredPermissions?: string[] | undefined;
1459
1469
  readonly group?: string | undefined;
1460
1470
  readonly hidden?: boolean | undefined;
1461
1471
  readonly system?: boolean | undefined;
@@ -1630,6 +1640,7 @@ declare const SysSetting: Omit<{
1630
1640
  readonly dependencies?: string[] | undefined;
1631
1641
  readonly externalId?: boolean | undefined;
1632
1642
  readonly defaultValue?: unknown;
1643
+ readonly requiredPermissions?: string[] | undefined;
1633
1644
  readonly group?: string | undefined;
1634
1645
  readonly hidden?: boolean | undefined;
1635
1646
  readonly system?: boolean | undefined;
@@ -1804,6 +1815,7 @@ declare const SysSetting: Omit<{
1804
1815
  readonly dependencies?: string[] | undefined;
1805
1816
  readonly externalId?: boolean | undefined;
1806
1817
  readonly defaultValue?: unknown;
1818
+ readonly requiredPermissions?: string[] | undefined;
1807
1819
  readonly group?: string | undefined;
1808
1820
  readonly hidden?: boolean | undefined;
1809
1821
  readonly system?: boolean | undefined;
@@ -1978,6 +1990,7 @@ declare const SysSetting: Omit<{
1978
1990
  readonly dependencies?: string[] | undefined;
1979
1991
  readonly externalId?: boolean | undefined;
1980
1992
  readonly defaultValue?: unknown;
1993
+ readonly requiredPermissions?: string[] | undefined;
1981
1994
  readonly group?: string | undefined;
1982
1995
  readonly hidden?: boolean | undefined;
1983
1996
  readonly system?: boolean | undefined;
@@ -2152,6 +2165,7 @@ declare const SysSetting: Omit<{
2152
2165
  readonly dependencies?: string[] | undefined;
2153
2166
  readonly externalId?: boolean | undefined;
2154
2167
  readonly defaultValue?: unknown;
2168
+ readonly requiredPermissions?: string[] | undefined;
2155
2169
  readonly group?: string | undefined;
2156
2170
  readonly hidden?: boolean | undefined;
2157
2171
  readonly system?: boolean | undefined;
@@ -2326,6 +2340,7 @@ declare const SysSetting: Omit<{
2326
2340
  readonly dependencies?: string[] | undefined;
2327
2341
  readonly externalId?: boolean | undefined;
2328
2342
  readonly defaultValue?: unknown;
2343
+ readonly requiredPermissions?: string[] | undefined;
2329
2344
  readonly group?: string | undefined;
2330
2345
  readonly hidden?: boolean | undefined;
2331
2346
  readonly system?: boolean | undefined;
@@ -2500,6 +2515,7 @@ declare const SysSetting: Omit<{
2500
2515
  readonly dependencies?: string[] | undefined;
2501
2516
  readonly externalId?: boolean | undefined;
2502
2517
  readonly defaultValue?: unknown;
2518
+ readonly requiredPermissions?: string[] | undefined;
2503
2519
  readonly group?: string | undefined;
2504
2520
  readonly hidden?: boolean | undefined;
2505
2521
  readonly system?: boolean | undefined;
@@ -2674,6 +2690,7 @@ declare const SysSetting: Omit<{
2674
2690
  readonly dependencies?: string[] | undefined;
2675
2691
  readonly externalId?: boolean | undefined;
2676
2692
  readonly defaultValue?: unknown;
2693
+ readonly requiredPermissions?: string[] | undefined;
2677
2694
  readonly group?: string | undefined;
2678
2695
  readonly hidden?: boolean | undefined;
2679
2696
  readonly system?: boolean | undefined;
@@ -2848,6 +2865,7 @@ declare const SysSetting: Omit<{
2848
2865
  readonly dependencies?: string[] | undefined;
2849
2866
  readonly externalId?: boolean | undefined;
2850
2867
  readonly defaultValue?: unknown;
2868
+ readonly requiredPermissions?: string[] | undefined;
2851
2869
  readonly group?: string | undefined;
2852
2870
  readonly hidden?: boolean | undefined;
2853
2871
  readonly system?: boolean | undefined;
@@ -3022,6 +3040,7 @@ declare const SysSetting: Omit<{
3022
3040
  readonly dependencies?: string[] | undefined;
3023
3041
  readonly externalId?: boolean | undefined;
3024
3042
  readonly defaultValue?: unknown;
3043
+ readonly requiredPermissions?: string[] | undefined;
3025
3044
  readonly group?: string | undefined;
3026
3045
  readonly hidden?: boolean | undefined;
3027
3046
  readonly system?: boolean | undefined;
@@ -3441,6 +3460,7 @@ declare const SysSecret: Omit<{
3441
3460
  generatedBy?: string | undefined;
3442
3461
  } | undefined;
3443
3462
  } | undefined;
3463
+ requiredPermissions?: string[] | undefined;
3444
3464
  system?: boolean | undefined;
3445
3465
  inlineHelpText?: string | undefined;
3446
3466
  caseSensitive?: boolean | undefined;
@@ -3516,6 +3536,10 @@ declare const SysSecret: Omit<{
3516
3536
  tenantField: string;
3517
3537
  crossTenantAccess: boolean;
3518
3538
  } | undefined;
3539
+ access?: {
3540
+ default: "public" | "private";
3541
+ } | undefined;
3542
+ requiredPermissions?: string[] | undefined;
3519
3543
  softDelete?: {
3520
3544
  enabled: boolean;
3521
3545
  field: string;
@@ -3882,7 +3906,7 @@ declare const SysSecret: Omit<{
3882
3906
  clone: boolean;
3883
3907
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
3884
3908
  } | undefined;
3885
- sharingModel?: "full" | "read" | "private" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
3909
+ sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
3886
3910
  publicSharing?: {
3887
3911
  enabled: boolean;
3888
3912
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -3969,6 +3993,7 @@ declare const SysSecret: Omit<{
3969
3993
  generatedBy?: string | undefined;
3970
3994
  } | undefined;
3971
3995
  } | undefined;
3996
+ requiredPermissions?: string[] | undefined;
3972
3997
  shortcut?: string | undefined;
3973
3998
  bulkEnabled?: boolean | undefined;
3974
3999
  ai?: {
@@ -4041,6 +4066,7 @@ declare const SysSecret: Omit<{
4041
4066
  readonly dependencies?: string[] | undefined;
4042
4067
  readonly externalId?: boolean | undefined;
4043
4068
  readonly defaultValue?: unknown;
4069
+ readonly requiredPermissions?: string[] | undefined;
4044
4070
  readonly group?: string | undefined;
4045
4071
  readonly hidden?: boolean | undefined;
4046
4072
  readonly system?: boolean | undefined;
@@ -4215,6 +4241,7 @@ declare const SysSecret: Omit<{
4215
4241
  readonly dependencies?: string[] | undefined;
4216
4242
  readonly externalId?: boolean | undefined;
4217
4243
  readonly defaultValue?: unknown;
4244
+ readonly requiredPermissions?: string[] | undefined;
4218
4245
  readonly group?: string | undefined;
4219
4246
  readonly hidden?: boolean | undefined;
4220
4247
  readonly system?: boolean | undefined;
@@ -4389,6 +4416,7 @@ declare const SysSecret: Omit<{
4389
4416
  readonly dependencies?: string[] | undefined;
4390
4417
  readonly externalId?: boolean | undefined;
4391
4418
  readonly defaultValue?: unknown;
4419
+ readonly requiredPermissions?: string[] | undefined;
4392
4420
  readonly group?: string | undefined;
4393
4421
  readonly hidden?: boolean | undefined;
4394
4422
  readonly system?: boolean | undefined;
@@ -4569,6 +4597,7 @@ declare const SysSecret: Omit<{
4569
4597
  readonly dependencies?: string[] | undefined;
4570
4598
  readonly externalId?: boolean | undefined;
4571
4599
  readonly defaultValue?: unknown;
4600
+ readonly requiredPermissions?: string[] | undefined;
4572
4601
  readonly group?: string | undefined;
4573
4602
  readonly hidden?: boolean | undefined;
4574
4603
  readonly system?: boolean | undefined;
@@ -4743,6 +4772,7 @@ declare const SysSecret: Omit<{
4743
4772
  readonly dependencies?: string[] | undefined;
4744
4773
  readonly externalId?: boolean | undefined;
4745
4774
  readonly defaultValue?: unknown;
4775
+ readonly requiredPermissions?: string[] | undefined;
4746
4776
  readonly group?: string | undefined;
4747
4777
  readonly hidden?: boolean | undefined;
4748
4778
  readonly system?: boolean | undefined;
@@ -4918,6 +4948,7 @@ declare const SysSecret: Omit<{
4918
4948
  readonly dependencies?: string[] | undefined;
4919
4949
  readonly externalId?: boolean | undefined;
4920
4950
  readonly defaultValue?: unknown;
4951
+ readonly requiredPermissions?: string[] | undefined;
4921
4952
  readonly group?: string | undefined;
4922
4953
  readonly hidden?: boolean | undefined;
4923
4954
  readonly system?: boolean | undefined;
@@ -5093,6 +5124,7 @@ declare const SysSecret: Omit<{
5093
5124
  readonly dependencies?: string[] | undefined;
5094
5125
  readonly externalId?: boolean | undefined;
5095
5126
  readonly defaultValue?: unknown;
5127
+ readonly requiredPermissions?: string[] | undefined;
5096
5128
  readonly group?: string | undefined;
5097
5129
  readonly hidden?: boolean | undefined;
5098
5130
  readonly system?: boolean | undefined;
@@ -5268,6 +5300,7 @@ declare const SysSecret: Omit<{
5268
5300
  readonly dependencies?: string[] | undefined;
5269
5301
  readonly externalId?: boolean | undefined;
5270
5302
  readonly defaultValue?: unknown;
5303
+ readonly requiredPermissions?: string[] | undefined;
5271
5304
  readonly group?: string | undefined;
5272
5305
  readonly hidden?: boolean | undefined;
5273
5306
  readonly system?: boolean | undefined;
@@ -5442,6 +5475,7 @@ declare const SysSecret: Omit<{
5442
5475
  readonly dependencies?: string[] | undefined;
5443
5476
  readonly externalId?: boolean | undefined;
5444
5477
  readonly defaultValue?: unknown;
5478
+ readonly requiredPermissions?: string[] | undefined;
5445
5479
  readonly group?: string | undefined;
5446
5480
  readonly hidden?: boolean | undefined;
5447
5481
  readonly system?: boolean | undefined;
@@ -5851,6 +5885,7 @@ declare const SysSettingAudit: Omit<{
5851
5885
  generatedBy?: string | undefined;
5852
5886
  } | undefined;
5853
5887
  } | undefined;
5888
+ requiredPermissions?: string[] | undefined;
5854
5889
  system?: boolean | undefined;
5855
5890
  inlineHelpText?: string | undefined;
5856
5891
  caseSensitive?: boolean | undefined;
@@ -5926,6 +5961,10 @@ declare const SysSettingAudit: Omit<{
5926
5961
  tenantField: string;
5927
5962
  crossTenantAccess: boolean;
5928
5963
  } | undefined;
5964
+ access?: {
5965
+ default: "public" | "private";
5966
+ } | undefined;
5967
+ requiredPermissions?: string[] | undefined;
5929
5968
  softDelete?: {
5930
5969
  enabled: boolean;
5931
5970
  field: string;
@@ -6292,7 +6331,7 @@ declare const SysSettingAudit: Omit<{
6292
6331
  clone: boolean;
6293
6332
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
6294
6333
  } | undefined;
6295
- sharingModel?: "full" | "read" | "private" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
6334
+ sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
6296
6335
  publicSharing?: {
6297
6336
  enabled: boolean;
6298
6337
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -6379,6 +6418,7 @@ declare const SysSettingAudit: Omit<{
6379
6418
  generatedBy?: string | undefined;
6380
6419
  } | undefined;
6381
6420
  } | undefined;
6421
+ requiredPermissions?: string[] | undefined;
6382
6422
  shortcut?: string | undefined;
6383
6423
  bulkEnabled?: boolean | undefined;
6384
6424
  ai?: {
@@ -6455,6 +6495,7 @@ declare const SysSettingAudit: Omit<{
6455
6495
  readonly dependencies?: string[] | undefined;
6456
6496
  readonly externalId?: boolean | undefined;
6457
6497
  readonly defaultValue?: unknown;
6498
+ readonly requiredPermissions?: string[] | undefined;
6458
6499
  readonly group?: string | undefined;
6459
6500
  readonly hidden?: boolean | undefined;
6460
6501
  readonly system?: boolean | undefined;
@@ -6629,6 +6670,7 @@ declare const SysSettingAudit: Omit<{
6629
6670
  readonly dependencies?: string[] | undefined;
6630
6671
  readonly externalId?: boolean | undefined;
6631
6672
  readonly defaultValue?: unknown;
6673
+ readonly requiredPermissions?: string[] | undefined;
6632
6674
  readonly group?: string | undefined;
6633
6675
  readonly hidden?: boolean | undefined;
6634
6676
  readonly system?: boolean | undefined;
@@ -6803,6 +6845,7 @@ declare const SysSettingAudit: Omit<{
6803
6845
  readonly dependencies?: string[] | undefined;
6804
6846
  readonly externalId?: boolean | undefined;
6805
6847
  readonly defaultValue?: unknown;
6848
+ readonly requiredPermissions?: string[] | undefined;
6806
6849
  readonly group?: string | undefined;
6807
6850
  readonly hidden?: boolean | undefined;
6808
6851
  readonly system?: boolean | undefined;
@@ -6977,6 +7020,7 @@ declare const SysSettingAudit: Omit<{
6977
7020
  readonly dependencies?: string[] | undefined;
6978
7021
  readonly externalId?: boolean | undefined;
6979
7022
  readonly defaultValue?: unknown;
7023
+ readonly requiredPermissions?: string[] | undefined;
6980
7024
  readonly group?: string | undefined;
6981
7025
  readonly hidden?: boolean | undefined;
6982
7026
  readonly system?: boolean | undefined;
@@ -7151,6 +7195,7 @@ declare const SysSettingAudit: Omit<{
7151
7195
  readonly dependencies?: string[] | undefined;
7152
7196
  readonly externalId?: boolean | undefined;
7153
7197
  readonly defaultValue?: unknown;
7198
+ readonly requiredPermissions?: string[] | undefined;
7154
7199
  readonly group?: string | undefined;
7155
7200
  readonly hidden?: boolean | undefined;
7156
7201
  readonly system?: boolean | undefined;
@@ -7325,6 +7370,7 @@ declare const SysSettingAudit: Omit<{
7325
7370
  readonly dependencies?: string[] | undefined;
7326
7371
  readonly externalId?: boolean | undefined;
7327
7372
  readonly defaultValue?: unknown;
7373
+ readonly requiredPermissions?: string[] | undefined;
7328
7374
  readonly group?: string | undefined;
7329
7375
  readonly hidden?: boolean | undefined;
7330
7376
  readonly system?: boolean | undefined;
@@ -7499,6 +7545,7 @@ declare const SysSettingAudit: Omit<{
7499
7545
  readonly dependencies?: string[] | undefined;
7500
7546
  readonly externalId?: boolean | undefined;
7501
7547
  readonly defaultValue?: unknown;
7548
+ readonly requiredPermissions?: string[] | undefined;
7502
7549
  readonly group?: string | undefined;
7503
7550
  readonly hidden?: boolean | undefined;
7504
7551
  readonly system?: boolean | undefined;
@@ -7678,6 +7725,7 @@ declare const SysSettingAudit: Omit<{
7678
7725
  readonly dependencies?: string[] | undefined;
7679
7726
  readonly externalId?: boolean | undefined;
7680
7727
  readonly defaultValue?: unknown;
7728
+ readonly requiredPermissions?: string[] | undefined;
7681
7729
  readonly group?: string | undefined;
7682
7730
  readonly hidden?: boolean | undefined;
7683
7731
  readonly system?: boolean | undefined;
@@ -7853,6 +7901,7 @@ declare const SysSettingAudit: Omit<{
7853
7901
  readonly dependencies?: string[] | undefined;
7854
7902
  readonly externalId?: boolean | undefined;
7855
7903
  readonly defaultValue?: unknown;
7904
+ readonly requiredPermissions?: string[] | undefined;
7856
7905
  readonly group?: string | undefined;
7857
7906
  readonly hidden?: boolean | undefined;
7858
7907
  readonly system?: boolean | undefined;
@@ -8033,6 +8082,7 @@ declare const SysSettingAudit: Omit<{
8033
8082
  readonly dependencies?: string[] | undefined;
8034
8083
  readonly externalId?: boolean | undefined;
8035
8084
  readonly defaultValue?: unknown;
8085
+ readonly requiredPermissions?: string[] | undefined;
8036
8086
  readonly group?: string | undefined;
8037
8087
  readonly hidden?: boolean | undefined;
8038
8088
  readonly system?: boolean | undefined;
@@ -8208,6 +8258,7 @@ declare const SysSettingAudit: Omit<{
8208
8258
  readonly dependencies?: string[] | undefined;
8209
8259
  readonly externalId?: boolean | undefined;
8210
8260
  readonly defaultValue?: unknown;
8261
+ readonly requiredPermissions?: string[] | undefined;
8211
8262
  readonly group?: string | undefined;
8212
8263
  readonly hidden?: boolean | undefined;
8213
8264
  readonly system?: boolean | undefined;
@@ -8383,6 +8434,7 @@ declare const SysSettingAudit: Omit<{
8383
8434
  readonly dependencies?: string[] | undefined;
8384
8435
  readonly externalId?: boolean | undefined;
8385
8436
  readonly defaultValue?: unknown;
8437
+ readonly requiredPermissions?: string[] | undefined;
8386
8438
  readonly group?: string | undefined;
8387
8439
  readonly hidden?: boolean | undefined;
8388
8440
  readonly system?: boolean | undefined;
@@ -8558,6 +8610,7 @@ declare const SysSettingAudit: Omit<{
8558
8610
  readonly dependencies?: string[] | undefined;
8559
8611
  readonly externalId?: boolean | undefined;
8560
8612
  readonly defaultValue?: unknown;
8613
+ readonly requiredPermissions?: string[] | undefined;
8561
8614
  readonly group?: string | undefined;
8562
8615
  readonly hidden?: boolean | undefined;
8563
8616
  readonly system?: boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/platform-objects",
3
- "version": "10.2.0",
3
+ "version": "10.3.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Core platform object schemas for ObjectStack — identity, security, audit, tenant, and metadata objects",
6
6
  "main": "dist/index.js",
@@ -63,8 +63,8 @@
63
63
  }
64
64
  },
65
65
  "dependencies": {
66
- "@objectstack/spec": "10.2.0",
67
- "@objectstack/metadata-core": "10.2.0"
66
+ "@objectstack/metadata-core": "10.3.0",
67
+ "@objectstack/spec": "10.3.0"
68
68
  },
69
69
  "devDependencies": {
70
70
  "@types/node": "^26.0.0",