@objectstack/platform-objects 15.0.0 → 15.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.
@@ -283,8 +283,80 @@ declare const SysSetting: Omit<{
283
283
  userActions?: {
284
284
  create?: boolean | undefined;
285
285
  import?: boolean | undefined;
286
- edit?: boolean | undefined;
287
- delete?: boolean | undefined;
286
+ edit?: boolean | {
287
+ enabled?: boolean | undefined;
288
+ visibleWhen?: {
289
+ dialect: "cel" | "js" | "cron" | "template";
290
+ source?: string | undefined;
291
+ ast?: unknown;
292
+ meta?: {
293
+ rationale?: string | undefined;
294
+ generatedBy?: string | undefined;
295
+ } | undefined;
296
+ } | {
297
+ dialect: "cel" | "js" | "cron" | "template";
298
+ source?: string | undefined;
299
+ ast?: unknown;
300
+ meta?: {
301
+ rationale?: string | undefined;
302
+ generatedBy?: string | undefined;
303
+ } | undefined;
304
+ } | undefined;
305
+ disabledWhen?: {
306
+ dialect: "cel" | "js" | "cron" | "template";
307
+ source?: string | undefined;
308
+ ast?: unknown;
309
+ meta?: {
310
+ rationale?: string | undefined;
311
+ generatedBy?: string | undefined;
312
+ } | undefined;
313
+ } | {
314
+ dialect: "cel" | "js" | "cron" | "template";
315
+ source?: string | undefined;
316
+ ast?: unknown;
317
+ meta?: {
318
+ rationale?: string | undefined;
319
+ generatedBy?: string | undefined;
320
+ } | undefined;
321
+ } | undefined;
322
+ } | undefined;
323
+ delete?: boolean | {
324
+ enabled?: boolean | undefined;
325
+ visibleWhen?: {
326
+ dialect: "cel" | "js" | "cron" | "template";
327
+ source?: string | undefined;
328
+ ast?: unknown;
329
+ meta?: {
330
+ rationale?: string | undefined;
331
+ generatedBy?: string | undefined;
332
+ } | undefined;
333
+ } | {
334
+ dialect: "cel" | "js" | "cron" | "template";
335
+ source?: string | undefined;
336
+ ast?: unknown;
337
+ meta?: {
338
+ rationale?: string | undefined;
339
+ generatedBy?: string | undefined;
340
+ } | undefined;
341
+ } | undefined;
342
+ disabledWhen?: {
343
+ dialect: "cel" | "js" | "cron" | "template";
344
+ source?: string | undefined;
345
+ ast?: unknown;
346
+ meta?: {
347
+ rationale?: string | undefined;
348
+ generatedBy?: string | undefined;
349
+ } | undefined;
350
+ } | {
351
+ dialect: "cel" | "js" | "cron" | "template";
352
+ source?: string | undefined;
353
+ ast?: unknown;
354
+ meta?: {
355
+ rationale?: string | undefined;
356
+ generatedBy?: string | undefined;
357
+ } | undefined;
358
+ } | undefined;
359
+ } | undefined;
288
360
  exportCsv?: boolean | undefined;
289
361
  } | undefined;
290
362
  systemFields?: false | {
@@ -319,9 +391,7 @@ declare const SysSetting: Omit<{
319
391
  }[] | undefined;
320
392
  tenancy?: {
321
393
  enabled: boolean;
322
- strategy: "hybrid" | "shared" | "isolated";
323
394
  tenantField: string;
324
- crossTenantAccess: boolean;
325
395
  } | undefined;
326
396
  access?: {
327
397
  default: "public" | "private";
@@ -714,7 +784,7 @@ declare const SysSetting: Omit<{
714
784
  eligibility?: string | undefined;
715
785
  } | undefined;
716
786
  keyPrefix?: string | undefined;
717
- actions?: {
787
+ actions?: Omit<{
718
788
  name: string;
719
789
  label: string;
720
790
  type: "url" | "form" | "flow" | "api" | "script" | "modal";
@@ -736,7 +806,7 @@ declare const SysSetting: Omit<{
736
806
  memoryMb?: number | undefined;
737
807
  } | undefined;
738
808
  execute?: string | undefined;
739
- params?: {
809
+ params?: Omit<{
740
810
  required: boolean;
741
811
  name?: string | undefined;
742
812
  field?: string | undefined;
@@ -760,7 +830,8 @@ declare const SysSetting: Omit<{
760
830
  generatedBy?: string | undefined;
761
831
  } | undefined;
762
832
  } | undefined;
763
- }[] | undefined;
833
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
834
+ }, "requiresFeature">[] | undefined;
764
835
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
765
836
  order?: number | undefined;
766
837
  confirmText?: string | undefined;
@@ -787,6 +858,7 @@ declare const SysSetting: Omit<{
787
858
  generatedBy?: string | undefined;
788
859
  } | undefined;
789
860
  } | undefined;
861
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
790
862
  disabled?: boolean | {
791
863
  dialect: "cel" | "js" | "cron" | "template";
792
864
  source?: string | undefined;
@@ -827,7 +899,7 @@ declare const SysSetting: Omit<{
827
899
  ariaDescribedBy?: string | undefined;
828
900
  role?: string | undefined;
829
901
  } | undefined;
830
- }[] | undefined;
902
+ }, "requiresFeature">[] | undefined;
831
903
  protection?: {
832
904
  lock: "full" | "none" | "no-overlay" | "no-delete";
833
905
  reason: string;
@@ -3636,8 +3708,80 @@ declare const SysSecret: Omit<{
3636
3708
  userActions?: {
3637
3709
  create?: boolean | undefined;
3638
3710
  import?: boolean | undefined;
3639
- edit?: boolean | undefined;
3640
- delete?: boolean | undefined;
3711
+ edit?: boolean | {
3712
+ enabled?: boolean | undefined;
3713
+ visibleWhen?: {
3714
+ dialect: "cel" | "js" | "cron" | "template";
3715
+ source?: string | undefined;
3716
+ ast?: unknown;
3717
+ meta?: {
3718
+ rationale?: string | undefined;
3719
+ generatedBy?: string | undefined;
3720
+ } | undefined;
3721
+ } | {
3722
+ dialect: "cel" | "js" | "cron" | "template";
3723
+ source?: string | undefined;
3724
+ ast?: unknown;
3725
+ meta?: {
3726
+ rationale?: string | undefined;
3727
+ generatedBy?: string | undefined;
3728
+ } | undefined;
3729
+ } | undefined;
3730
+ disabledWhen?: {
3731
+ dialect: "cel" | "js" | "cron" | "template";
3732
+ source?: string | undefined;
3733
+ ast?: unknown;
3734
+ meta?: {
3735
+ rationale?: string | undefined;
3736
+ generatedBy?: string | undefined;
3737
+ } | undefined;
3738
+ } | {
3739
+ dialect: "cel" | "js" | "cron" | "template";
3740
+ source?: string | undefined;
3741
+ ast?: unknown;
3742
+ meta?: {
3743
+ rationale?: string | undefined;
3744
+ generatedBy?: string | undefined;
3745
+ } | undefined;
3746
+ } | undefined;
3747
+ } | undefined;
3748
+ delete?: boolean | {
3749
+ enabled?: boolean | undefined;
3750
+ visibleWhen?: {
3751
+ dialect: "cel" | "js" | "cron" | "template";
3752
+ source?: string | undefined;
3753
+ ast?: unknown;
3754
+ meta?: {
3755
+ rationale?: string | undefined;
3756
+ generatedBy?: string | undefined;
3757
+ } | undefined;
3758
+ } | {
3759
+ dialect: "cel" | "js" | "cron" | "template";
3760
+ source?: string | undefined;
3761
+ ast?: unknown;
3762
+ meta?: {
3763
+ rationale?: string | undefined;
3764
+ generatedBy?: string | undefined;
3765
+ } | undefined;
3766
+ } | undefined;
3767
+ disabledWhen?: {
3768
+ dialect: "cel" | "js" | "cron" | "template";
3769
+ source?: string | undefined;
3770
+ ast?: unknown;
3771
+ meta?: {
3772
+ rationale?: string | undefined;
3773
+ generatedBy?: string | undefined;
3774
+ } | undefined;
3775
+ } | {
3776
+ dialect: "cel" | "js" | "cron" | "template";
3777
+ source?: string | undefined;
3778
+ ast?: unknown;
3779
+ meta?: {
3780
+ rationale?: string | undefined;
3781
+ generatedBy?: string | undefined;
3782
+ } | undefined;
3783
+ } | undefined;
3784
+ } | undefined;
3641
3785
  exportCsv?: boolean | undefined;
3642
3786
  } | undefined;
3643
3787
  systemFields?: false | {
@@ -3672,9 +3816,7 @@ declare const SysSecret: Omit<{
3672
3816
  }[] | undefined;
3673
3817
  tenancy?: {
3674
3818
  enabled: boolean;
3675
- strategy: "hybrid" | "shared" | "isolated";
3676
3819
  tenantField: string;
3677
- crossTenantAccess: boolean;
3678
3820
  } | undefined;
3679
3821
  access?: {
3680
3822
  default: "public" | "private";
@@ -4067,7 +4209,7 @@ declare const SysSecret: Omit<{
4067
4209
  eligibility?: string | undefined;
4068
4210
  } | undefined;
4069
4211
  keyPrefix?: string | undefined;
4070
- actions?: {
4212
+ actions?: Omit<{
4071
4213
  name: string;
4072
4214
  label: string;
4073
4215
  type: "url" | "form" | "flow" | "api" | "script" | "modal";
@@ -4089,7 +4231,7 @@ declare const SysSecret: Omit<{
4089
4231
  memoryMb?: number | undefined;
4090
4232
  } | undefined;
4091
4233
  execute?: string | undefined;
4092
- params?: {
4234
+ params?: Omit<{
4093
4235
  required: boolean;
4094
4236
  name?: string | undefined;
4095
4237
  field?: string | undefined;
@@ -4113,7 +4255,8 @@ declare const SysSecret: Omit<{
4113
4255
  generatedBy?: string | undefined;
4114
4256
  } | undefined;
4115
4257
  } | undefined;
4116
- }[] | undefined;
4258
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
4259
+ }, "requiresFeature">[] | undefined;
4117
4260
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
4118
4261
  order?: number | undefined;
4119
4262
  confirmText?: string | undefined;
@@ -4140,6 +4283,7 @@ declare const SysSecret: Omit<{
4140
4283
  generatedBy?: string | undefined;
4141
4284
  } | undefined;
4142
4285
  } | undefined;
4286
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
4143
4287
  disabled?: boolean | {
4144
4288
  dialect: "cel" | "js" | "cron" | "template";
4145
4289
  source?: string | undefined;
@@ -4180,7 +4324,7 @@ declare const SysSecret: Omit<{
4180
4324
  ariaDescribedBy?: string | undefined;
4181
4325
  role?: string | undefined;
4182
4326
  } | undefined;
4183
- }[] | undefined;
4327
+ }, "requiresFeature">[] | undefined;
4184
4328
  protection?: {
4185
4329
  lock: "full" | "none" | "no-overlay" | "no-delete";
4186
4330
  reason: string;
@@ -6164,8 +6308,80 @@ declare const SysSettingAudit: Omit<{
6164
6308
  userActions?: {
6165
6309
  create?: boolean | undefined;
6166
6310
  import?: boolean | undefined;
6167
- edit?: boolean | undefined;
6168
- delete?: boolean | undefined;
6311
+ edit?: boolean | {
6312
+ enabled?: boolean | undefined;
6313
+ visibleWhen?: {
6314
+ dialect: "cel" | "js" | "cron" | "template";
6315
+ source?: string | undefined;
6316
+ ast?: unknown;
6317
+ meta?: {
6318
+ rationale?: string | undefined;
6319
+ generatedBy?: string | undefined;
6320
+ } | undefined;
6321
+ } | {
6322
+ dialect: "cel" | "js" | "cron" | "template";
6323
+ source?: string | undefined;
6324
+ ast?: unknown;
6325
+ meta?: {
6326
+ rationale?: string | undefined;
6327
+ generatedBy?: string | undefined;
6328
+ } | undefined;
6329
+ } | undefined;
6330
+ disabledWhen?: {
6331
+ dialect: "cel" | "js" | "cron" | "template";
6332
+ source?: string | undefined;
6333
+ ast?: unknown;
6334
+ meta?: {
6335
+ rationale?: string | undefined;
6336
+ generatedBy?: string | undefined;
6337
+ } | undefined;
6338
+ } | {
6339
+ dialect: "cel" | "js" | "cron" | "template";
6340
+ source?: string | undefined;
6341
+ ast?: unknown;
6342
+ meta?: {
6343
+ rationale?: string | undefined;
6344
+ generatedBy?: string | undefined;
6345
+ } | undefined;
6346
+ } | undefined;
6347
+ } | undefined;
6348
+ delete?: boolean | {
6349
+ enabled?: boolean | undefined;
6350
+ visibleWhen?: {
6351
+ dialect: "cel" | "js" | "cron" | "template";
6352
+ source?: string | undefined;
6353
+ ast?: unknown;
6354
+ meta?: {
6355
+ rationale?: string | undefined;
6356
+ generatedBy?: string | undefined;
6357
+ } | undefined;
6358
+ } | {
6359
+ dialect: "cel" | "js" | "cron" | "template";
6360
+ source?: string | undefined;
6361
+ ast?: unknown;
6362
+ meta?: {
6363
+ rationale?: string | undefined;
6364
+ generatedBy?: string | undefined;
6365
+ } | undefined;
6366
+ } | undefined;
6367
+ disabledWhen?: {
6368
+ dialect: "cel" | "js" | "cron" | "template";
6369
+ source?: string | undefined;
6370
+ ast?: unknown;
6371
+ meta?: {
6372
+ rationale?: string | undefined;
6373
+ generatedBy?: string | undefined;
6374
+ } | undefined;
6375
+ } | {
6376
+ dialect: "cel" | "js" | "cron" | "template";
6377
+ source?: string | undefined;
6378
+ ast?: unknown;
6379
+ meta?: {
6380
+ rationale?: string | undefined;
6381
+ generatedBy?: string | undefined;
6382
+ } | undefined;
6383
+ } | undefined;
6384
+ } | undefined;
6169
6385
  exportCsv?: boolean | undefined;
6170
6386
  } | undefined;
6171
6387
  systemFields?: false | {
@@ -6200,9 +6416,7 @@ declare const SysSettingAudit: Omit<{
6200
6416
  }[] | undefined;
6201
6417
  tenancy?: {
6202
6418
  enabled: boolean;
6203
- strategy: "hybrid" | "shared" | "isolated";
6204
6419
  tenantField: string;
6205
- crossTenantAccess: boolean;
6206
6420
  } | undefined;
6207
6421
  access?: {
6208
6422
  default: "public" | "private";
@@ -6595,7 +6809,7 @@ declare const SysSettingAudit: Omit<{
6595
6809
  eligibility?: string | undefined;
6596
6810
  } | undefined;
6597
6811
  keyPrefix?: string | undefined;
6598
- actions?: {
6812
+ actions?: Omit<{
6599
6813
  name: string;
6600
6814
  label: string;
6601
6815
  type: "url" | "form" | "flow" | "api" | "script" | "modal";
@@ -6617,7 +6831,7 @@ declare const SysSettingAudit: Omit<{
6617
6831
  memoryMb?: number | undefined;
6618
6832
  } | undefined;
6619
6833
  execute?: string | undefined;
6620
- params?: {
6834
+ params?: Omit<{
6621
6835
  required: boolean;
6622
6836
  name?: string | undefined;
6623
6837
  field?: string | undefined;
@@ -6641,7 +6855,8 @@ declare const SysSettingAudit: Omit<{
6641
6855
  generatedBy?: string | undefined;
6642
6856
  } | undefined;
6643
6857
  } | undefined;
6644
- }[] | undefined;
6858
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
6859
+ }, "requiresFeature">[] | undefined;
6645
6860
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
6646
6861
  order?: number | undefined;
6647
6862
  confirmText?: string | undefined;
@@ -6668,6 +6883,7 @@ declare const SysSettingAudit: Omit<{
6668
6883
  generatedBy?: string | undefined;
6669
6884
  } | undefined;
6670
6885
  } | undefined;
6886
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
6671
6887
  disabled?: boolean | {
6672
6888
  dialect: "cel" | "js" | "cron" | "template";
6673
6889
  source?: string | undefined;
@@ -6708,7 +6924,7 @@ declare const SysSettingAudit: Omit<{
6708
6924
  ariaDescribedBy?: string | undefined;
6709
6925
  role?: string | undefined;
6710
6926
  } | undefined;
6711
- }[] | undefined;
6927
+ }, "requiresFeature">[] | undefined;
6712
6928
  protection?: {
6713
6929
  lock: "full" | "none" | "no-overlay" | "no-delete";
6714
6930
  reason: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/platform-objects",
3
- "version": "15.0.0",
3
+ "version": "15.1.1",
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/metadata-core": "15.0.0",
67
- "@objectstack/spec": "15.0.0"
66
+ "@objectstack/metadata-core": "15.1.1",
67
+ "@objectstack/spec": "15.1.1"
68
68
  },
69
69
  "devDependencies": {
70
70
  "@types/node": "^26.1.1",