@objectstack/metadata-core 10.3.0 → 11.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -267,7 +267,7 @@ declare const SysMetadataObject: Omit<{
267
267
  abstract: boolean;
268
268
  datasource: string;
269
269
  fields: Record<string, {
270
- type: "number" | "boolean" | "date" | "record" | "file" | "tags" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "vector";
270
+ type: "number" | "boolean" | "date" | "record" | "file" | "tags" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "user" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "vector";
271
271
  required: boolean;
272
272
  searchable: boolean;
273
273
  multiple: boolean;
@@ -341,6 +341,7 @@ declare const SysMetadataObject: Omit<{
341
341
  generatedBy?: string | undefined;
342
342
  } | undefined;
343
343
  } | undefined;
344
+ returnType?: "number" | "boolean" | "date" | "text" | undefined;
344
345
  summaryOperations?: {
345
346
  object: string;
346
347
  field: string;
@@ -964,7 +965,7 @@ declare const SysMetadataObject: Omit<{
964
965
  field?: string | undefined;
965
966
  objectOverride?: string | undefined;
966
967
  label?: string | undefined;
967
- type?: "number" | "boolean" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
968
+ type?: "number" | "boolean" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "user" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
968
969
  options?: {
969
970
  label: string;
970
971
  value: string;
@@ -1069,6 +1070,7 @@ declare const SysMetadataObject: Omit<{
1069
1070
  readonly name?: string | undefined;
1070
1071
  readonly precision?: number | undefined;
1071
1072
  readonly required?: boolean | undefined;
1073
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1072
1074
  readonly multiple?: boolean | undefined;
1073
1075
  readonly dependencies?: string[] | undefined;
1074
1076
  readonly externalId?: boolean | undefined;
@@ -1245,6 +1247,7 @@ declare const SysMetadataObject: Omit<{
1245
1247
  readonly name?: string | undefined;
1246
1248
  readonly precision?: number | undefined;
1247
1249
  readonly required?: boolean | undefined;
1250
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1248
1251
  readonly multiple?: boolean | undefined;
1249
1252
  readonly dependencies?: string[] | undefined;
1250
1253
  readonly externalId?: boolean | undefined;
@@ -1421,6 +1424,7 @@ declare const SysMetadataObject: Omit<{
1421
1424
  readonly name?: string | undefined;
1422
1425
  readonly precision?: number | undefined;
1423
1426
  readonly required?: boolean | undefined;
1427
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1424
1428
  readonly multiple?: boolean | undefined;
1425
1429
  readonly dependencies?: string[] | undefined;
1426
1430
  readonly externalId?: boolean | undefined;
@@ -1597,6 +1601,7 @@ declare const SysMetadataObject: Omit<{
1597
1601
  readonly name?: string | undefined;
1598
1602
  readonly precision?: number | undefined;
1599
1603
  readonly required?: boolean | undefined;
1604
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1600
1605
  readonly multiple?: boolean | undefined;
1601
1606
  readonly dependencies?: string[] | undefined;
1602
1607
  readonly externalId?: boolean | undefined;
@@ -1773,6 +1778,7 @@ declare const SysMetadataObject: Omit<{
1773
1778
  readonly name?: string | undefined;
1774
1779
  readonly precision?: number | undefined;
1775
1780
  readonly required?: boolean | undefined;
1781
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1776
1782
  readonly multiple?: boolean | undefined;
1777
1783
  readonly dependencies?: string[] | undefined;
1778
1784
  readonly externalId?: boolean | undefined;
@@ -1952,6 +1958,7 @@ declare const SysMetadataObject: Omit<{
1952
1958
  readonly name?: string | undefined;
1953
1959
  readonly precision?: number | undefined;
1954
1960
  readonly required?: boolean | undefined;
1961
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1955
1962
  readonly multiple?: boolean | undefined;
1956
1963
  readonly dependencies?: string[] | undefined;
1957
1964
  readonly externalId?: boolean | undefined;
@@ -2128,6 +2135,7 @@ declare const SysMetadataObject: Omit<{
2128
2135
  readonly name?: string | undefined;
2129
2136
  readonly precision?: number | undefined;
2130
2137
  readonly required?: boolean | undefined;
2138
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2131
2139
  readonly multiple?: boolean | undefined;
2132
2140
  readonly dependencies?: string[] | undefined;
2133
2141
  readonly externalId?: boolean | undefined;
@@ -2304,6 +2312,7 @@ declare const SysMetadataObject: Omit<{
2304
2312
  readonly name?: string | undefined;
2305
2313
  readonly precision?: number | undefined;
2306
2314
  readonly required?: boolean | undefined;
2315
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2307
2316
  readonly multiple?: boolean | undefined;
2308
2317
  readonly dependencies?: string[] | undefined;
2309
2318
  readonly externalId?: boolean | undefined;
@@ -2480,6 +2489,7 @@ declare const SysMetadataObject: Omit<{
2480
2489
  readonly name?: string | undefined;
2481
2490
  readonly precision?: number | undefined;
2482
2491
  readonly required?: boolean | undefined;
2492
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2483
2493
  readonly multiple?: boolean | undefined;
2484
2494
  readonly dependencies?: string[] | undefined;
2485
2495
  readonly externalId?: boolean | undefined;
@@ -2656,6 +2666,7 @@ declare const SysMetadataObject: Omit<{
2656
2666
  readonly name?: string | undefined;
2657
2667
  readonly precision?: number | undefined;
2658
2668
  readonly required?: boolean | undefined;
2669
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2659
2670
  readonly multiple?: boolean | undefined;
2660
2671
  readonly dependencies?: string[] | undefined;
2661
2672
  readonly externalId?: boolean | undefined;
@@ -2832,6 +2843,7 @@ declare const SysMetadataObject: Omit<{
2832
2843
  readonly name?: string | undefined;
2833
2844
  readonly precision?: number | undefined;
2834
2845
  readonly required?: boolean | undefined;
2846
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2835
2847
  readonly multiple?: boolean | undefined;
2836
2848
  readonly dependencies?: string[] | undefined;
2837
2849
  readonly externalId?: boolean | undefined;
@@ -3008,6 +3020,7 @@ declare const SysMetadataObject: Omit<{
3008
3020
  readonly name?: string | undefined;
3009
3021
  readonly precision?: number | undefined;
3010
3022
  readonly required?: boolean | undefined;
3023
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
3011
3024
  readonly multiple?: boolean | undefined;
3012
3025
  readonly dependencies?: string[] | undefined;
3013
3026
  readonly externalId?: boolean | undefined;
@@ -3184,6 +3197,7 @@ declare const SysMetadataObject: Omit<{
3184
3197
  readonly name?: string | undefined;
3185
3198
  readonly precision?: number | undefined;
3186
3199
  readonly required?: boolean | undefined;
3200
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
3187
3201
  readonly multiple?: boolean | undefined;
3188
3202
  readonly dependencies?: string[] | undefined;
3189
3203
  readonly externalId?: boolean | undefined;
@@ -3360,6 +3374,7 @@ declare const SysMetadataObject: Omit<{
3360
3374
  readonly name?: string | undefined;
3361
3375
  readonly precision?: number | undefined;
3362
3376
  readonly required?: boolean | undefined;
3377
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
3363
3378
  readonly multiple?: boolean | undefined;
3364
3379
  readonly dependencies?: string[] | undefined;
3365
3380
  readonly externalId?: boolean | undefined;
@@ -3541,6 +3556,7 @@ declare const SysMetadataObject: Omit<{
3541
3556
  readonly name?: string | undefined;
3542
3557
  readonly precision?: number | undefined;
3543
3558
  readonly required?: boolean | undefined;
3559
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
3544
3560
  readonly multiple?: boolean | undefined;
3545
3561
  readonly dependencies?: string[] | undefined;
3546
3562
  readonly externalId?: boolean | undefined;
@@ -3717,6 +3733,7 @@ declare const SysMetadataObject: Omit<{
3717
3733
  readonly name?: string | undefined;
3718
3734
  readonly precision?: number | undefined;
3719
3735
  readonly required?: boolean | undefined;
3736
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
3720
3737
  readonly multiple?: boolean | undefined;
3721
3738
  readonly dependencies?: string[] | undefined;
3722
3739
  readonly externalId?: boolean | undefined;
@@ -3893,6 +3910,7 @@ declare const SysMetadataObject: Omit<{
3893
3910
  readonly name?: string | undefined;
3894
3911
  readonly precision?: number | undefined;
3895
3912
  readonly required?: boolean | undefined;
3913
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
3896
3914
  readonly multiple?: boolean | undefined;
3897
3915
  readonly dependencies?: string[] | undefined;
3898
3916
  readonly externalId?: boolean | undefined;
@@ -4069,6 +4087,7 @@ declare const SysMetadataObject: Omit<{
4069
4087
  readonly name?: string | undefined;
4070
4088
  readonly precision?: number | undefined;
4071
4089
  readonly required?: boolean | undefined;
4090
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
4072
4091
  readonly multiple?: boolean | undefined;
4073
4092
  readonly dependencies?: string[] | undefined;
4074
4093
  readonly externalId?: boolean | undefined;
@@ -4245,6 +4264,7 @@ declare const SysMetadataObject: Omit<{
4245
4264
  readonly name?: string | undefined;
4246
4265
  readonly precision?: number | undefined;
4247
4266
  readonly required?: boolean | undefined;
4267
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
4248
4268
  readonly multiple?: boolean | undefined;
4249
4269
  readonly dependencies?: string[] | undefined;
4250
4270
  readonly externalId?: boolean | undefined;
@@ -4421,6 +4441,7 @@ declare const SysMetadataObject: Omit<{
4421
4441
  readonly name?: string | undefined;
4422
4442
  readonly precision?: number | undefined;
4423
4443
  readonly required?: boolean | undefined;
4444
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
4424
4445
  readonly multiple?: boolean | undefined;
4425
4446
  readonly dependencies?: string[] | undefined;
4426
4447
  readonly externalId?: boolean | undefined;
@@ -4596,6 +4617,7 @@ declare const SysMetadataObject: Omit<{
4596
4617
  readonly name?: string | undefined;
4597
4618
  readonly precision?: number | undefined;
4598
4619
  readonly required?: boolean | undefined;
4620
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
4599
4621
  readonly multiple?: boolean | undefined;
4600
4622
  readonly dependencies?: string[] | undefined;
4601
4623
  readonly externalId?: boolean | undefined;
@@ -4771,6 +4793,7 @@ declare const SysMetadataObject: Omit<{
4771
4793
  readonly name?: string | undefined;
4772
4794
  readonly precision?: number | undefined;
4773
4795
  readonly required?: boolean | undefined;
4796
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
4774
4797
  readonly multiple?: boolean | undefined;
4775
4798
  readonly dependencies?: string[] | undefined;
4776
4799
  readonly externalId?: boolean | undefined;
@@ -4946,6 +4969,7 @@ declare const SysMetadataObject: Omit<{
4946
4969
  readonly name?: string | undefined;
4947
4970
  readonly precision?: number | undefined;
4948
4971
  readonly required?: boolean | undefined;
4972
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
4949
4973
  readonly multiple?: boolean | undefined;
4950
4974
  readonly dependencies?: string[] | undefined;
4951
4975
  readonly externalId?: boolean | undefined;
@@ -5242,7 +5266,7 @@ declare const SysMetadataHistoryObject: Omit<{
5242
5266
  abstract: boolean;
5243
5267
  datasource: string;
5244
5268
  fields: Record<string, {
5245
- type: "number" | "boolean" | "date" | "record" | "file" | "tags" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "vector";
5269
+ type: "number" | "boolean" | "date" | "record" | "file" | "tags" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "user" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "vector";
5246
5270
  required: boolean;
5247
5271
  searchable: boolean;
5248
5272
  multiple: boolean;
@@ -5316,6 +5340,7 @@ declare const SysMetadataHistoryObject: Omit<{
5316
5340
  generatedBy?: string | undefined;
5317
5341
  } | undefined;
5318
5342
  } | undefined;
5343
+ returnType?: "number" | "boolean" | "date" | "text" | undefined;
5319
5344
  summaryOperations?: {
5320
5345
  object: string;
5321
5346
  field: string;
@@ -5939,7 +5964,7 @@ declare const SysMetadataHistoryObject: Omit<{
5939
5964
  field?: string | undefined;
5940
5965
  objectOverride?: string | undefined;
5941
5966
  label?: string | undefined;
5942
- type?: "number" | "boolean" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
5967
+ type?: "number" | "boolean" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "user" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
5943
5968
  options?: {
5944
5969
  label: string;
5945
5970
  value: string;
@@ -6044,6 +6069,7 @@ declare const SysMetadataHistoryObject: Omit<{
6044
6069
  readonly name?: string | undefined;
6045
6070
  readonly precision?: number | undefined;
6046
6071
  readonly required?: boolean | undefined;
6072
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
6047
6073
  readonly multiple?: boolean | undefined;
6048
6074
  readonly dependencies?: string[] | undefined;
6049
6075
  readonly externalId?: boolean | undefined;
@@ -6220,6 +6246,7 @@ declare const SysMetadataHistoryObject: Omit<{
6220
6246
  readonly name?: string | undefined;
6221
6247
  readonly precision?: number | undefined;
6222
6248
  readonly required?: boolean | undefined;
6249
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
6223
6250
  readonly multiple?: boolean | undefined;
6224
6251
  readonly dependencies?: string[] | undefined;
6225
6252
  readonly externalId?: boolean | undefined;
@@ -6396,6 +6423,7 @@ declare const SysMetadataHistoryObject: Omit<{
6396
6423
  readonly name?: string | undefined;
6397
6424
  readonly precision?: number | undefined;
6398
6425
  readonly required?: boolean | undefined;
6426
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
6399
6427
  readonly multiple?: boolean | undefined;
6400
6428
  readonly dependencies?: string[] | undefined;
6401
6429
  readonly externalId?: boolean | undefined;
@@ -6572,6 +6600,7 @@ declare const SysMetadataHistoryObject: Omit<{
6572
6600
  readonly name?: string | undefined;
6573
6601
  readonly precision?: number | undefined;
6574
6602
  readonly required?: boolean | undefined;
6603
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
6575
6604
  readonly multiple?: boolean | undefined;
6576
6605
  readonly dependencies?: string[] | undefined;
6577
6606
  readonly externalId?: boolean | undefined;
@@ -6748,6 +6777,7 @@ declare const SysMetadataHistoryObject: Omit<{
6748
6777
  readonly name?: string | undefined;
6749
6778
  readonly precision?: number | undefined;
6750
6779
  readonly required?: boolean | undefined;
6780
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
6751
6781
  readonly multiple?: boolean | undefined;
6752
6782
  readonly dependencies?: string[] | undefined;
6753
6783
  readonly externalId?: boolean | undefined;
@@ -6924,6 +6954,7 @@ declare const SysMetadataHistoryObject: Omit<{
6924
6954
  readonly name?: string | undefined;
6925
6955
  readonly precision?: number | undefined;
6926
6956
  readonly required?: boolean | undefined;
6957
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
6927
6958
  readonly multiple?: boolean | undefined;
6928
6959
  readonly dependencies?: string[] | undefined;
6929
6960
  readonly externalId?: boolean | undefined;
@@ -7103,6 +7134,7 @@ declare const SysMetadataHistoryObject: Omit<{
7103
7134
  readonly name?: string | undefined;
7104
7135
  readonly precision?: number | undefined;
7105
7136
  readonly required?: boolean | undefined;
7137
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
7106
7138
  readonly multiple?: boolean | undefined;
7107
7139
  readonly dependencies?: string[] | undefined;
7108
7140
  readonly externalId?: boolean | undefined;
@@ -7279,6 +7311,7 @@ declare const SysMetadataHistoryObject: Omit<{
7279
7311
  readonly name?: string | undefined;
7280
7312
  readonly precision?: number | undefined;
7281
7313
  readonly required?: boolean | undefined;
7314
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
7282
7315
  readonly multiple?: boolean | undefined;
7283
7316
  readonly dependencies?: string[] | undefined;
7284
7317
  readonly externalId?: boolean | undefined;
@@ -7455,6 +7488,7 @@ declare const SysMetadataHistoryObject: Omit<{
7455
7488
  readonly name?: string | undefined;
7456
7489
  readonly precision?: number | undefined;
7457
7490
  readonly required?: boolean | undefined;
7491
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
7458
7492
  readonly multiple?: boolean | undefined;
7459
7493
  readonly dependencies?: string[] | undefined;
7460
7494
  readonly externalId?: boolean | undefined;
@@ -7631,6 +7665,7 @@ declare const SysMetadataHistoryObject: Omit<{
7631
7665
  readonly name?: string | undefined;
7632
7666
  readonly precision?: number | undefined;
7633
7667
  readonly required?: boolean | undefined;
7668
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
7634
7669
  readonly multiple?: boolean | undefined;
7635
7670
  readonly dependencies?: string[] | undefined;
7636
7671
  readonly externalId?: boolean | undefined;
@@ -7811,6 +7846,7 @@ declare const SysMetadataHistoryObject: Omit<{
7811
7846
  readonly name?: string | undefined;
7812
7847
  readonly precision?: number | undefined;
7813
7848
  readonly required?: boolean | undefined;
7849
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
7814
7850
  readonly multiple?: boolean | undefined;
7815
7851
  readonly dependencies?: string[] | undefined;
7816
7852
  readonly externalId?: boolean | undefined;
@@ -7987,6 +8023,7 @@ declare const SysMetadataHistoryObject: Omit<{
7987
8023
  readonly name?: string | undefined;
7988
8024
  readonly precision?: number | undefined;
7989
8025
  readonly required?: boolean | undefined;
8026
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
7990
8027
  readonly multiple?: boolean | undefined;
7991
8028
  readonly dependencies?: string[] | undefined;
7992
8029
  readonly externalId?: boolean | undefined;
@@ -8163,6 +8200,7 @@ declare const SysMetadataHistoryObject: Omit<{
8163
8200
  readonly name?: string | undefined;
8164
8201
  readonly precision?: number | undefined;
8165
8202
  readonly required?: boolean | undefined;
8203
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
8166
8204
  readonly multiple?: boolean | undefined;
8167
8205
  readonly dependencies?: string[] | undefined;
8168
8206
  readonly externalId?: boolean | undefined;
@@ -8339,6 +8377,7 @@ declare const SysMetadataHistoryObject: Omit<{
8339
8377
  readonly name?: string | undefined;
8340
8378
  readonly precision?: number | undefined;
8341
8379
  readonly required?: boolean | undefined;
8380
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
8342
8381
  readonly multiple?: boolean | undefined;
8343
8382
  readonly dependencies?: string[] | undefined;
8344
8383
  readonly externalId?: boolean | undefined;
@@ -8527,6 +8566,3141 @@ declare const SysMetadataHistoryObject: Omit<{
8527
8566
  };
8528
8567
  }, "fields">;
8529
8568
 
8569
+ /**
8570
+ * sys_metadata_commit — Package-scoped commit log (ADR-0067)
8571
+ *
8572
+ * One row per authoring TURN (AI apply or Studio batch) that promoted a group
8573
+ * of metadata changes together. A commit GROUPS the per-item events already
8574
+ * recorded in `sys_metadata_history` (by their `event_seq` range) into the unit
8575
+ * a user actually reasons about — "the change my last instruction made" — and
8576
+ * is the handle for `revertCommit` / `rollbackToPackageCommit`.
8577
+ *
8578
+ * Append-only, like `sys_metadata_history`: a revert is recorded as a NEW commit
8579
+ * (`operation = 'revert'`, `parent_commit_id` = the reverted commit), never an
8580
+ * in-place mutation. History therefore never loses the record of what happened.
8581
+ *
8582
+ * The `items` payload captures, per artifact, exactly what `revertCommit` needs
8583
+ * to undo the commit losslessly: whether the artifact EXISTED before this commit
8584
+ * (`existedBefore`) and, if so, the lineage `version` it should be restored to
8585
+ * (`prevVersion`). A created-by-this-commit artifact reverts by soft-removal;
8586
+ * a modified one reverts by `restoreVersion(prevVersion)`.
8587
+ */
8588
+ declare const SysMetadataCommitObject: Omit<{
8589
+ name: string;
8590
+ active: boolean;
8591
+ isSystem: boolean;
8592
+ abstract: boolean;
8593
+ datasource: string;
8594
+ fields: Record<string, {
8595
+ type: "number" | "boolean" | "date" | "record" | "file" | "tags" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "user" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "vector";
8596
+ required: boolean;
8597
+ searchable: boolean;
8598
+ multiple: boolean;
8599
+ unique: boolean;
8600
+ deleteBehavior: "set_null" | "cascade" | "restrict";
8601
+ hidden: boolean;
8602
+ readonly: boolean;
8603
+ sortable: boolean;
8604
+ index: boolean;
8605
+ externalId: boolean;
8606
+ name?: string | undefined;
8607
+ label?: string | undefined;
8608
+ description?: string | undefined;
8609
+ format?: string | undefined;
8610
+ columnName?: string | undefined;
8611
+ defaultValue?: unknown;
8612
+ maxLength?: number | undefined;
8613
+ minLength?: number | undefined;
8614
+ precision?: number | undefined;
8615
+ scale?: number | undefined;
8616
+ min?: number | undefined;
8617
+ max?: number | undefined;
8618
+ options?: {
8619
+ label: string;
8620
+ value: string;
8621
+ color?: string | undefined;
8622
+ default?: boolean | undefined;
8623
+ }[] | undefined;
8624
+ reference?: string | undefined;
8625
+ referenceFilters?: string[] | undefined;
8626
+ inlineEdit?: boolean | "grid" | "form" | undefined;
8627
+ inlineTitle?: string | undefined;
8628
+ inlineColumns?: any[] | undefined;
8629
+ inlineAmountField?: string | undefined;
8630
+ relatedList?: boolean | undefined;
8631
+ relatedListTitle?: string | undefined;
8632
+ relatedListColumns?: any[] | undefined;
8633
+ displayField?: string | undefined;
8634
+ descriptionField?: string | undefined;
8635
+ lookupColumns?: (string | {
8636
+ field: string;
8637
+ label?: string | undefined;
8638
+ width?: string | undefined;
8639
+ type?: string | undefined;
8640
+ })[] | undefined;
8641
+ lookupPageSize?: number | undefined;
8642
+ lookupFilters?: {
8643
+ field: string;
8644
+ operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
8645
+ value: any;
8646
+ }[] | undefined;
8647
+ dependsOn?: (string | {
8648
+ field: string;
8649
+ param?: string | undefined;
8650
+ })[] | undefined;
8651
+ allowCreate?: boolean | undefined;
8652
+ expression?: {
8653
+ dialect: "cel" | "js" | "cron" | "template";
8654
+ source?: string | undefined;
8655
+ ast?: unknown;
8656
+ meta?: {
8657
+ rationale?: string | undefined;
8658
+ generatedBy?: string | undefined;
8659
+ } | undefined;
8660
+ } | {
8661
+ dialect: "cel" | "js" | "cron" | "template";
8662
+ source?: string | undefined;
8663
+ ast?: unknown;
8664
+ meta?: {
8665
+ rationale?: string | undefined;
8666
+ generatedBy?: string | undefined;
8667
+ } | undefined;
8668
+ } | undefined;
8669
+ returnType?: "number" | "boolean" | "date" | "text" | undefined;
8670
+ summaryOperations?: {
8671
+ object: string;
8672
+ field: string;
8673
+ function: "min" | "max" | "count" | "sum" | "avg";
8674
+ relationshipField?: string | undefined;
8675
+ } | undefined;
8676
+ language?: string | undefined;
8677
+ maxRating?: number | undefined;
8678
+ step?: number | undefined;
8679
+ currencyConfig?: {
8680
+ precision: number;
8681
+ currencyMode: "fixed" | "dynamic";
8682
+ defaultCurrency: string;
8683
+ } | undefined;
8684
+ dimensions?: number | undefined;
8685
+ vectorConfig?: {
8686
+ dimensions: number;
8687
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
8688
+ normalized: boolean;
8689
+ indexed: boolean;
8690
+ indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
8691
+ } | undefined;
8692
+ fileAttachmentConfig?: {
8693
+ virusScan: boolean;
8694
+ virusScanOnUpload: boolean;
8695
+ quarantineOnThreat: boolean;
8696
+ allowMultiple: boolean;
8697
+ allowReplace: boolean;
8698
+ allowDelete: boolean;
8699
+ requireUpload: boolean;
8700
+ extractMetadata: boolean;
8701
+ extractText: boolean;
8702
+ versioningEnabled: boolean;
8703
+ publicRead: boolean;
8704
+ presignedUrlExpiry: number;
8705
+ minSize?: number | undefined;
8706
+ maxSize?: number | undefined;
8707
+ allowedTypes?: string[] | undefined;
8708
+ blockedTypes?: string[] | undefined;
8709
+ allowedMimeTypes?: string[] | undefined;
8710
+ blockedMimeTypes?: string[] | undefined;
8711
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
8712
+ storageProvider?: string | undefined;
8713
+ storageBucket?: string | undefined;
8714
+ storagePrefix?: string | undefined;
8715
+ imageValidation?: {
8716
+ generateThumbnails: boolean;
8717
+ preserveMetadata: boolean;
8718
+ autoRotate: boolean;
8719
+ minWidth?: number | undefined;
8720
+ maxWidth?: number | undefined;
8721
+ minHeight?: number | undefined;
8722
+ maxHeight?: number | undefined;
8723
+ aspectRatio?: string | undefined;
8724
+ thumbnailSizes?: {
8725
+ name: string;
8726
+ width: number;
8727
+ height: number;
8728
+ crop: boolean;
8729
+ }[] | undefined;
8730
+ } | undefined;
8731
+ maxVersions?: number | undefined;
8732
+ } | undefined;
8733
+ trackHistory?: boolean | undefined;
8734
+ dependencies?: string[] | undefined;
8735
+ group?: string | undefined;
8736
+ visibleWhen?: {
8737
+ dialect: "cel" | "js" | "cron" | "template";
8738
+ source?: string | undefined;
8739
+ ast?: unknown;
8740
+ meta?: {
8741
+ rationale?: string | undefined;
8742
+ generatedBy?: string | undefined;
8743
+ } | undefined;
8744
+ } | {
8745
+ dialect: "cel" | "js" | "cron" | "template";
8746
+ source?: string | undefined;
8747
+ ast?: unknown;
8748
+ meta?: {
8749
+ rationale?: string | undefined;
8750
+ generatedBy?: string | undefined;
8751
+ } | undefined;
8752
+ } | undefined;
8753
+ readonlyWhen?: {
8754
+ dialect: "cel" | "js" | "cron" | "template";
8755
+ source?: string | undefined;
8756
+ ast?: unknown;
8757
+ meta?: {
8758
+ rationale?: string | undefined;
8759
+ generatedBy?: string | undefined;
8760
+ } | undefined;
8761
+ } | {
8762
+ dialect: "cel" | "js" | "cron" | "template";
8763
+ source?: string | undefined;
8764
+ ast?: unknown;
8765
+ meta?: {
8766
+ rationale?: string | undefined;
8767
+ generatedBy?: string | undefined;
8768
+ } | undefined;
8769
+ } | undefined;
8770
+ requiredWhen?: {
8771
+ dialect: "cel" | "js" | "cron" | "template";
8772
+ source?: string | undefined;
8773
+ ast?: unknown;
8774
+ meta?: {
8775
+ rationale?: string | undefined;
8776
+ generatedBy?: string | undefined;
8777
+ } | undefined;
8778
+ } | {
8779
+ dialect: "cel" | "js" | "cron" | "template";
8780
+ source?: string | undefined;
8781
+ ast?: unknown;
8782
+ meta?: {
8783
+ rationale?: string | undefined;
8784
+ generatedBy?: string | undefined;
8785
+ } | undefined;
8786
+ } | undefined;
8787
+ conditionalRequired?: {
8788
+ dialect: "cel" | "js" | "cron" | "template";
8789
+ source?: string | undefined;
8790
+ ast?: unknown;
8791
+ meta?: {
8792
+ rationale?: string | undefined;
8793
+ generatedBy?: string | undefined;
8794
+ } | undefined;
8795
+ } | {
8796
+ dialect: "cel" | "js" | "cron" | "template";
8797
+ source?: string | undefined;
8798
+ ast?: unknown;
8799
+ meta?: {
8800
+ rationale?: string | undefined;
8801
+ generatedBy?: string | undefined;
8802
+ } | undefined;
8803
+ } | undefined;
8804
+ requiredPermissions?: string[] | undefined;
8805
+ system?: boolean | undefined;
8806
+ inlineHelpText?: string | undefined;
8807
+ caseSensitive?: boolean | undefined;
8808
+ autonumberFormat?: string | undefined;
8809
+ }>;
8810
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
8811
+ _lockReason?: string | undefined;
8812
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
8813
+ _provenance?: "org" | "package" | "env-forced" | undefined;
8814
+ _packageId?: string | undefined;
8815
+ _packageVersion?: string | undefined;
8816
+ _lockDocsUrl?: string | undefined;
8817
+ label?: string | undefined;
8818
+ pluralLabel?: string | undefined;
8819
+ description?: string | undefined;
8820
+ icon?: string | undefined;
8821
+ tags?: string[] | undefined;
8822
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
8823
+ userActions?: {
8824
+ create?: boolean | undefined;
8825
+ import?: boolean | undefined;
8826
+ edit?: boolean | undefined;
8827
+ delete?: boolean | undefined;
8828
+ exportCsv?: boolean | undefined;
8829
+ } | undefined;
8830
+ systemFields?: false | {
8831
+ tenant?: boolean | undefined;
8832
+ owner?: boolean | undefined;
8833
+ audit?: boolean | undefined;
8834
+ } | undefined;
8835
+ external?: {
8836
+ writable: boolean;
8837
+ remoteName?: string | undefined;
8838
+ remoteSchema?: string | undefined;
8839
+ columnMap?: Record<string, string> | undefined;
8840
+ introspectedAt?: string | undefined;
8841
+ ignoreColumns?: string[] | undefined;
8842
+ } | undefined;
8843
+ indexes?: {
8844
+ fields: string[];
8845
+ type: "hash" | "btree" | "gin" | "gist" | "fulltext";
8846
+ unique: boolean;
8847
+ name?: string | undefined;
8848
+ partial?: string | undefined;
8849
+ }[] | undefined;
8850
+ fieldGroups?: {
8851
+ key: string;
8852
+ label: string;
8853
+ defaultExpanded: boolean;
8854
+ icon?: string | undefined;
8855
+ description?: string | undefined;
8856
+ visibleOn?: {
8857
+ dialect: "cel" | "js" | "cron" | "template";
8858
+ source?: string | undefined;
8859
+ ast?: unknown;
8860
+ meta?: {
8861
+ rationale?: string | undefined;
8862
+ generatedBy?: string | undefined;
8863
+ } | undefined;
8864
+ } | {
8865
+ dialect: "cel" | "js" | "cron" | "template";
8866
+ source?: string | undefined;
8867
+ ast?: unknown;
8868
+ meta?: {
8869
+ rationale?: string | undefined;
8870
+ generatedBy?: string | undefined;
8871
+ } | undefined;
8872
+ } | undefined;
8873
+ }[] | undefined;
8874
+ tenancy?: {
8875
+ enabled: boolean;
8876
+ strategy: "hybrid" | "shared" | "isolated";
8877
+ tenantField: string;
8878
+ crossTenantAccess: boolean;
8879
+ } | undefined;
8880
+ access?: {
8881
+ default: "public" | "private";
8882
+ } | undefined;
8883
+ requiredPermissions?: string[] | undefined;
8884
+ softDelete?: {
8885
+ enabled: boolean;
8886
+ field: string;
8887
+ cascadeDelete: boolean;
8888
+ } | undefined;
8889
+ versioning?: {
8890
+ enabled: boolean;
8891
+ strategy: "snapshot" | "delta" | "event-sourcing";
8892
+ versionField: string;
8893
+ retentionDays?: number | undefined;
8894
+ } | undefined;
8895
+ partitioning?: {
8896
+ enabled: boolean;
8897
+ strategy: "hash" | "list" | "range";
8898
+ key: string;
8899
+ interval?: string | undefined;
8900
+ } | undefined;
8901
+ validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
8902
+ activityMilestones?: {
8903
+ field: string;
8904
+ value: string;
8905
+ summary: string;
8906
+ type?: string | undefined;
8907
+ }[] | undefined;
8908
+ displayNameField?: string | undefined;
8909
+ recordName?: {
8910
+ type: "text" | "autonumber";
8911
+ displayFormat?: string | undefined;
8912
+ startNumber?: number | undefined;
8913
+ } | undefined;
8914
+ titleFormat?: {
8915
+ dialect: "cel" | "js" | "cron" | "template";
8916
+ source?: string | undefined;
8917
+ ast?: unknown;
8918
+ meta?: {
8919
+ rationale?: string | undefined;
8920
+ generatedBy?: string | undefined;
8921
+ } | undefined;
8922
+ } | {
8923
+ dialect: "cel" | "js" | "cron" | "template";
8924
+ source?: string | undefined;
8925
+ ast?: unknown;
8926
+ meta?: {
8927
+ rationale?: string | undefined;
8928
+ generatedBy?: string | undefined;
8929
+ } | undefined;
8930
+ } | undefined;
8931
+ compactLayout?: string[] | undefined;
8932
+ listViews?: Record<string, {
8933
+ type: "map" | "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart";
8934
+ columns: string[] | {
8935
+ field: string;
8936
+ label?: string | undefined;
8937
+ width?: number | undefined;
8938
+ align?: "left" | "center" | "right" | undefined;
8939
+ hidden?: boolean | undefined;
8940
+ sortable?: boolean | undefined;
8941
+ resizable?: boolean | undefined;
8942
+ wrap?: boolean | undefined;
8943
+ type?: string | undefined;
8944
+ pinned?: "left" | "right" | undefined;
8945
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
8946
+ link?: boolean | undefined;
8947
+ action?: string | undefined;
8948
+ }[];
8949
+ name?: string | undefined;
8950
+ label?: string | undefined;
8951
+ data?: {
8952
+ provider: "object";
8953
+ object: string;
8954
+ } | {
8955
+ provider: "api";
8956
+ read?: {
8957
+ url: string;
8958
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
8959
+ headers?: Record<string, string> | undefined;
8960
+ params?: Record<string, unknown> | undefined;
8961
+ body?: unknown;
8962
+ } | undefined;
8963
+ write?: {
8964
+ url: string;
8965
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
8966
+ headers?: Record<string, string> | undefined;
8967
+ params?: Record<string, unknown> | undefined;
8968
+ body?: unknown;
8969
+ } | undefined;
8970
+ } | {
8971
+ provider: "value";
8972
+ items: unknown[];
8973
+ } | {
8974
+ provider: "schema";
8975
+ schemaId: string;
8976
+ schema?: Record<string, unknown> | undefined;
8977
+ } | undefined;
8978
+ filter?: {
8979
+ field: string;
8980
+ operator: string;
8981
+ value?: string | number | boolean | (string | number)[] | null | undefined;
8982
+ }[] | undefined;
8983
+ sort?: string | {
8984
+ field: string;
8985
+ order: "asc" | "desc";
8986
+ }[] | undefined;
8987
+ searchableFields?: string[] | undefined;
8988
+ filterableFields?: string[] | undefined;
8989
+ userFilters?: {
8990
+ element: "toggle" | "tabs" | "dropdown";
8991
+ fields?: {
8992
+ field: string;
8993
+ label?: string | undefined;
8994
+ type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
8995
+ options?: {
8996
+ value: string | number | boolean;
8997
+ label: string;
8998
+ color?: string | undefined;
8999
+ }[] | undefined;
9000
+ showCount?: boolean | undefined;
9001
+ defaultValues?: (string | number | boolean)[] | undefined;
9002
+ }[] | undefined;
9003
+ tabs?: {
9004
+ name: string;
9005
+ pinned: boolean;
9006
+ isDefault: boolean;
9007
+ visible: boolean;
9008
+ label?: string | undefined;
9009
+ icon?: string | undefined;
9010
+ view?: string | undefined;
9011
+ filter?: {
9012
+ field: string;
9013
+ operator: string;
9014
+ value?: string | number | boolean | (string | number)[] | null | undefined;
9015
+ }[] | undefined;
9016
+ order?: number | undefined;
9017
+ }[] | undefined;
9018
+ showAllRecords?: boolean | undefined;
9019
+ } | undefined;
9020
+ resizable?: boolean | undefined;
9021
+ striped?: boolean | undefined;
9022
+ bordered?: boolean | undefined;
9023
+ compactToolbar?: boolean | undefined;
9024
+ selection?: {
9025
+ type: "none" | "multiple" | "single";
9026
+ } | undefined;
9027
+ navigation?: {
9028
+ mode: "page" | "none" | "split" | "drawer" | "modal" | "popover" | "new_window";
9029
+ preventNavigation: boolean;
9030
+ openNewTab: boolean;
9031
+ view?: string | undefined;
9032
+ width?: string | number | undefined;
9033
+ } | undefined;
9034
+ pagination?: {
9035
+ pageSize: number;
9036
+ pageSizeOptions?: number[] | undefined;
9037
+ } | undefined;
9038
+ kanban?: {
9039
+ groupByField: string;
9040
+ columns: string[];
9041
+ summarizeField?: string | undefined;
9042
+ } | undefined;
9043
+ calendar?: {
9044
+ startDateField: string;
9045
+ titleField: string;
9046
+ endDateField?: string | undefined;
9047
+ colorField?: string | undefined;
9048
+ } | undefined;
9049
+ gantt?: {
9050
+ [x: string]: unknown;
9051
+ startDateField: string;
9052
+ endDateField: string;
9053
+ titleField: string;
9054
+ progressField?: string | undefined;
9055
+ dependenciesField?: string | undefined;
9056
+ colorField?: string | undefined;
9057
+ parentField?: string | undefined;
9058
+ typeField?: string | undefined;
9059
+ baselineStartField?: string | undefined;
9060
+ baselineEndField?: string | undefined;
9061
+ groupByField?: string | undefined;
9062
+ resourceView?: boolean | undefined;
9063
+ assigneeField?: string | undefined;
9064
+ effortField?: string | undefined;
9065
+ capacity?: number | undefined;
9066
+ tooltipFields?: (string | {
9067
+ field: string;
9068
+ label?: string | undefined;
9069
+ })[] | undefined;
9070
+ quickFilters?: {
9071
+ field: string;
9072
+ label?: string | undefined;
9073
+ options?: (string | {
9074
+ value: string | number;
9075
+ label?: string | undefined;
9076
+ })[] | undefined;
9077
+ }[] | undefined;
9078
+ autoZoomToFilter?: boolean | undefined;
9079
+ } | undefined;
9080
+ gallery?: {
9081
+ coverFit: "cover" | "contain";
9082
+ cardSize: "small" | "medium" | "large";
9083
+ coverField?: string | undefined;
9084
+ titleField?: string | undefined;
9085
+ visibleFields?: string[] | undefined;
9086
+ } | undefined;
9087
+ timeline?: {
9088
+ startDateField: string;
9089
+ titleField: string;
9090
+ scale: "hour" | "day" | "week" | "month" | "quarter" | "year";
9091
+ endDateField?: string | undefined;
9092
+ groupByField?: string | undefined;
9093
+ colorField?: string | undefined;
9094
+ } | undefined;
9095
+ chart?: {
9096
+ chartType: "bar" | "line" | "pie" | "area" | "scatter";
9097
+ dataset: string;
9098
+ values: string[];
9099
+ dimensions?: string[] | undefined;
9100
+ } | undefined;
9101
+ tree?: {
9102
+ [x: string]: unknown;
9103
+ parentField?: string | undefined;
9104
+ labelField?: string | undefined;
9105
+ fields?: string[] | undefined;
9106
+ defaultExpandedDepth?: number | undefined;
9107
+ } | undefined;
9108
+ description?: string | undefined;
9109
+ sharing?: {
9110
+ type: "personal" | "collaborative";
9111
+ lockedBy?: string | undefined;
9112
+ } | undefined;
9113
+ rowHeight?: "medium" | "short" | "compact" | "tall" | "extra_tall" | undefined;
9114
+ grouping?: {
9115
+ fields: {
9116
+ field: string;
9117
+ order: "asc" | "desc";
9118
+ collapsed: boolean;
9119
+ }[];
9120
+ } | undefined;
9121
+ rowColor?: {
9122
+ field: string;
9123
+ colors?: Record<string, string> | undefined;
9124
+ } | undefined;
9125
+ hiddenFields?: string[] | undefined;
9126
+ fieldOrder?: string[] | undefined;
9127
+ rowActions?: string[] | undefined;
9128
+ bulkActions?: string[] | undefined;
9129
+ bulkActionDefs?: Record<string, any>[] | undefined;
9130
+ virtualScroll?: boolean | undefined;
9131
+ conditionalFormatting?: {
9132
+ condition: {
9133
+ dialect: "cel" | "js" | "cron" | "template";
9134
+ source?: string | undefined;
9135
+ ast?: unknown;
9136
+ meta?: {
9137
+ rationale?: string | undefined;
9138
+ generatedBy?: string | undefined;
9139
+ } | undefined;
9140
+ } | {
9141
+ dialect: "cel" | "js" | "cron" | "template";
9142
+ source?: string | undefined;
9143
+ ast?: unknown;
9144
+ meta?: {
9145
+ rationale?: string | undefined;
9146
+ generatedBy?: string | undefined;
9147
+ } | undefined;
9148
+ };
9149
+ style: Record<string, string>;
9150
+ }[] | undefined;
9151
+ inlineEdit?: boolean | undefined;
9152
+ exportOptions?: ("json" | "csv" | "xlsx" | "pdf")[] | undefined;
9153
+ userActions?: {
9154
+ sort: boolean;
9155
+ search: boolean;
9156
+ filter: boolean;
9157
+ rowHeight: boolean;
9158
+ addRecordForm: boolean;
9159
+ buttons?: string[] | undefined;
9160
+ } | undefined;
9161
+ appearance?: {
9162
+ showDescription: boolean;
9163
+ allowedVisualizations?: ("map" | "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart")[] | undefined;
9164
+ } | undefined;
9165
+ tabs?: {
9166
+ name: string;
9167
+ pinned: boolean;
9168
+ isDefault: boolean;
9169
+ visible: boolean;
9170
+ label?: string | undefined;
9171
+ icon?: string | undefined;
9172
+ view?: string | undefined;
9173
+ filter?: {
9174
+ field: string;
9175
+ operator: string;
9176
+ value?: string | number | boolean | (string | number)[] | null | undefined;
9177
+ }[] | undefined;
9178
+ order?: number | undefined;
9179
+ }[] | undefined;
9180
+ addRecord?: {
9181
+ enabled: boolean;
9182
+ position: "top" | "bottom" | "both";
9183
+ mode: "form" | "modal" | "inline";
9184
+ formView?: string | undefined;
9185
+ } | undefined;
9186
+ showRecordCount?: boolean | undefined;
9187
+ allowPrinting?: boolean | undefined;
9188
+ emptyState?: {
9189
+ title?: string | undefined;
9190
+ message?: string | undefined;
9191
+ icon?: string | undefined;
9192
+ } | undefined;
9193
+ aria?: {
9194
+ ariaLabel?: string | undefined;
9195
+ ariaDescribedBy?: string | undefined;
9196
+ role?: string | undefined;
9197
+ } | undefined;
9198
+ responsive?: {
9199
+ breakpoint?: "md" | "xs" | "sm" | "lg" | "xl" | "2xl" | undefined;
9200
+ hiddenOn?: ("md" | "xs" | "sm" | "lg" | "xl" | "2xl")[] | undefined;
9201
+ columns?: {
9202
+ xs?: number | undefined;
9203
+ sm?: number | undefined;
9204
+ md?: number | undefined;
9205
+ lg?: number | undefined;
9206
+ xl?: number | undefined;
9207
+ '2xl'?: number | undefined;
9208
+ } | undefined;
9209
+ order?: {
9210
+ xs?: number | undefined;
9211
+ sm?: number | undefined;
9212
+ md?: number | undefined;
9213
+ lg?: number | undefined;
9214
+ xl?: number | undefined;
9215
+ '2xl'?: number | undefined;
9216
+ } | undefined;
9217
+ } | undefined;
9218
+ performance?: {
9219
+ lazyLoad?: boolean | undefined;
9220
+ virtualScroll?: {
9221
+ enabled: boolean;
9222
+ itemHeight?: number | undefined;
9223
+ overscan?: number | undefined;
9224
+ } | undefined;
9225
+ cacheStrategy?: "none" | "cache-first" | "network-first" | "stale-while-revalidate" | undefined;
9226
+ prefetch?: boolean | undefined;
9227
+ pageSize?: number | undefined;
9228
+ debounceMs?: number | undefined;
9229
+ } | undefined;
9230
+ }> | undefined;
9231
+ defaultDetailForm?: string | undefined;
9232
+ searchableFields?: string[] | undefined;
9233
+ search?: {
9234
+ fields: string[];
9235
+ displayFields?: string[] | undefined;
9236
+ filters?: string[] | undefined;
9237
+ } | undefined;
9238
+ enable?: {
9239
+ trackHistory: boolean;
9240
+ searchable: boolean;
9241
+ apiEnabled: boolean;
9242
+ files: boolean;
9243
+ feeds: boolean;
9244
+ activities: boolean;
9245
+ trash: boolean;
9246
+ mru: boolean;
9247
+ clone: boolean;
9248
+ apiMethods?: ("create" | "update" | "delete" | "search" | "import" | "list" | "get" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
9249
+ } | undefined;
9250
+ sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
9251
+ publicSharing?: {
9252
+ enabled: boolean;
9253
+ allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
9254
+ allowedPermissions?: ("view" | "edit" | "comment")[] | undefined;
9255
+ maxExpiryDays?: number | undefined;
9256
+ redactFields?: string[] | undefined;
9257
+ eligibility?: string | undefined;
9258
+ } | undefined;
9259
+ keyPrefix?: string | undefined;
9260
+ detail?: {
9261
+ [x: string]: unknown;
9262
+ renderViaSchema?: boolean | undefined;
9263
+ hideReferenceRail?: boolean | undefined;
9264
+ hideRelatedTab?: boolean | undefined;
9265
+ } | undefined;
9266
+ actions?: {
9267
+ name: string;
9268
+ label: string;
9269
+ type: "url" | "form" | "flow" | "api" | "script" | "modal";
9270
+ refreshAfter: boolean;
9271
+ objectName?: string | undefined;
9272
+ icon?: string | undefined;
9273
+ locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "record_section" | "global_nav")[] | undefined;
9274
+ component?: "action:button" | "action:icon" | "action:menu" | "action:group" | undefined;
9275
+ target?: string | undefined;
9276
+ body?: {
9277
+ language: "expression";
9278
+ source: string;
9279
+ } | {
9280
+ language: "js";
9281
+ source: string;
9282
+ capabilities: ("api.read" | "api.write" | "api.transaction" | "crypto.uuid" | "crypto.hash" | "log")[];
9283
+ timeoutMs?: number | undefined;
9284
+ memoryMb?: number | undefined;
9285
+ } | undefined;
9286
+ execute?: string | undefined;
9287
+ params?: {
9288
+ required: boolean;
9289
+ name?: string | undefined;
9290
+ field?: string | undefined;
9291
+ objectOverride?: string | undefined;
9292
+ label?: string | undefined;
9293
+ type?: "number" | "boolean" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "user" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
9294
+ options?: {
9295
+ label: string;
9296
+ value: string;
9297
+ }[] | undefined;
9298
+ placeholder?: string | undefined;
9299
+ helpText?: string | undefined;
9300
+ defaultValue?: unknown;
9301
+ defaultFromRow?: boolean | undefined;
9302
+ }[] | undefined;
9303
+ variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
9304
+ confirmText?: string | undefined;
9305
+ successMessage?: string | undefined;
9306
+ errorMessage?: string | undefined;
9307
+ undoable?: boolean | undefined;
9308
+ resultDialog?: {
9309
+ title?: string | undefined;
9310
+ description?: string | undefined;
9311
+ acknowledge?: string | undefined;
9312
+ format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
9313
+ fields?: {
9314
+ path: string;
9315
+ label?: string | undefined;
9316
+ format?: "secret" | "text" | "json" | "qrcode" | "code-list" | undefined;
9317
+ }[] | undefined;
9318
+ } | undefined;
9319
+ visible?: {
9320
+ dialect: "cel" | "js" | "cron" | "template";
9321
+ source?: string | undefined;
9322
+ ast?: unknown;
9323
+ meta?: {
9324
+ rationale?: string | undefined;
9325
+ generatedBy?: string | undefined;
9326
+ } | undefined;
9327
+ } | undefined;
9328
+ disabled?: boolean | {
9329
+ dialect: "cel" | "js" | "cron" | "template";
9330
+ source?: string | undefined;
9331
+ ast?: unknown;
9332
+ meta?: {
9333
+ rationale?: string | undefined;
9334
+ generatedBy?: string | undefined;
9335
+ } | undefined;
9336
+ } | undefined;
9337
+ requiredPermissions?: string[] | undefined;
9338
+ shortcut?: string | undefined;
9339
+ bulkEnabled?: boolean | undefined;
9340
+ ai?: {
9341
+ exposed: boolean;
9342
+ description?: string | undefined;
9343
+ category?: "action" | "data" | "flow" | "integration" | "vector_search" | "analytics" | "utility" | undefined;
9344
+ paramHints?: Record<string, {
9345
+ description?: string | undefined;
9346
+ enum?: (string | number)[] | undefined;
9347
+ examples?: unknown[] | undefined;
9348
+ }> | undefined;
9349
+ outputSchema?: Record<string, unknown> | undefined;
9350
+ requiresConfirmation?: boolean | undefined;
9351
+ } | undefined;
9352
+ recordIdParam?: string | undefined;
9353
+ recordIdField?: string | undefined;
9354
+ bodyShape?: "flat" | {
9355
+ wrap: string;
9356
+ } | undefined;
9357
+ method?: "POST" | "PATCH" | "PUT" | "DELETE" | undefined;
9358
+ bodyExtra?: Record<string, unknown> | undefined;
9359
+ mode?: "custom" | "delete" | "edit" | "create" | undefined;
9360
+ opensInNewTab?: boolean | undefined;
9361
+ newTabUrl?: string | undefined;
9362
+ timeout?: number | undefined;
9363
+ aria?: {
9364
+ ariaLabel?: string | undefined;
9365
+ ariaDescribedBy?: string | undefined;
9366
+ role?: string | undefined;
9367
+ } | undefined;
9368
+ }[] | undefined;
9369
+ protection?: {
9370
+ lock: "full" | "none" | "no-overlay" | "no-delete";
9371
+ reason: string;
9372
+ docsUrl?: string | undefined;
9373
+ } | undefined;
9374
+ }, "fields"> & Pick<{
9375
+ readonly name: "sys_metadata_commit";
9376
+ readonly label: "Metadata Commit";
9377
+ readonly pluralLabel: "Metadata Commits";
9378
+ readonly icon: "git-commit";
9379
+ readonly isSystem: true;
9380
+ readonly managedBy: "system";
9381
+ readonly description: "Package-scoped commit log grouping a turn’s metadata changes (ADR-0067).";
9382
+ readonly fields: {
9383
+ /** Primary Key — the commit id. */
9384
+ readonly id: {
9385
+ readonly readonly?: boolean | undefined;
9386
+ readonly format?: string | undefined;
9387
+ readonly options?: {
9388
+ label: string;
9389
+ value: string;
9390
+ color?: string | undefined;
9391
+ default?: boolean | undefined;
9392
+ }[] | undefined;
9393
+ readonly description?: string | undefined;
9394
+ readonly label?: string | undefined;
9395
+ readonly name?: string | undefined;
9396
+ readonly precision?: number | undefined;
9397
+ readonly required?: boolean | undefined;
9398
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
9399
+ readonly multiple?: boolean | undefined;
9400
+ readonly dependencies?: string[] | undefined;
9401
+ readonly externalId?: boolean | undefined;
9402
+ readonly defaultValue?: unknown;
9403
+ readonly requiredPermissions?: string[] | undefined;
9404
+ readonly group?: string | undefined;
9405
+ readonly hidden?: boolean | undefined;
9406
+ readonly system?: boolean | undefined;
9407
+ readonly min?: number | undefined;
9408
+ readonly max?: number | undefined;
9409
+ readonly dimensions?: number | undefined;
9410
+ readonly columnName?: string | undefined;
9411
+ readonly searchable?: boolean | undefined;
9412
+ readonly unique?: boolean | undefined;
9413
+ readonly maxLength?: number | undefined;
9414
+ readonly minLength?: number | undefined;
9415
+ readonly scale?: number | undefined;
9416
+ readonly reference?: string | undefined;
9417
+ readonly referenceFilters?: string[] | undefined;
9418
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
9419
+ readonly inlineEdit?: boolean | "grid" | "form" | undefined;
9420
+ readonly inlineTitle?: string | undefined;
9421
+ readonly inlineColumns?: any[] | undefined;
9422
+ readonly inlineAmountField?: string | undefined;
9423
+ readonly relatedList?: boolean | undefined;
9424
+ readonly relatedListTitle?: string | undefined;
9425
+ readonly relatedListColumns?: any[] | undefined;
9426
+ readonly displayField?: string | undefined;
9427
+ readonly descriptionField?: string | undefined;
9428
+ readonly lookupColumns?: (string | {
9429
+ field: string;
9430
+ label?: string | undefined;
9431
+ width?: string | undefined;
9432
+ type?: string | undefined;
9433
+ })[] | undefined;
9434
+ readonly lookupPageSize?: number | undefined;
9435
+ readonly lookupFilters?: {
9436
+ field: string;
9437
+ operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
9438
+ value: any;
9439
+ }[] | undefined;
9440
+ readonly dependsOn?: (string | {
9441
+ field: string;
9442
+ param?: string | undefined;
9443
+ })[] | undefined;
9444
+ readonly allowCreate?: boolean | undefined;
9445
+ readonly expression?: {
9446
+ dialect: "cel" | "js" | "cron" | "template";
9447
+ source?: string | undefined;
9448
+ ast?: unknown;
9449
+ meta?: {
9450
+ rationale?: string | undefined;
9451
+ generatedBy?: string | undefined;
9452
+ } | undefined;
9453
+ } | undefined;
9454
+ readonly summaryOperations?: {
9455
+ object: string;
9456
+ field: string;
9457
+ function: "min" | "max" | "count" | "sum" | "avg";
9458
+ relationshipField?: string | undefined;
9459
+ } | undefined;
9460
+ readonly language?: string | undefined;
9461
+ readonly maxRating?: number | undefined;
9462
+ readonly step?: number | undefined;
9463
+ readonly currencyConfig?: {
9464
+ precision: number;
9465
+ currencyMode: "fixed" | "dynamic";
9466
+ defaultCurrency: string;
9467
+ } | undefined;
9468
+ readonly vectorConfig?: {
9469
+ dimensions: number;
9470
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
9471
+ normalized: boolean;
9472
+ indexed: boolean;
9473
+ indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
9474
+ } | undefined;
9475
+ readonly fileAttachmentConfig?: {
9476
+ virusScan: boolean;
9477
+ virusScanOnUpload: boolean;
9478
+ quarantineOnThreat: boolean;
9479
+ allowMultiple: boolean;
9480
+ allowReplace: boolean;
9481
+ allowDelete: boolean;
9482
+ requireUpload: boolean;
9483
+ extractMetadata: boolean;
9484
+ extractText: boolean;
9485
+ versioningEnabled: boolean;
9486
+ publicRead: boolean;
9487
+ presignedUrlExpiry: number;
9488
+ minSize?: number | undefined;
9489
+ maxSize?: number | undefined;
9490
+ allowedTypes?: string[] | undefined;
9491
+ blockedTypes?: string[] | undefined;
9492
+ allowedMimeTypes?: string[] | undefined;
9493
+ blockedMimeTypes?: string[] | undefined;
9494
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
9495
+ storageProvider?: string | undefined;
9496
+ storageBucket?: string | undefined;
9497
+ storagePrefix?: string | undefined;
9498
+ imageValidation?: {
9499
+ generateThumbnails: boolean;
9500
+ preserveMetadata: boolean;
9501
+ autoRotate: boolean;
9502
+ minWidth?: number | undefined;
9503
+ maxWidth?: number | undefined;
9504
+ minHeight?: number | undefined;
9505
+ maxHeight?: number | undefined;
9506
+ aspectRatio?: string | undefined;
9507
+ thumbnailSizes?: {
9508
+ name: string;
9509
+ width: number;
9510
+ height: number;
9511
+ crop: boolean;
9512
+ }[] | undefined;
9513
+ } | undefined;
9514
+ maxVersions?: number | undefined;
9515
+ } | undefined;
9516
+ readonly trackHistory?: boolean | undefined;
9517
+ readonly visibleWhen?: {
9518
+ dialect: "cel" | "js" | "cron" | "template";
9519
+ source?: string | undefined;
9520
+ ast?: unknown;
9521
+ meta?: {
9522
+ rationale?: string | undefined;
9523
+ generatedBy?: string | undefined;
9524
+ } | undefined;
9525
+ } | undefined;
9526
+ readonly readonlyWhen?: {
9527
+ dialect: "cel" | "js" | "cron" | "template";
9528
+ source?: string | undefined;
9529
+ ast?: unknown;
9530
+ meta?: {
9531
+ rationale?: string | undefined;
9532
+ generatedBy?: string | undefined;
9533
+ } | undefined;
9534
+ } | undefined;
9535
+ readonly requiredWhen?: {
9536
+ dialect: "cel" | "js" | "cron" | "template";
9537
+ source?: string | undefined;
9538
+ ast?: unknown;
9539
+ meta?: {
9540
+ rationale?: string | undefined;
9541
+ generatedBy?: string | undefined;
9542
+ } | undefined;
9543
+ } | undefined;
9544
+ readonly conditionalRequired?: {
9545
+ dialect: "cel" | "js" | "cron" | "template";
9546
+ source?: string | undefined;
9547
+ ast?: unknown;
9548
+ meta?: {
9549
+ rationale?: string | undefined;
9550
+ generatedBy?: string | undefined;
9551
+ } | undefined;
9552
+ } | undefined;
9553
+ readonly sortable?: boolean | undefined;
9554
+ readonly inlineHelpText?: string | undefined;
9555
+ readonly caseSensitive?: boolean | undefined;
9556
+ readonly autonumberFormat?: string | undefined;
9557
+ readonly index?: boolean | undefined;
9558
+ readonly type: "text";
9559
+ };
9560
+ /** The app/package this commit belongs to (the unit a user reverts). */
9561
+ readonly package_id: {
9562
+ readonly readonly?: boolean | undefined;
9563
+ readonly format?: string | undefined;
9564
+ readonly options?: {
9565
+ label: string;
9566
+ value: string;
9567
+ color?: string | undefined;
9568
+ default?: boolean | undefined;
9569
+ }[] | undefined;
9570
+ readonly description?: string | undefined;
9571
+ readonly label?: string | undefined;
9572
+ readonly name?: string | undefined;
9573
+ readonly precision?: number | undefined;
9574
+ readonly required?: boolean | undefined;
9575
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
9576
+ readonly multiple?: boolean | undefined;
9577
+ readonly dependencies?: string[] | undefined;
9578
+ readonly externalId?: boolean | undefined;
9579
+ readonly defaultValue?: unknown;
9580
+ readonly requiredPermissions?: string[] | undefined;
9581
+ readonly group?: string | undefined;
9582
+ readonly hidden?: boolean | undefined;
9583
+ readonly system?: boolean | undefined;
9584
+ readonly min?: number | undefined;
9585
+ readonly max?: number | undefined;
9586
+ readonly dimensions?: number | undefined;
9587
+ readonly columnName?: string | undefined;
9588
+ readonly searchable?: boolean | undefined;
9589
+ readonly unique?: boolean | undefined;
9590
+ readonly maxLength?: number | undefined;
9591
+ readonly minLength?: number | undefined;
9592
+ readonly scale?: number | undefined;
9593
+ readonly reference?: string | undefined;
9594
+ readonly referenceFilters?: string[] | undefined;
9595
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
9596
+ readonly inlineEdit?: boolean | "grid" | "form" | undefined;
9597
+ readonly inlineTitle?: string | undefined;
9598
+ readonly inlineColumns?: any[] | undefined;
9599
+ readonly inlineAmountField?: string | undefined;
9600
+ readonly relatedList?: boolean | undefined;
9601
+ readonly relatedListTitle?: string | undefined;
9602
+ readonly relatedListColumns?: any[] | undefined;
9603
+ readonly displayField?: string | undefined;
9604
+ readonly descriptionField?: string | undefined;
9605
+ readonly lookupColumns?: (string | {
9606
+ field: string;
9607
+ label?: string | undefined;
9608
+ width?: string | undefined;
9609
+ type?: string | undefined;
9610
+ })[] | undefined;
9611
+ readonly lookupPageSize?: number | undefined;
9612
+ readonly lookupFilters?: {
9613
+ field: string;
9614
+ operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
9615
+ value: any;
9616
+ }[] | undefined;
9617
+ readonly dependsOn?: (string | {
9618
+ field: string;
9619
+ param?: string | undefined;
9620
+ })[] | undefined;
9621
+ readonly allowCreate?: boolean | undefined;
9622
+ readonly expression?: {
9623
+ dialect: "cel" | "js" | "cron" | "template";
9624
+ source?: string | undefined;
9625
+ ast?: unknown;
9626
+ meta?: {
9627
+ rationale?: string | undefined;
9628
+ generatedBy?: string | undefined;
9629
+ } | undefined;
9630
+ } | undefined;
9631
+ readonly summaryOperations?: {
9632
+ object: string;
9633
+ field: string;
9634
+ function: "min" | "max" | "count" | "sum" | "avg";
9635
+ relationshipField?: string | undefined;
9636
+ } | undefined;
9637
+ readonly language?: string | undefined;
9638
+ readonly maxRating?: number | undefined;
9639
+ readonly step?: number | undefined;
9640
+ readonly currencyConfig?: {
9641
+ precision: number;
9642
+ currencyMode: "fixed" | "dynamic";
9643
+ defaultCurrency: string;
9644
+ } | undefined;
9645
+ readonly vectorConfig?: {
9646
+ dimensions: number;
9647
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
9648
+ normalized: boolean;
9649
+ indexed: boolean;
9650
+ indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
9651
+ } | undefined;
9652
+ readonly fileAttachmentConfig?: {
9653
+ virusScan: boolean;
9654
+ virusScanOnUpload: boolean;
9655
+ quarantineOnThreat: boolean;
9656
+ allowMultiple: boolean;
9657
+ allowReplace: boolean;
9658
+ allowDelete: boolean;
9659
+ requireUpload: boolean;
9660
+ extractMetadata: boolean;
9661
+ extractText: boolean;
9662
+ versioningEnabled: boolean;
9663
+ publicRead: boolean;
9664
+ presignedUrlExpiry: number;
9665
+ minSize?: number | undefined;
9666
+ maxSize?: number | undefined;
9667
+ allowedTypes?: string[] | undefined;
9668
+ blockedTypes?: string[] | undefined;
9669
+ allowedMimeTypes?: string[] | undefined;
9670
+ blockedMimeTypes?: string[] | undefined;
9671
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
9672
+ storageProvider?: string | undefined;
9673
+ storageBucket?: string | undefined;
9674
+ storagePrefix?: string | undefined;
9675
+ imageValidation?: {
9676
+ generateThumbnails: boolean;
9677
+ preserveMetadata: boolean;
9678
+ autoRotate: boolean;
9679
+ minWidth?: number | undefined;
9680
+ maxWidth?: number | undefined;
9681
+ minHeight?: number | undefined;
9682
+ maxHeight?: number | undefined;
9683
+ aspectRatio?: string | undefined;
9684
+ thumbnailSizes?: {
9685
+ name: string;
9686
+ width: number;
9687
+ height: number;
9688
+ crop: boolean;
9689
+ }[] | undefined;
9690
+ } | undefined;
9691
+ maxVersions?: number | undefined;
9692
+ } | undefined;
9693
+ readonly trackHistory?: boolean | undefined;
9694
+ readonly visibleWhen?: {
9695
+ dialect: "cel" | "js" | "cron" | "template";
9696
+ source?: string | undefined;
9697
+ ast?: unknown;
9698
+ meta?: {
9699
+ rationale?: string | undefined;
9700
+ generatedBy?: string | undefined;
9701
+ } | undefined;
9702
+ } | undefined;
9703
+ readonly readonlyWhen?: {
9704
+ dialect: "cel" | "js" | "cron" | "template";
9705
+ source?: string | undefined;
9706
+ ast?: unknown;
9707
+ meta?: {
9708
+ rationale?: string | undefined;
9709
+ generatedBy?: string | undefined;
9710
+ } | undefined;
9711
+ } | undefined;
9712
+ readonly requiredWhen?: {
9713
+ dialect: "cel" | "js" | "cron" | "template";
9714
+ source?: string | undefined;
9715
+ ast?: unknown;
9716
+ meta?: {
9717
+ rationale?: string | undefined;
9718
+ generatedBy?: string | undefined;
9719
+ } | undefined;
9720
+ } | undefined;
9721
+ readonly conditionalRequired?: {
9722
+ dialect: "cel" | "js" | "cron" | "template";
9723
+ source?: string | undefined;
9724
+ ast?: unknown;
9725
+ meta?: {
9726
+ rationale?: string | undefined;
9727
+ generatedBy?: string | undefined;
9728
+ } | undefined;
9729
+ } | undefined;
9730
+ readonly sortable?: boolean | undefined;
9731
+ readonly inlineHelpText?: string | undefined;
9732
+ readonly caseSensitive?: boolean | undefined;
9733
+ readonly autonumberFormat?: string | undefined;
9734
+ readonly index?: boolean | undefined;
9735
+ readonly type: "text";
9736
+ };
9737
+ /** apply = a turn promoted changes; revert = this commit undid another. */
9738
+ readonly operation: {
9739
+ readonly readonly?: boolean | undefined;
9740
+ readonly format?: string | undefined;
9741
+ options: {
9742
+ label: string;
9743
+ value: string;
9744
+ color?: string | undefined;
9745
+ default?: boolean | undefined;
9746
+ }[];
9747
+ readonly description?: string | undefined;
9748
+ readonly label?: string | undefined;
9749
+ readonly name?: string | undefined;
9750
+ readonly precision?: number | undefined;
9751
+ readonly required?: boolean | undefined;
9752
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
9753
+ readonly multiple?: boolean | undefined;
9754
+ readonly dependencies?: string[] | undefined;
9755
+ readonly externalId?: boolean | undefined;
9756
+ readonly defaultValue?: unknown;
9757
+ readonly requiredPermissions?: string[] | undefined;
9758
+ readonly group?: string | undefined;
9759
+ readonly hidden?: boolean | undefined;
9760
+ readonly system?: boolean | undefined;
9761
+ readonly min?: number | undefined;
9762
+ readonly max?: number | undefined;
9763
+ readonly dimensions?: number | undefined;
9764
+ readonly columnName?: string | undefined;
9765
+ readonly searchable?: boolean | undefined;
9766
+ readonly unique?: boolean | undefined;
9767
+ readonly maxLength?: number | undefined;
9768
+ readonly minLength?: number | undefined;
9769
+ readonly scale?: number | undefined;
9770
+ readonly reference?: string | undefined;
9771
+ readonly referenceFilters?: string[] | undefined;
9772
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
9773
+ readonly inlineEdit?: boolean | "grid" | "form" | undefined;
9774
+ readonly inlineTitle?: string | undefined;
9775
+ readonly inlineColumns?: any[] | undefined;
9776
+ readonly inlineAmountField?: string | undefined;
9777
+ readonly relatedList?: boolean | undefined;
9778
+ readonly relatedListTitle?: string | undefined;
9779
+ readonly relatedListColumns?: any[] | undefined;
9780
+ readonly displayField?: string | undefined;
9781
+ readonly descriptionField?: string | undefined;
9782
+ readonly lookupColumns?: (string | {
9783
+ field: string;
9784
+ label?: string | undefined;
9785
+ width?: string | undefined;
9786
+ type?: string | undefined;
9787
+ })[] | undefined;
9788
+ readonly lookupPageSize?: number | undefined;
9789
+ readonly lookupFilters?: {
9790
+ field: string;
9791
+ operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
9792
+ value: any;
9793
+ }[] | undefined;
9794
+ readonly dependsOn?: (string | {
9795
+ field: string;
9796
+ param?: string | undefined;
9797
+ })[] | undefined;
9798
+ readonly allowCreate?: boolean | undefined;
9799
+ readonly expression?: {
9800
+ dialect: "cel" | "js" | "cron" | "template";
9801
+ source?: string | undefined;
9802
+ ast?: unknown;
9803
+ meta?: {
9804
+ rationale?: string | undefined;
9805
+ generatedBy?: string | undefined;
9806
+ } | undefined;
9807
+ } | undefined;
9808
+ readonly summaryOperations?: {
9809
+ object: string;
9810
+ field: string;
9811
+ function: "min" | "max" | "count" | "sum" | "avg";
9812
+ relationshipField?: string | undefined;
9813
+ } | undefined;
9814
+ readonly language?: string | undefined;
9815
+ readonly maxRating?: number | undefined;
9816
+ readonly step?: number | undefined;
9817
+ readonly currencyConfig?: {
9818
+ precision: number;
9819
+ currencyMode: "fixed" | "dynamic";
9820
+ defaultCurrency: string;
9821
+ } | undefined;
9822
+ readonly vectorConfig?: {
9823
+ dimensions: number;
9824
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
9825
+ normalized: boolean;
9826
+ indexed: boolean;
9827
+ indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
9828
+ } | undefined;
9829
+ readonly fileAttachmentConfig?: {
9830
+ virusScan: boolean;
9831
+ virusScanOnUpload: boolean;
9832
+ quarantineOnThreat: boolean;
9833
+ allowMultiple: boolean;
9834
+ allowReplace: boolean;
9835
+ allowDelete: boolean;
9836
+ requireUpload: boolean;
9837
+ extractMetadata: boolean;
9838
+ extractText: boolean;
9839
+ versioningEnabled: boolean;
9840
+ publicRead: boolean;
9841
+ presignedUrlExpiry: number;
9842
+ minSize?: number | undefined;
9843
+ maxSize?: number | undefined;
9844
+ allowedTypes?: string[] | undefined;
9845
+ blockedTypes?: string[] | undefined;
9846
+ allowedMimeTypes?: string[] | undefined;
9847
+ blockedMimeTypes?: string[] | undefined;
9848
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
9849
+ storageProvider?: string | undefined;
9850
+ storageBucket?: string | undefined;
9851
+ storagePrefix?: string | undefined;
9852
+ imageValidation?: {
9853
+ generateThumbnails: boolean;
9854
+ preserveMetadata: boolean;
9855
+ autoRotate: boolean;
9856
+ minWidth?: number | undefined;
9857
+ maxWidth?: number | undefined;
9858
+ minHeight?: number | undefined;
9859
+ maxHeight?: number | undefined;
9860
+ aspectRatio?: string | undefined;
9861
+ thumbnailSizes?: {
9862
+ name: string;
9863
+ width: number;
9864
+ height: number;
9865
+ crop: boolean;
9866
+ }[] | undefined;
9867
+ } | undefined;
9868
+ maxVersions?: number | undefined;
9869
+ } | undefined;
9870
+ readonly trackHistory?: boolean | undefined;
9871
+ readonly visibleWhen?: {
9872
+ dialect: "cel" | "js" | "cron" | "template";
9873
+ source?: string | undefined;
9874
+ ast?: unknown;
9875
+ meta?: {
9876
+ rationale?: string | undefined;
9877
+ generatedBy?: string | undefined;
9878
+ } | undefined;
9879
+ } | undefined;
9880
+ readonly readonlyWhen?: {
9881
+ dialect: "cel" | "js" | "cron" | "template";
9882
+ source?: string | undefined;
9883
+ ast?: unknown;
9884
+ meta?: {
9885
+ rationale?: string | undefined;
9886
+ generatedBy?: string | undefined;
9887
+ } | undefined;
9888
+ } | undefined;
9889
+ readonly requiredWhen?: {
9890
+ dialect: "cel" | "js" | "cron" | "template";
9891
+ source?: string | undefined;
9892
+ ast?: unknown;
9893
+ meta?: {
9894
+ rationale?: string | undefined;
9895
+ generatedBy?: string | undefined;
9896
+ } | undefined;
9897
+ } | undefined;
9898
+ readonly conditionalRequired?: {
9899
+ dialect: "cel" | "js" | "cron" | "template";
9900
+ source?: string | undefined;
9901
+ ast?: unknown;
9902
+ meta?: {
9903
+ rationale?: string | undefined;
9904
+ generatedBy?: string | undefined;
9905
+ } | undefined;
9906
+ } | undefined;
9907
+ readonly sortable?: boolean | undefined;
9908
+ readonly inlineHelpText?: string | undefined;
9909
+ readonly caseSensitive?: boolean | undefined;
9910
+ readonly autonumberFormat?: string | undefined;
9911
+ readonly index?: boolean | undefined;
9912
+ readonly type: "select";
9913
+ };
9914
+ /** Human-readable summary — for AI turns, the user's prompt. */
9915
+ readonly message: {
9916
+ readonly readonly?: boolean | undefined;
9917
+ readonly format?: string | undefined;
9918
+ readonly options?: {
9919
+ label: string;
9920
+ value: string;
9921
+ color?: string | undefined;
9922
+ default?: boolean | undefined;
9923
+ }[] | undefined;
9924
+ readonly description?: string | undefined;
9925
+ readonly label?: string | undefined;
9926
+ readonly name?: string | undefined;
9927
+ readonly precision?: number | undefined;
9928
+ readonly required?: boolean | undefined;
9929
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
9930
+ readonly multiple?: boolean | undefined;
9931
+ readonly dependencies?: string[] | undefined;
9932
+ readonly externalId?: boolean | undefined;
9933
+ readonly defaultValue?: unknown;
9934
+ readonly requiredPermissions?: string[] | undefined;
9935
+ readonly group?: string | undefined;
9936
+ readonly hidden?: boolean | undefined;
9937
+ readonly system?: boolean | undefined;
9938
+ readonly min?: number | undefined;
9939
+ readonly max?: number | undefined;
9940
+ readonly dimensions?: number | undefined;
9941
+ readonly columnName?: string | undefined;
9942
+ readonly searchable?: boolean | undefined;
9943
+ readonly unique?: boolean | undefined;
9944
+ readonly maxLength?: number | undefined;
9945
+ readonly minLength?: number | undefined;
9946
+ readonly scale?: number | undefined;
9947
+ readonly reference?: string | undefined;
9948
+ readonly referenceFilters?: string[] | undefined;
9949
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
9950
+ readonly inlineEdit?: boolean | "grid" | "form" | undefined;
9951
+ readonly inlineTitle?: string | undefined;
9952
+ readonly inlineColumns?: any[] | undefined;
9953
+ readonly inlineAmountField?: string | undefined;
9954
+ readonly relatedList?: boolean | undefined;
9955
+ readonly relatedListTitle?: string | undefined;
9956
+ readonly relatedListColumns?: any[] | undefined;
9957
+ readonly displayField?: string | undefined;
9958
+ readonly descriptionField?: string | undefined;
9959
+ readonly lookupColumns?: (string | {
9960
+ field: string;
9961
+ label?: string | undefined;
9962
+ width?: string | undefined;
9963
+ type?: string | undefined;
9964
+ })[] | undefined;
9965
+ readonly lookupPageSize?: number | undefined;
9966
+ readonly lookupFilters?: {
9967
+ field: string;
9968
+ operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
9969
+ value: any;
9970
+ }[] | undefined;
9971
+ readonly dependsOn?: (string | {
9972
+ field: string;
9973
+ param?: string | undefined;
9974
+ })[] | undefined;
9975
+ readonly allowCreate?: boolean | undefined;
9976
+ readonly expression?: {
9977
+ dialect: "cel" | "js" | "cron" | "template";
9978
+ source?: string | undefined;
9979
+ ast?: unknown;
9980
+ meta?: {
9981
+ rationale?: string | undefined;
9982
+ generatedBy?: string | undefined;
9983
+ } | undefined;
9984
+ } | undefined;
9985
+ readonly summaryOperations?: {
9986
+ object: string;
9987
+ field: string;
9988
+ function: "min" | "max" | "count" | "sum" | "avg";
9989
+ relationshipField?: string | undefined;
9990
+ } | undefined;
9991
+ readonly language?: string | undefined;
9992
+ readonly maxRating?: number | undefined;
9993
+ readonly step?: number | undefined;
9994
+ readonly currencyConfig?: {
9995
+ precision: number;
9996
+ currencyMode: "fixed" | "dynamic";
9997
+ defaultCurrency: string;
9998
+ } | undefined;
9999
+ readonly vectorConfig?: {
10000
+ dimensions: number;
10001
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
10002
+ normalized: boolean;
10003
+ indexed: boolean;
10004
+ indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
10005
+ } | undefined;
10006
+ readonly fileAttachmentConfig?: {
10007
+ virusScan: boolean;
10008
+ virusScanOnUpload: boolean;
10009
+ quarantineOnThreat: boolean;
10010
+ allowMultiple: boolean;
10011
+ allowReplace: boolean;
10012
+ allowDelete: boolean;
10013
+ requireUpload: boolean;
10014
+ extractMetadata: boolean;
10015
+ extractText: boolean;
10016
+ versioningEnabled: boolean;
10017
+ publicRead: boolean;
10018
+ presignedUrlExpiry: number;
10019
+ minSize?: number | undefined;
10020
+ maxSize?: number | undefined;
10021
+ allowedTypes?: string[] | undefined;
10022
+ blockedTypes?: string[] | undefined;
10023
+ allowedMimeTypes?: string[] | undefined;
10024
+ blockedMimeTypes?: string[] | undefined;
10025
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
10026
+ storageProvider?: string | undefined;
10027
+ storageBucket?: string | undefined;
10028
+ storagePrefix?: string | undefined;
10029
+ imageValidation?: {
10030
+ generateThumbnails: boolean;
10031
+ preserveMetadata: boolean;
10032
+ autoRotate: boolean;
10033
+ minWidth?: number | undefined;
10034
+ maxWidth?: number | undefined;
10035
+ minHeight?: number | undefined;
10036
+ maxHeight?: number | undefined;
10037
+ aspectRatio?: string | undefined;
10038
+ thumbnailSizes?: {
10039
+ name: string;
10040
+ width: number;
10041
+ height: number;
10042
+ crop: boolean;
10043
+ }[] | undefined;
10044
+ } | undefined;
10045
+ maxVersions?: number | undefined;
10046
+ } | undefined;
10047
+ readonly trackHistory?: boolean | undefined;
10048
+ readonly visibleWhen?: {
10049
+ dialect: "cel" | "js" | "cron" | "template";
10050
+ source?: string | undefined;
10051
+ ast?: unknown;
10052
+ meta?: {
10053
+ rationale?: string | undefined;
10054
+ generatedBy?: string | undefined;
10055
+ } | undefined;
10056
+ } | undefined;
10057
+ readonly readonlyWhen?: {
10058
+ dialect: "cel" | "js" | "cron" | "template";
10059
+ source?: string | undefined;
10060
+ ast?: unknown;
10061
+ meta?: {
10062
+ rationale?: string | undefined;
10063
+ generatedBy?: string | undefined;
10064
+ } | undefined;
10065
+ } | undefined;
10066
+ readonly requiredWhen?: {
10067
+ dialect: "cel" | "js" | "cron" | "template";
10068
+ source?: string | undefined;
10069
+ ast?: unknown;
10070
+ meta?: {
10071
+ rationale?: string | undefined;
10072
+ generatedBy?: string | undefined;
10073
+ } | undefined;
10074
+ } | undefined;
10075
+ readonly conditionalRequired?: {
10076
+ dialect: "cel" | "js" | "cron" | "template";
10077
+ source?: string | undefined;
10078
+ ast?: unknown;
10079
+ meta?: {
10080
+ rationale?: string | undefined;
10081
+ generatedBy?: string | undefined;
10082
+ } | undefined;
10083
+ } | undefined;
10084
+ readonly sortable?: boolean | undefined;
10085
+ readonly inlineHelpText?: string | undefined;
10086
+ readonly caseSensitive?: boolean | undefined;
10087
+ readonly autonumberFormat?: string | undefined;
10088
+ readonly index?: boolean | undefined;
10089
+ readonly type: "textarea";
10090
+ };
10091
+ /** Producing actor (user id, or an AI principal like "ai:claude"). */
10092
+ readonly actor: {
10093
+ readonly readonly?: boolean | undefined;
10094
+ readonly format?: string | undefined;
10095
+ readonly options?: {
10096
+ label: string;
10097
+ value: string;
10098
+ color?: string | undefined;
10099
+ default?: boolean | undefined;
10100
+ }[] | undefined;
10101
+ readonly description?: string | undefined;
10102
+ readonly label?: string | undefined;
10103
+ readonly name?: string | undefined;
10104
+ readonly precision?: number | undefined;
10105
+ readonly required?: boolean | undefined;
10106
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
10107
+ readonly multiple?: boolean | undefined;
10108
+ readonly dependencies?: string[] | undefined;
10109
+ readonly externalId?: boolean | undefined;
10110
+ readonly defaultValue?: unknown;
10111
+ readonly requiredPermissions?: string[] | undefined;
10112
+ readonly group?: string | undefined;
10113
+ readonly hidden?: boolean | undefined;
10114
+ readonly system?: boolean | undefined;
10115
+ readonly min?: number | undefined;
10116
+ readonly max?: number | undefined;
10117
+ readonly dimensions?: number | undefined;
10118
+ readonly columnName?: string | undefined;
10119
+ readonly searchable?: boolean | undefined;
10120
+ readonly unique?: boolean | undefined;
10121
+ readonly maxLength?: number | undefined;
10122
+ readonly minLength?: number | undefined;
10123
+ readonly scale?: number | undefined;
10124
+ readonly reference?: string | undefined;
10125
+ readonly referenceFilters?: string[] | undefined;
10126
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
10127
+ readonly inlineEdit?: boolean | "grid" | "form" | undefined;
10128
+ readonly inlineTitle?: string | undefined;
10129
+ readonly inlineColumns?: any[] | undefined;
10130
+ readonly inlineAmountField?: string | undefined;
10131
+ readonly relatedList?: boolean | undefined;
10132
+ readonly relatedListTitle?: string | undefined;
10133
+ readonly relatedListColumns?: any[] | undefined;
10134
+ readonly displayField?: string | undefined;
10135
+ readonly descriptionField?: string | undefined;
10136
+ readonly lookupColumns?: (string | {
10137
+ field: string;
10138
+ label?: string | undefined;
10139
+ width?: string | undefined;
10140
+ type?: string | undefined;
10141
+ })[] | undefined;
10142
+ readonly lookupPageSize?: number | undefined;
10143
+ readonly lookupFilters?: {
10144
+ field: string;
10145
+ operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
10146
+ value: any;
10147
+ }[] | undefined;
10148
+ readonly dependsOn?: (string | {
10149
+ field: string;
10150
+ param?: string | undefined;
10151
+ })[] | undefined;
10152
+ readonly allowCreate?: boolean | undefined;
10153
+ readonly expression?: {
10154
+ dialect: "cel" | "js" | "cron" | "template";
10155
+ source?: string | undefined;
10156
+ ast?: unknown;
10157
+ meta?: {
10158
+ rationale?: string | undefined;
10159
+ generatedBy?: string | undefined;
10160
+ } | undefined;
10161
+ } | undefined;
10162
+ readonly summaryOperations?: {
10163
+ object: string;
10164
+ field: string;
10165
+ function: "min" | "max" | "count" | "sum" | "avg";
10166
+ relationshipField?: string | undefined;
10167
+ } | undefined;
10168
+ readonly language?: string | undefined;
10169
+ readonly maxRating?: number | undefined;
10170
+ readonly step?: number | undefined;
10171
+ readonly currencyConfig?: {
10172
+ precision: number;
10173
+ currencyMode: "fixed" | "dynamic";
10174
+ defaultCurrency: string;
10175
+ } | undefined;
10176
+ readonly vectorConfig?: {
10177
+ dimensions: number;
10178
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
10179
+ normalized: boolean;
10180
+ indexed: boolean;
10181
+ indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
10182
+ } | undefined;
10183
+ readonly fileAttachmentConfig?: {
10184
+ virusScan: boolean;
10185
+ virusScanOnUpload: boolean;
10186
+ quarantineOnThreat: boolean;
10187
+ allowMultiple: boolean;
10188
+ allowReplace: boolean;
10189
+ allowDelete: boolean;
10190
+ requireUpload: boolean;
10191
+ extractMetadata: boolean;
10192
+ extractText: boolean;
10193
+ versioningEnabled: boolean;
10194
+ publicRead: boolean;
10195
+ presignedUrlExpiry: number;
10196
+ minSize?: number | undefined;
10197
+ maxSize?: number | undefined;
10198
+ allowedTypes?: string[] | undefined;
10199
+ blockedTypes?: string[] | undefined;
10200
+ allowedMimeTypes?: string[] | undefined;
10201
+ blockedMimeTypes?: string[] | undefined;
10202
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
10203
+ storageProvider?: string | undefined;
10204
+ storageBucket?: string | undefined;
10205
+ storagePrefix?: string | undefined;
10206
+ imageValidation?: {
10207
+ generateThumbnails: boolean;
10208
+ preserveMetadata: boolean;
10209
+ autoRotate: boolean;
10210
+ minWidth?: number | undefined;
10211
+ maxWidth?: number | undefined;
10212
+ minHeight?: number | undefined;
10213
+ maxHeight?: number | undefined;
10214
+ aspectRatio?: string | undefined;
10215
+ thumbnailSizes?: {
10216
+ name: string;
10217
+ width: number;
10218
+ height: number;
10219
+ crop: boolean;
10220
+ }[] | undefined;
10221
+ } | undefined;
10222
+ maxVersions?: number | undefined;
10223
+ } | undefined;
10224
+ readonly trackHistory?: boolean | undefined;
10225
+ readonly visibleWhen?: {
10226
+ dialect: "cel" | "js" | "cron" | "template";
10227
+ source?: string | undefined;
10228
+ ast?: unknown;
10229
+ meta?: {
10230
+ rationale?: string | undefined;
10231
+ generatedBy?: string | undefined;
10232
+ } | undefined;
10233
+ } | undefined;
10234
+ readonly readonlyWhen?: {
10235
+ dialect: "cel" | "js" | "cron" | "template";
10236
+ source?: string | undefined;
10237
+ ast?: unknown;
10238
+ meta?: {
10239
+ rationale?: string | undefined;
10240
+ generatedBy?: string | undefined;
10241
+ } | undefined;
10242
+ } | undefined;
10243
+ readonly requiredWhen?: {
10244
+ dialect: "cel" | "js" | "cron" | "template";
10245
+ source?: string | undefined;
10246
+ ast?: unknown;
10247
+ meta?: {
10248
+ rationale?: string | undefined;
10249
+ generatedBy?: string | undefined;
10250
+ } | undefined;
10251
+ } | undefined;
10252
+ readonly conditionalRequired?: {
10253
+ dialect: "cel" | "js" | "cron" | "template";
10254
+ source?: string | undefined;
10255
+ ast?: unknown;
10256
+ meta?: {
10257
+ rationale?: string | undefined;
10258
+ generatedBy?: string | undefined;
10259
+ } | undefined;
10260
+ } | undefined;
10261
+ readonly sortable?: boolean | undefined;
10262
+ readonly inlineHelpText?: string | undefined;
10263
+ readonly caseSensitive?: boolean | undefined;
10264
+ readonly autonumberFormat?: string | undefined;
10265
+ readonly index?: boolean | undefined;
10266
+ readonly type: "text";
10267
+ };
10268
+ /** AI model that authored the turn (absent for human/CLI commits). */
10269
+ readonly ai_model: {
10270
+ readonly readonly?: boolean | undefined;
10271
+ readonly format?: string | undefined;
10272
+ readonly options?: {
10273
+ label: string;
10274
+ value: string;
10275
+ color?: string | undefined;
10276
+ default?: boolean | undefined;
10277
+ }[] | undefined;
10278
+ readonly description?: string | undefined;
10279
+ readonly label?: string | undefined;
10280
+ readonly name?: string | undefined;
10281
+ readonly precision?: number | undefined;
10282
+ readonly required?: boolean | undefined;
10283
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
10284
+ readonly multiple?: boolean | undefined;
10285
+ readonly dependencies?: string[] | undefined;
10286
+ readonly externalId?: boolean | undefined;
10287
+ readonly defaultValue?: unknown;
10288
+ readonly requiredPermissions?: string[] | undefined;
10289
+ readonly group?: string | undefined;
10290
+ readonly hidden?: boolean | undefined;
10291
+ readonly system?: boolean | undefined;
10292
+ readonly min?: number | undefined;
10293
+ readonly max?: number | undefined;
10294
+ readonly dimensions?: number | undefined;
10295
+ readonly columnName?: string | undefined;
10296
+ readonly searchable?: boolean | undefined;
10297
+ readonly unique?: boolean | undefined;
10298
+ readonly maxLength?: number | undefined;
10299
+ readonly minLength?: number | undefined;
10300
+ readonly scale?: number | undefined;
10301
+ readonly reference?: string | undefined;
10302
+ readonly referenceFilters?: string[] | undefined;
10303
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
10304
+ readonly inlineEdit?: boolean | "grid" | "form" | undefined;
10305
+ readonly inlineTitle?: string | undefined;
10306
+ readonly inlineColumns?: any[] | undefined;
10307
+ readonly inlineAmountField?: string | undefined;
10308
+ readonly relatedList?: boolean | undefined;
10309
+ readonly relatedListTitle?: string | undefined;
10310
+ readonly relatedListColumns?: any[] | undefined;
10311
+ readonly displayField?: string | undefined;
10312
+ readonly descriptionField?: string | undefined;
10313
+ readonly lookupColumns?: (string | {
10314
+ field: string;
10315
+ label?: string | undefined;
10316
+ width?: string | undefined;
10317
+ type?: string | undefined;
10318
+ })[] | undefined;
10319
+ readonly lookupPageSize?: number | undefined;
10320
+ readonly lookupFilters?: {
10321
+ field: string;
10322
+ operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
10323
+ value: any;
10324
+ }[] | undefined;
10325
+ readonly dependsOn?: (string | {
10326
+ field: string;
10327
+ param?: string | undefined;
10328
+ })[] | undefined;
10329
+ readonly allowCreate?: boolean | undefined;
10330
+ readonly expression?: {
10331
+ dialect: "cel" | "js" | "cron" | "template";
10332
+ source?: string | undefined;
10333
+ ast?: unknown;
10334
+ meta?: {
10335
+ rationale?: string | undefined;
10336
+ generatedBy?: string | undefined;
10337
+ } | undefined;
10338
+ } | undefined;
10339
+ readonly summaryOperations?: {
10340
+ object: string;
10341
+ field: string;
10342
+ function: "min" | "max" | "count" | "sum" | "avg";
10343
+ relationshipField?: string | undefined;
10344
+ } | undefined;
10345
+ readonly language?: string | undefined;
10346
+ readonly maxRating?: number | undefined;
10347
+ readonly step?: number | undefined;
10348
+ readonly currencyConfig?: {
10349
+ precision: number;
10350
+ currencyMode: "fixed" | "dynamic";
10351
+ defaultCurrency: string;
10352
+ } | undefined;
10353
+ readonly vectorConfig?: {
10354
+ dimensions: number;
10355
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
10356
+ normalized: boolean;
10357
+ indexed: boolean;
10358
+ indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
10359
+ } | undefined;
10360
+ readonly fileAttachmentConfig?: {
10361
+ virusScan: boolean;
10362
+ virusScanOnUpload: boolean;
10363
+ quarantineOnThreat: boolean;
10364
+ allowMultiple: boolean;
10365
+ allowReplace: boolean;
10366
+ allowDelete: boolean;
10367
+ requireUpload: boolean;
10368
+ extractMetadata: boolean;
10369
+ extractText: boolean;
10370
+ versioningEnabled: boolean;
10371
+ publicRead: boolean;
10372
+ presignedUrlExpiry: number;
10373
+ minSize?: number | undefined;
10374
+ maxSize?: number | undefined;
10375
+ allowedTypes?: string[] | undefined;
10376
+ blockedTypes?: string[] | undefined;
10377
+ allowedMimeTypes?: string[] | undefined;
10378
+ blockedMimeTypes?: string[] | undefined;
10379
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
10380
+ storageProvider?: string | undefined;
10381
+ storageBucket?: string | undefined;
10382
+ storagePrefix?: string | undefined;
10383
+ imageValidation?: {
10384
+ generateThumbnails: boolean;
10385
+ preserveMetadata: boolean;
10386
+ autoRotate: boolean;
10387
+ minWidth?: number | undefined;
10388
+ maxWidth?: number | undefined;
10389
+ minHeight?: number | undefined;
10390
+ maxHeight?: number | undefined;
10391
+ aspectRatio?: string | undefined;
10392
+ thumbnailSizes?: {
10393
+ name: string;
10394
+ width: number;
10395
+ height: number;
10396
+ crop: boolean;
10397
+ }[] | undefined;
10398
+ } | undefined;
10399
+ maxVersions?: number | undefined;
10400
+ } | undefined;
10401
+ readonly trackHistory?: boolean | undefined;
10402
+ readonly visibleWhen?: {
10403
+ dialect: "cel" | "js" | "cron" | "template";
10404
+ source?: string | undefined;
10405
+ ast?: unknown;
10406
+ meta?: {
10407
+ rationale?: string | undefined;
10408
+ generatedBy?: string | undefined;
10409
+ } | undefined;
10410
+ } | undefined;
10411
+ readonly readonlyWhen?: {
10412
+ dialect: "cel" | "js" | "cron" | "template";
10413
+ source?: string | undefined;
10414
+ ast?: unknown;
10415
+ meta?: {
10416
+ rationale?: string | undefined;
10417
+ generatedBy?: string | undefined;
10418
+ } | undefined;
10419
+ } | undefined;
10420
+ readonly requiredWhen?: {
10421
+ dialect: "cel" | "js" | "cron" | "template";
10422
+ source?: string | undefined;
10423
+ ast?: unknown;
10424
+ meta?: {
10425
+ rationale?: string | undefined;
10426
+ generatedBy?: string | undefined;
10427
+ } | undefined;
10428
+ } | undefined;
10429
+ readonly conditionalRequired?: {
10430
+ dialect: "cel" | "js" | "cron" | "template";
10431
+ source?: string | undefined;
10432
+ ast?: unknown;
10433
+ meta?: {
10434
+ rationale?: string | undefined;
10435
+ generatedBy?: string | undefined;
10436
+ } | undefined;
10437
+ } | undefined;
10438
+ readonly sortable?: boolean | undefined;
10439
+ readonly inlineHelpText?: string | undefined;
10440
+ readonly caseSensitive?: boolean | undefined;
10441
+ readonly autonumberFormat?: string | undefined;
10442
+ readonly index?: boolean | undefined;
10443
+ readonly type: "text";
10444
+ };
10445
+ /** For a revert commit, the id of the commit it reverted. */
10446
+ readonly parent_commit_id: {
10447
+ readonly readonly?: boolean | undefined;
10448
+ readonly format?: string | undefined;
10449
+ readonly options?: {
10450
+ label: string;
10451
+ value: string;
10452
+ color?: string | undefined;
10453
+ default?: boolean | undefined;
10454
+ }[] | undefined;
10455
+ readonly description?: string | undefined;
10456
+ readonly label?: string | undefined;
10457
+ readonly name?: string | undefined;
10458
+ readonly precision?: number | undefined;
10459
+ readonly required?: boolean | undefined;
10460
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
10461
+ readonly multiple?: boolean | undefined;
10462
+ readonly dependencies?: string[] | undefined;
10463
+ readonly externalId?: boolean | undefined;
10464
+ readonly defaultValue?: unknown;
10465
+ readonly requiredPermissions?: string[] | undefined;
10466
+ readonly group?: string | undefined;
10467
+ readonly hidden?: boolean | undefined;
10468
+ readonly system?: boolean | undefined;
10469
+ readonly min?: number | undefined;
10470
+ readonly max?: number | undefined;
10471
+ readonly dimensions?: number | undefined;
10472
+ readonly columnName?: string | undefined;
10473
+ readonly searchable?: boolean | undefined;
10474
+ readonly unique?: boolean | undefined;
10475
+ readonly maxLength?: number | undefined;
10476
+ readonly minLength?: number | undefined;
10477
+ readonly scale?: number | undefined;
10478
+ readonly reference?: string | undefined;
10479
+ readonly referenceFilters?: string[] | undefined;
10480
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
10481
+ readonly inlineEdit?: boolean | "grid" | "form" | undefined;
10482
+ readonly inlineTitle?: string | undefined;
10483
+ readonly inlineColumns?: any[] | undefined;
10484
+ readonly inlineAmountField?: string | undefined;
10485
+ readonly relatedList?: boolean | undefined;
10486
+ readonly relatedListTitle?: string | undefined;
10487
+ readonly relatedListColumns?: any[] | undefined;
10488
+ readonly displayField?: string | undefined;
10489
+ readonly descriptionField?: string | undefined;
10490
+ readonly lookupColumns?: (string | {
10491
+ field: string;
10492
+ label?: string | undefined;
10493
+ width?: string | undefined;
10494
+ type?: string | undefined;
10495
+ })[] | undefined;
10496
+ readonly lookupPageSize?: number | undefined;
10497
+ readonly lookupFilters?: {
10498
+ field: string;
10499
+ operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
10500
+ value: any;
10501
+ }[] | undefined;
10502
+ readonly dependsOn?: (string | {
10503
+ field: string;
10504
+ param?: string | undefined;
10505
+ })[] | undefined;
10506
+ readonly allowCreate?: boolean | undefined;
10507
+ readonly expression?: {
10508
+ dialect: "cel" | "js" | "cron" | "template";
10509
+ source?: string | undefined;
10510
+ ast?: unknown;
10511
+ meta?: {
10512
+ rationale?: string | undefined;
10513
+ generatedBy?: string | undefined;
10514
+ } | undefined;
10515
+ } | undefined;
10516
+ readonly summaryOperations?: {
10517
+ object: string;
10518
+ field: string;
10519
+ function: "min" | "max" | "count" | "sum" | "avg";
10520
+ relationshipField?: string | undefined;
10521
+ } | undefined;
10522
+ readonly language?: string | undefined;
10523
+ readonly maxRating?: number | undefined;
10524
+ readonly step?: number | undefined;
10525
+ readonly currencyConfig?: {
10526
+ precision: number;
10527
+ currencyMode: "fixed" | "dynamic";
10528
+ defaultCurrency: string;
10529
+ } | undefined;
10530
+ readonly vectorConfig?: {
10531
+ dimensions: number;
10532
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
10533
+ normalized: boolean;
10534
+ indexed: boolean;
10535
+ indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
10536
+ } | undefined;
10537
+ readonly fileAttachmentConfig?: {
10538
+ virusScan: boolean;
10539
+ virusScanOnUpload: boolean;
10540
+ quarantineOnThreat: boolean;
10541
+ allowMultiple: boolean;
10542
+ allowReplace: boolean;
10543
+ allowDelete: boolean;
10544
+ requireUpload: boolean;
10545
+ extractMetadata: boolean;
10546
+ extractText: boolean;
10547
+ versioningEnabled: boolean;
10548
+ publicRead: boolean;
10549
+ presignedUrlExpiry: number;
10550
+ minSize?: number | undefined;
10551
+ maxSize?: number | undefined;
10552
+ allowedTypes?: string[] | undefined;
10553
+ blockedTypes?: string[] | undefined;
10554
+ allowedMimeTypes?: string[] | undefined;
10555
+ blockedMimeTypes?: string[] | undefined;
10556
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
10557
+ storageProvider?: string | undefined;
10558
+ storageBucket?: string | undefined;
10559
+ storagePrefix?: string | undefined;
10560
+ imageValidation?: {
10561
+ generateThumbnails: boolean;
10562
+ preserveMetadata: boolean;
10563
+ autoRotate: boolean;
10564
+ minWidth?: number | undefined;
10565
+ maxWidth?: number | undefined;
10566
+ minHeight?: number | undefined;
10567
+ maxHeight?: number | undefined;
10568
+ aspectRatio?: string | undefined;
10569
+ thumbnailSizes?: {
10570
+ name: string;
10571
+ width: number;
10572
+ height: number;
10573
+ crop: boolean;
10574
+ }[] | undefined;
10575
+ } | undefined;
10576
+ maxVersions?: number | undefined;
10577
+ } | undefined;
10578
+ readonly trackHistory?: boolean | undefined;
10579
+ readonly visibleWhen?: {
10580
+ dialect: "cel" | "js" | "cron" | "template";
10581
+ source?: string | undefined;
10582
+ ast?: unknown;
10583
+ meta?: {
10584
+ rationale?: string | undefined;
10585
+ generatedBy?: string | undefined;
10586
+ } | undefined;
10587
+ } | undefined;
10588
+ readonly readonlyWhen?: {
10589
+ dialect: "cel" | "js" | "cron" | "template";
10590
+ source?: string | undefined;
10591
+ ast?: unknown;
10592
+ meta?: {
10593
+ rationale?: string | undefined;
10594
+ generatedBy?: string | undefined;
10595
+ } | undefined;
10596
+ } | undefined;
10597
+ readonly requiredWhen?: {
10598
+ dialect: "cel" | "js" | "cron" | "template";
10599
+ source?: string | undefined;
10600
+ ast?: unknown;
10601
+ meta?: {
10602
+ rationale?: string | undefined;
10603
+ generatedBy?: string | undefined;
10604
+ } | undefined;
10605
+ } | undefined;
10606
+ readonly conditionalRequired?: {
10607
+ dialect: "cel" | "js" | "cron" | "template";
10608
+ source?: string | undefined;
10609
+ ast?: unknown;
10610
+ meta?: {
10611
+ rationale?: string | undefined;
10612
+ generatedBy?: string | undefined;
10613
+ } | undefined;
10614
+ } | undefined;
10615
+ readonly sortable?: boolean | undefined;
10616
+ readonly inlineHelpText?: string | undefined;
10617
+ readonly caseSensitive?: boolean | undefined;
10618
+ readonly autonumberFormat?: string | undefined;
10619
+ readonly index?: boolean | undefined;
10620
+ readonly type: "text";
10621
+ };
10622
+ /** First `sys_metadata_history.event_seq` covered by this commit. */
10623
+ readonly event_seq_start: {
10624
+ readonly readonly?: boolean | undefined;
10625
+ readonly format?: string | undefined;
10626
+ readonly options?: {
10627
+ label: string;
10628
+ value: string;
10629
+ color?: string | undefined;
10630
+ default?: boolean | undefined;
10631
+ }[] | undefined;
10632
+ readonly description?: string | undefined;
10633
+ readonly label?: string | undefined;
10634
+ readonly name?: string | undefined;
10635
+ readonly precision?: number | undefined;
10636
+ readonly required?: boolean | undefined;
10637
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
10638
+ readonly multiple?: boolean | undefined;
10639
+ readonly dependencies?: string[] | undefined;
10640
+ readonly externalId?: boolean | undefined;
10641
+ readonly defaultValue?: unknown;
10642
+ readonly requiredPermissions?: string[] | undefined;
10643
+ readonly group?: string | undefined;
10644
+ readonly hidden?: boolean | undefined;
10645
+ readonly system?: boolean | undefined;
10646
+ readonly min?: number | undefined;
10647
+ readonly max?: number | undefined;
10648
+ readonly dimensions?: number | undefined;
10649
+ readonly columnName?: string | undefined;
10650
+ readonly searchable?: boolean | undefined;
10651
+ readonly unique?: boolean | undefined;
10652
+ readonly maxLength?: number | undefined;
10653
+ readonly minLength?: number | undefined;
10654
+ readonly scale?: number | undefined;
10655
+ readonly reference?: string | undefined;
10656
+ readonly referenceFilters?: string[] | undefined;
10657
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
10658
+ readonly inlineEdit?: boolean | "grid" | "form" | undefined;
10659
+ readonly inlineTitle?: string | undefined;
10660
+ readonly inlineColumns?: any[] | undefined;
10661
+ readonly inlineAmountField?: string | undefined;
10662
+ readonly relatedList?: boolean | undefined;
10663
+ readonly relatedListTitle?: string | undefined;
10664
+ readonly relatedListColumns?: any[] | undefined;
10665
+ readonly displayField?: string | undefined;
10666
+ readonly descriptionField?: string | undefined;
10667
+ readonly lookupColumns?: (string | {
10668
+ field: string;
10669
+ label?: string | undefined;
10670
+ width?: string | undefined;
10671
+ type?: string | undefined;
10672
+ })[] | undefined;
10673
+ readonly lookupPageSize?: number | undefined;
10674
+ readonly lookupFilters?: {
10675
+ field: string;
10676
+ operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
10677
+ value: any;
10678
+ }[] | undefined;
10679
+ readonly dependsOn?: (string | {
10680
+ field: string;
10681
+ param?: string | undefined;
10682
+ })[] | undefined;
10683
+ readonly allowCreate?: boolean | undefined;
10684
+ readonly expression?: {
10685
+ dialect: "cel" | "js" | "cron" | "template";
10686
+ source?: string | undefined;
10687
+ ast?: unknown;
10688
+ meta?: {
10689
+ rationale?: string | undefined;
10690
+ generatedBy?: string | undefined;
10691
+ } | undefined;
10692
+ } | undefined;
10693
+ readonly summaryOperations?: {
10694
+ object: string;
10695
+ field: string;
10696
+ function: "min" | "max" | "count" | "sum" | "avg";
10697
+ relationshipField?: string | undefined;
10698
+ } | undefined;
10699
+ readonly language?: string | undefined;
10700
+ readonly maxRating?: number | undefined;
10701
+ readonly step?: number | undefined;
10702
+ readonly currencyConfig?: {
10703
+ precision: number;
10704
+ currencyMode: "fixed" | "dynamic";
10705
+ defaultCurrency: string;
10706
+ } | undefined;
10707
+ readonly vectorConfig?: {
10708
+ dimensions: number;
10709
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
10710
+ normalized: boolean;
10711
+ indexed: boolean;
10712
+ indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
10713
+ } | undefined;
10714
+ readonly fileAttachmentConfig?: {
10715
+ virusScan: boolean;
10716
+ virusScanOnUpload: boolean;
10717
+ quarantineOnThreat: boolean;
10718
+ allowMultiple: boolean;
10719
+ allowReplace: boolean;
10720
+ allowDelete: boolean;
10721
+ requireUpload: boolean;
10722
+ extractMetadata: boolean;
10723
+ extractText: boolean;
10724
+ versioningEnabled: boolean;
10725
+ publicRead: boolean;
10726
+ presignedUrlExpiry: number;
10727
+ minSize?: number | undefined;
10728
+ maxSize?: number | undefined;
10729
+ allowedTypes?: string[] | undefined;
10730
+ blockedTypes?: string[] | undefined;
10731
+ allowedMimeTypes?: string[] | undefined;
10732
+ blockedMimeTypes?: string[] | undefined;
10733
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
10734
+ storageProvider?: string | undefined;
10735
+ storageBucket?: string | undefined;
10736
+ storagePrefix?: string | undefined;
10737
+ imageValidation?: {
10738
+ generateThumbnails: boolean;
10739
+ preserveMetadata: boolean;
10740
+ autoRotate: boolean;
10741
+ minWidth?: number | undefined;
10742
+ maxWidth?: number | undefined;
10743
+ minHeight?: number | undefined;
10744
+ maxHeight?: number | undefined;
10745
+ aspectRatio?: string | undefined;
10746
+ thumbnailSizes?: {
10747
+ name: string;
10748
+ width: number;
10749
+ height: number;
10750
+ crop: boolean;
10751
+ }[] | undefined;
10752
+ } | undefined;
10753
+ maxVersions?: number | undefined;
10754
+ } | undefined;
10755
+ readonly trackHistory?: boolean | undefined;
10756
+ readonly visibleWhen?: {
10757
+ dialect: "cel" | "js" | "cron" | "template";
10758
+ source?: string | undefined;
10759
+ ast?: unknown;
10760
+ meta?: {
10761
+ rationale?: string | undefined;
10762
+ generatedBy?: string | undefined;
10763
+ } | undefined;
10764
+ } | undefined;
10765
+ readonly readonlyWhen?: {
10766
+ dialect: "cel" | "js" | "cron" | "template";
10767
+ source?: string | undefined;
10768
+ ast?: unknown;
10769
+ meta?: {
10770
+ rationale?: string | undefined;
10771
+ generatedBy?: string | undefined;
10772
+ } | undefined;
10773
+ } | undefined;
10774
+ readonly requiredWhen?: {
10775
+ dialect: "cel" | "js" | "cron" | "template";
10776
+ source?: string | undefined;
10777
+ ast?: unknown;
10778
+ meta?: {
10779
+ rationale?: string | undefined;
10780
+ generatedBy?: string | undefined;
10781
+ } | undefined;
10782
+ } | undefined;
10783
+ readonly conditionalRequired?: {
10784
+ dialect: "cel" | "js" | "cron" | "template";
10785
+ source?: string | undefined;
10786
+ ast?: unknown;
10787
+ meta?: {
10788
+ rationale?: string | undefined;
10789
+ generatedBy?: string | undefined;
10790
+ } | undefined;
10791
+ } | undefined;
10792
+ readonly sortable?: boolean | undefined;
10793
+ readonly inlineHelpText?: string | undefined;
10794
+ readonly caseSensitive?: boolean | undefined;
10795
+ readonly autonumberFormat?: string | undefined;
10796
+ readonly index?: boolean | undefined;
10797
+ readonly type: "number";
10798
+ };
10799
+ /** Last `sys_metadata_history.event_seq` covered by this commit. */
10800
+ readonly event_seq_end: {
10801
+ readonly readonly?: boolean | undefined;
10802
+ readonly format?: string | undefined;
10803
+ readonly options?: {
10804
+ label: string;
10805
+ value: string;
10806
+ color?: string | undefined;
10807
+ default?: boolean | undefined;
10808
+ }[] | undefined;
10809
+ readonly description?: string | undefined;
10810
+ readonly label?: string | undefined;
10811
+ readonly name?: string | undefined;
10812
+ readonly precision?: number | undefined;
10813
+ readonly required?: boolean | undefined;
10814
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
10815
+ readonly multiple?: boolean | undefined;
10816
+ readonly dependencies?: string[] | undefined;
10817
+ readonly externalId?: boolean | undefined;
10818
+ readonly defaultValue?: unknown;
10819
+ readonly requiredPermissions?: string[] | undefined;
10820
+ readonly group?: string | undefined;
10821
+ readonly hidden?: boolean | undefined;
10822
+ readonly system?: boolean | undefined;
10823
+ readonly min?: number | undefined;
10824
+ readonly max?: number | undefined;
10825
+ readonly dimensions?: number | undefined;
10826
+ readonly columnName?: string | undefined;
10827
+ readonly searchable?: boolean | undefined;
10828
+ readonly unique?: boolean | undefined;
10829
+ readonly maxLength?: number | undefined;
10830
+ readonly minLength?: number | undefined;
10831
+ readonly scale?: number | undefined;
10832
+ readonly reference?: string | undefined;
10833
+ readonly referenceFilters?: string[] | undefined;
10834
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
10835
+ readonly inlineEdit?: boolean | "grid" | "form" | undefined;
10836
+ readonly inlineTitle?: string | undefined;
10837
+ readonly inlineColumns?: any[] | undefined;
10838
+ readonly inlineAmountField?: string | undefined;
10839
+ readonly relatedList?: boolean | undefined;
10840
+ readonly relatedListTitle?: string | undefined;
10841
+ readonly relatedListColumns?: any[] | undefined;
10842
+ readonly displayField?: string | undefined;
10843
+ readonly descriptionField?: string | undefined;
10844
+ readonly lookupColumns?: (string | {
10845
+ field: string;
10846
+ label?: string | undefined;
10847
+ width?: string | undefined;
10848
+ type?: string | undefined;
10849
+ })[] | undefined;
10850
+ readonly lookupPageSize?: number | undefined;
10851
+ readonly lookupFilters?: {
10852
+ field: string;
10853
+ operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
10854
+ value: any;
10855
+ }[] | undefined;
10856
+ readonly dependsOn?: (string | {
10857
+ field: string;
10858
+ param?: string | undefined;
10859
+ })[] | undefined;
10860
+ readonly allowCreate?: boolean | undefined;
10861
+ readonly expression?: {
10862
+ dialect: "cel" | "js" | "cron" | "template";
10863
+ source?: string | undefined;
10864
+ ast?: unknown;
10865
+ meta?: {
10866
+ rationale?: string | undefined;
10867
+ generatedBy?: string | undefined;
10868
+ } | undefined;
10869
+ } | undefined;
10870
+ readonly summaryOperations?: {
10871
+ object: string;
10872
+ field: string;
10873
+ function: "min" | "max" | "count" | "sum" | "avg";
10874
+ relationshipField?: string | undefined;
10875
+ } | undefined;
10876
+ readonly language?: string | undefined;
10877
+ readonly maxRating?: number | undefined;
10878
+ readonly step?: number | undefined;
10879
+ readonly currencyConfig?: {
10880
+ precision: number;
10881
+ currencyMode: "fixed" | "dynamic";
10882
+ defaultCurrency: string;
10883
+ } | undefined;
10884
+ readonly vectorConfig?: {
10885
+ dimensions: number;
10886
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
10887
+ normalized: boolean;
10888
+ indexed: boolean;
10889
+ indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
10890
+ } | undefined;
10891
+ readonly fileAttachmentConfig?: {
10892
+ virusScan: boolean;
10893
+ virusScanOnUpload: boolean;
10894
+ quarantineOnThreat: boolean;
10895
+ allowMultiple: boolean;
10896
+ allowReplace: boolean;
10897
+ allowDelete: boolean;
10898
+ requireUpload: boolean;
10899
+ extractMetadata: boolean;
10900
+ extractText: boolean;
10901
+ versioningEnabled: boolean;
10902
+ publicRead: boolean;
10903
+ presignedUrlExpiry: number;
10904
+ minSize?: number | undefined;
10905
+ maxSize?: number | undefined;
10906
+ allowedTypes?: string[] | undefined;
10907
+ blockedTypes?: string[] | undefined;
10908
+ allowedMimeTypes?: string[] | undefined;
10909
+ blockedMimeTypes?: string[] | undefined;
10910
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
10911
+ storageProvider?: string | undefined;
10912
+ storageBucket?: string | undefined;
10913
+ storagePrefix?: string | undefined;
10914
+ imageValidation?: {
10915
+ generateThumbnails: boolean;
10916
+ preserveMetadata: boolean;
10917
+ autoRotate: boolean;
10918
+ minWidth?: number | undefined;
10919
+ maxWidth?: number | undefined;
10920
+ minHeight?: number | undefined;
10921
+ maxHeight?: number | undefined;
10922
+ aspectRatio?: string | undefined;
10923
+ thumbnailSizes?: {
10924
+ name: string;
10925
+ width: number;
10926
+ height: number;
10927
+ crop: boolean;
10928
+ }[] | undefined;
10929
+ } | undefined;
10930
+ maxVersions?: number | undefined;
10931
+ } | undefined;
10932
+ readonly trackHistory?: boolean | undefined;
10933
+ readonly visibleWhen?: {
10934
+ dialect: "cel" | "js" | "cron" | "template";
10935
+ source?: string | undefined;
10936
+ ast?: unknown;
10937
+ meta?: {
10938
+ rationale?: string | undefined;
10939
+ generatedBy?: string | undefined;
10940
+ } | undefined;
10941
+ } | undefined;
10942
+ readonly readonlyWhen?: {
10943
+ dialect: "cel" | "js" | "cron" | "template";
10944
+ source?: string | undefined;
10945
+ ast?: unknown;
10946
+ meta?: {
10947
+ rationale?: string | undefined;
10948
+ generatedBy?: string | undefined;
10949
+ } | undefined;
10950
+ } | undefined;
10951
+ readonly requiredWhen?: {
10952
+ dialect: "cel" | "js" | "cron" | "template";
10953
+ source?: string | undefined;
10954
+ ast?: unknown;
10955
+ meta?: {
10956
+ rationale?: string | undefined;
10957
+ generatedBy?: string | undefined;
10958
+ } | undefined;
10959
+ } | undefined;
10960
+ readonly conditionalRequired?: {
10961
+ dialect: "cel" | "js" | "cron" | "template";
10962
+ source?: string | undefined;
10963
+ ast?: unknown;
10964
+ meta?: {
10965
+ rationale?: string | undefined;
10966
+ generatedBy?: string | undefined;
10967
+ } | undefined;
10968
+ } | undefined;
10969
+ readonly sortable?: boolean | undefined;
10970
+ readonly inlineHelpText?: string | undefined;
10971
+ readonly caseSensitive?: boolean | undefined;
10972
+ readonly autonumberFormat?: string | undefined;
10973
+ readonly index?: boolean | undefined;
10974
+ readonly type: "number";
10975
+ };
10976
+ /**
10977
+ * JSON array of the artifacts this commit touched, with the data
10978
+ * `revertCommit` needs: [{ type, name, existedBefore, prevVersion }].
10979
+ */
10980
+ readonly items: {
10981
+ readonly readonly?: boolean | undefined;
10982
+ readonly format?: string | undefined;
10983
+ readonly options?: {
10984
+ label: string;
10985
+ value: string;
10986
+ color?: string | undefined;
10987
+ default?: boolean | undefined;
10988
+ }[] | undefined;
10989
+ readonly description?: string | undefined;
10990
+ readonly label?: string | undefined;
10991
+ readonly name?: string | undefined;
10992
+ readonly precision?: number | undefined;
10993
+ readonly required?: boolean | undefined;
10994
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
10995
+ readonly multiple?: boolean | undefined;
10996
+ readonly dependencies?: string[] | undefined;
10997
+ readonly externalId?: boolean | undefined;
10998
+ readonly defaultValue?: unknown;
10999
+ readonly requiredPermissions?: string[] | undefined;
11000
+ readonly group?: string | undefined;
11001
+ readonly hidden?: boolean | undefined;
11002
+ readonly system?: boolean | undefined;
11003
+ readonly min?: number | undefined;
11004
+ readonly max?: number | undefined;
11005
+ readonly dimensions?: number | undefined;
11006
+ readonly columnName?: string | undefined;
11007
+ readonly searchable?: boolean | undefined;
11008
+ readonly unique?: boolean | undefined;
11009
+ readonly maxLength?: number | undefined;
11010
+ readonly minLength?: number | undefined;
11011
+ readonly scale?: number | undefined;
11012
+ readonly reference?: string | undefined;
11013
+ readonly referenceFilters?: string[] | undefined;
11014
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
11015
+ readonly inlineEdit?: boolean | "grid" | "form" | undefined;
11016
+ readonly inlineTitle?: string | undefined;
11017
+ readonly inlineColumns?: any[] | undefined;
11018
+ readonly inlineAmountField?: string | undefined;
11019
+ readonly relatedList?: boolean | undefined;
11020
+ readonly relatedListTitle?: string | undefined;
11021
+ readonly relatedListColumns?: any[] | undefined;
11022
+ readonly displayField?: string | undefined;
11023
+ readonly descriptionField?: string | undefined;
11024
+ readonly lookupColumns?: (string | {
11025
+ field: string;
11026
+ label?: string | undefined;
11027
+ width?: string | undefined;
11028
+ type?: string | undefined;
11029
+ })[] | undefined;
11030
+ readonly lookupPageSize?: number | undefined;
11031
+ readonly lookupFilters?: {
11032
+ field: string;
11033
+ operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
11034
+ value: any;
11035
+ }[] | undefined;
11036
+ readonly dependsOn?: (string | {
11037
+ field: string;
11038
+ param?: string | undefined;
11039
+ })[] | undefined;
11040
+ readonly allowCreate?: boolean | undefined;
11041
+ readonly expression?: {
11042
+ dialect: "cel" | "js" | "cron" | "template";
11043
+ source?: string | undefined;
11044
+ ast?: unknown;
11045
+ meta?: {
11046
+ rationale?: string | undefined;
11047
+ generatedBy?: string | undefined;
11048
+ } | undefined;
11049
+ } | undefined;
11050
+ readonly summaryOperations?: {
11051
+ object: string;
11052
+ field: string;
11053
+ function: "min" | "max" | "count" | "sum" | "avg";
11054
+ relationshipField?: string | undefined;
11055
+ } | undefined;
11056
+ readonly language?: string | undefined;
11057
+ readonly maxRating?: number | undefined;
11058
+ readonly step?: number | undefined;
11059
+ readonly currencyConfig?: {
11060
+ precision: number;
11061
+ currencyMode: "fixed" | "dynamic";
11062
+ defaultCurrency: string;
11063
+ } | undefined;
11064
+ readonly vectorConfig?: {
11065
+ dimensions: number;
11066
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
11067
+ normalized: boolean;
11068
+ indexed: boolean;
11069
+ indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
11070
+ } | undefined;
11071
+ readonly fileAttachmentConfig?: {
11072
+ virusScan: boolean;
11073
+ virusScanOnUpload: boolean;
11074
+ quarantineOnThreat: boolean;
11075
+ allowMultiple: boolean;
11076
+ allowReplace: boolean;
11077
+ allowDelete: boolean;
11078
+ requireUpload: boolean;
11079
+ extractMetadata: boolean;
11080
+ extractText: boolean;
11081
+ versioningEnabled: boolean;
11082
+ publicRead: boolean;
11083
+ presignedUrlExpiry: number;
11084
+ minSize?: number | undefined;
11085
+ maxSize?: number | undefined;
11086
+ allowedTypes?: string[] | undefined;
11087
+ blockedTypes?: string[] | undefined;
11088
+ allowedMimeTypes?: string[] | undefined;
11089
+ blockedMimeTypes?: string[] | undefined;
11090
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
11091
+ storageProvider?: string | undefined;
11092
+ storageBucket?: string | undefined;
11093
+ storagePrefix?: string | undefined;
11094
+ imageValidation?: {
11095
+ generateThumbnails: boolean;
11096
+ preserveMetadata: boolean;
11097
+ autoRotate: boolean;
11098
+ minWidth?: number | undefined;
11099
+ maxWidth?: number | undefined;
11100
+ minHeight?: number | undefined;
11101
+ maxHeight?: number | undefined;
11102
+ aspectRatio?: string | undefined;
11103
+ thumbnailSizes?: {
11104
+ name: string;
11105
+ width: number;
11106
+ height: number;
11107
+ crop: boolean;
11108
+ }[] | undefined;
11109
+ } | undefined;
11110
+ maxVersions?: number | undefined;
11111
+ } | undefined;
11112
+ readonly trackHistory?: boolean | undefined;
11113
+ readonly visibleWhen?: {
11114
+ dialect: "cel" | "js" | "cron" | "template";
11115
+ source?: string | undefined;
11116
+ ast?: unknown;
11117
+ meta?: {
11118
+ rationale?: string | undefined;
11119
+ generatedBy?: string | undefined;
11120
+ } | undefined;
11121
+ } | undefined;
11122
+ readonly readonlyWhen?: {
11123
+ dialect: "cel" | "js" | "cron" | "template";
11124
+ source?: string | undefined;
11125
+ ast?: unknown;
11126
+ meta?: {
11127
+ rationale?: string | undefined;
11128
+ generatedBy?: string | undefined;
11129
+ } | undefined;
11130
+ } | undefined;
11131
+ readonly requiredWhen?: {
11132
+ dialect: "cel" | "js" | "cron" | "template";
11133
+ source?: string | undefined;
11134
+ ast?: unknown;
11135
+ meta?: {
11136
+ rationale?: string | undefined;
11137
+ generatedBy?: string | undefined;
11138
+ } | undefined;
11139
+ } | undefined;
11140
+ readonly conditionalRequired?: {
11141
+ dialect: "cel" | "js" | "cron" | "template";
11142
+ source?: string | undefined;
11143
+ ast?: unknown;
11144
+ meta?: {
11145
+ rationale?: string | undefined;
11146
+ generatedBy?: string | undefined;
11147
+ } | undefined;
11148
+ } | undefined;
11149
+ readonly sortable?: boolean | undefined;
11150
+ readonly inlineHelpText?: string | undefined;
11151
+ readonly caseSensitive?: boolean | undefined;
11152
+ readonly autonumberFormat?: string | undefined;
11153
+ readonly index?: boolean | undefined;
11154
+ readonly type: "textarea";
11155
+ };
11156
+ /** Number of artifacts in `items` (denormalized for list views). */
11157
+ readonly item_count: {
11158
+ readonly readonly?: boolean | undefined;
11159
+ readonly format?: string | undefined;
11160
+ readonly options?: {
11161
+ label: string;
11162
+ value: string;
11163
+ color?: string | undefined;
11164
+ default?: boolean | undefined;
11165
+ }[] | undefined;
11166
+ readonly description?: string | undefined;
11167
+ readonly label?: string | undefined;
11168
+ readonly name?: string | undefined;
11169
+ readonly precision?: number | undefined;
11170
+ readonly required?: boolean | undefined;
11171
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
11172
+ readonly multiple?: boolean | undefined;
11173
+ readonly dependencies?: string[] | undefined;
11174
+ readonly externalId?: boolean | undefined;
11175
+ readonly defaultValue?: unknown;
11176
+ readonly requiredPermissions?: string[] | undefined;
11177
+ readonly group?: string | undefined;
11178
+ readonly hidden?: boolean | undefined;
11179
+ readonly system?: boolean | undefined;
11180
+ readonly min?: number | undefined;
11181
+ readonly max?: number | undefined;
11182
+ readonly dimensions?: number | undefined;
11183
+ readonly columnName?: string | undefined;
11184
+ readonly searchable?: boolean | undefined;
11185
+ readonly unique?: boolean | undefined;
11186
+ readonly maxLength?: number | undefined;
11187
+ readonly minLength?: number | undefined;
11188
+ readonly scale?: number | undefined;
11189
+ readonly reference?: string | undefined;
11190
+ readonly referenceFilters?: string[] | undefined;
11191
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
11192
+ readonly inlineEdit?: boolean | "grid" | "form" | undefined;
11193
+ readonly inlineTitle?: string | undefined;
11194
+ readonly inlineColumns?: any[] | undefined;
11195
+ readonly inlineAmountField?: string | undefined;
11196
+ readonly relatedList?: boolean | undefined;
11197
+ readonly relatedListTitle?: string | undefined;
11198
+ readonly relatedListColumns?: any[] | undefined;
11199
+ readonly displayField?: string | undefined;
11200
+ readonly descriptionField?: string | undefined;
11201
+ readonly lookupColumns?: (string | {
11202
+ field: string;
11203
+ label?: string | undefined;
11204
+ width?: string | undefined;
11205
+ type?: string | undefined;
11206
+ })[] | undefined;
11207
+ readonly lookupPageSize?: number | undefined;
11208
+ readonly lookupFilters?: {
11209
+ field: string;
11210
+ operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
11211
+ value: any;
11212
+ }[] | undefined;
11213
+ readonly dependsOn?: (string | {
11214
+ field: string;
11215
+ param?: string | undefined;
11216
+ })[] | undefined;
11217
+ readonly allowCreate?: boolean | undefined;
11218
+ readonly expression?: {
11219
+ dialect: "cel" | "js" | "cron" | "template";
11220
+ source?: string | undefined;
11221
+ ast?: unknown;
11222
+ meta?: {
11223
+ rationale?: string | undefined;
11224
+ generatedBy?: string | undefined;
11225
+ } | undefined;
11226
+ } | undefined;
11227
+ readonly summaryOperations?: {
11228
+ object: string;
11229
+ field: string;
11230
+ function: "min" | "max" | "count" | "sum" | "avg";
11231
+ relationshipField?: string | undefined;
11232
+ } | undefined;
11233
+ readonly language?: string | undefined;
11234
+ readonly maxRating?: number | undefined;
11235
+ readonly step?: number | undefined;
11236
+ readonly currencyConfig?: {
11237
+ precision: number;
11238
+ currencyMode: "fixed" | "dynamic";
11239
+ defaultCurrency: string;
11240
+ } | undefined;
11241
+ readonly vectorConfig?: {
11242
+ dimensions: number;
11243
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
11244
+ normalized: boolean;
11245
+ indexed: boolean;
11246
+ indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
11247
+ } | undefined;
11248
+ readonly fileAttachmentConfig?: {
11249
+ virusScan: boolean;
11250
+ virusScanOnUpload: boolean;
11251
+ quarantineOnThreat: boolean;
11252
+ allowMultiple: boolean;
11253
+ allowReplace: boolean;
11254
+ allowDelete: boolean;
11255
+ requireUpload: boolean;
11256
+ extractMetadata: boolean;
11257
+ extractText: boolean;
11258
+ versioningEnabled: boolean;
11259
+ publicRead: boolean;
11260
+ presignedUrlExpiry: number;
11261
+ minSize?: number | undefined;
11262
+ maxSize?: number | undefined;
11263
+ allowedTypes?: string[] | undefined;
11264
+ blockedTypes?: string[] | undefined;
11265
+ allowedMimeTypes?: string[] | undefined;
11266
+ blockedMimeTypes?: string[] | undefined;
11267
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
11268
+ storageProvider?: string | undefined;
11269
+ storageBucket?: string | undefined;
11270
+ storagePrefix?: string | undefined;
11271
+ imageValidation?: {
11272
+ generateThumbnails: boolean;
11273
+ preserveMetadata: boolean;
11274
+ autoRotate: boolean;
11275
+ minWidth?: number | undefined;
11276
+ maxWidth?: number | undefined;
11277
+ minHeight?: number | undefined;
11278
+ maxHeight?: number | undefined;
11279
+ aspectRatio?: string | undefined;
11280
+ thumbnailSizes?: {
11281
+ name: string;
11282
+ width: number;
11283
+ height: number;
11284
+ crop: boolean;
11285
+ }[] | undefined;
11286
+ } | undefined;
11287
+ maxVersions?: number | undefined;
11288
+ } | undefined;
11289
+ readonly trackHistory?: boolean | undefined;
11290
+ readonly visibleWhen?: {
11291
+ dialect: "cel" | "js" | "cron" | "template";
11292
+ source?: string | undefined;
11293
+ ast?: unknown;
11294
+ meta?: {
11295
+ rationale?: string | undefined;
11296
+ generatedBy?: string | undefined;
11297
+ } | undefined;
11298
+ } | undefined;
11299
+ readonly readonlyWhen?: {
11300
+ dialect: "cel" | "js" | "cron" | "template";
11301
+ source?: string | undefined;
11302
+ ast?: unknown;
11303
+ meta?: {
11304
+ rationale?: string | undefined;
11305
+ generatedBy?: string | undefined;
11306
+ } | undefined;
11307
+ } | undefined;
11308
+ readonly requiredWhen?: {
11309
+ dialect: "cel" | "js" | "cron" | "template";
11310
+ source?: string | undefined;
11311
+ ast?: unknown;
11312
+ meta?: {
11313
+ rationale?: string | undefined;
11314
+ generatedBy?: string | undefined;
11315
+ } | undefined;
11316
+ } | undefined;
11317
+ readonly conditionalRequired?: {
11318
+ dialect: "cel" | "js" | "cron" | "template";
11319
+ source?: string | undefined;
11320
+ ast?: unknown;
11321
+ meta?: {
11322
+ rationale?: string | undefined;
11323
+ generatedBy?: string | undefined;
11324
+ } | undefined;
11325
+ } | undefined;
11326
+ readonly sortable?: boolean | undefined;
11327
+ readonly inlineHelpText?: string | undefined;
11328
+ readonly caseSensitive?: boolean | undefined;
11329
+ readonly autonumberFormat?: string | undefined;
11330
+ readonly index?: boolean | undefined;
11331
+ readonly type: "number";
11332
+ };
11333
+ /** Organization ID for multi-tenant isolation. */
11334
+ readonly organization_id: {
11335
+ readonly readonly?: boolean | undefined;
11336
+ readonly format?: string | undefined;
11337
+ readonly options?: {
11338
+ label: string;
11339
+ value: string;
11340
+ color?: string | undefined;
11341
+ default?: boolean | undefined;
11342
+ }[] | undefined;
11343
+ readonly description?: string | undefined;
11344
+ readonly label?: string | undefined;
11345
+ readonly name?: string | undefined;
11346
+ readonly precision?: number | undefined;
11347
+ readonly required?: boolean | undefined;
11348
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
11349
+ readonly multiple?: boolean | undefined;
11350
+ readonly dependencies?: string[] | undefined;
11351
+ readonly externalId?: boolean | undefined;
11352
+ readonly defaultValue?: unknown;
11353
+ readonly requiredPermissions?: string[] | undefined;
11354
+ readonly group?: string | undefined;
11355
+ readonly hidden?: boolean | undefined;
11356
+ readonly system?: boolean | undefined;
11357
+ readonly min?: number | undefined;
11358
+ readonly max?: number | undefined;
11359
+ readonly dimensions?: number | undefined;
11360
+ readonly columnName?: string | undefined;
11361
+ readonly searchable?: boolean | undefined;
11362
+ readonly unique?: boolean | undefined;
11363
+ readonly maxLength?: number | undefined;
11364
+ readonly minLength?: number | undefined;
11365
+ readonly scale?: number | undefined;
11366
+ reference: string;
11367
+ readonly referenceFilters?: string[] | undefined;
11368
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
11369
+ readonly inlineEdit?: boolean | "grid" | "form" | undefined;
11370
+ readonly inlineTitle?: string | undefined;
11371
+ readonly inlineColumns?: any[] | undefined;
11372
+ readonly inlineAmountField?: string | undefined;
11373
+ readonly relatedList?: boolean | undefined;
11374
+ readonly relatedListTitle?: string | undefined;
11375
+ readonly relatedListColumns?: any[] | undefined;
11376
+ readonly displayField?: string | undefined;
11377
+ readonly descriptionField?: string | undefined;
11378
+ readonly lookupColumns?: (string | {
11379
+ field: string;
11380
+ label?: string | undefined;
11381
+ width?: string | undefined;
11382
+ type?: string | undefined;
11383
+ })[] | undefined;
11384
+ readonly lookupPageSize?: number | undefined;
11385
+ readonly lookupFilters?: {
11386
+ field: string;
11387
+ operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
11388
+ value: any;
11389
+ }[] | undefined;
11390
+ readonly dependsOn?: (string | {
11391
+ field: string;
11392
+ param?: string | undefined;
11393
+ })[] | undefined;
11394
+ readonly allowCreate?: boolean | undefined;
11395
+ readonly expression?: {
11396
+ dialect: "cel" | "js" | "cron" | "template";
11397
+ source?: string | undefined;
11398
+ ast?: unknown;
11399
+ meta?: {
11400
+ rationale?: string | undefined;
11401
+ generatedBy?: string | undefined;
11402
+ } | undefined;
11403
+ } | undefined;
11404
+ readonly summaryOperations?: {
11405
+ object: string;
11406
+ field: string;
11407
+ function: "min" | "max" | "count" | "sum" | "avg";
11408
+ relationshipField?: string | undefined;
11409
+ } | undefined;
11410
+ readonly language?: string | undefined;
11411
+ readonly maxRating?: number | undefined;
11412
+ readonly step?: number | undefined;
11413
+ readonly currencyConfig?: {
11414
+ precision: number;
11415
+ currencyMode: "fixed" | "dynamic";
11416
+ defaultCurrency: string;
11417
+ } | undefined;
11418
+ readonly vectorConfig?: {
11419
+ dimensions: number;
11420
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
11421
+ normalized: boolean;
11422
+ indexed: boolean;
11423
+ indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
11424
+ } | undefined;
11425
+ readonly fileAttachmentConfig?: {
11426
+ virusScan: boolean;
11427
+ virusScanOnUpload: boolean;
11428
+ quarantineOnThreat: boolean;
11429
+ allowMultiple: boolean;
11430
+ allowReplace: boolean;
11431
+ allowDelete: boolean;
11432
+ requireUpload: boolean;
11433
+ extractMetadata: boolean;
11434
+ extractText: boolean;
11435
+ versioningEnabled: boolean;
11436
+ publicRead: boolean;
11437
+ presignedUrlExpiry: number;
11438
+ minSize?: number | undefined;
11439
+ maxSize?: number | undefined;
11440
+ allowedTypes?: string[] | undefined;
11441
+ blockedTypes?: string[] | undefined;
11442
+ allowedMimeTypes?: string[] | undefined;
11443
+ blockedMimeTypes?: string[] | undefined;
11444
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
11445
+ storageProvider?: string | undefined;
11446
+ storageBucket?: string | undefined;
11447
+ storagePrefix?: string | undefined;
11448
+ imageValidation?: {
11449
+ generateThumbnails: boolean;
11450
+ preserveMetadata: boolean;
11451
+ autoRotate: boolean;
11452
+ minWidth?: number | undefined;
11453
+ maxWidth?: number | undefined;
11454
+ minHeight?: number | undefined;
11455
+ maxHeight?: number | undefined;
11456
+ aspectRatio?: string | undefined;
11457
+ thumbnailSizes?: {
11458
+ name: string;
11459
+ width: number;
11460
+ height: number;
11461
+ crop: boolean;
11462
+ }[] | undefined;
11463
+ } | undefined;
11464
+ maxVersions?: number | undefined;
11465
+ } | undefined;
11466
+ readonly trackHistory?: boolean | undefined;
11467
+ readonly visibleWhen?: {
11468
+ dialect: "cel" | "js" | "cron" | "template";
11469
+ source?: string | undefined;
11470
+ ast?: unknown;
11471
+ meta?: {
11472
+ rationale?: string | undefined;
11473
+ generatedBy?: string | undefined;
11474
+ } | undefined;
11475
+ } | undefined;
11476
+ readonly readonlyWhen?: {
11477
+ dialect: "cel" | "js" | "cron" | "template";
11478
+ source?: string | undefined;
11479
+ ast?: unknown;
11480
+ meta?: {
11481
+ rationale?: string | undefined;
11482
+ generatedBy?: string | undefined;
11483
+ } | undefined;
11484
+ } | undefined;
11485
+ readonly requiredWhen?: {
11486
+ dialect: "cel" | "js" | "cron" | "template";
11487
+ source?: string | undefined;
11488
+ ast?: unknown;
11489
+ meta?: {
11490
+ rationale?: string | undefined;
11491
+ generatedBy?: string | undefined;
11492
+ } | undefined;
11493
+ } | undefined;
11494
+ readonly conditionalRequired?: {
11495
+ dialect: "cel" | "js" | "cron" | "template";
11496
+ source?: string | undefined;
11497
+ ast?: unknown;
11498
+ meta?: {
11499
+ rationale?: string | undefined;
11500
+ generatedBy?: string | undefined;
11501
+ } | undefined;
11502
+ } | undefined;
11503
+ readonly sortable?: boolean | undefined;
11504
+ readonly inlineHelpText?: string | undefined;
11505
+ readonly caseSensitive?: boolean | undefined;
11506
+ readonly autonumberFormat?: string | undefined;
11507
+ readonly index?: boolean | undefined;
11508
+ readonly type: "lookup";
11509
+ };
11510
+ /** When the commit was recorded. */
11511
+ readonly created_at: {
11512
+ readonly readonly?: boolean | undefined;
11513
+ readonly format?: string | undefined;
11514
+ readonly options?: {
11515
+ label: string;
11516
+ value: string;
11517
+ color?: string | undefined;
11518
+ default?: boolean | undefined;
11519
+ }[] | undefined;
11520
+ readonly description?: string | undefined;
11521
+ readonly label?: string | undefined;
11522
+ readonly name?: string | undefined;
11523
+ readonly precision?: number | undefined;
11524
+ readonly required?: boolean | undefined;
11525
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
11526
+ readonly multiple?: boolean | undefined;
11527
+ readonly dependencies?: string[] | undefined;
11528
+ readonly externalId?: boolean | undefined;
11529
+ readonly defaultValue?: unknown;
11530
+ readonly requiredPermissions?: string[] | undefined;
11531
+ readonly group?: string | undefined;
11532
+ readonly hidden?: boolean | undefined;
11533
+ readonly system?: boolean | undefined;
11534
+ readonly min?: number | undefined;
11535
+ readonly max?: number | undefined;
11536
+ readonly dimensions?: number | undefined;
11537
+ readonly columnName?: string | undefined;
11538
+ readonly searchable?: boolean | undefined;
11539
+ readonly unique?: boolean | undefined;
11540
+ readonly maxLength?: number | undefined;
11541
+ readonly minLength?: number | undefined;
11542
+ readonly scale?: number | undefined;
11543
+ readonly reference?: string | undefined;
11544
+ readonly referenceFilters?: string[] | undefined;
11545
+ readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
11546
+ readonly inlineEdit?: boolean | "grid" | "form" | undefined;
11547
+ readonly inlineTitle?: string | undefined;
11548
+ readonly inlineColumns?: any[] | undefined;
11549
+ readonly inlineAmountField?: string | undefined;
11550
+ readonly relatedList?: boolean | undefined;
11551
+ readonly relatedListTitle?: string | undefined;
11552
+ readonly relatedListColumns?: any[] | undefined;
11553
+ readonly displayField?: string | undefined;
11554
+ readonly descriptionField?: string | undefined;
11555
+ readonly lookupColumns?: (string | {
11556
+ field: string;
11557
+ label?: string | undefined;
11558
+ width?: string | undefined;
11559
+ type?: string | undefined;
11560
+ })[] | undefined;
11561
+ readonly lookupPageSize?: number | undefined;
11562
+ readonly lookupFilters?: {
11563
+ field: string;
11564
+ operator: "in" | "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "contains" | "notIn";
11565
+ value: any;
11566
+ }[] | undefined;
11567
+ readonly dependsOn?: (string | {
11568
+ field: string;
11569
+ param?: string | undefined;
11570
+ })[] | undefined;
11571
+ readonly allowCreate?: boolean | undefined;
11572
+ readonly expression?: {
11573
+ dialect: "cel" | "js" | "cron" | "template";
11574
+ source?: string | undefined;
11575
+ ast?: unknown;
11576
+ meta?: {
11577
+ rationale?: string | undefined;
11578
+ generatedBy?: string | undefined;
11579
+ } | undefined;
11580
+ } | undefined;
11581
+ readonly summaryOperations?: {
11582
+ object: string;
11583
+ field: string;
11584
+ function: "min" | "max" | "count" | "sum" | "avg";
11585
+ relationshipField?: string | undefined;
11586
+ } | undefined;
11587
+ readonly language?: string | undefined;
11588
+ readonly maxRating?: number | undefined;
11589
+ readonly step?: number | undefined;
11590
+ readonly currencyConfig?: {
11591
+ precision: number;
11592
+ currencyMode: "fixed" | "dynamic";
11593
+ defaultCurrency: string;
11594
+ } | undefined;
11595
+ readonly vectorConfig?: {
11596
+ dimensions: number;
11597
+ distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
11598
+ normalized: boolean;
11599
+ indexed: boolean;
11600
+ indexType?: "flat" | "hnsw" | "ivfflat" | undefined;
11601
+ } | undefined;
11602
+ readonly fileAttachmentConfig?: {
11603
+ virusScan: boolean;
11604
+ virusScanOnUpload: boolean;
11605
+ quarantineOnThreat: boolean;
11606
+ allowMultiple: boolean;
11607
+ allowReplace: boolean;
11608
+ allowDelete: boolean;
11609
+ requireUpload: boolean;
11610
+ extractMetadata: boolean;
11611
+ extractText: boolean;
11612
+ versioningEnabled: boolean;
11613
+ publicRead: boolean;
11614
+ presignedUrlExpiry: number;
11615
+ minSize?: number | undefined;
11616
+ maxSize?: number | undefined;
11617
+ allowedTypes?: string[] | undefined;
11618
+ blockedTypes?: string[] | undefined;
11619
+ allowedMimeTypes?: string[] | undefined;
11620
+ blockedMimeTypes?: string[] | undefined;
11621
+ virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
11622
+ storageProvider?: string | undefined;
11623
+ storageBucket?: string | undefined;
11624
+ storagePrefix?: string | undefined;
11625
+ imageValidation?: {
11626
+ generateThumbnails: boolean;
11627
+ preserveMetadata: boolean;
11628
+ autoRotate: boolean;
11629
+ minWidth?: number | undefined;
11630
+ maxWidth?: number | undefined;
11631
+ minHeight?: number | undefined;
11632
+ maxHeight?: number | undefined;
11633
+ aspectRatio?: string | undefined;
11634
+ thumbnailSizes?: {
11635
+ name: string;
11636
+ width: number;
11637
+ height: number;
11638
+ crop: boolean;
11639
+ }[] | undefined;
11640
+ } | undefined;
11641
+ maxVersions?: number | undefined;
11642
+ } | undefined;
11643
+ readonly trackHistory?: boolean | undefined;
11644
+ readonly visibleWhen?: {
11645
+ dialect: "cel" | "js" | "cron" | "template";
11646
+ source?: string | undefined;
11647
+ ast?: unknown;
11648
+ meta?: {
11649
+ rationale?: string | undefined;
11650
+ generatedBy?: string | undefined;
11651
+ } | undefined;
11652
+ } | undefined;
11653
+ readonly readonlyWhen?: {
11654
+ dialect: "cel" | "js" | "cron" | "template";
11655
+ source?: string | undefined;
11656
+ ast?: unknown;
11657
+ meta?: {
11658
+ rationale?: string | undefined;
11659
+ generatedBy?: string | undefined;
11660
+ } | undefined;
11661
+ } | undefined;
11662
+ readonly requiredWhen?: {
11663
+ dialect: "cel" | "js" | "cron" | "template";
11664
+ source?: string | undefined;
11665
+ ast?: unknown;
11666
+ meta?: {
11667
+ rationale?: string | undefined;
11668
+ generatedBy?: string | undefined;
11669
+ } | undefined;
11670
+ } | undefined;
11671
+ readonly conditionalRequired?: {
11672
+ dialect: "cel" | "js" | "cron" | "template";
11673
+ source?: string | undefined;
11674
+ ast?: unknown;
11675
+ meta?: {
11676
+ rationale?: string | undefined;
11677
+ generatedBy?: string | undefined;
11678
+ } | undefined;
11679
+ } | undefined;
11680
+ readonly sortable?: boolean | undefined;
11681
+ readonly inlineHelpText?: string | undefined;
11682
+ readonly caseSensitive?: boolean | undefined;
11683
+ readonly autonumberFormat?: string | undefined;
11684
+ readonly index?: boolean | undefined;
11685
+ readonly type: "datetime";
11686
+ };
11687
+ };
11688
+ readonly indexes: [{
11689
+ readonly fields: ["organization_id", "package_id", "created_at"];
11690
+ }, {
11691
+ readonly fields: ["organization_id", "created_at"];
11692
+ }, {
11693
+ readonly fields: ["parent_commit_id"];
11694
+ }];
11695
+ readonly enable: {
11696
+ readonly trackHistory: false;
11697
+ readonly searchable: false;
11698
+ readonly apiEnabled: true;
11699
+ readonly apiMethods: ["get", "list"];
11700
+ readonly trash: false;
11701
+ };
11702
+ }, "fields">;
11703
+
8530
11704
  /**
8531
11705
  * sys_metadata_audit — Metadata Protection Audit Log
8532
11706
  *
@@ -8562,7 +11736,7 @@ declare const SysMetadataAuditObject: Omit<{
8562
11736
  abstract: boolean;
8563
11737
  datasource: string;
8564
11738
  fields: Record<string, {
8565
- type: "number" | "boolean" | "date" | "record" | "file" | "tags" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "vector";
11739
+ type: "number" | "boolean" | "date" | "record" | "file" | "tags" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "user" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "vector";
8566
11740
  required: boolean;
8567
11741
  searchable: boolean;
8568
11742
  multiple: boolean;
@@ -8636,6 +11810,7 @@ declare const SysMetadataAuditObject: Omit<{
8636
11810
  generatedBy?: string | undefined;
8637
11811
  } | undefined;
8638
11812
  } | undefined;
11813
+ returnType?: "number" | "boolean" | "date" | "text" | undefined;
8639
11814
  summaryOperations?: {
8640
11815
  object: string;
8641
11816
  field: string;
@@ -9259,7 +12434,7 @@ declare const SysMetadataAuditObject: Omit<{
9259
12434
  field?: string | undefined;
9260
12435
  objectOverride?: string | undefined;
9261
12436
  label?: string | undefined;
9262
- type?: "number" | "boolean" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
12437
+ type?: "number" | "boolean" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "user" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
9263
12438
  options?: {
9264
12439
  label: string;
9265
12440
  value: string;
@@ -9364,6 +12539,7 @@ declare const SysMetadataAuditObject: Omit<{
9364
12539
  readonly name?: string | undefined;
9365
12540
  readonly precision?: number | undefined;
9366
12541
  readonly required?: boolean | undefined;
12542
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
9367
12543
  readonly multiple?: boolean | undefined;
9368
12544
  readonly dependencies?: string[] | undefined;
9369
12545
  readonly externalId?: boolean | undefined;
@@ -9540,6 +12716,7 @@ declare const SysMetadataAuditObject: Omit<{
9540
12716
  readonly name?: string | undefined;
9541
12717
  readonly precision?: number | undefined;
9542
12718
  readonly required?: boolean | undefined;
12719
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
9543
12720
  readonly multiple?: boolean | undefined;
9544
12721
  readonly dependencies?: string[] | undefined;
9545
12722
  readonly externalId?: boolean | undefined;
@@ -9716,6 +12893,7 @@ declare const SysMetadataAuditObject: Omit<{
9716
12893
  readonly name?: string | undefined;
9717
12894
  readonly precision?: number | undefined;
9718
12895
  readonly required?: boolean | undefined;
12896
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
9719
12897
  readonly multiple?: boolean | undefined;
9720
12898
  readonly dependencies?: string[] | undefined;
9721
12899
  readonly externalId?: boolean | undefined;
@@ -9892,6 +13070,7 @@ declare const SysMetadataAuditObject: Omit<{
9892
13070
  readonly name?: string | undefined;
9893
13071
  readonly precision?: number | undefined;
9894
13072
  readonly required?: boolean | undefined;
13073
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
9895
13074
  readonly multiple?: boolean | undefined;
9896
13075
  readonly dependencies?: string[] | undefined;
9897
13076
  readonly externalId?: boolean | undefined;
@@ -10068,6 +13247,7 @@ declare const SysMetadataAuditObject: Omit<{
10068
13247
  readonly name?: string | undefined;
10069
13248
  readonly precision?: number | undefined;
10070
13249
  readonly required?: boolean | undefined;
13250
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
10071
13251
  readonly multiple?: boolean | undefined;
10072
13252
  readonly dependencies?: string[] | undefined;
10073
13253
  readonly externalId?: boolean | undefined;
@@ -10244,6 +13424,7 @@ declare const SysMetadataAuditObject: Omit<{
10244
13424
  readonly name?: string | undefined;
10245
13425
  readonly precision?: number | undefined;
10246
13426
  readonly required?: boolean | undefined;
13427
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
10247
13428
  readonly multiple?: boolean | undefined;
10248
13429
  readonly dependencies?: string[] | undefined;
10249
13430
  readonly externalId?: boolean | undefined;
@@ -10420,6 +13601,7 @@ declare const SysMetadataAuditObject: Omit<{
10420
13601
  readonly name?: string | undefined;
10421
13602
  readonly precision?: number | undefined;
10422
13603
  readonly required?: boolean | undefined;
13604
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
10423
13605
  readonly multiple?: boolean | undefined;
10424
13606
  readonly dependencies?: string[] | undefined;
10425
13607
  readonly externalId?: boolean | undefined;
@@ -10596,6 +13778,7 @@ declare const SysMetadataAuditObject: Omit<{
10596
13778
  readonly name?: string | undefined;
10597
13779
  readonly precision?: number | undefined;
10598
13780
  readonly required?: boolean | undefined;
13781
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
10599
13782
  readonly multiple?: boolean | undefined;
10600
13783
  readonly dependencies?: string[] | undefined;
10601
13784
  readonly externalId?: boolean | undefined;
@@ -10772,6 +13955,7 @@ declare const SysMetadataAuditObject: Omit<{
10772
13955
  readonly name?: string | undefined;
10773
13956
  readonly precision?: number | undefined;
10774
13957
  readonly required?: boolean | undefined;
13958
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
10775
13959
  readonly multiple?: boolean | undefined;
10776
13960
  readonly dependencies?: string[] | undefined;
10777
13961
  readonly externalId?: boolean | undefined;
@@ -10955,6 +14139,7 @@ declare const SysMetadataAuditObject: Omit<{
10955
14139
  readonly name?: string | undefined;
10956
14140
  readonly precision?: number | undefined;
10957
14141
  readonly required?: boolean | undefined;
14142
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
10958
14143
  readonly multiple?: boolean | undefined;
10959
14144
  readonly dependencies?: string[] | undefined;
10960
14145
  readonly externalId?: boolean | undefined;
@@ -11136,6 +14321,7 @@ declare const SysMetadataAuditObject: Omit<{
11136
14321
  readonly name?: string | undefined;
11137
14322
  readonly precision?: number | undefined;
11138
14323
  readonly required?: boolean | undefined;
14324
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
11139
14325
  readonly multiple?: boolean | undefined;
11140
14326
  readonly dependencies?: string[] | undefined;
11141
14327
  readonly externalId?: boolean | undefined;
@@ -11312,6 +14498,7 @@ declare const SysMetadataAuditObject: Omit<{
11312
14498
  readonly name?: string | undefined;
11313
14499
  readonly precision?: number | undefined;
11314
14500
  readonly required?: boolean | undefined;
14501
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
11315
14502
  readonly multiple?: boolean | undefined;
11316
14503
  readonly dependencies?: string[] | undefined;
11317
14504
  readonly externalId?: boolean | undefined;
@@ -11488,6 +14675,7 @@ declare const SysMetadataAuditObject: Omit<{
11488
14675
  readonly name?: string | undefined;
11489
14676
  readonly precision?: number | undefined;
11490
14677
  readonly required?: boolean | undefined;
14678
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
11491
14679
  readonly multiple?: boolean | undefined;
11492
14680
  readonly dependencies?: string[] | undefined;
11493
14681
  readonly externalId?: boolean | undefined;
@@ -11664,6 +14852,7 @@ declare const SysMetadataAuditObject: Omit<{
11664
14852
  readonly name?: string | undefined;
11665
14853
  readonly precision?: number | undefined;
11666
14854
  readonly required?: boolean | undefined;
14855
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
11667
14856
  readonly multiple?: boolean | undefined;
11668
14857
  readonly dependencies?: string[] | undefined;
11669
14858
  readonly externalId?: boolean | undefined;
@@ -11874,7 +15063,7 @@ declare const SysViewDefinitionObject: Omit<{
11874
15063
  abstract: boolean;
11875
15064
  datasource: string;
11876
15065
  fields: Record<string, {
11877
- type: "number" | "boolean" | "date" | "record" | "file" | "tags" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "vector";
15066
+ type: "number" | "boolean" | "date" | "record" | "file" | "tags" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "user" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "vector";
11878
15067
  required: boolean;
11879
15068
  searchable: boolean;
11880
15069
  multiple: boolean;
@@ -11948,6 +15137,7 @@ declare const SysViewDefinitionObject: Omit<{
11948
15137
  generatedBy?: string | undefined;
11949
15138
  } | undefined;
11950
15139
  } | undefined;
15140
+ returnType?: "number" | "boolean" | "date" | "text" | undefined;
11951
15141
  summaryOperations?: {
11952
15142
  object: string;
11953
15143
  field: string;
@@ -12571,7 +15761,7 @@ declare const SysViewDefinitionObject: Omit<{
12571
15761
  field?: string | undefined;
12572
15762
  objectOverride?: string | undefined;
12573
15763
  label?: string | undefined;
12574
- type?: "number" | "boolean" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
15764
+ type?: "number" | "boolean" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "user" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
12575
15765
  options?: {
12576
15766
  label: string;
12577
15767
  value: string;
@@ -12675,6 +15865,7 @@ declare const SysViewDefinitionObject: Omit<{
12675
15865
  readonly name?: string | undefined;
12676
15866
  readonly precision?: number | undefined;
12677
15867
  readonly required?: boolean | undefined;
15868
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
12678
15869
  readonly multiple?: boolean | undefined;
12679
15870
  readonly dependencies?: string[] | undefined;
12680
15871
  readonly externalId?: boolean | undefined;
@@ -12855,6 +16046,7 @@ declare const SysViewDefinitionObject: Omit<{
12855
16046
  readonly name?: string | undefined;
12856
16047
  readonly precision?: number | undefined;
12857
16048
  readonly required?: boolean | undefined;
16049
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
12858
16050
  readonly multiple?: boolean | undefined;
12859
16051
  readonly dependencies?: string[] | undefined;
12860
16052
  readonly externalId?: boolean | undefined;
@@ -13031,6 +16223,7 @@ declare const SysViewDefinitionObject: Omit<{
13031
16223
  readonly name?: string | undefined;
13032
16224
  readonly precision?: number | undefined;
13033
16225
  readonly required?: boolean | undefined;
16226
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
13034
16227
  readonly multiple?: boolean | undefined;
13035
16228
  readonly dependencies?: string[] | undefined;
13036
16229
  readonly externalId?: boolean | undefined;
@@ -13207,6 +16400,7 @@ declare const SysViewDefinitionObject: Omit<{
13207
16400
  readonly name?: string | undefined;
13208
16401
  readonly precision?: number | undefined;
13209
16402
  readonly required?: boolean | undefined;
16403
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
13210
16404
  readonly multiple?: boolean | undefined;
13211
16405
  readonly dependencies?: string[] | undefined;
13212
16406
  readonly externalId?: boolean | undefined;
@@ -13383,6 +16577,7 @@ declare const SysViewDefinitionObject: Omit<{
13383
16577
  readonly name?: string | undefined;
13384
16578
  readonly precision?: number | undefined;
13385
16579
  readonly required?: boolean | undefined;
16580
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
13386
16581
  readonly multiple?: boolean | undefined;
13387
16582
  readonly dependencies?: string[] | undefined;
13388
16583
  readonly externalId?: boolean | undefined;
@@ -13559,6 +16754,7 @@ declare const SysViewDefinitionObject: Omit<{
13559
16754
  readonly name?: string | undefined;
13560
16755
  readonly precision?: number | undefined;
13561
16756
  readonly required?: boolean | undefined;
16757
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
13562
16758
  readonly multiple?: boolean | undefined;
13563
16759
  readonly dependencies?: string[] | undefined;
13564
16760
  readonly externalId?: boolean | undefined;
@@ -13735,6 +16931,7 @@ declare const SysViewDefinitionObject: Omit<{
13735
16931
  readonly name?: string | undefined;
13736
16932
  readonly precision?: number | undefined;
13737
16933
  readonly required?: boolean | undefined;
16934
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
13738
16935
  readonly multiple?: boolean | undefined;
13739
16936
  readonly dependencies?: string[] | undefined;
13740
16937
  readonly externalId?: boolean | undefined;
@@ -13914,6 +17111,7 @@ declare const SysViewDefinitionObject: Omit<{
13914
17111
  readonly name?: string | undefined;
13915
17112
  readonly precision?: number | undefined;
13916
17113
  readonly required?: boolean | undefined;
17114
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
13917
17115
  readonly multiple?: boolean | undefined;
13918
17116
  readonly dependencies?: string[] | undefined;
13919
17117
  readonly externalId?: boolean | undefined;
@@ -14090,6 +17288,7 @@ declare const SysViewDefinitionObject: Omit<{
14090
17288
  readonly name?: string | undefined;
14091
17289
  readonly precision?: number | undefined;
14092
17290
  readonly required?: boolean | undefined;
17291
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
14093
17292
  readonly multiple?: boolean | undefined;
14094
17293
  readonly dependencies?: string[] | undefined;
14095
17294
  readonly externalId?: boolean | undefined;
@@ -14266,6 +17465,7 @@ declare const SysViewDefinitionObject: Omit<{
14266
17465
  readonly name?: string | undefined;
14267
17466
  readonly precision?: number | undefined;
14268
17467
  readonly required?: boolean | undefined;
17468
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
14269
17469
  readonly multiple?: boolean | undefined;
14270
17470
  readonly dependencies?: string[] | undefined;
14271
17471
  readonly externalId?: boolean | undefined;
@@ -14442,6 +17642,7 @@ declare const SysViewDefinitionObject: Omit<{
14442
17642
  readonly name?: string | undefined;
14443
17643
  readonly precision?: number | undefined;
14444
17644
  readonly required?: boolean | undefined;
17645
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
14445
17646
  readonly multiple?: boolean | undefined;
14446
17647
  readonly dependencies?: string[] | undefined;
14447
17648
  readonly externalId?: boolean | undefined;
@@ -14618,6 +17819,7 @@ declare const SysViewDefinitionObject: Omit<{
14618
17819
  readonly name?: string | undefined;
14619
17820
  readonly precision?: number | undefined;
14620
17821
  readonly required?: boolean | undefined;
17822
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
14621
17823
  readonly multiple?: boolean | undefined;
14622
17824
  readonly dependencies?: string[] | undefined;
14623
17825
  readonly externalId?: boolean | undefined;
@@ -14794,6 +17996,7 @@ declare const SysViewDefinitionObject: Omit<{
14794
17996
  readonly name?: string | undefined;
14795
17997
  readonly precision?: number | undefined;
14796
17998
  readonly required?: boolean | undefined;
17999
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
14797
18000
  readonly multiple?: boolean | undefined;
14798
18001
  readonly dependencies?: string[] | undefined;
14799
18002
  readonly externalId?: boolean | undefined;
@@ -14970,6 +18173,7 @@ declare const SysViewDefinitionObject: Omit<{
14970
18173
  readonly name?: string | undefined;
14971
18174
  readonly precision?: number | undefined;
14972
18175
  readonly required?: boolean | undefined;
18176
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
14973
18177
  readonly multiple?: boolean | undefined;
14974
18178
  readonly dependencies?: string[] | undefined;
14975
18179
  readonly externalId?: boolean | undefined;
@@ -15145,6 +18349,7 @@ declare const SysViewDefinitionObject: Omit<{
15145
18349
  readonly name?: string | undefined;
15146
18350
  readonly precision?: number | undefined;
15147
18351
  readonly required?: boolean | undefined;
18352
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
15148
18353
  readonly multiple?: boolean | undefined;
15149
18354
  readonly dependencies?: string[] | undefined;
15150
18355
  readonly externalId?: boolean | undefined;
@@ -15320,6 +18525,7 @@ declare const SysViewDefinitionObject: Omit<{
15320
18525
  readonly name?: string | undefined;
15321
18526
  readonly precision?: number | undefined;
15322
18527
  readonly required?: boolean | undefined;
18528
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
15323
18529
  readonly multiple?: boolean | undefined;
15324
18530
  readonly dependencies?: string[] | undefined;
15325
18531
  readonly externalId?: boolean | undefined;
@@ -15495,6 +18701,7 @@ declare const SysViewDefinitionObject: Omit<{
15495
18701
  readonly name?: string | undefined;
15496
18702
  readonly precision?: number | undefined;
15497
18703
  readonly required?: boolean | undefined;
18704
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
15498
18705
  readonly multiple?: boolean | undefined;
15499
18706
  readonly dependencies?: string[] | undefined;
15500
18707
  readonly externalId?: boolean | undefined;
@@ -15681,4 +18888,4 @@ declare const SysViewDefinitionObject: Omit<{
15681
18888
  };
15682
18889
  }, "fields">;
15683
18890
 
15684
- export { BranchError, type CacheStats, ConflictError, DeleteOptions, DeleteResult, HistoryOptions, InMemoryRepository, type InMemoryRepositoryOptions, type LayerConfig, LayeredRepository, type LayeredRepositoryOptions, ListFilter, MetaRef, MetadataCache, type MetadataCacheOptions, MetadataError, MetadataEvent, MetadataItem, MetadataItemHeader, MetadataRepository, NotFoundError, PutOptions, PutResult, SchemaValidationError, SysMetadataObject as SysMetadata, SysMetadataAuditObject, SysMetadataHistoryObject, SysMetadataObject, SysViewDefinitionObject, WatchFilter, canonicalize, hashSpec };
18891
+ export { BranchError, type CacheStats, ConflictError, DeleteOptions, DeleteResult, HistoryOptions, InMemoryRepository, type InMemoryRepositoryOptions, type LayerConfig, LayeredRepository, type LayeredRepositoryOptions, ListFilter, MetaRef, MetadataCache, type MetadataCacheOptions, MetadataError, MetadataEvent, MetadataItem, MetadataItemHeader, MetadataRepository, NotFoundError, PutOptions, PutResult, SchemaValidationError, SysMetadataObject as SysMetadata, SysMetadataAuditObject, SysMetadataCommitObject, SysMetadataHistoryObject, SysMetadataObject, SysViewDefinitionObject, WatchFilter, canonicalize, hashSpec };