@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.
@@ -210,6 +210,13 @@ declare const SysUser: Omit<{
210
210
  caseSensitive?: boolean | undefined;
211
211
  autonumberFormat?: string | undefined;
212
212
  }>;
213
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
214
+ _lockReason?: string | undefined;
215
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
216
+ _provenance?: "package" | "env-forced" | "org" | undefined;
217
+ _packageId?: string | undefined;
218
+ _packageVersion?: string | undefined;
219
+ _lockDocsUrl?: string | undefined;
213
220
  label?: string | undefined;
214
221
  pluralLabel?: string | undefined;
215
222
  description?: string | undefined;
@@ -355,7 +362,7 @@ declare const SysUser: Omit<{
355
362
  wrap?: boolean | undefined;
356
363
  type?: string | undefined;
357
364
  pinned?: "left" | "right" | undefined;
358
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
365
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
359
366
  link?: boolean | undefined;
360
367
  action?: string | undefined;
361
368
  }[];
@@ -404,7 +411,7 @@ declare const SysUser: Omit<{
404
411
  bordered?: boolean | undefined;
405
412
  compactToolbar?: boolean | undefined;
406
413
  selection?: {
407
- type: "multiple" | "single" | "none";
414
+ type: "none" | "multiple" | "single";
408
415
  } | undefined;
409
416
  navigation?: {
410
417
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -599,7 +606,7 @@ declare const SysUser: Omit<{
599
606
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
600
607
  } | undefined;
601
608
  recordTypes?: string[] | undefined;
602
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
609
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
603
610
  publicSharing?: {
604
611
  enabled: boolean;
605
612
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -702,6 +709,11 @@ declare const SysUser: Omit<{
702
709
  role?: string | undefined;
703
710
  } | undefined;
704
711
  }[] | undefined;
712
+ protection?: {
713
+ lock: "full" | "none" | "no-overlay" | "no-delete";
714
+ reason: string;
715
+ docsUrl?: string | undefined;
716
+ } | undefined;
705
717
  }, "fields"> & Pick<{
706
718
  readonly name: "sys_user";
707
719
  readonly label: "User";
@@ -709,6 +721,11 @@ declare const SysUser: Omit<{
709
721
  readonly icon: "user";
710
722
  readonly isSystem: true;
711
723
  readonly managedBy: "better-auth";
724
+ readonly protection: {
725
+ readonly lock: "full";
726
+ readonly reason: "Identity table managed by better-auth — see ADR-0010.";
727
+ readonly docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection";
728
+ };
712
729
  readonly description: "User accounts for authentication";
713
730
  readonly displayNameField: "name";
714
731
  readonly titleFormat: "{name}";
@@ -3400,6 +3417,13 @@ declare const SysSession: Omit<{
3400
3417
  caseSensitive?: boolean | undefined;
3401
3418
  autonumberFormat?: string | undefined;
3402
3419
  }>;
3420
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
3421
+ _lockReason?: string | undefined;
3422
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
3423
+ _provenance?: "package" | "env-forced" | "org" | undefined;
3424
+ _packageId?: string | undefined;
3425
+ _packageVersion?: string | undefined;
3426
+ _lockDocsUrl?: string | undefined;
3403
3427
  label?: string | undefined;
3404
3428
  pluralLabel?: string | undefined;
3405
3429
  description?: string | undefined;
@@ -3545,7 +3569,7 @@ declare const SysSession: Omit<{
3545
3569
  wrap?: boolean | undefined;
3546
3570
  type?: string | undefined;
3547
3571
  pinned?: "left" | "right" | undefined;
3548
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
3572
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
3549
3573
  link?: boolean | undefined;
3550
3574
  action?: string | undefined;
3551
3575
  }[];
@@ -3594,7 +3618,7 @@ declare const SysSession: Omit<{
3594
3618
  bordered?: boolean | undefined;
3595
3619
  compactToolbar?: boolean | undefined;
3596
3620
  selection?: {
3597
- type: "multiple" | "single" | "none";
3621
+ type: "none" | "multiple" | "single";
3598
3622
  } | undefined;
3599
3623
  navigation?: {
3600
3624
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -3789,7 +3813,7 @@ declare const SysSession: Omit<{
3789
3813
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
3790
3814
  } | undefined;
3791
3815
  recordTypes?: string[] | undefined;
3792
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
3816
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
3793
3817
  publicSharing?: {
3794
3818
  enabled: boolean;
3795
3819
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -3892,6 +3916,11 @@ declare const SysSession: Omit<{
3892
3916
  role?: string | undefined;
3893
3917
  } | undefined;
3894
3918
  }[] | undefined;
3919
+ protection?: {
3920
+ lock: "full" | "none" | "no-overlay" | "no-delete";
3921
+ reason: string;
3922
+ docsUrl?: string | undefined;
3923
+ } | undefined;
3895
3924
  }, "fields"> & Pick<{
3896
3925
  readonly name: "sys_session";
3897
3926
  readonly label: "Session";
@@ -3899,6 +3928,11 @@ declare const SysSession: Omit<{
3899
3928
  readonly icon: "key";
3900
3929
  readonly isSystem: true;
3901
3930
  readonly managedBy: "better-auth";
3931
+ readonly protection: {
3932
+ readonly lock: "full";
3933
+ readonly reason: "Identity table managed by better-auth — see ADR-0010.";
3934
+ readonly docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection";
3935
+ };
3902
3936
  readonly description: "Active user sessions";
3903
3937
  readonly displayNameField: "user_id";
3904
3938
  readonly titleFormat: "Session — {user_id}";
@@ -6123,6 +6157,13 @@ declare const SysAccount: Omit<{
6123
6157
  caseSensitive?: boolean | undefined;
6124
6158
  autonumberFormat?: string | undefined;
6125
6159
  }>;
6160
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
6161
+ _lockReason?: string | undefined;
6162
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
6163
+ _provenance?: "package" | "env-forced" | "org" | undefined;
6164
+ _packageId?: string | undefined;
6165
+ _packageVersion?: string | undefined;
6166
+ _lockDocsUrl?: string | undefined;
6126
6167
  label?: string | undefined;
6127
6168
  pluralLabel?: string | undefined;
6128
6169
  description?: string | undefined;
@@ -6268,7 +6309,7 @@ declare const SysAccount: Omit<{
6268
6309
  wrap?: boolean | undefined;
6269
6310
  type?: string | undefined;
6270
6311
  pinned?: "left" | "right" | undefined;
6271
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
6312
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
6272
6313
  link?: boolean | undefined;
6273
6314
  action?: string | undefined;
6274
6315
  }[];
@@ -6317,7 +6358,7 @@ declare const SysAccount: Omit<{
6317
6358
  bordered?: boolean | undefined;
6318
6359
  compactToolbar?: boolean | undefined;
6319
6360
  selection?: {
6320
- type: "multiple" | "single" | "none";
6361
+ type: "none" | "multiple" | "single";
6321
6362
  } | undefined;
6322
6363
  navigation?: {
6323
6364
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -6512,7 +6553,7 @@ declare const SysAccount: Omit<{
6512
6553
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
6513
6554
  } | undefined;
6514
6555
  recordTypes?: string[] | undefined;
6515
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
6556
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
6516
6557
  publicSharing?: {
6517
6558
  enabled: boolean;
6518
6559
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -6615,6 +6656,11 @@ declare const SysAccount: Omit<{
6615
6656
  role?: string | undefined;
6616
6657
  } | undefined;
6617
6658
  }[] | undefined;
6659
+ protection?: {
6660
+ lock: "full" | "none" | "no-overlay" | "no-delete";
6661
+ reason: string;
6662
+ docsUrl?: string | undefined;
6663
+ } | undefined;
6618
6664
  }, "fields"> & Pick<{
6619
6665
  readonly name: "sys_account";
6620
6666
  readonly label: "Account";
@@ -6622,6 +6668,11 @@ declare const SysAccount: Omit<{
6622
6668
  readonly icon: "link";
6623
6669
  readonly isSystem: true;
6624
6670
  readonly managedBy: "better-auth";
6671
+ readonly protection: {
6672
+ readonly lock: "full";
6673
+ readonly reason: "Identity table managed by better-auth — see ADR-0010.";
6674
+ readonly docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection";
6675
+ };
6625
6676
  readonly description: "OAuth and authentication provider accounts";
6626
6677
  readonly titleFormat: "{provider_id} - {account_id}";
6627
6678
  readonly compactLayout: ["provider_id", "user_id", "account_id"];
@@ -6633,7 +6684,7 @@ declare const SysAccount: Omit<{
6633
6684
  readonly mode: "create";
6634
6685
  readonly locations: ["list_toolbar"];
6635
6686
  readonly type: "url";
6636
- readonly target: "/api/v1/auth/sign-in/social?provider=${param.provider}&callbackURL=${ctx.origin}/apps/account/sys_account";
6687
+ readonly target: "/api/v1/auth/sign-in/social?provider=${param.provider}&callbackURL=${ctx.origin}/_console/apps/account/sys_account";
6637
6688
  readonly params: [{
6638
6689
  readonly name: "provider";
6639
6690
  readonly label: "Provider";
@@ -9253,6 +9304,13 @@ declare const SysVerification: Omit<{
9253
9304
  caseSensitive?: boolean | undefined;
9254
9305
  autonumberFormat?: string | undefined;
9255
9306
  }>;
9307
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
9308
+ _lockReason?: string | undefined;
9309
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
9310
+ _provenance?: "package" | "env-forced" | "org" | undefined;
9311
+ _packageId?: string | undefined;
9312
+ _packageVersion?: string | undefined;
9313
+ _lockDocsUrl?: string | undefined;
9256
9314
  label?: string | undefined;
9257
9315
  pluralLabel?: string | undefined;
9258
9316
  description?: string | undefined;
@@ -9398,7 +9456,7 @@ declare const SysVerification: Omit<{
9398
9456
  wrap?: boolean | undefined;
9399
9457
  type?: string | undefined;
9400
9458
  pinned?: "left" | "right" | undefined;
9401
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
9459
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
9402
9460
  link?: boolean | undefined;
9403
9461
  action?: string | undefined;
9404
9462
  }[];
@@ -9447,7 +9505,7 @@ declare const SysVerification: Omit<{
9447
9505
  bordered?: boolean | undefined;
9448
9506
  compactToolbar?: boolean | undefined;
9449
9507
  selection?: {
9450
- type: "multiple" | "single" | "none";
9508
+ type: "none" | "multiple" | "single";
9451
9509
  } | undefined;
9452
9510
  navigation?: {
9453
9511
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -9642,7 +9700,7 @@ declare const SysVerification: Omit<{
9642
9700
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
9643
9701
  } | undefined;
9644
9702
  recordTypes?: string[] | undefined;
9645
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
9703
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
9646
9704
  publicSharing?: {
9647
9705
  enabled: boolean;
9648
9706
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -9745,6 +9803,11 @@ declare const SysVerification: Omit<{
9745
9803
  role?: string | undefined;
9746
9804
  } | undefined;
9747
9805
  }[] | undefined;
9806
+ protection?: {
9807
+ lock: "full" | "none" | "no-overlay" | "no-delete";
9808
+ reason: string;
9809
+ docsUrl?: string | undefined;
9810
+ } | undefined;
9748
9811
  }, "fields"> & Pick<{
9749
9812
  readonly name: "sys_verification";
9750
9813
  readonly label: "Verification";
@@ -9752,6 +9815,11 @@ declare const SysVerification: Omit<{
9752
9815
  readonly icon: "shield-check";
9753
9816
  readonly isSystem: true;
9754
9817
  readonly managedBy: "better-auth";
9818
+ readonly protection: {
9819
+ readonly lock: "full";
9820
+ readonly reason: "Identity table managed by better-auth — see ADR-0010.";
9821
+ readonly docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection";
9822
+ };
9755
9823
  readonly description: "Email and phone verification tokens";
9756
9824
  readonly titleFormat: "Verification for {identifier}";
9757
9825
  readonly compactLayout: ["identifier", "expires_at", "created_at"];
@@ -11032,6 +11100,13 @@ declare const SysOrganization: Omit<{
11032
11100
  caseSensitive?: boolean | undefined;
11033
11101
  autonumberFormat?: string | undefined;
11034
11102
  }>;
11103
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
11104
+ _lockReason?: string | undefined;
11105
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
11106
+ _provenance?: "package" | "env-forced" | "org" | undefined;
11107
+ _packageId?: string | undefined;
11108
+ _packageVersion?: string | undefined;
11109
+ _lockDocsUrl?: string | undefined;
11035
11110
  label?: string | undefined;
11036
11111
  pluralLabel?: string | undefined;
11037
11112
  description?: string | undefined;
@@ -11177,7 +11252,7 @@ declare const SysOrganization: Omit<{
11177
11252
  wrap?: boolean | undefined;
11178
11253
  type?: string | undefined;
11179
11254
  pinned?: "left" | "right" | undefined;
11180
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
11255
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
11181
11256
  link?: boolean | undefined;
11182
11257
  action?: string | undefined;
11183
11258
  }[];
@@ -11226,7 +11301,7 @@ declare const SysOrganization: Omit<{
11226
11301
  bordered?: boolean | undefined;
11227
11302
  compactToolbar?: boolean | undefined;
11228
11303
  selection?: {
11229
- type: "multiple" | "single" | "none";
11304
+ type: "none" | "multiple" | "single";
11230
11305
  } | undefined;
11231
11306
  navigation?: {
11232
11307
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -11421,7 +11496,7 @@ declare const SysOrganization: Omit<{
11421
11496
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
11422
11497
  } | undefined;
11423
11498
  recordTypes?: string[] | undefined;
11424
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
11499
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
11425
11500
  publicSharing?: {
11426
11501
  enabled: boolean;
11427
11502
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -11524,6 +11599,11 @@ declare const SysOrganization: Omit<{
11524
11599
  role?: string | undefined;
11525
11600
  } | undefined;
11526
11601
  }[] | undefined;
11602
+ protection?: {
11603
+ lock: "full" | "none" | "no-overlay" | "no-delete";
11604
+ reason: string;
11605
+ docsUrl?: string | undefined;
11606
+ } | undefined;
11527
11607
  }, "fields"> & Pick<{
11528
11608
  readonly name: "sys_organization";
11529
11609
  readonly label: "Organization";
@@ -11531,6 +11611,11 @@ declare const SysOrganization: Omit<{
11531
11611
  readonly icon: "building-2";
11532
11612
  readonly isSystem: true;
11533
11613
  readonly managedBy: "better-auth";
11614
+ readonly protection: {
11615
+ readonly lock: "full";
11616
+ readonly reason: "Identity table managed by better-auth — see ADR-0010.";
11617
+ readonly docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection";
11618
+ };
11534
11619
  readonly description: "Organizations for multi-tenant grouping";
11535
11620
  readonly displayNameField: "name";
11536
11621
  readonly titleFormat: "{name}";
@@ -13105,6 +13190,13 @@ declare const SysMember: Omit<{
13105
13190
  caseSensitive?: boolean | undefined;
13106
13191
  autonumberFormat?: string | undefined;
13107
13192
  }>;
13193
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
13194
+ _lockReason?: string | undefined;
13195
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
13196
+ _provenance?: "package" | "env-forced" | "org" | undefined;
13197
+ _packageId?: string | undefined;
13198
+ _packageVersion?: string | undefined;
13199
+ _lockDocsUrl?: string | undefined;
13108
13200
  label?: string | undefined;
13109
13201
  pluralLabel?: string | undefined;
13110
13202
  description?: string | undefined;
@@ -13250,7 +13342,7 @@ declare const SysMember: Omit<{
13250
13342
  wrap?: boolean | undefined;
13251
13343
  type?: string | undefined;
13252
13344
  pinned?: "left" | "right" | undefined;
13253
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
13345
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
13254
13346
  link?: boolean | undefined;
13255
13347
  action?: string | undefined;
13256
13348
  }[];
@@ -13299,7 +13391,7 @@ declare const SysMember: Omit<{
13299
13391
  bordered?: boolean | undefined;
13300
13392
  compactToolbar?: boolean | undefined;
13301
13393
  selection?: {
13302
- type: "multiple" | "single" | "none";
13394
+ type: "none" | "multiple" | "single";
13303
13395
  } | undefined;
13304
13396
  navigation?: {
13305
13397
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -13494,7 +13586,7 @@ declare const SysMember: Omit<{
13494
13586
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
13495
13587
  } | undefined;
13496
13588
  recordTypes?: string[] | undefined;
13497
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
13589
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
13498
13590
  publicSharing?: {
13499
13591
  enabled: boolean;
13500
13592
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -13597,6 +13689,11 @@ declare const SysMember: Omit<{
13597
13689
  role?: string | undefined;
13598
13690
  } | undefined;
13599
13691
  }[] | undefined;
13692
+ protection?: {
13693
+ lock: "full" | "none" | "no-overlay" | "no-delete";
13694
+ reason: string;
13695
+ docsUrl?: string | undefined;
13696
+ } | undefined;
13600
13697
  }, "fields"> & Pick<{
13601
13698
  readonly name: "sys_member";
13602
13699
  readonly label: "Member";
@@ -13604,6 +13701,11 @@ declare const SysMember: Omit<{
13604
13701
  readonly icon: "user-check";
13605
13702
  readonly isSystem: true;
13606
13703
  readonly managedBy: "better-auth";
13704
+ readonly protection: {
13705
+ readonly lock: "full";
13706
+ readonly reason: "Identity table managed by better-auth — see ADR-0010.";
13707
+ readonly docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection";
13708
+ };
13607
13709
  readonly description: "Organization membership records";
13608
13710
  readonly titleFormat: "{user_id} in {organization_id}";
13609
13711
  readonly compactLayout: ["user_id", "organization_id", "role"];
@@ -14801,6 +14903,13 @@ declare const SysInvitation: Omit<{
14801
14903
  caseSensitive?: boolean | undefined;
14802
14904
  autonumberFormat?: string | undefined;
14803
14905
  }>;
14906
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
14907
+ _lockReason?: string | undefined;
14908
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
14909
+ _provenance?: "package" | "env-forced" | "org" | undefined;
14910
+ _packageId?: string | undefined;
14911
+ _packageVersion?: string | undefined;
14912
+ _lockDocsUrl?: string | undefined;
14804
14913
  label?: string | undefined;
14805
14914
  pluralLabel?: string | undefined;
14806
14915
  description?: string | undefined;
@@ -14946,7 +15055,7 @@ declare const SysInvitation: Omit<{
14946
15055
  wrap?: boolean | undefined;
14947
15056
  type?: string | undefined;
14948
15057
  pinned?: "left" | "right" | undefined;
14949
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
15058
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
14950
15059
  link?: boolean | undefined;
14951
15060
  action?: string | undefined;
14952
15061
  }[];
@@ -14995,7 +15104,7 @@ declare const SysInvitation: Omit<{
14995
15104
  bordered?: boolean | undefined;
14996
15105
  compactToolbar?: boolean | undefined;
14997
15106
  selection?: {
14998
- type: "multiple" | "single" | "none";
15107
+ type: "none" | "multiple" | "single";
14999
15108
  } | undefined;
15000
15109
  navigation?: {
15001
15110
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -15190,7 +15299,7 @@ declare const SysInvitation: Omit<{
15190
15299
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
15191
15300
  } | undefined;
15192
15301
  recordTypes?: string[] | undefined;
15193
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
15302
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
15194
15303
  publicSharing?: {
15195
15304
  enabled: boolean;
15196
15305
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -15293,6 +15402,11 @@ declare const SysInvitation: Omit<{
15293
15402
  role?: string | undefined;
15294
15403
  } | undefined;
15295
15404
  }[] | undefined;
15405
+ protection?: {
15406
+ lock: "full" | "none" | "no-overlay" | "no-delete";
15407
+ reason: string;
15408
+ docsUrl?: string | undefined;
15409
+ } | undefined;
15296
15410
  }, "fields"> & Pick<{
15297
15411
  readonly name: "sys_invitation";
15298
15412
  readonly label: "Invitation";
@@ -15300,6 +15414,11 @@ declare const SysInvitation: Omit<{
15300
15414
  readonly icon: "mail";
15301
15415
  readonly isSystem: true;
15302
15416
  readonly managedBy: "better-auth";
15417
+ readonly protection: {
15418
+ readonly lock: "full";
15419
+ readonly reason: "Identity table managed by better-auth — see ADR-0010.";
15420
+ readonly docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection";
15421
+ };
15303
15422
  readonly description: "Organization invitations for user onboarding";
15304
15423
  readonly titleFormat: "Invitation to {organization_id}";
15305
15424
  readonly compactLayout: ["email", "organization_id", "status"];
@@ -17265,6 +17384,13 @@ declare const SysTeam: Omit<{
17265
17384
  caseSensitive?: boolean | undefined;
17266
17385
  autonumberFormat?: string | undefined;
17267
17386
  }>;
17387
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
17388
+ _lockReason?: string | undefined;
17389
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
17390
+ _provenance?: "package" | "env-forced" | "org" | undefined;
17391
+ _packageId?: string | undefined;
17392
+ _packageVersion?: string | undefined;
17393
+ _lockDocsUrl?: string | undefined;
17268
17394
  label?: string | undefined;
17269
17395
  pluralLabel?: string | undefined;
17270
17396
  description?: string | undefined;
@@ -17410,7 +17536,7 @@ declare const SysTeam: Omit<{
17410
17536
  wrap?: boolean | undefined;
17411
17537
  type?: string | undefined;
17412
17538
  pinned?: "left" | "right" | undefined;
17413
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
17539
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
17414
17540
  link?: boolean | undefined;
17415
17541
  action?: string | undefined;
17416
17542
  }[];
@@ -17459,7 +17585,7 @@ declare const SysTeam: Omit<{
17459
17585
  bordered?: boolean | undefined;
17460
17586
  compactToolbar?: boolean | undefined;
17461
17587
  selection?: {
17462
- type: "multiple" | "single" | "none";
17588
+ type: "none" | "multiple" | "single";
17463
17589
  } | undefined;
17464
17590
  navigation?: {
17465
17591
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -17654,7 +17780,7 @@ declare const SysTeam: Omit<{
17654
17780
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
17655
17781
  } | undefined;
17656
17782
  recordTypes?: string[] | undefined;
17657
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
17783
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
17658
17784
  publicSharing?: {
17659
17785
  enabled: boolean;
17660
17786
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -17757,6 +17883,11 @@ declare const SysTeam: Omit<{
17757
17883
  role?: string | undefined;
17758
17884
  } | undefined;
17759
17885
  }[] | undefined;
17886
+ protection?: {
17887
+ lock: "full" | "none" | "no-overlay" | "no-delete";
17888
+ reason: string;
17889
+ docsUrl?: string | undefined;
17890
+ } | undefined;
17760
17891
  }, "fields"> & Pick<{
17761
17892
  readonly name: "sys_team";
17762
17893
  readonly label: "Team";
@@ -17764,6 +17895,11 @@ declare const SysTeam: Omit<{
17764
17895
  readonly icon: "users";
17765
17896
  readonly isSystem: true;
17766
17897
  readonly managedBy: "better-auth";
17898
+ readonly protection: {
17899
+ readonly lock: "full";
17900
+ readonly reason: "Identity table managed by better-auth — see ADR-0010.";
17901
+ readonly docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection";
17902
+ };
17767
17903
  readonly description: "Teams within organizations for fine-grained grouping";
17768
17904
  readonly displayNameField: "name";
17769
17905
  readonly titleFormat: "{name}";
@@ -18962,6 +19098,13 @@ declare const SysTeamMember: Omit<{
18962
19098
  caseSensitive?: boolean | undefined;
18963
19099
  autonumberFormat?: string | undefined;
18964
19100
  }>;
19101
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
19102
+ _lockReason?: string | undefined;
19103
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
19104
+ _provenance?: "package" | "env-forced" | "org" | undefined;
19105
+ _packageId?: string | undefined;
19106
+ _packageVersion?: string | undefined;
19107
+ _lockDocsUrl?: string | undefined;
18965
19108
  label?: string | undefined;
18966
19109
  pluralLabel?: string | undefined;
18967
19110
  description?: string | undefined;
@@ -19107,7 +19250,7 @@ declare const SysTeamMember: Omit<{
19107
19250
  wrap?: boolean | undefined;
19108
19251
  type?: string | undefined;
19109
19252
  pinned?: "left" | "right" | undefined;
19110
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
19253
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
19111
19254
  link?: boolean | undefined;
19112
19255
  action?: string | undefined;
19113
19256
  }[];
@@ -19156,7 +19299,7 @@ declare const SysTeamMember: Omit<{
19156
19299
  bordered?: boolean | undefined;
19157
19300
  compactToolbar?: boolean | undefined;
19158
19301
  selection?: {
19159
- type: "multiple" | "single" | "none";
19302
+ type: "none" | "multiple" | "single";
19160
19303
  } | undefined;
19161
19304
  navigation?: {
19162
19305
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -19351,7 +19494,7 @@ declare const SysTeamMember: Omit<{
19351
19494
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
19352
19495
  } | undefined;
19353
19496
  recordTypes?: string[] | undefined;
19354
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
19497
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
19355
19498
  publicSharing?: {
19356
19499
  enabled: boolean;
19357
19500
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -19454,6 +19597,11 @@ declare const SysTeamMember: Omit<{
19454
19597
  role?: string | undefined;
19455
19598
  } | undefined;
19456
19599
  }[] | undefined;
19600
+ protection?: {
19601
+ lock: "full" | "none" | "no-overlay" | "no-delete";
19602
+ reason: string;
19603
+ docsUrl?: string | undefined;
19604
+ } | undefined;
19457
19605
  }, "fields"> & Pick<{
19458
19606
  readonly name: "sys_team_member";
19459
19607
  readonly label: "Team Member";
@@ -19461,6 +19609,11 @@ declare const SysTeamMember: Omit<{
19461
19609
  readonly icon: "user-plus";
19462
19610
  readonly isSystem: true;
19463
19611
  readonly managedBy: "better-auth";
19612
+ readonly protection: {
19613
+ readonly lock: "full";
19614
+ readonly reason: "Identity table managed by better-auth — see ADR-0010.";
19615
+ readonly docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection";
19616
+ };
19464
19617
  readonly description: "Team membership records linking users to teams";
19465
19618
  readonly titleFormat: "{user_id} in {team_id}";
19466
19619
  readonly compactLayout: ["user_id", "team_id", "created_at"];
@@ -20440,6 +20593,13 @@ declare const SysDepartment: Omit<{
20440
20593
  caseSensitive?: boolean | undefined;
20441
20594
  autonumberFormat?: string | undefined;
20442
20595
  }>;
20596
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
20597
+ _lockReason?: string | undefined;
20598
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
20599
+ _provenance?: "package" | "env-forced" | "org" | undefined;
20600
+ _packageId?: string | undefined;
20601
+ _packageVersion?: string | undefined;
20602
+ _lockDocsUrl?: string | undefined;
20443
20603
  label?: string | undefined;
20444
20604
  pluralLabel?: string | undefined;
20445
20605
  description?: string | undefined;
@@ -20585,7 +20745,7 @@ declare const SysDepartment: Omit<{
20585
20745
  wrap?: boolean | undefined;
20586
20746
  type?: string | undefined;
20587
20747
  pinned?: "left" | "right" | undefined;
20588
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
20748
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
20589
20749
  link?: boolean | undefined;
20590
20750
  action?: string | undefined;
20591
20751
  }[];
@@ -20634,7 +20794,7 @@ declare const SysDepartment: Omit<{
20634
20794
  bordered?: boolean | undefined;
20635
20795
  compactToolbar?: boolean | undefined;
20636
20796
  selection?: {
20637
- type: "multiple" | "single" | "none";
20797
+ type: "none" | "multiple" | "single";
20638
20798
  } | undefined;
20639
20799
  navigation?: {
20640
20800
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -20829,7 +20989,7 @@ declare const SysDepartment: Omit<{
20829
20989
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
20830
20990
  } | undefined;
20831
20991
  recordTypes?: string[] | undefined;
20832
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
20992
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
20833
20993
  publicSharing?: {
20834
20994
  enabled: boolean;
20835
20995
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -20932,6 +21092,11 @@ declare const SysDepartment: Omit<{
20932
21092
  role?: string | undefined;
20933
21093
  } | undefined;
20934
21094
  }[] | undefined;
21095
+ protection?: {
21096
+ lock: "full" | "none" | "no-overlay" | "no-delete";
21097
+ reason: string;
21098
+ docsUrl?: string | undefined;
21099
+ } | undefined;
20935
21100
  }, "fields"> & Pick<{
20936
21101
  readonly name: "sys_department";
20937
21102
  readonly label: "Department";
@@ -23539,6 +23704,13 @@ declare const SysDepartmentMember: Omit<{
23539
23704
  caseSensitive?: boolean | undefined;
23540
23705
  autonumberFormat?: string | undefined;
23541
23706
  }>;
23707
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
23708
+ _lockReason?: string | undefined;
23709
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
23710
+ _provenance?: "package" | "env-forced" | "org" | undefined;
23711
+ _packageId?: string | undefined;
23712
+ _packageVersion?: string | undefined;
23713
+ _lockDocsUrl?: string | undefined;
23542
23714
  label?: string | undefined;
23543
23715
  pluralLabel?: string | undefined;
23544
23716
  description?: string | undefined;
@@ -23684,7 +23856,7 @@ declare const SysDepartmentMember: Omit<{
23684
23856
  wrap?: boolean | undefined;
23685
23857
  type?: string | undefined;
23686
23858
  pinned?: "left" | "right" | undefined;
23687
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
23859
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
23688
23860
  link?: boolean | undefined;
23689
23861
  action?: string | undefined;
23690
23862
  }[];
@@ -23733,7 +23905,7 @@ declare const SysDepartmentMember: Omit<{
23733
23905
  bordered?: boolean | undefined;
23734
23906
  compactToolbar?: boolean | undefined;
23735
23907
  selection?: {
23736
- type: "multiple" | "single" | "none";
23908
+ type: "none" | "multiple" | "single";
23737
23909
  } | undefined;
23738
23910
  navigation?: {
23739
23911
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -23928,7 +24100,7 @@ declare const SysDepartmentMember: Omit<{
23928
24100
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
23929
24101
  } | undefined;
23930
24102
  recordTypes?: string[] | undefined;
23931
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
24103
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
23932
24104
  publicSharing?: {
23933
24105
  enabled: boolean;
23934
24106
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -24031,6 +24203,11 @@ declare const SysDepartmentMember: Omit<{
24031
24203
  role?: string | undefined;
24032
24204
  } | undefined;
24033
24205
  }[] | undefined;
24206
+ protection?: {
24207
+ lock: "full" | "none" | "no-overlay" | "no-delete";
24208
+ reason: string;
24209
+ docsUrl?: string | undefined;
24210
+ } | undefined;
24034
24211
  }, "fields"> & Pick<{
24035
24212
  readonly name: "sys_department_member";
24036
24213
  readonly label: "Department Member";
@@ -25844,6 +26021,13 @@ declare const SysApiKey: Omit<{
25844
26021
  caseSensitive?: boolean | undefined;
25845
26022
  autonumberFormat?: string | undefined;
25846
26023
  }>;
26024
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
26025
+ _lockReason?: string | undefined;
26026
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
26027
+ _provenance?: "package" | "env-forced" | "org" | undefined;
26028
+ _packageId?: string | undefined;
26029
+ _packageVersion?: string | undefined;
26030
+ _lockDocsUrl?: string | undefined;
25847
26031
  label?: string | undefined;
25848
26032
  pluralLabel?: string | undefined;
25849
26033
  description?: string | undefined;
@@ -25989,7 +26173,7 @@ declare const SysApiKey: Omit<{
25989
26173
  wrap?: boolean | undefined;
25990
26174
  type?: string | undefined;
25991
26175
  pinned?: "left" | "right" | undefined;
25992
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
26176
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
25993
26177
  link?: boolean | undefined;
25994
26178
  action?: string | undefined;
25995
26179
  }[];
@@ -26038,7 +26222,7 @@ declare const SysApiKey: Omit<{
26038
26222
  bordered?: boolean | undefined;
26039
26223
  compactToolbar?: boolean | undefined;
26040
26224
  selection?: {
26041
- type: "multiple" | "single" | "none";
26225
+ type: "none" | "multiple" | "single";
26042
26226
  } | undefined;
26043
26227
  navigation?: {
26044
26228
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -26233,7 +26417,7 @@ declare const SysApiKey: Omit<{
26233
26417
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
26234
26418
  } | undefined;
26235
26419
  recordTypes?: string[] | undefined;
26236
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
26420
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
26237
26421
  publicSharing?: {
26238
26422
  enabled: boolean;
26239
26423
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -26336,6 +26520,11 @@ declare const SysApiKey: Omit<{
26336
26520
  role?: string | undefined;
26337
26521
  } | undefined;
26338
26522
  }[] | undefined;
26523
+ protection?: {
26524
+ lock: "full" | "none" | "no-overlay" | "no-delete";
26525
+ reason: string;
26526
+ docsUrl?: string | undefined;
26527
+ } | undefined;
26339
26528
  }, "fields"> & Pick<{
26340
26529
  readonly name: "sys_api_key";
26341
26530
  readonly label: "API Key";
@@ -26343,6 +26532,11 @@ declare const SysApiKey: Omit<{
26343
26532
  readonly icon: "key-round";
26344
26533
  readonly isSystem: true;
26345
26534
  readonly managedBy: "better-auth";
26535
+ readonly protection: {
26536
+ readonly lock: "full";
26537
+ readonly reason: "Identity table managed by better-auth — see ADR-0010.";
26538
+ readonly docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection";
26539
+ };
26346
26540
  readonly description: "API keys for programmatic access";
26347
26541
  readonly displayNameField: "name";
26348
26542
  readonly titleFormat: "{name}";
@@ -28617,6 +28811,13 @@ declare const SysTwoFactor: Omit<{
28617
28811
  caseSensitive?: boolean | undefined;
28618
28812
  autonumberFormat?: string | undefined;
28619
28813
  }>;
28814
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
28815
+ _lockReason?: string | undefined;
28816
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
28817
+ _provenance?: "package" | "env-forced" | "org" | undefined;
28818
+ _packageId?: string | undefined;
28819
+ _packageVersion?: string | undefined;
28820
+ _lockDocsUrl?: string | undefined;
28620
28821
  label?: string | undefined;
28621
28822
  pluralLabel?: string | undefined;
28622
28823
  description?: string | undefined;
@@ -28762,7 +28963,7 @@ declare const SysTwoFactor: Omit<{
28762
28963
  wrap?: boolean | undefined;
28763
28964
  type?: string | undefined;
28764
28965
  pinned?: "left" | "right" | undefined;
28765
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
28966
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
28766
28967
  link?: boolean | undefined;
28767
28968
  action?: string | undefined;
28768
28969
  }[];
@@ -28811,7 +29012,7 @@ declare const SysTwoFactor: Omit<{
28811
29012
  bordered?: boolean | undefined;
28812
29013
  compactToolbar?: boolean | undefined;
28813
29014
  selection?: {
28814
- type: "multiple" | "single" | "none";
29015
+ type: "none" | "multiple" | "single";
28815
29016
  } | undefined;
28816
29017
  navigation?: {
28817
29018
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -29006,7 +29207,7 @@ declare const SysTwoFactor: Omit<{
29006
29207
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
29007
29208
  } | undefined;
29008
29209
  recordTypes?: string[] | undefined;
29009
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
29210
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
29010
29211
  publicSharing?: {
29011
29212
  enabled: boolean;
29012
29213
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -29109,6 +29310,11 @@ declare const SysTwoFactor: Omit<{
29109
29310
  role?: string | undefined;
29110
29311
  } | undefined;
29111
29312
  }[] | undefined;
29313
+ protection?: {
29314
+ lock: "full" | "none" | "no-overlay" | "no-delete";
29315
+ reason: string;
29316
+ docsUrl?: string | undefined;
29317
+ } | undefined;
29112
29318
  }, "fields"> & Pick<{
29113
29319
  readonly name: "sys_two_factor";
29114
29320
  readonly label: "Two Factor";
@@ -29116,6 +29322,11 @@ declare const SysTwoFactor: Omit<{
29116
29322
  readonly icon: "smartphone";
29117
29323
  readonly isSystem: true;
29118
29324
  readonly managedBy: "better-auth";
29325
+ readonly protection: {
29326
+ readonly lock: "full";
29327
+ readonly reason: "Identity table managed by better-auth — see ADR-0010.";
29328
+ readonly docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection";
29329
+ };
29119
29330
  readonly description: "Two-factor authentication credentials";
29120
29331
  readonly titleFormat: "Two-factor for {user_id}";
29121
29332
  readonly compactLayout: ["user_id", "created_at"];
@@ -30688,6 +30899,13 @@ declare const SysDeviceCode: Omit<{
30688
30899
  caseSensitive?: boolean | undefined;
30689
30900
  autonumberFormat?: string | undefined;
30690
30901
  }>;
30902
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
30903
+ _lockReason?: string | undefined;
30904
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
30905
+ _provenance?: "package" | "env-forced" | "org" | undefined;
30906
+ _packageId?: string | undefined;
30907
+ _packageVersion?: string | undefined;
30908
+ _lockDocsUrl?: string | undefined;
30691
30909
  label?: string | undefined;
30692
30910
  pluralLabel?: string | undefined;
30693
30911
  description?: string | undefined;
@@ -30833,7 +31051,7 @@ declare const SysDeviceCode: Omit<{
30833
31051
  wrap?: boolean | undefined;
30834
31052
  type?: string | undefined;
30835
31053
  pinned?: "left" | "right" | undefined;
30836
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
31054
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
30837
31055
  link?: boolean | undefined;
30838
31056
  action?: string | undefined;
30839
31057
  }[];
@@ -30882,7 +31100,7 @@ declare const SysDeviceCode: Omit<{
30882
31100
  bordered?: boolean | undefined;
30883
31101
  compactToolbar?: boolean | undefined;
30884
31102
  selection?: {
30885
- type: "multiple" | "single" | "none";
31103
+ type: "none" | "multiple" | "single";
30886
31104
  } | undefined;
30887
31105
  navigation?: {
30888
31106
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -31077,7 +31295,7 @@ declare const SysDeviceCode: Omit<{
31077
31295
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
31078
31296
  } | undefined;
31079
31297
  recordTypes?: string[] | undefined;
31080
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
31298
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
31081
31299
  publicSharing?: {
31082
31300
  enabled: boolean;
31083
31301
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -31180,6 +31398,11 @@ declare const SysDeviceCode: Omit<{
31180
31398
  role?: string | undefined;
31181
31399
  } | undefined;
31182
31400
  }[] | undefined;
31401
+ protection?: {
31402
+ lock: "full" | "none" | "no-overlay" | "no-delete";
31403
+ reason: string;
31404
+ docsUrl?: string | undefined;
31405
+ } | undefined;
31183
31406
  }, "fields"> & Pick<{
31184
31407
  readonly name: "sys_device_code";
31185
31408
  readonly label: "Device Code";
@@ -31187,6 +31410,11 @@ declare const SysDeviceCode: Omit<{
31187
31410
  readonly icon: "key-round";
31188
31411
  readonly isSystem: true;
31189
31412
  readonly managedBy: "better-auth";
31413
+ readonly protection: {
31414
+ readonly lock: "full";
31415
+ readonly reason: "Identity table managed by better-auth — see ADR-0010.";
31416
+ readonly docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection";
31417
+ };
31190
31418
  readonly description: "OAuth 2.0 Device Authorization Grant (RFC 8628) pending requests";
31191
31419
  readonly titleFormat: "{user_code}";
31192
31420
  readonly compactLayout: ["user_code", "status", "client_id", "expires_at"];
@@ -33527,6 +33755,13 @@ declare const SysUserPreference: Omit<{
33527
33755
  caseSensitive?: boolean | undefined;
33528
33756
  autonumberFormat?: string | undefined;
33529
33757
  }>;
33758
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
33759
+ _lockReason?: string | undefined;
33760
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
33761
+ _provenance?: "package" | "env-forced" | "org" | undefined;
33762
+ _packageId?: string | undefined;
33763
+ _packageVersion?: string | undefined;
33764
+ _lockDocsUrl?: string | undefined;
33530
33765
  label?: string | undefined;
33531
33766
  pluralLabel?: string | undefined;
33532
33767
  description?: string | undefined;
@@ -33672,7 +33907,7 @@ declare const SysUserPreference: Omit<{
33672
33907
  wrap?: boolean | undefined;
33673
33908
  type?: string | undefined;
33674
33909
  pinned?: "left" | "right" | undefined;
33675
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
33910
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
33676
33911
  link?: boolean | undefined;
33677
33912
  action?: string | undefined;
33678
33913
  }[];
@@ -33721,7 +33956,7 @@ declare const SysUserPreference: Omit<{
33721
33956
  bordered?: boolean | undefined;
33722
33957
  compactToolbar?: boolean | undefined;
33723
33958
  selection?: {
33724
- type: "multiple" | "single" | "none";
33959
+ type: "none" | "multiple" | "single";
33725
33960
  } | undefined;
33726
33961
  navigation?: {
33727
33962
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -33916,7 +34151,7 @@ declare const SysUserPreference: Omit<{
33916
34151
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
33917
34152
  } | undefined;
33918
34153
  recordTypes?: string[] | undefined;
33919
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
34154
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
33920
34155
  publicSharing?: {
33921
34156
  enabled: boolean;
33922
34157
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -34019,6 +34254,11 @@ declare const SysUserPreference: Omit<{
34019
34254
  role?: string | undefined;
34020
34255
  } | undefined;
34021
34256
  }[] | undefined;
34257
+ protection?: {
34258
+ lock: "full" | "none" | "no-overlay" | "no-delete";
34259
+ reason: string;
34260
+ docsUrl?: string | undefined;
34261
+ } | undefined;
34022
34262
  }, "fields"> & Pick<{
34023
34263
  readonly name: "sys_user_preference";
34024
34264
  readonly label: "User Preference";
@@ -35378,6 +35618,13 @@ declare const SysOauthApplication: Omit<{
35378
35618
  caseSensitive?: boolean | undefined;
35379
35619
  autonumberFormat?: string | undefined;
35380
35620
  }>;
35621
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
35622
+ _lockReason?: string | undefined;
35623
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
35624
+ _provenance?: "package" | "env-forced" | "org" | undefined;
35625
+ _packageId?: string | undefined;
35626
+ _packageVersion?: string | undefined;
35627
+ _lockDocsUrl?: string | undefined;
35381
35628
  label?: string | undefined;
35382
35629
  pluralLabel?: string | undefined;
35383
35630
  description?: string | undefined;
@@ -35523,7 +35770,7 @@ declare const SysOauthApplication: Omit<{
35523
35770
  wrap?: boolean | undefined;
35524
35771
  type?: string | undefined;
35525
35772
  pinned?: "left" | "right" | undefined;
35526
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
35773
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
35527
35774
  link?: boolean | undefined;
35528
35775
  action?: string | undefined;
35529
35776
  }[];
@@ -35572,7 +35819,7 @@ declare const SysOauthApplication: Omit<{
35572
35819
  bordered?: boolean | undefined;
35573
35820
  compactToolbar?: boolean | undefined;
35574
35821
  selection?: {
35575
- type: "multiple" | "single" | "none";
35822
+ type: "none" | "multiple" | "single";
35576
35823
  } | undefined;
35577
35824
  navigation?: {
35578
35825
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -35767,7 +36014,7 @@ declare const SysOauthApplication: Omit<{
35767
36014
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
35768
36015
  } | undefined;
35769
36016
  recordTypes?: string[] | undefined;
35770
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
36017
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
35771
36018
  publicSharing?: {
35772
36019
  enabled: boolean;
35773
36020
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -35870,6 +36117,11 @@ declare const SysOauthApplication: Omit<{
35870
36117
  role?: string | undefined;
35871
36118
  } | undefined;
35872
36119
  }[] | undefined;
36120
+ protection?: {
36121
+ lock: "full" | "none" | "no-overlay" | "no-delete";
36122
+ reason: string;
36123
+ docsUrl?: string | undefined;
36124
+ } | undefined;
35873
36125
  }, "fields"> & Pick<{
35874
36126
  readonly name: "sys_oauth_application";
35875
36127
  readonly label: "OAuth Application";
@@ -35877,6 +36129,11 @@ declare const SysOauthApplication: Omit<{
35877
36129
  readonly icon: "key-round";
35878
36130
  readonly isSystem: true;
35879
36131
  readonly managedBy: "better-auth";
36132
+ readonly protection: {
36133
+ readonly lock: "full";
36134
+ readonly reason: "Identity table managed by better-auth — see ADR-0010.";
36135
+ readonly docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection";
36136
+ };
35880
36137
  readonly description: "Registered OAuth/OIDC client applications";
35881
36138
  readonly displayNameField: "name";
35882
36139
  readonly titleFormat: "{name}";
@@ -41596,6 +41853,13 @@ declare const SysOauthAccessToken: Omit<{
41596
41853
  caseSensitive?: boolean | undefined;
41597
41854
  autonumberFormat?: string | undefined;
41598
41855
  }>;
41856
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
41857
+ _lockReason?: string | undefined;
41858
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
41859
+ _provenance?: "package" | "env-forced" | "org" | undefined;
41860
+ _packageId?: string | undefined;
41861
+ _packageVersion?: string | undefined;
41862
+ _lockDocsUrl?: string | undefined;
41599
41863
  label?: string | undefined;
41600
41864
  pluralLabel?: string | undefined;
41601
41865
  description?: string | undefined;
@@ -41741,7 +42005,7 @@ declare const SysOauthAccessToken: Omit<{
41741
42005
  wrap?: boolean | undefined;
41742
42006
  type?: string | undefined;
41743
42007
  pinned?: "left" | "right" | undefined;
41744
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
42008
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
41745
42009
  link?: boolean | undefined;
41746
42010
  action?: string | undefined;
41747
42011
  }[];
@@ -41790,7 +42054,7 @@ declare const SysOauthAccessToken: Omit<{
41790
42054
  bordered?: boolean | undefined;
41791
42055
  compactToolbar?: boolean | undefined;
41792
42056
  selection?: {
41793
- type: "multiple" | "single" | "none";
42057
+ type: "none" | "multiple" | "single";
41794
42058
  } | undefined;
41795
42059
  navigation?: {
41796
42060
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -41985,7 +42249,7 @@ declare const SysOauthAccessToken: Omit<{
41985
42249
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
41986
42250
  } | undefined;
41987
42251
  recordTypes?: string[] | undefined;
41988
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
42252
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
41989
42253
  publicSharing?: {
41990
42254
  enabled: boolean;
41991
42255
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -42088,6 +42352,11 @@ declare const SysOauthAccessToken: Omit<{
42088
42352
  role?: string | undefined;
42089
42353
  } | undefined;
42090
42354
  }[] | undefined;
42355
+ protection?: {
42356
+ lock: "full" | "none" | "no-overlay" | "no-delete";
42357
+ reason: string;
42358
+ docsUrl?: string | undefined;
42359
+ } | undefined;
42091
42360
  }, "fields"> & Pick<{
42092
42361
  readonly name: "sys_oauth_access_token";
42093
42362
  readonly label: "OAuth Access Token";
@@ -42095,6 +42364,11 @@ declare const SysOauthAccessToken: Omit<{
42095
42364
  readonly icon: "ticket";
42096
42365
  readonly isSystem: true;
42097
42366
  readonly managedBy: "better-auth";
42367
+ readonly protection: {
42368
+ readonly lock: "full";
42369
+ readonly reason: "Identity table managed by better-auth — see ADR-0010.";
42370
+ readonly docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection";
42371
+ };
42098
42372
  readonly description: "Opaque OAuth access tokens issued to client applications";
42099
42373
  readonly compactLayout: ["client_id", "user_id", "expires_at"];
42100
42374
  readonly fields: {
@@ -44080,6 +44354,13 @@ declare const SysOauthRefreshToken: Omit<{
44080
44354
  caseSensitive?: boolean | undefined;
44081
44355
  autonumberFormat?: string | undefined;
44082
44356
  }>;
44357
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
44358
+ _lockReason?: string | undefined;
44359
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
44360
+ _provenance?: "package" | "env-forced" | "org" | undefined;
44361
+ _packageId?: string | undefined;
44362
+ _packageVersion?: string | undefined;
44363
+ _lockDocsUrl?: string | undefined;
44083
44364
  label?: string | undefined;
44084
44365
  pluralLabel?: string | undefined;
44085
44366
  description?: string | undefined;
@@ -44225,7 +44506,7 @@ declare const SysOauthRefreshToken: Omit<{
44225
44506
  wrap?: boolean | undefined;
44226
44507
  type?: string | undefined;
44227
44508
  pinned?: "left" | "right" | undefined;
44228
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
44509
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
44229
44510
  link?: boolean | undefined;
44230
44511
  action?: string | undefined;
44231
44512
  }[];
@@ -44274,7 +44555,7 @@ declare const SysOauthRefreshToken: Omit<{
44274
44555
  bordered?: boolean | undefined;
44275
44556
  compactToolbar?: boolean | undefined;
44276
44557
  selection?: {
44277
- type: "multiple" | "single" | "none";
44558
+ type: "none" | "multiple" | "single";
44278
44559
  } | undefined;
44279
44560
  navigation?: {
44280
44561
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -44469,7 +44750,7 @@ declare const SysOauthRefreshToken: Omit<{
44469
44750
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
44470
44751
  } | undefined;
44471
44752
  recordTypes?: string[] | undefined;
44472
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
44753
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
44473
44754
  publicSharing?: {
44474
44755
  enabled: boolean;
44475
44756
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -44572,6 +44853,11 @@ declare const SysOauthRefreshToken: Omit<{
44572
44853
  role?: string | undefined;
44573
44854
  } | undefined;
44574
44855
  }[] | undefined;
44856
+ protection?: {
44857
+ lock: "full" | "none" | "no-overlay" | "no-delete";
44858
+ reason: string;
44859
+ docsUrl?: string | undefined;
44860
+ } | undefined;
44575
44861
  }, "fields"> & Pick<{
44576
44862
  readonly name: "sys_oauth_refresh_token";
44577
44863
  readonly label: "OAuth Refresh Token";
@@ -44579,6 +44865,11 @@ declare const SysOauthRefreshToken: Omit<{
44579
44865
  readonly icon: "refresh-cw";
44580
44866
  readonly isSystem: true;
44581
44867
  readonly managedBy: "better-auth";
44868
+ readonly protection: {
44869
+ readonly lock: "full";
44870
+ readonly reason: "Identity table managed by better-auth — see ADR-0010.";
44871
+ readonly docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection";
44872
+ };
44582
44873
  readonly description: "Opaque OAuth refresh tokens (linked to a session)";
44583
44874
  readonly compactLayout: ["client_id", "user_id", "expires_at"];
44584
44875
  readonly fields: {
@@ -46739,6 +47030,13 @@ declare const SysOauthConsent: Omit<{
46739
47030
  caseSensitive?: boolean | undefined;
46740
47031
  autonumberFormat?: string | undefined;
46741
47032
  }>;
47033
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
47034
+ _lockReason?: string | undefined;
47035
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
47036
+ _provenance?: "package" | "env-forced" | "org" | undefined;
47037
+ _packageId?: string | undefined;
47038
+ _packageVersion?: string | undefined;
47039
+ _lockDocsUrl?: string | undefined;
46742
47040
  label?: string | undefined;
46743
47041
  pluralLabel?: string | undefined;
46744
47042
  description?: string | undefined;
@@ -46884,7 +47182,7 @@ declare const SysOauthConsent: Omit<{
46884
47182
  wrap?: boolean | undefined;
46885
47183
  type?: string | undefined;
46886
47184
  pinned?: "left" | "right" | undefined;
46887
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
47185
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
46888
47186
  link?: boolean | undefined;
46889
47187
  action?: string | undefined;
46890
47188
  }[];
@@ -46933,7 +47231,7 @@ declare const SysOauthConsent: Omit<{
46933
47231
  bordered?: boolean | undefined;
46934
47232
  compactToolbar?: boolean | undefined;
46935
47233
  selection?: {
46936
- type: "multiple" | "single" | "none";
47234
+ type: "none" | "multiple" | "single";
46937
47235
  } | undefined;
46938
47236
  navigation?: {
46939
47237
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -47128,7 +47426,7 @@ declare const SysOauthConsent: Omit<{
47128
47426
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
47129
47427
  } | undefined;
47130
47428
  recordTypes?: string[] | undefined;
47131
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
47429
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
47132
47430
  publicSharing?: {
47133
47431
  enabled: boolean;
47134
47432
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -47231,6 +47529,11 @@ declare const SysOauthConsent: Omit<{
47231
47529
  role?: string | undefined;
47232
47530
  } | undefined;
47233
47531
  }[] | undefined;
47532
+ protection?: {
47533
+ lock: "full" | "none" | "no-overlay" | "no-delete";
47534
+ reason: string;
47535
+ docsUrl?: string | undefined;
47536
+ } | undefined;
47234
47537
  }, "fields"> & Pick<{
47235
47538
  readonly name: "sys_oauth_consent";
47236
47539
  readonly label: "OAuth Consent";
@@ -47238,6 +47541,11 @@ declare const SysOauthConsent: Omit<{
47238
47541
  readonly icon: "shield-check";
47239
47542
  readonly isSystem: true;
47240
47543
  readonly managedBy: "better-auth";
47544
+ readonly protection: {
47545
+ readonly lock: "full";
47546
+ readonly reason: "Identity table managed by better-auth — see ADR-0010.";
47547
+ readonly docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection";
47548
+ };
47241
47549
  readonly description: "User consent records for OAuth client applications";
47242
47550
  readonly compactLayout: ["client_id", "user_id", "scopes"];
47243
47551
  readonly fields: {
@@ -48691,6 +48999,13 @@ declare const SysJwks: Omit<{
48691
48999
  caseSensitive?: boolean | undefined;
48692
49000
  autonumberFormat?: string | undefined;
48693
49001
  }>;
49002
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
49003
+ _lockReason?: string | undefined;
49004
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
49005
+ _provenance?: "package" | "env-forced" | "org" | undefined;
49006
+ _packageId?: string | undefined;
49007
+ _packageVersion?: string | undefined;
49008
+ _lockDocsUrl?: string | undefined;
48694
49009
  label?: string | undefined;
48695
49010
  pluralLabel?: string | undefined;
48696
49011
  description?: string | undefined;
@@ -48836,7 +49151,7 @@ declare const SysJwks: Omit<{
48836
49151
  wrap?: boolean | undefined;
48837
49152
  type?: string | undefined;
48838
49153
  pinned?: "left" | "right" | undefined;
48839
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
49154
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
48840
49155
  link?: boolean | undefined;
48841
49156
  action?: string | undefined;
48842
49157
  }[];
@@ -48885,7 +49200,7 @@ declare const SysJwks: Omit<{
48885
49200
  bordered?: boolean | undefined;
48886
49201
  compactToolbar?: boolean | undefined;
48887
49202
  selection?: {
48888
- type: "multiple" | "single" | "none";
49203
+ type: "none" | "multiple" | "single";
48889
49204
  } | undefined;
48890
49205
  navigation?: {
48891
49206
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -49080,7 +49395,7 @@ declare const SysJwks: Omit<{
49080
49395
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
49081
49396
  } | undefined;
49082
49397
  recordTypes?: string[] | undefined;
49083
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
49398
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
49084
49399
  publicSharing?: {
49085
49400
  enabled: boolean;
49086
49401
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -49183,6 +49498,11 @@ declare const SysJwks: Omit<{
49183
49498
  role?: string | undefined;
49184
49499
  } | undefined;
49185
49500
  }[] | undefined;
49501
+ protection?: {
49502
+ lock: "full" | "none" | "no-overlay" | "no-delete";
49503
+ reason: string;
49504
+ docsUrl?: string | undefined;
49505
+ } | undefined;
49186
49506
  }, "fields"> & Pick<{
49187
49507
  readonly name: "sys_jwks";
49188
49508
  readonly label: "JWKS Key";
@@ -49190,6 +49510,11 @@ declare const SysJwks: Omit<{
49190
49510
  readonly icon: "key";
49191
49511
  readonly isSystem: true;
49192
49512
  readonly managedBy: "better-auth";
49513
+ readonly protection: {
49514
+ readonly lock: "full";
49515
+ readonly reason: "Identity table managed by better-auth — see ADR-0010.";
49516
+ readonly docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection";
49517
+ };
49193
49518
  readonly description: "Asymmetric key pairs used to sign and verify issued JWTs";
49194
49519
  readonly compactLayout: ["id", "created_at", "expires_at"];
49195
49520
  readonly fields: {