@objectstack/platform-objects 7.1.0 → 7.2.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.
@@ -208,6 +208,13 @@ declare const SysRole: Omit<{
208
208
  caseSensitive?: boolean | undefined;
209
209
  autonumberFormat?: string | undefined;
210
210
  }>;
211
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
212
+ _lockReason?: string | undefined;
213
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
214
+ _provenance?: "package" | "env-forced" | "org" | undefined;
215
+ _packageId?: string | undefined;
216
+ _packageVersion?: string | undefined;
217
+ _lockDocsUrl?: string | undefined;
211
218
  label?: string | undefined;
212
219
  pluralLabel?: string | undefined;
213
220
  description?: string | undefined;
@@ -353,7 +360,7 @@ declare const SysRole: Omit<{
353
360
  wrap?: boolean | undefined;
354
361
  type?: string | undefined;
355
362
  pinned?: "left" | "right" | undefined;
356
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
363
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
357
364
  link?: boolean | undefined;
358
365
  action?: string | undefined;
359
366
  }[];
@@ -402,7 +409,7 @@ declare const SysRole: Omit<{
402
409
  bordered?: boolean | undefined;
403
410
  compactToolbar?: boolean | undefined;
404
411
  selection?: {
405
- type: "multiple" | "single" | "none";
412
+ type: "none" | "multiple" | "single";
406
413
  } | undefined;
407
414
  navigation?: {
408
415
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -597,7 +604,7 @@ declare const SysRole: Omit<{
597
604
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
598
605
  } | undefined;
599
606
  recordTypes?: string[] | undefined;
600
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
607
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
601
608
  publicSharing?: {
602
609
  enabled: boolean;
603
610
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -700,6 +707,11 @@ declare const SysRole: Omit<{
700
707
  role?: string | undefined;
701
708
  } | undefined;
702
709
  }[] | undefined;
710
+ protection?: {
711
+ lock: "full" | "none" | "no-overlay" | "no-delete";
712
+ reason: string;
713
+ docsUrl?: string | undefined;
714
+ } | undefined;
703
715
  }, "fields"> & Pick<{
704
716
  readonly name: "sys_role";
705
717
  readonly label: "Role";
@@ -707,6 +719,11 @@ declare const SysRole: Omit<{
707
719
  readonly icon: "shield";
708
720
  readonly isSystem: true;
709
721
  readonly managedBy: "config";
722
+ readonly protection: {
723
+ readonly lock: "no-overlay";
724
+ readonly reason: "RBAC schema is platform-defined — see ADR-0010.";
725
+ readonly docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection";
726
+ };
710
727
  readonly description: "Role definitions for RBAC access control";
711
728
  readonly displayNameField: "label";
712
729
  readonly titleFormat: "{label}";
@@ -2677,6 +2694,13 @@ declare const SysPermissionSet: Omit<{
2677
2694
  caseSensitive?: boolean | undefined;
2678
2695
  autonumberFormat?: string | undefined;
2679
2696
  }>;
2697
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
2698
+ _lockReason?: string | undefined;
2699
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
2700
+ _provenance?: "package" | "env-forced" | "org" | undefined;
2701
+ _packageId?: string | undefined;
2702
+ _packageVersion?: string | undefined;
2703
+ _lockDocsUrl?: string | undefined;
2680
2704
  label?: string | undefined;
2681
2705
  pluralLabel?: string | undefined;
2682
2706
  description?: string | undefined;
@@ -2822,7 +2846,7 @@ declare const SysPermissionSet: Omit<{
2822
2846
  wrap?: boolean | undefined;
2823
2847
  type?: string | undefined;
2824
2848
  pinned?: "left" | "right" | undefined;
2825
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
2849
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
2826
2850
  link?: boolean | undefined;
2827
2851
  action?: string | undefined;
2828
2852
  }[];
@@ -2871,7 +2895,7 @@ declare const SysPermissionSet: Omit<{
2871
2895
  bordered?: boolean | undefined;
2872
2896
  compactToolbar?: boolean | undefined;
2873
2897
  selection?: {
2874
- type: "multiple" | "single" | "none";
2898
+ type: "none" | "multiple" | "single";
2875
2899
  } | undefined;
2876
2900
  navigation?: {
2877
2901
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -3066,7 +3090,7 @@ declare const SysPermissionSet: Omit<{
3066
3090
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
3067
3091
  } | undefined;
3068
3092
  recordTypes?: string[] | undefined;
3069
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
3093
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
3070
3094
  publicSharing?: {
3071
3095
  enabled: boolean;
3072
3096
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -3169,6 +3193,11 @@ declare const SysPermissionSet: Omit<{
3169
3193
  role?: string | undefined;
3170
3194
  } | undefined;
3171
3195
  }[] | undefined;
3196
+ protection?: {
3197
+ lock: "full" | "none" | "no-overlay" | "no-delete";
3198
+ reason: string;
3199
+ docsUrl?: string | undefined;
3200
+ } | undefined;
3172
3201
  }, "fields"> & Pick<{
3173
3202
  readonly name: "sys_permission_set";
3174
3203
  readonly label: "Permission Set";
@@ -3176,6 +3205,11 @@ declare const SysPermissionSet: Omit<{
3176
3205
  readonly icon: "lock";
3177
3206
  readonly isSystem: true;
3178
3207
  readonly managedBy: "config";
3208
+ readonly protection: {
3209
+ readonly lock: "no-overlay";
3210
+ readonly reason: "RBAC schema is platform-defined — see ADR-0010.";
3211
+ readonly docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection";
3212
+ };
3179
3213
  readonly description: "Named permission groupings for fine-grained access control";
3180
3214
  readonly displayNameField: "label";
3181
3215
  readonly titleFormat: "{label}";
@@ -5641,6 +5675,13 @@ declare const SysUserPermissionSet: Omit<{
5641
5675
  caseSensitive?: boolean | undefined;
5642
5676
  autonumberFormat?: string | undefined;
5643
5677
  }>;
5678
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
5679
+ _lockReason?: string | undefined;
5680
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
5681
+ _provenance?: "package" | "env-forced" | "org" | undefined;
5682
+ _packageId?: string | undefined;
5683
+ _packageVersion?: string | undefined;
5684
+ _lockDocsUrl?: string | undefined;
5644
5685
  label?: string | undefined;
5645
5686
  pluralLabel?: string | undefined;
5646
5687
  description?: string | undefined;
@@ -5786,7 +5827,7 @@ declare const SysUserPermissionSet: Omit<{
5786
5827
  wrap?: boolean | undefined;
5787
5828
  type?: string | undefined;
5788
5829
  pinned?: "left" | "right" | undefined;
5789
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
5830
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
5790
5831
  link?: boolean | undefined;
5791
5832
  action?: string | undefined;
5792
5833
  }[];
@@ -5835,7 +5876,7 @@ declare const SysUserPermissionSet: Omit<{
5835
5876
  bordered?: boolean | undefined;
5836
5877
  compactToolbar?: boolean | undefined;
5837
5878
  selection?: {
5838
- type: "multiple" | "single" | "none";
5879
+ type: "none" | "multiple" | "single";
5839
5880
  } | undefined;
5840
5881
  navigation?: {
5841
5882
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -6030,7 +6071,7 @@ declare const SysUserPermissionSet: Omit<{
6030
6071
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
6031
6072
  } | undefined;
6032
6073
  recordTypes?: string[] | undefined;
6033
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
6074
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
6034
6075
  publicSharing?: {
6035
6076
  enabled: boolean;
6036
6077
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -6133,6 +6174,11 @@ declare const SysUserPermissionSet: Omit<{
6133
6174
  role?: string | undefined;
6134
6175
  } | undefined;
6135
6176
  }[] | undefined;
6177
+ protection?: {
6178
+ lock: "full" | "none" | "no-overlay" | "no-delete";
6179
+ reason: string;
6180
+ docsUrl?: string | undefined;
6181
+ } | undefined;
6136
6182
  }, "fields"> & Pick<{
6137
6183
  readonly name: "sys_user_permission_set";
6138
6184
  readonly label: "User Permission Set";
@@ -7598,6 +7644,13 @@ declare const SysRolePermissionSet: Omit<{
7598
7644
  caseSensitive?: boolean | undefined;
7599
7645
  autonumberFormat?: string | undefined;
7600
7646
  }>;
7647
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
7648
+ _lockReason?: string | undefined;
7649
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
7650
+ _provenance?: "package" | "env-forced" | "org" | undefined;
7651
+ _packageId?: string | undefined;
7652
+ _packageVersion?: string | undefined;
7653
+ _lockDocsUrl?: string | undefined;
7601
7654
  label?: string | undefined;
7602
7655
  pluralLabel?: string | undefined;
7603
7656
  description?: string | undefined;
@@ -7743,7 +7796,7 @@ declare const SysRolePermissionSet: Omit<{
7743
7796
  wrap?: boolean | undefined;
7744
7797
  type?: string | undefined;
7745
7798
  pinned?: "left" | "right" | undefined;
7746
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
7799
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
7747
7800
  link?: boolean | undefined;
7748
7801
  action?: string | undefined;
7749
7802
  }[];
@@ -7792,7 +7845,7 @@ declare const SysRolePermissionSet: Omit<{
7792
7845
  bordered?: boolean | undefined;
7793
7846
  compactToolbar?: boolean | undefined;
7794
7847
  selection?: {
7795
- type: "multiple" | "single" | "none";
7848
+ type: "none" | "multiple" | "single";
7796
7849
  } | undefined;
7797
7850
  navigation?: {
7798
7851
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -7987,7 +8040,7 @@ declare const SysRolePermissionSet: Omit<{
7987
8040
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
7988
8041
  } | undefined;
7989
8042
  recordTypes?: string[] | undefined;
7990
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
8043
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
7991
8044
  publicSharing?: {
7992
8045
  enabled: boolean;
7993
8046
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -8090,6 +8143,11 @@ declare const SysRolePermissionSet: Omit<{
8090
8143
  role?: string | undefined;
8091
8144
  } | undefined;
8092
8145
  }[] | undefined;
8146
+ protection?: {
8147
+ lock: "full" | "none" | "no-overlay" | "no-delete";
8148
+ reason: string;
8149
+ docsUrl?: string | undefined;
8150
+ } | undefined;
8093
8151
  }, "fields"> & Pick<{
8094
8152
  readonly name: "sys_role_permission_set";
8095
8153
  readonly label: "Role Permission Set";
@@ -9220,6 +9278,13 @@ declare const SysRecordShare: Omit<{
9220
9278
  caseSensitive?: boolean | undefined;
9221
9279
  autonumberFormat?: string | undefined;
9222
9280
  }>;
9281
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
9282
+ _lockReason?: string | undefined;
9283
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
9284
+ _provenance?: "package" | "env-forced" | "org" | undefined;
9285
+ _packageId?: string | undefined;
9286
+ _packageVersion?: string | undefined;
9287
+ _lockDocsUrl?: string | undefined;
9223
9288
  label?: string | undefined;
9224
9289
  pluralLabel?: string | undefined;
9225
9290
  description?: string | undefined;
@@ -9365,7 +9430,7 @@ declare const SysRecordShare: Omit<{
9365
9430
  wrap?: boolean | undefined;
9366
9431
  type?: string | undefined;
9367
9432
  pinned?: "left" | "right" | undefined;
9368
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
9433
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
9369
9434
  link?: boolean | undefined;
9370
9435
  action?: string | undefined;
9371
9436
  }[];
@@ -9414,7 +9479,7 @@ declare const SysRecordShare: Omit<{
9414
9479
  bordered?: boolean | undefined;
9415
9480
  compactToolbar?: boolean | undefined;
9416
9481
  selection?: {
9417
- type: "multiple" | "single" | "none";
9482
+ type: "none" | "multiple" | "single";
9418
9483
  } | undefined;
9419
9484
  navigation?: {
9420
9485
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -9609,7 +9674,7 @@ declare const SysRecordShare: Omit<{
9609
9674
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
9610
9675
  } | undefined;
9611
9676
  recordTypes?: string[] | undefined;
9612
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
9677
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
9613
9678
  publicSharing?: {
9614
9679
  enabled: boolean;
9615
9680
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -9712,6 +9777,11 @@ declare const SysRecordShare: Omit<{
9712
9777
  role?: string | undefined;
9713
9778
  } | undefined;
9714
9779
  }[] | undefined;
9780
+ protection?: {
9781
+ lock: "full" | "none" | "no-overlay" | "no-delete";
9782
+ reason: string;
9783
+ docsUrl?: string | undefined;
9784
+ } | undefined;
9715
9785
  }, "fields"> & Pick<{
9716
9786
  readonly name: "sys_record_share";
9717
9787
  readonly label: "Record Share";
@@ -12194,6 +12264,13 @@ declare const SysSharingRule: Omit<{
12194
12264
  caseSensitive?: boolean | undefined;
12195
12265
  autonumberFormat?: string | undefined;
12196
12266
  }>;
12267
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
12268
+ _lockReason?: string | undefined;
12269
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
12270
+ _provenance?: "package" | "env-forced" | "org" | undefined;
12271
+ _packageId?: string | undefined;
12272
+ _packageVersion?: string | undefined;
12273
+ _lockDocsUrl?: string | undefined;
12197
12274
  label?: string | undefined;
12198
12275
  pluralLabel?: string | undefined;
12199
12276
  description?: string | undefined;
@@ -12339,7 +12416,7 @@ declare const SysSharingRule: Omit<{
12339
12416
  wrap?: boolean | undefined;
12340
12417
  type?: string | undefined;
12341
12418
  pinned?: "left" | "right" | undefined;
12342
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
12419
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
12343
12420
  link?: boolean | undefined;
12344
12421
  action?: string | undefined;
12345
12422
  }[];
@@ -12388,7 +12465,7 @@ declare const SysSharingRule: Omit<{
12388
12465
  bordered?: boolean | undefined;
12389
12466
  compactToolbar?: boolean | undefined;
12390
12467
  selection?: {
12391
- type: "multiple" | "single" | "none";
12468
+ type: "none" | "multiple" | "single";
12392
12469
  } | undefined;
12393
12470
  navigation?: {
12394
12471
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -12583,7 +12660,7 @@ declare const SysSharingRule: Omit<{
12583
12660
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
12584
12661
  } | undefined;
12585
12662
  recordTypes?: string[] | undefined;
12586
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
12663
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
12587
12664
  publicSharing?: {
12588
12665
  enabled: boolean;
12589
12666
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -12686,6 +12763,11 @@ declare const SysSharingRule: Omit<{
12686
12763
  role?: string | undefined;
12687
12764
  } | undefined;
12688
12765
  }[] | undefined;
12766
+ protection?: {
12767
+ lock: "full" | "none" | "no-overlay" | "no-delete";
12768
+ reason: string;
12769
+ docsUrl?: string | undefined;
12770
+ } | undefined;
12689
12771
  }, "fields"> & Pick<{
12690
12772
  readonly name: "sys_sharing_rule";
12691
12773
  readonly label: "Sharing Rule";
@@ -15318,6 +15400,13 @@ declare const SysShareLink: Omit<{
15318
15400
  caseSensitive?: boolean | undefined;
15319
15401
  autonumberFormat?: string | undefined;
15320
15402
  }>;
15403
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
15404
+ _lockReason?: string | undefined;
15405
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
15406
+ _provenance?: "package" | "env-forced" | "org" | undefined;
15407
+ _packageId?: string | undefined;
15408
+ _packageVersion?: string | undefined;
15409
+ _lockDocsUrl?: string | undefined;
15321
15410
  label?: string | undefined;
15322
15411
  pluralLabel?: string | undefined;
15323
15412
  description?: string | undefined;
@@ -15463,7 +15552,7 @@ declare const SysShareLink: Omit<{
15463
15552
  wrap?: boolean | undefined;
15464
15553
  type?: string | undefined;
15465
15554
  pinned?: "left" | "right" | undefined;
15466
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
15555
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
15467
15556
  link?: boolean | undefined;
15468
15557
  action?: string | undefined;
15469
15558
  }[];
@@ -15512,7 +15601,7 @@ declare const SysShareLink: Omit<{
15512
15601
  bordered?: boolean | undefined;
15513
15602
  compactToolbar?: boolean | undefined;
15514
15603
  selection?: {
15515
- type: "multiple" | "single" | "none";
15604
+ type: "none" | "multiple" | "single";
15516
15605
  } | undefined;
15517
15606
  navigation?: {
15518
15607
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -15707,7 +15796,7 @@ declare const SysShareLink: Omit<{
15707
15796
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
15708
15797
  } | undefined;
15709
15798
  recordTypes?: string[] | undefined;
15710
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
15799
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
15711
15800
  publicSharing?: {
15712
15801
  enabled: boolean;
15713
15802
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -15810,6 +15899,11 @@ declare const SysShareLink: Omit<{
15810
15899
  role?: string | undefined;
15811
15900
  } | undefined;
15812
15901
  }[] | undefined;
15902
+ protection?: {
15903
+ lock: "full" | "none" | "no-overlay" | "no-delete";
15904
+ reason: string;
15905
+ docsUrl?: string | undefined;
15906
+ } | undefined;
15813
15907
  }, "fields"> & Pick<{
15814
15908
  readonly name: "sys_share_link";
15815
15909
  readonly label: "Share Link";