@objectstack/metadata 3.1.1 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +6 -6
- package/CHANGELOG.md +18 -0
- package/dist/index.d.mts +3425 -2
- package/dist/index.d.ts +3425 -2
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -537,7 +537,7 @@ type StateNodeConfig = {
|
|
|
537
537
|
*
|
|
538
538
|
* @see MetadataRecordSchema in metadata-persistence.zod.ts
|
|
539
539
|
*/
|
|
540
|
-
declare const SysMetadataObject: {
|
|
540
|
+
declare const SysMetadataObject: Omit<{
|
|
541
541
|
name: string;
|
|
542
542
|
active: boolean;
|
|
543
543
|
isSystem: boolean;
|
|
@@ -801,7 +801,3430 @@ declare const SysMetadataObject: {
|
|
|
801
801
|
recordTypes?: string[] | undefined;
|
|
802
802
|
sharingModel?: "full" | "private" | "read" | "read_write" | undefined;
|
|
803
803
|
keyPrefix?: string | undefined;
|
|
804
|
-
|
|
804
|
+
actions?: {
|
|
805
|
+
name: string;
|
|
806
|
+
label: string | {
|
|
807
|
+
key: string;
|
|
808
|
+
defaultValue?: string | undefined;
|
|
809
|
+
params?: Record<string, string | number | boolean> | undefined;
|
|
810
|
+
};
|
|
811
|
+
type: "url" | "script" | "modal" | "flow" | "api";
|
|
812
|
+
refreshAfter: boolean;
|
|
813
|
+
objectName?: string | undefined;
|
|
814
|
+
icon?: string | undefined;
|
|
815
|
+
locations?: ("list_toolbar" | "list_item" | "record_header" | "record_more" | "record_related" | "global_nav")[] | undefined;
|
|
816
|
+
component?: "action:button" | "action:icon" | "action:menu" | "action:group" | undefined;
|
|
817
|
+
target?: string | undefined;
|
|
818
|
+
execute?: string | undefined;
|
|
819
|
+
params?: {
|
|
820
|
+
name: string;
|
|
821
|
+
label: string | {
|
|
822
|
+
key: string;
|
|
823
|
+
defaultValue?: string | undefined;
|
|
824
|
+
params?: Record<string, string | number | boolean> | undefined;
|
|
825
|
+
};
|
|
826
|
+
type: "number" | "boolean" | "date" | "lookup" | "file" | "url" | "json" | "text" | "textarea" | "email" | "phone" | "password" | "markdown" | "html" | "richtext" | "currency" | "percent" | "datetime" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "master_detail" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "location" | "address" | "code" | "color" | "rating" | "slider" | "signature" | "qrcode" | "progress" | "tags" | "vector";
|
|
827
|
+
required: boolean;
|
|
828
|
+
options?: {
|
|
829
|
+
label: string | {
|
|
830
|
+
key: string;
|
|
831
|
+
defaultValue?: string | undefined;
|
|
832
|
+
params?: Record<string, string | number | boolean> | undefined;
|
|
833
|
+
};
|
|
834
|
+
value: string;
|
|
835
|
+
}[] | undefined;
|
|
836
|
+
}[] | undefined;
|
|
837
|
+
variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
|
|
838
|
+
confirmText?: string | {
|
|
839
|
+
key: string;
|
|
840
|
+
defaultValue?: string | undefined;
|
|
841
|
+
params?: Record<string, string | number | boolean> | undefined;
|
|
842
|
+
} | undefined;
|
|
843
|
+
successMessage?: string | {
|
|
844
|
+
key: string;
|
|
845
|
+
defaultValue?: string | undefined;
|
|
846
|
+
params?: Record<string, string | number | boolean> | undefined;
|
|
847
|
+
} | undefined;
|
|
848
|
+
visible?: string | undefined;
|
|
849
|
+
disabled?: string | boolean | undefined;
|
|
850
|
+
shortcut?: string | undefined;
|
|
851
|
+
bulkEnabled?: boolean | undefined;
|
|
852
|
+
timeout?: number | undefined;
|
|
853
|
+
aria?: {
|
|
854
|
+
ariaLabel?: string | {
|
|
855
|
+
key: string;
|
|
856
|
+
defaultValue?: string | undefined;
|
|
857
|
+
params?: Record<string, string | number | boolean> | undefined;
|
|
858
|
+
} | undefined;
|
|
859
|
+
ariaDescribedBy?: string | undefined;
|
|
860
|
+
role?: string | undefined;
|
|
861
|
+
} | undefined;
|
|
862
|
+
}[] | undefined;
|
|
863
|
+
}, "fields"> & Pick<{
|
|
864
|
+
readonly name: "sys_metadata";
|
|
865
|
+
readonly label: "System Metadata";
|
|
866
|
+
readonly pluralLabel: "System Metadata";
|
|
867
|
+
readonly icon: "settings";
|
|
868
|
+
readonly isSystem: true;
|
|
869
|
+
readonly description: "Stores platform and user-scope metadata records (objects, views, flows, etc.)";
|
|
870
|
+
readonly fields: {
|
|
871
|
+
/** Primary Key (UUID) */
|
|
872
|
+
readonly id: {
|
|
873
|
+
readonly format?: string | undefined;
|
|
874
|
+
readonly expression?: string | undefined;
|
|
875
|
+
readonly readonly?: boolean | undefined;
|
|
876
|
+
readonly defaultValue?: unknown;
|
|
877
|
+
readonly min?: number | undefined;
|
|
878
|
+
readonly max?: number | undefined;
|
|
879
|
+
readonly name?: string | undefined;
|
|
880
|
+
readonly encryptionConfig?: {
|
|
881
|
+
enabled: boolean;
|
|
882
|
+
algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
|
|
883
|
+
keyManagement: {
|
|
884
|
+
provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
|
|
885
|
+
keyId?: string | undefined;
|
|
886
|
+
rotationPolicy?: {
|
|
887
|
+
enabled: boolean;
|
|
888
|
+
frequencyDays: number;
|
|
889
|
+
retainOldVersions: number;
|
|
890
|
+
autoRotate: boolean;
|
|
891
|
+
} | undefined;
|
|
892
|
+
};
|
|
893
|
+
scope: "table" | "record" | "field" | "database";
|
|
894
|
+
deterministicEncryption: boolean;
|
|
895
|
+
searchableEncryption: boolean;
|
|
896
|
+
} | undefined;
|
|
897
|
+
readonly label?: string | undefined;
|
|
898
|
+
readonly precision?: number | undefined;
|
|
899
|
+
readonly description?: string | undefined;
|
|
900
|
+
readonly columnName?: string | undefined;
|
|
901
|
+
readonly required?: boolean | undefined;
|
|
902
|
+
readonly searchable?: boolean | undefined;
|
|
903
|
+
readonly multiple?: boolean | undefined;
|
|
904
|
+
readonly unique?: boolean | undefined;
|
|
905
|
+
readonly maxLength?: number | undefined;
|
|
906
|
+
readonly minLength?: number | undefined;
|
|
907
|
+
readonly scale?: number | undefined;
|
|
908
|
+
readonly options?: {
|
|
909
|
+
label: string;
|
|
910
|
+
value: string;
|
|
911
|
+
color?: string | undefined;
|
|
912
|
+
default?: boolean | undefined;
|
|
913
|
+
}[] | undefined;
|
|
914
|
+
readonly reference?: string | undefined;
|
|
915
|
+
readonly referenceFilters?: string[] | undefined;
|
|
916
|
+
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
917
|
+
readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
|
|
918
|
+
readonly summaryOperations?: {
|
|
919
|
+
object: string;
|
|
920
|
+
field: string;
|
|
921
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
922
|
+
} | undefined;
|
|
923
|
+
readonly language?: string | undefined;
|
|
924
|
+
readonly theme?: string | undefined;
|
|
925
|
+
readonly lineNumbers?: boolean | undefined;
|
|
926
|
+
readonly maxRating?: number | undefined;
|
|
927
|
+
readonly allowHalf?: boolean | undefined;
|
|
928
|
+
readonly displayMap?: boolean | undefined;
|
|
929
|
+
readonly allowGeocoding?: boolean | undefined;
|
|
930
|
+
readonly addressFormat?: "us" | "uk" | "international" | undefined;
|
|
931
|
+
readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
932
|
+
readonly allowAlpha?: boolean | undefined;
|
|
933
|
+
readonly presetColors?: string[] | undefined;
|
|
934
|
+
readonly step?: number | undefined;
|
|
935
|
+
readonly showValue?: boolean | undefined;
|
|
936
|
+
readonly marks?: Record<string, string> | undefined;
|
|
937
|
+
readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
938
|
+
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
939
|
+
readonly displayValue?: boolean | undefined;
|
|
940
|
+
readonly allowScanning?: boolean | undefined;
|
|
941
|
+
readonly currencyConfig?: {
|
|
942
|
+
precision: number;
|
|
943
|
+
currencyMode: "dynamic" | "fixed";
|
|
944
|
+
defaultCurrency: string;
|
|
945
|
+
} | undefined;
|
|
946
|
+
readonly vectorConfig?: {
|
|
947
|
+
dimensions: number;
|
|
948
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
949
|
+
normalized: boolean;
|
|
950
|
+
indexed: boolean;
|
|
951
|
+
indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
|
|
952
|
+
} | undefined;
|
|
953
|
+
readonly fileAttachmentConfig?: {
|
|
954
|
+
virusScan: boolean;
|
|
955
|
+
virusScanOnUpload: boolean;
|
|
956
|
+
quarantineOnThreat: boolean;
|
|
957
|
+
allowMultiple: boolean;
|
|
958
|
+
allowReplace: boolean;
|
|
959
|
+
allowDelete: boolean;
|
|
960
|
+
requireUpload: boolean;
|
|
961
|
+
extractMetadata: boolean;
|
|
962
|
+
extractText: boolean;
|
|
963
|
+
versioningEnabled: boolean;
|
|
964
|
+
publicRead: boolean;
|
|
965
|
+
presignedUrlExpiry: number;
|
|
966
|
+
minSize?: number | undefined;
|
|
967
|
+
maxSize?: number | undefined;
|
|
968
|
+
allowedTypes?: string[] | undefined;
|
|
969
|
+
blockedTypes?: string[] | undefined;
|
|
970
|
+
allowedMimeTypes?: string[] | undefined;
|
|
971
|
+
blockedMimeTypes?: string[] | undefined;
|
|
972
|
+
virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
|
|
973
|
+
storageProvider?: string | undefined;
|
|
974
|
+
storageBucket?: string | undefined;
|
|
975
|
+
storagePrefix?: string | undefined;
|
|
976
|
+
imageValidation?: {
|
|
977
|
+
generateThumbnails: boolean;
|
|
978
|
+
preserveMetadata: boolean;
|
|
979
|
+
autoRotate: boolean;
|
|
980
|
+
minWidth?: number | undefined;
|
|
981
|
+
maxWidth?: number | undefined;
|
|
982
|
+
minHeight?: number | undefined;
|
|
983
|
+
maxHeight?: number | undefined;
|
|
984
|
+
aspectRatio?: string | undefined;
|
|
985
|
+
thumbnailSizes?: {
|
|
986
|
+
name: string;
|
|
987
|
+
width: number;
|
|
988
|
+
height: number;
|
|
989
|
+
crop: boolean;
|
|
990
|
+
}[] | undefined;
|
|
991
|
+
} | undefined;
|
|
992
|
+
maxVersions?: number | undefined;
|
|
993
|
+
} | undefined;
|
|
994
|
+
readonly maskingRule?: {
|
|
995
|
+
field: string;
|
|
996
|
+
strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
|
|
997
|
+
preserveFormat: boolean;
|
|
998
|
+
preserveLength: boolean;
|
|
999
|
+
pattern?: string | undefined;
|
|
1000
|
+
roles?: string[] | undefined;
|
|
1001
|
+
exemptRoles?: string[] | undefined;
|
|
1002
|
+
} | undefined;
|
|
1003
|
+
readonly auditTrail?: boolean | undefined;
|
|
1004
|
+
readonly dependencies?: string[] | undefined;
|
|
1005
|
+
readonly cached?: {
|
|
1006
|
+
enabled: boolean;
|
|
1007
|
+
ttl: number;
|
|
1008
|
+
invalidateOn: string[];
|
|
1009
|
+
} | undefined;
|
|
1010
|
+
readonly dataQuality?: {
|
|
1011
|
+
uniqueness: boolean;
|
|
1012
|
+
completeness: number;
|
|
1013
|
+
accuracy?: {
|
|
1014
|
+
source: string;
|
|
1015
|
+
threshold: number;
|
|
1016
|
+
} | undefined;
|
|
1017
|
+
} | undefined;
|
|
1018
|
+
readonly group?: string | undefined;
|
|
1019
|
+
readonly conditionalRequired?: string | undefined;
|
|
1020
|
+
readonly hidden?: boolean | undefined;
|
|
1021
|
+
readonly sortable?: boolean | undefined;
|
|
1022
|
+
readonly inlineHelpText?: string | undefined;
|
|
1023
|
+
readonly trackFeedHistory?: boolean | undefined;
|
|
1024
|
+
readonly caseSensitive?: boolean | undefined;
|
|
1025
|
+
readonly autonumberFormat?: string | undefined;
|
|
1026
|
+
readonly index?: boolean | undefined;
|
|
1027
|
+
readonly externalId?: boolean | undefined;
|
|
1028
|
+
readonly type: "text";
|
|
1029
|
+
};
|
|
1030
|
+
/** Machine name — unique identifier used in code references */
|
|
1031
|
+
readonly name: {
|
|
1032
|
+
readonly format?: string | undefined;
|
|
1033
|
+
readonly expression?: string | undefined;
|
|
1034
|
+
readonly readonly?: boolean | undefined;
|
|
1035
|
+
readonly defaultValue?: unknown;
|
|
1036
|
+
readonly min?: number | undefined;
|
|
1037
|
+
readonly max?: number | undefined;
|
|
1038
|
+
readonly name?: string | undefined;
|
|
1039
|
+
readonly encryptionConfig?: {
|
|
1040
|
+
enabled: boolean;
|
|
1041
|
+
algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
|
|
1042
|
+
keyManagement: {
|
|
1043
|
+
provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
|
|
1044
|
+
keyId?: string | undefined;
|
|
1045
|
+
rotationPolicy?: {
|
|
1046
|
+
enabled: boolean;
|
|
1047
|
+
frequencyDays: number;
|
|
1048
|
+
retainOldVersions: number;
|
|
1049
|
+
autoRotate: boolean;
|
|
1050
|
+
} | undefined;
|
|
1051
|
+
};
|
|
1052
|
+
scope: "table" | "record" | "field" | "database";
|
|
1053
|
+
deterministicEncryption: boolean;
|
|
1054
|
+
searchableEncryption: boolean;
|
|
1055
|
+
} | undefined;
|
|
1056
|
+
readonly label?: string | undefined;
|
|
1057
|
+
readonly precision?: number | undefined;
|
|
1058
|
+
readonly description?: string | undefined;
|
|
1059
|
+
readonly columnName?: string | undefined;
|
|
1060
|
+
readonly required?: boolean | undefined;
|
|
1061
|
+
readonly searchable?: boolean | undefined;
|
|
1062
|
+
readonly multiple?: boolean | undefined;
|
|
1063
|
+
readonly unique?: boolean | undefined;
|
|
1064
|
+
readonly maxLength?: number | undefined;
|
|
1065
|
+
readonly minLength?: number | undefined;
|
|
1066
|
+
readonly scale?: number | undefined;
|
|
1067
|
+
readonly options?: {
|
|
1068
|
+
label: string;
|
|
1069
|
+
value: string;
|
|
1070
|
+
color?: string | undefined;
|
|
1071
|
+
default?: boolean | undefined;
|
|
1072
|
+
}[] | undefined;
|
|
1073
|
+
readonly reference?: string | undefined;
|
|
1074
|
+
readonly referenceFilters?: string[] | undefined;
|
|
1075
|
+
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
1076
|
+
readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
|
|
1077
|
+
readonly summaryOperations?: {
|
|
1078
|
+
object: string;
|
|
1079
|
+
field: string;
|
|
1080
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
1081
|
+
} | undefined;
|
|
1082
|
+
readonly language?: string | undefined;
|
|
1083
|
+
readonly theme?: string | undefined;
|
|
1084
|
+
readonly lineNumbers?: boolean | undefined;
|
|
1085
|
+
readonly maxRating?: number | undefined;
|
|
1086
|
+
readonly allowHalf?: boolean | undefined;
|
|
1087
|
+
readonly displayMap?: boolean | undefined;
|
|
1088
|
+
readonly allowGeocoding?: boolean | undefined;
|
|
1089
|
+
readonly addressFormat?: "us" | "uk" | "international" | undefined;
|
|
1090
|
+
readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
1091
|
+
readonly allowAlpha?: boolean | undefined;
|
|
1092
|
+
readonly presetColors?: string[] | undefined;
|
|
1093
|
+
readonly step?: number | undefined;
|
|
1094
|
+
readonly showValue?: boolean | undefined;
|
|
1095
|
+
readonly marks?: Record<string, string> | undefined;
|
|
1096
|
+
readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
1097
|
+
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
1098
|
+
readonly displayValue?: boolean | undefined;
|
|
1099
|
+
readonly allowScanning?: boolean | undefined;
|
|
1100
|
+
readonly currencyConfig?: {
|
|
1101
|
+
precision: number;
|
|
1102
|
+
currencyMode: "dynamic" | "fixed";
|
|
1103
|
+
defaultCurrency: string;
|
|
1104
|
+
} | undefined;
|
|
1105
|
+
readonly vectorConfig?: {
|
|
1106
|
+
dimensions: number;
|
|
1107
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
1108
|
+
normalized: boolean;
|
|
1109
|
+
indexed: boolean;
|
|
1110
|
+
indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
|
|
1111
|
+
} | undefined;
|
|
1112
|
+
readonly fileAttachmentConfig?: {
|
|
1113
|
+
virusScan: boolean;
|
|
1114
|
+
virusScanOnUpload: boolean;
|
|
1115
|
+
quarantineOnThreat: boolean;
|
|
1116
|
+
allowMultiple: boolean;
|
|
1117
|
+
allowReplace: boolean;
|
|
1118
|
+
allowDelete: boolean;
|
|
1119
|
+
requireUpload: boolean;
|
|
1120
|
+
extractMetadata: boolean;
|
|
1121
|
+
extractText: boolean;
|
|
1122
|
+
versioningEnabled: boolean;
|
|
1123
|
+
publicRead: boolean;
|
|
1124
|
+
presignedUrlExpiry: number;
|
|
1125
|
+
minSize?: number | undefined;
|
|
1126
|
+
maxSize?: number | undefined;
|
|
1127
|
+
allowedTypes?: string[] | undefined;
|
|
1128
|
+
blockedTypes?: string[] | undefined;
|
|
1129
|
+
allowedMimeTypes?: string[] | undefined;
|
|
1130
|
+
blockedMimeTypes?: string[] | undefined;
|
|
1131
|
+
virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
|
|
1132
|
+
storageProvider?: string | undefined;
|
|
1133
|
+
storageBucket?: string | undefined;
|
|
1134
|
+
storagePrefix?: string | undefined;
|
|
1135
|
+
imageValidation?: {
|
|
1136
|
+
generateThumbnails: boolean;
|
|
1137
|
+
preserveMetadata: boolean;
|
|
1138
|
+
autoRotate: boolean;
|
|
1139
|
+
minWidth?: number | undefined;
|
|
1140
|
+
maxWidth?: number | undefined;
|
|
1141
|
+
minHeight?: number | undefined;
|
|
1142
|
+
maxHeight?: number | undefined;
|
|
1143
|
+
aspectRatio?: string | undefined;
|
|
1144
|
+
thumbnailSizes?: {
|
|
1145
|
+
name: string;
|
|
1146
|
+
width: number;
|
|
1147
|
+
height: number;
|
|
1148
|
+
crop: boolean;
|
|
1149
|
+
}[] | undefined;
|
|
1150
|
+
} | undefined;
|
|
1151
|
+
maxVersions?: number | undefined;
|
|
1152
|
+
} | undefined;
|
|
1153
|
+
readonly maskingRule?: {
|
|
1154
|
+
field: string;
|
|
1155
|
+
strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
|
|
1156
|
+
preserveFormat: boolean;
|
|
1157
|
+
preserveLength: boolean;
|
|
1158
|
+
pattern?: string | undefined;
|
|
1159
|
+
roles?: string[] | undefined;
|
|
1160
|
+
exemptRoles?: string[] | undefined;
|
|
1161
|
+
} | undefined;
|
|
1162
|
+
readonly auditTrail?: boolean | undefined;
|
|
1163
|
+
readonly dependencies?: string[] | undefined;
|
|
1164
|
+
readonly cached?: {
|
|
1165
|
+
enabled: boolean;
|
|
1166
|
+
ttl: number;
|
|
1167
|
+
invalidateOn: string[];
|
|
1168
|
+
} | undefined;
|
|
1169
|
+
readonly dataQuality?: {
|
|
1170
|
+
uniqueness: boolean;
|
|
1171
|
+
completeness: number;
|
|
1172
|
+
accuracy?: {
|
|
1173
|
+
source: string;
|
|
1174
|
+
threshold: number;
|
|
1175
|
+
} | undefined;
|
|
1176
|
+
} | undefined;
|
|
1177
|
+
readonly group?: string | undefined;
|
|
1178
|
+
readonly conditionalRequired?: string | undefined;
|
|
1179
|
+
readonly hidden?: boolean | undefined;
|
|
1180
|
+
readonly sortable?: boolean | undefined;
|
|
1181
|
+
readonly inlineHelpText?: string | undefined;
|
|
1182
|
+
readonly trackFeedHistory?: boolean | undefined;
|
|
1183
|
+
readonly caseSensitive?: boolean | undefined;
|
|
1184
|
+
readonly autonumberFormat?: string | undefined;
|
|
1185
|
+
readonly index?: boolean | undefined;
|
|
1186
|
+
readonly externalId?: boolean | undefined;
|
|
1187
|
+
readonly type: "text";
|
|
1188
|
+
};
|
|
1189
|
+
/** Metadata type (e.g. "object", "view", "flow") */
|
|
1190
|
+
readonly type: {
|
|
1191
|
+
readonly format?: string | undefined;
|
|
1192
|
+
readonly expression?: string | undefined;
|
|
1193
|
+
readonly readonly?: boolean | undefined;
|
|
1194
|
+
readonly defaultValue?: unknown;
|
|
1195
|
+
readonly min?: number | undefined;
|
|
1196
|
+
readonly max?: number | undefined;
|
|
1197
|
+
readonly name?: string | undefined;
|
|
1198
|
+
readonly encryptionConfig?: {
|
|
1199
|
+
enabled: boolean;
|
|
1200
|
+
algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
|
|
1201
|
+
keyManagement: {
|
|
1202
|
+
provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
|
|
1203
|
+
keyId?: string | undefined;
|
|
1204
|
+
rotationPolicy?: {
|
|
1205
|
+
enabled: boolean;
|
|
1206
|
+
frequencyDays: number;
|
|
1207
|
+
retainOldVersions: number;
|
|
1208
|
+
autoRotate: boolean;
|
|
1209
|
+
} | undefined;
|
|
1210
|
+
};
|
|
1211
|
+
scope: "table" | "record" | "field" | "database";
|
|
1212
|
+
deterministicEncryption: boolean;
|
|
1213
|
+
searchableEncryption: boolean;
|
|
1214
|
+
} | undefined;
|
|
1215
|
+
readonly label?: string | undefined;
|
|
1216
|
+
readonly precision?: number | undefined;
|
|
1217
|
+
readonly description?: string | undefined;
|
|
1218
|
+
readonly columnName?: string | undefined;
|
|
1219
|
+
readonly required?: boolean | undefined;
|
|
1220
|
+
readonly searchable?: boolean | undefined;
|
|
1221
|
+
readonly multiple?: boolean | undefined;
|
|
1222
|
+
readonly unique?: boolean | undefined;
|
|
1223
|
+
readonly maxLength?: number | undefined;
|
|
1224
|
+
readonly minLength?: number | undefined;
|
|
1225
|
+
readonly scale?: number | undefined;
|
|
1226
|
+
readonly options?: {
|
|
1227
|
+
label: string;
|
|
1228
|
+
value: string;
|
|
1229
|
+
color?: string | undefined;
|
|
1230
|
+
default?: boolean | undefined;
|
|
1231
|
+
}[] | undefined;
|
|
1232
|
+
readonly reference?: string | undefined;
|
|
1233
|
+
readonly referenceFilters?: string[] | undefined;
|
|
1234
|
+
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
1235
|
+
readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
|
|
1236
|
+
readonly summaryOperations?: {
|
|
1237
|
+
object: string;
|
|
1238
|
+
field: string;
|
|
1239
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
1240
|
+
} | undefined;
|
|
1241
|
+
readonly language?: string | undefined;
|
|
1242
|
+
readonly theme?: string | undefined;
|
|
1243
|
+
readonly lineNumbers?: boolean | undefined;
|
|
1244
|
+
readonly maxRating?: number | undefined;
|
|
1245
|
+
readonly allowHalf?: boolean | undefined;
|
|
1246
|
+
readonly displayMap?: boolean | undefined;
|
|
1247
|
+
readonly allowGeocoding?: boolean | undefined;
|
|
1248
|
+
readonly addressFormat?: "us" | "uk" | "international" | undefined;
|
|
1249
|
+
readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
1250
|
+
readonly allowAlpha?: boolean | undefined;
|
|
1251
|
+
readonly presetColors?: string[] | undefined;
|
|
1252
|
+
readonly step?: number | undefined;
|
|
1253
|
+
readonly showValue?: boolean | undefined;
|
|
1254
|
+
readonly marks?: Record<string, string> | undefined;
|
|
1255
|
+
readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
1256
|
+
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
1257
|
+
readonly displayValue?: boolean | undefined;
|
|
1258
|
+
readonly allowScanning?: boolean | undefined;
|
|
1259
|
+
readonly currencyConfig?: {
|
|
1260
|
+
precision: number;
|
|
1261
|
+
currencyMode: "dynamic" | "fixed";
|
|
1262
|
+
defaultCurrency: string;
|
|
1263
|
+
} | undefined;
|
|
1264
|
+
readonly vectorConfig?: {
|
|
1265
|
+
dimensions: number;
|
|
1266
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
1267
|
+
normalized: boolean;
|
|
1268
|
+
indexed: boolean;
|
|
1269
|
+
indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
|
|
1270
|
+
} | undefined;
|
|
1271
|
+
readonly fileAttachmentConfig?: {
|
|
1272
|
+
virusScan: boolean;
|
|
1273
|
+
virusScanOnUpload: boolean;
|
|
1274
|
+
quarantineOnThreat: boolean;
|
|
1275
|
+
allowMultiple: boolean;
|
|
1276
|
+
allowReplace: boolean;
|
|
1277
|
+
allowDelete: boolean;
|
|
1278
|
+
requireUpload: boolean;
|
|
1279
|
+
extractMetadata: boolean;
|
|
1280
|
+
extractText: boolean;
|
|
1281
|
+
versioningEnabled: boolean;
|
|
1282
|
+
publicRead: boolean;
|
|
1283
|
+
presignedUrlExpiry: number;
|
|
1284
|
+
minSize?: number | undefined;
|
|
1285
|
+
maxSize?: number | undefined;
|
|
1286
|
+
allowedTypes?: string[] | undefined;
|
|
1287
|
+
blockedTypes?: string[] | undefined;
|
|
1288
|
+
allowedMimeTypes?: string[] | undefined;
|
|
1289
|
+
blockedMimeTypes?: string[] | undefined;
|
|
1290
|
+
virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
|
|
1291
|
+
storageProvider?: string | undefined;
|
|
1292
|
+
storageBucket?: string | undefined;
|
|
1293
|
+
storagePrefix?: string | undefined;
|
|
1294
|
+
imageValidation?: {
|
|
1295
|
+
generateThumbnails: boolean;
|
|
1296
|
+
preserveMetadata: boolean;
|
|
1297
|
+
autoRotate: boolean;
|
|
1298
|
+
minWidth?: number | undefined;
|
|
1299
|
+
maxWidth?: number | undefined;
|
|
1300
|
+
minHeight?: number | undefined;
|
|
1301
|
+
maxHeight?: number | undefined;
|
|
1302
|
+
aspectRatio?: string | undefined;
|
|
1303
|
+
thumbnailSizes?: {
|
|
1304
|
+
name: string;
|
|
1305
|
+
width: number;
|
|
1306
|
+
height: number;
|
|
1307
|
+
crop: boolean;
|
|
1308
|
+
}[] | undefined;
|
|
1309
|
+
} | undefined;
|
|
1310
|
+
maxVersions?: number | undefined;
|
|
1311
|
+
} | undefined;
|
|
1312
|
+
readonly maskingRule?: {
|
|
1313
|
+
field: string;
|
|
1314
|
+
strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
|
|
1315
|
+
preserveFormat: boolean;
|
|
1316
|
+
preserveLength: boolean;
|
|
1317
|
+
pattern?: string | undefined;
|
|
1318
|
+
roles?: string[] | undefined;
|
|
1319
|
+
exemptRoles?: string[] | undefined;
|
|
1320
|
+
} | undefined;
|
|
1321
|
+
readonly auditTrail?: boolean | undefined;
|
|
1322
|
+
readonly dependencies?: string[] | undefined;
|
|
1323
|
+
readonly cached?: {
|
|
1324
|
+
enabled: boolean;
|
|
1325
|
+
ttl: number;
|
|
1326
|
+
invalidateOn: string[];
|
|
1327
|
+
} | undefined;
|
|
1328
|
+
readonly dataQuality?: {
|
|
1329
|
+
uniqueness: boolean;
|
|
1330
|
+
completeness: number;
|
|
1331
|
+
accuracy?: {
|
|
1332
|
+
source: string;
|
|
1333
|
+
threshold: number;
|
|
1334
|
+
} | undefined;
|
|
1335
|
+
} | undefined;
|
|
1336
|
+
readonly group?: string | undefined;
|
|
1337
|
+
readonly conditionalRequired?: string | undefined;
|
|
1338
|
+
readonly hidden?: boolean | undefined;
|
|
1339
|
+
readonly sortable?: boolean | undefined;
|
|
1340
|
+
readonly inlineHelpText?: string | undefined;
|
|
1341
|
+
readonly trackFeedHistory?: boolean | undefined;
|
|
1342
|
+
readonly caseSensitive?: boolean | undefined;
|
|
1343
|
+
readonly autonumberFormat?: string | undefined;
|
|
1344
|
+
readonly index?: boolean | undefined;
|
|
1345
|
+
readonly externalId?: boolean | undefined;
|
|
1346
|
+
readonly type: "text";
|
|
1347
|
+
};
|
|
1348
|
+
/** Namespace / module grouping (e.g. "crm", "core") */
|
|
1349
|
+
readonly namespace: {
|
|
1350
|
+
readonly format?: string | undefined;
|
|
1351
|
+
readonly expression?: string | undefined;
|
|
1352
|
+
readonly readonly?: boolean | undefined;
|
|
1353
|
+
readonly defaultValue?: unknown;
|
|
1354
|
+
readonly min?: number | undefined;
|
|
1355
|
+
readonly max?: number | undefined;
|
|
1356
|
+
readonly name?: string | undefined;
|
|
1357
|
+
readonly encryptionConfig?: {
|
|
1358
|
+
enabled: boolean;
|
|
1359
|
+
algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
|
|
1360
|
+
keyManagement: {
|
|
1361
|
+
provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
|
|
1362
|
+
keyId?: string | undefined;
|
|
1363
|
+
rotationPolicy?: {
|
|
1364
|
+
enabled: boolean;
|
|
1365
|
+
frequencyDays: number;
|
|
1366
|
+
retainOldVersions: number;
|
|
1367
|
+
autoRotate: boolean;
|
|
1368
|
+
} | undefined;
|
|
1369
|
+
};
|
|
1370
|
+
scope: "table" | "record" | "field" | "database";
|
|
1371
|
+
deterministicEncryption: boolean;
|
|
1372
|
+
searchableEncryption: boolean;
|
|
1373
|
+
} | undefined;
|
|
1374
|
+
readonly label?: string | undefined;
|
|
1375
|
+
readonly precision?: number | undefined;
|
|
1376
|
+
readonly description?: string | undefined;
|
|
1377
|
+
readonly columnName?: string | undefined;
|
|
1378
|
+
readonly required?: boolean | undefined;
|
|
1379
|
+
readonly searchable?: boolean | undefined;
|
|
1380
|
+
readonly multiple?: boolean | undefined;
|
|
1381
|
+
readonly unique?: boolean | undefined;
|
|
1382
|
+
readonly maxLength?: number | undefined;
|
|
1383
|
+
readonly minLength?: number | undefined;
|
|
1384
|
+
readonly scale?: number | undefined;
|
|
1385
|
+
readonly options?: {
|
|
1386
|
+
label: string;
|
|
1387
|
+
value: string;
|
|
1388
|
+
color?: string | undefined;
|
|
1389
|
+
default?: boolean | undefined;
|
|
1390
|
+
}[] | undefined;
|
|
1391
|
+
readonly reference?: string | undefined;
|
|
1392
|
+
readonly referenceFilters?: string[] | undefined;
|
|
1393
|
+
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
1394
|
+
readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
|
|
1395
|
+
readonly summaryOperations?: {
|
|
1396
|
+
object: string;
|
|
1397
|
+
field: string;
|
|
1398
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
1399
|
+
} | undefined;
|
|
1400
|
+
readonly language?: string | undefined;
|
|
1401
|
+
readonly theme?: string | undefined;
|
|
1402
|
+
readonly lineNumbers?: boolean | undefined;
|
|
1403
|
+
readonly maxRating?: number | undefined;
|
|
1404
|
+
readonly allowHalf?: boolean | undefined;
|
|
1405
|
+
readonly displayMap?: boolean | undefined;
|
|
1406
|
+
readonly allowGeocoding?: boolean | undefined;
|
|
1407
|
+
readonly addressFormat?: "us" | "uk" | "international" | undefined;
|
|
1408
|
+
readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
1409
|
+
readonly allowAlpha?: boolean | undefined;
|
|
1410
|
+
readonly presetColors?: string[] | undefined;
|
|
1411
|
+
readonly step?: number | undefined;
|
|
1412
|
+
readonly showValue?: boolean | undefined;
|
|
1413
|
+
readonly marks?: Record<string, string> | undefined;
|
|
1414
|
+
readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
1415
|
+
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
1416
|
+
readonly displayValue?: boolean | undefined;
|
|
1417
|
+
readonly allowScanning?: boolean | undefined;
|
|
1418
|
+
readonly currencyConfig?: {
|
|
1419
|
+
precision: number;
|
|
1420
|
+
currencyMode: "dynamic" | "fixed";
|
|
1421
|
+
defaultCurrency: string;
|
|
1422
|
+
} | undefined;
|
|
1423
|
+
readonly vectorConfig?: {
|
|
1424
|
+
dimensions: number;
|
|
1425
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
1426
|
+
normalized: boolean;
|
|
1427
|
+
indexed: boolean;
|
|
1428
|
+
indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
|
|
1429
|
+
} | undefined;
|
|
1430
|
+
readonly fileAttachmentConfig?: {
|
|
1431
|
+
virusScan: boolean;
|
|
1432
|
+
virusScanOnUpload: boolean;
|
|
1433
|
+
quarantineOnThreat: boolean;
|
|
1434
|
+
allowMultiple: boolean;
|
|
1435
|
+
allowReplace: boolean;
|
|
1436
|
+
allowDelete: boolean;
|
|
1437
|
+
requireUpload: boolean;
|
|
1438
|
+
extractMetadata: boolean;
|
|
1439
|
+
extractText: boolean;
|
|
1440
|
+
versioningEnabled: boolean;
|
|
1441
|
+
publicRead: boolean;
|
|
1442
|
+
presignedUrlExpiry: number;
|
|
1443
|
+
minSize?: number | undefined;
|
|
1444
|
+
maxSize?: number | undefined;
|
|
1445
|
+
allowedTypes?: string[] | undefined;
|
|
1446
|
+
blockedTypes?: string[] | undefined;
|
|
1447
|
+
allowedMimeTypes?: string[] | undefined;
|
|
1448
|
+
blockedMimeTypes?: string[] | undefined;
|
|
1449
|
+
virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
|
|
1450
|
+
storageProvider?: string | undefined;
|
|
1451
|
+
storageBucket?: string | undefined;
|
|
1452
|
+
storagePrefix?: string | undefined;
|
|
1453
|
+
imageValidation?: {
|
|
1454
|
+
generateThumbnails: boolean;
|
|
1455
|
+
preserveMetadata: boolean;
|
|
1456
|
+
autoRotate: boolean;
|
|
1457
|
+
minWidth?: number | undefined;
|
|
1458
|
+
maxWidth?: number | undefined;
|
|
1459
|
+
minHeight?: number | undefined;
|
|
1460
|
+
maxHeight?: number | undefined;
|
|
1461
|
+
aspectRatio?: string | undefined;
|
|
1462
|
+
thumbnailSizes?: {
|
|
1463
|
+
name: string;
|
|
1464
|
+
width: number;
|
|
1465
|
+
height: number;
|
|
1466
|
+
crop: boolean;
|
|
1467
|
+
}[] | undefined;
|
|
1468
|
+
} | undefined;
|
|
1469
|
+
maxVersions?: number | undefined;
|
|
1470
|
+
} | undefined;
|
|
1471
|
+
readonly maskingRule?: {
|
|
1472
|
+
field: string;
|
|
1473
|
+
strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
|
|
1474
|
+
preserveFormat: boolean;
|
|
1475
|
+
preserveLength: boolean;
|
|
1476
|
+
pattern?: string | undefined;
|
|
1477
|
+
roles?: string[] | undefined;
|
|
1478
|
+
exemptRoles?: string[] | undefined;
|
|
1479
|
+
} | undefined;
|
|
1480
|
+
readonly auditTrail?: boolean | undefined;
|
|
1481
|
+
readonly dependencies?: string[] | undefined;
|
|
1482
|
+
readonly cached?: {
|
|
1483
|
+
enabled: boolean;
|
|
1484
|
+
ttl: number;
|
|
1485
|
+
invalidateOn: string[];
|
|
1486
|
+
} | undefined;
|
|
1487
|
+
readonly dataQuality?: {
|
|
1488
|
+
uniqueness: boolean;
|
|
1489
|
+
completeness: number;
|
|
1490
|
+
accuracy?: {
|
|
1491
|
+
source: string;
|
|
1492
|
+
threshold: number;
|
|
1493
|
+
} | undefined;
|
|
1494
|
+
} | undefined;
|
|
1495
|
+
readonly group?: string | undefined;
|
|
1496
|
+
readonly conditionalRequired?: string | undefined;
|
|
1497
|
+
readonly hidden?: boolean | undefined;
|
|
1498
|
+
readonly sortable?: boolean | undefined;
|
|
1499
|
+
readonly inlineHelpText?: string | undefined;
|
|
1500
|
+
readonly trackFeedHistory?: boolean | undefined;
|
|
1501
|
+
readonly caseSensitive?: boolean | undefined;
|
|
1502
|
+
readonly autonumberFormat?: string | undefined;
|
|
1503
|
+
readonly index?: boolean | undefined;
|
|
1504
|
+
readonly externalId?: boolean | undefined;
|
|
1505
|
+
readonly type: "text";
|
|
1506
|
+
};
|
|
1507
|
+
/** Package that owns/delivered this metadata */
|
|
1508
|
+
readonly package_id: {
|
|
1509
|
+
readonly format?: string | undefined;
|
|
1510
|
+
readonly expression?: string | undefined;
|
|
1511
|
+
readonly readonly?: boolean | undefined;
|
|
1512
|
+
readonly defaultValue?: unknown;
|
|
1513
|
+
readonly min?: number | undefined;
|
|
1514
|
+
readonly max?: number | undefined;
|
|
1515
|
+
readonly name?: string | undefined;
|
|
1516
|
+
readonly encryptionConfig?: {
|
|
1517
|
+
enabled: boolean;
|
|
1518
|
+
algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
|
|
1519
|
+
keyManagement: {
|
|
1520
|
+
provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
|
|
1521
|
+
keyId?: string | undefined;
|
|
1522
|
+
rotationPolicy?: {
|
|
1523
|
+
enabled: boolean;
|
|
1524
|
+
frequencyDays: number;
|
|
1525
|
+
retainOldVersions: number;
|
|
1526
|
+
autoRotate: boolean;
|
|
1527
|
+
} | undefined;
|
|
1528
|
+
};
|
|
1529
|
+
scope: "table" | "record" | "field" | "database";
|
|
1530
|
+
deterministicEncryption: boolean;
|
|
1531
|
+
searchableEncryption: boolean;
|
|
1532
|
+
} | undefined;
|
|
1533
|
+
readonly label?: string | undefined;
|
|
1534
|
+
readonly precision?: number | undefined;
|
|
1535
|
+
readonly description?: string | undefined;
|
|
1536
|
+
readonly columnName?: string | undefined;
|
|
1537
|
+
readonly required?: boolean | undefined;
|
|
1538
|
+
readonly searchable?: boolean | undefined;
|
|
1539
|
+
readonly multiple?: boolean | undefined;
|
|
1540
|
+
readonly unique?: boolean | undefined;
|
|
1541
|
+
readonly maxLength?: number | undefined;
|
|
1542
|
+
readonly minLength?: number | undefined;
|
|
1543
|
+
readonly scale?: number | undefined;
|
|
1544
|
+
readonly options?: {
|
|
1545
|
+
label: string;
|
|
1546
|
+
value: string;
|
|
1547
|
+
color?: string | undefined;
|
|
1548
|
+
default?: boolean | undefined;
|
|
1549
|
+
}[] | undefined;
|
|
1550
|
+
readonly reference?: string | undefined;
|
|
1551
|
+
readonly referenceFilters?: string[] | undefined;
|
|
1552
|
+
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
1553
|
+
readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
|
|
1554
|
+
readonly summaryOperations?: {
|
|
1555
|
+
object: string;
|
|
1556
|
+
field: string;
|
|
1557
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
1558
|
+
} | undefined;
|
|
1559
|
+
readonly language?: string | undefined;
|
|
1560
|
+
readonly theme?: string | undefined;
|
|
1561
|
+
readonly lineNumbers?: boolean | undefined;
|
|
1562
|
+
readonly maxRating?: number | undefined;
|
|
1563
|
+
readonly allowHalf?: boolean | undefined;
|
|
1564
|
+
readonly displayMap?: boolean | undefined;
|
|
1565
|
+
readonly allowGeocoding?: boolean | undefined;
|
|
1566
|
+
readonly addressFormat?: "us" | "uk" | "international" | undefined;
|
|
1567
|
+
readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
1568
|
+
readonly allowAlpha?: boolean | undefined;
|
|
1569
|
+
readonly presetColors?: string[] | undefined;
|
|
1570
|
+
readonly step?: number | undefined;
|
|
1571
|
+
readonly showValue?: boolean | undefined;
|
|
1572
|
+
readonly marks?: Record<string, string> | undefined;
|
|
1573
|
+
readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
1574
|
+
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
1575
|
+
readonly displayValue?: boolean | undefined;
|
|
1576
|
+
readonly allowScanning?: boolean | undefined;
|
|
1577
|
+
readonly currencyConfig?: {
|
|
1578
|
+
precision: number;
|
|
1579
|
+
currencyMode: "dynamic" | "fixed";
|
|
1580
|
+
defaultCurrency: string;
|
|
1581
|
+
} | undefined;
|
|
1582
|
+
readonly vectorConfig?: {
|
|
1583
|
+
dimensions: number;
|
|
1584
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
1585
|
+
normalized: boolean;
|
|
1586
|
+
indexed: boolean;
|
|
1587
|
+
indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
|
|
1588
|
+
} | undefined;
|
|
1589
|
+
readonly fileAttachmentConfig?: {
|
|
1590
|
+
virusScan: boolean;
|
|
1591
|
+
virusScanOnUpload: boolean;
|
|
1592
|
+
quarantineOnThreat: boolean;
|
|
1593
|
+
allowMultiple: boolean;
|
|
1594
|
+
allowReplace: boolean;
|
|
1595
|
+
allowDelete: boolean;
|
|
1596
|
+
requireUpload: boolean;
|
|
1597
|
+
extractMetadata: boolean;
|
|
1598
|
+
extractText: boolean;
|
|
1599
|
+
versioningEnabled: boolean;
|
|
1600
|
+
publicRead: boolean;
|
|
1601
|
+
presignedUrlExpiry: number;
|
|
1602
|
+
minSize?: number | undefined;
|
|
1603
|
+
maxSize?: number | undefined;
|
|
1604
|
+
allowedTypes?: string[] | undefined;
|
|
1605
|
+
blockedTypes?: string[] | undefined;
|
|
1606
|
+
allowedMimeTypes?: string[] | undefined;
|
|
1607
|
+
blockedMimeTypes?: string[] | undefined;
|
|
1608
|
+
virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
|
|
1609
|
+
storageProvider?: string | undefined;
|
|
1610
|
+
storageBucket?: string | undefined;
|
|
1611
|
+
storagePrefix?: string | undefined;
|
|
1612
|
+
imageValidation?: {
|
|
1613
|
+
generateThumbnails: boolean;
|
|
1614
|
+
preserveMetadata: boolean;
|
|
1615
|
+
autoRotate: boolean;
|
|
1616
|
+
minWidth?: number | undefined;
|
|
1617
|
+
maxWidth?: number | undefined;
|
|
1618
|
+
minHeight?: number | undefined;
|
|
1619
|
+
maxHeight?: number | undefined;
|
|
1620
|
+
aspectRatio?: string | undefined;
|
|
1621
|
+
thumbnailSizes?: {
|
|
1622
|
+
name: string;
|
|
1623
|
+
width: number;
|
|
1624
|
+
height: number;
|
|
1625
|
+
crop: boolean;
|
|
1626
|
+
}[] | undefined;
|
|
1627
|
+
} | undefined;
|
|
1628
|
+
maxVersions?: number | undefined;
|
|
1629
|
+
} | undefined;
|
|
1630
|
+
readonly maskingRule?: {
|
|
1631
|
+
field: string;
|
|
1632
|
+
strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
|
|
1633
|
+
preserveFormat: boolean;
|
|
1634
|
+
preserveLength: boolean;
|
|
1635
|
+
pattern?: string | undefined;
|
|
1636
|
+
roles?: string[] | undefined;
|
|
1637
|
+
exemptRoles?: string[] | undefined;
|
|
1638
|
+
} | undefined;
|
|
1639
|
+
readonly auditTrail?: boolean | undefined;
|
|
1640
|
+
readonly dependencies?: string[] | undefined;
|
|
1641
|
+
readonly cached?: {
|
|
1642
|
+
enabled: boolean;
|
|
1643
|
+
ttl: number;
|
|
1644
|
+
invalidateOn: string[];
|
|
1645
|
+
} | undefined;
|
|
1646
|
+
readonly dataQuality?: {
|
|
1647
|
+
uniqueness: boolean;
|
|
1648
|
+
completeness: number;
|
|
1649
|
+
accuracy?: {
|
|
1650
|
+
source: string;
|
|
1651
|
+
threshold: number;
|
|
1652
|
+
} | undefined;
|
|
1653
|
+
} | undefined;
|
|
1654
|
+
readonly group?: string | undefined;
|
|
1655
|
+
readonly conditionalRequired?: string | undefined;
|
|
1656
|
+
readonly hidden?: boolean | undefined;
|
|
1657
|
+
readonly sortable?: boolean | undefined;
|
|
1658
|
+
readonly inlineHelpText?: string | undefined;
|
|
1659
|
+
readonly trackFeedHistory?: boolean | undefined;
|
|
1660
|
+
readonly caseSensitive?: boolean | undefined;
|
|
1661
|
+
readonly autonumberFormat?: string | undefined;
|
|
1662
|
+
readonly index?: boolean | undefined;
|
|
1663
|
+
readonly externalId?: boolean | undefined;
|
|
1664
|
+
readonly type: "text";
|
|
1665
|
+
};
|
|
1666
|
+
/** Who manages this record: package, platform, or user */
|
|
1667
|
+
readonly managed_by: {
|
|
1668
|
+
readonly format?: string | undefined;
|
|
1669
|
+
readonly expression?: string | undefined;
|
|
1670
|
+
readonly readonly?: boolean | undefined;
|
|
1671
|
+
readonly defaultValue?: unknown;
|
|
1672
|
+
readonly min?: number | undefined;
|
|
1673
|
+
readonly max?: number | undefined;
|
|
1674
|
+
readonly name?: string | undefined;
|
|
1675
|
+
readonly encryptionConfig?: {
|
|
1676
|
+
enabled: boolean;
|
|
1677
|
+
algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
|
|
1678
|
+
keyManagement: {
|
|
1679
|
+
provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
|
|
1680
|
+
keyId?: string | undefined;
|
|
1681
|
+
rotationPolicy?: {
|
|
1682
|
+
enabled: boolean;
|
|
1683
|
+
frequencyDays: number;
|
|
1684
|
+
retainOldVersions: number;
|
|
1685
|
+
autoRotate: boolean;
|
|
1686
|
+
} | undefined;
|
|
1687
|
+
};
|
|
1688
|
+
scope: "table" | "record" | "field" | "database";
|
|
1689
|
+
deterministicEncryption: boolean;
|
|
1690
|
+
searchableEncryption: boolean;
|
|
1691
|
+
} | undefined;
|
|
1692
|
+
readonly label?: string | undefined;
|
|
1693
|
+
readonly precision?: number | undefined;
|
|
1694
|
+
readonly description?: string | undefined;
|
|
1695
|
+
readonly columnName?: string | undefined;
|
|
1696
|
+
readonly required?: boolean | undefined;
|
|
1697
|
+
readonly searchable?: boolean | undefined;
|
|
1698
|
+
readonly multiple?: boolean | undefined;
|
|
1699
|
+
readonly unique?: boolean | undefined;
|
|
1700
|
+
readonly maxLength?: number | undefined;
|
|
1701
|
+
readonly minLength?: number | undefined;
|
|
1702
|
+
readonly scale?: number | undefined;
|
|
1703
|
+
options: {
|
|
1704
|
+
label: string;
|
|
1705
|
+
value: string;
|
|
1706
|
+
color?: string | undefined;
|
|
1707
|
+
default?: boolean | undefined;
|
|
1708
|
+
}[];
|
|
1709
|
+
readonly reference?: string | undefined;
|
|
1710
|
+
readonly referenceFilters?: string[] | undefined;
|
|
1711
|
+
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
1712
|
+
readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
|
|
1713
|
+
readonly summaryOperations?: {
|
|
1714
|
+
object: string;
|
|
1715
|
+
field: string;
|
|
1716
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
1717
|
+
} | undefined;
|
|
1718
|
+
readonly language?: string | undefined;
|
|
1719
|
+
readonly theme?: string | undefined;
|
|
1720
|
+
readonly lineNumbers?: boolean | undefined;
|
|
1721
|
+
readonly maxRating?: number | undefined;
|
|
1722
|
+
readonly allowHalf?: boolean | undefined;
|
|
1723
|
+
readonly displayMap?: boolean | undefined;
|
|
1724
|
+
readonly allowGeocoding?: boolean | undefined;
|
|
1725
|
+
readonly addressFormat?: "us" | "uk" | "international" | undefined;
|
|
1726
|
+
readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
1727
|
+
readonly allowAlpha?: boolean | undefined;
|
|
1728
|
+
readonly presetColors?: string[] | undefined;
|
|
1729
|
+
readonly step?: number | undefined;
|
|
1730
|
+
readonly showValue?: boolean | undefined;
|
|
1731
|
+
readonly marks?: Record<string, string> | undefined;
|
|
1732
|
+
readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
1733
|
+
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
1734
|
+
readonly displayValue?: boolean | undefined;
|
|
1735
|
+
readonly allowScanning?: boolean | undefined;
|
|
1736
|
+
readonly currencyConfig?: {
|
|
1737
|
+
precision: number;
|
|
1738
|
+
currencyMode: "dynamic" | "fixed";
|
|
1739
|
+
defaultCurrency: string;
|
|
1740
|
+
} | undefined;
|
|
1741
|
+
readonly vectorConfig?: {
|
|
1742
|
+
dimensions: number;
|
|
1743
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
1744
|
+
normalized: boolean;
|
|
1745
|
+
indexed: boolean;
|
|
1746
|
+
indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
|
|
1747
|
+
} | undefined;
|
|
1748
|
+
readonly fileAttachmentConfig?: {
|
|
1749
|
+
virusScan: boolean;
|
|
1750
|
+
virusScanOnUpload: boolean;
|
|
1751
|
+
quarantineOnThreat: boolean;
|
|
1752
|
+
allowMultiple: boolean;
|
|
1753
|
+
allowReplace: boolean;
|
|
1754
|
+
allowDelete: boolean;
|
|
1755
|
+
requireUpload: boolean;
|
|
1756
|
+
extractMetadata: boolean;
|
|
1757
|
+
extractText: boolean;
|
|
1758
|
+
versioningEnabled: boolean;
|
|
1759
|
+
publicRead: boolean;
|
|
1760
|
+
presignedUrlExpiry: number;
|
|
1761
|
+
minSize?: number | undefined;
|
|
1762
|
+
maxSize?: number | undefined;
|
|
1763
|
+
allowedTypes?: string[] | undefined;
|
|
1764
|
+
blockedTypes?: string[] | undefined;
|
|
1765
|
+
allowedMimeTypes?: string[] | undefined;
|
|
1766
|
+
blockedMimeTypes?: string[] | undefined;
|
|
1767
|
+
virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
|
|
1768
|
+
storageProvider?: string | undefined;
|
|
1769
|
+
storageBucket?: string | undefined;
|
|
1770
|
+
storagePrefix?: string | undefined;
|
|
1771
|
+
imageValidation?: {
|
|
1772
|
+
generateThumbnails: boolean;
|
|
1773
|
+
preserveMetadata: boolean;
|
|
1774
|
+
autoRotate: boolean;
|
|
1775
|
+
minWidth?: number | undefined;
|
|
1776
|
+
maxWidth?: number | undefined;
|
|
1777
|
+
minHeight?: number | undefined;
|
|
1778
|
+
maxHeight?: number | undefined;
|
|
1779
|
+
aspectRatio?: string | undefined;
|
|
1780
|
+
thumbnailSizes?: {
|
|
1781
|
+
name: string;
|
|
1782
|
+
width: number;
|
|
1783
|
+
height: number;
|
|
1784
|
+
crop: boolean;
|
|
1785
|
+
}[] | undefined;
|
|
1786
|
+
} | undefined;
|
|
1787
|
+
maxVersions?: number | undefined;
|
|
1788
|
+
} | undefined;
|
|
1789
|
+
readonly maskingRule?: {
|
|
1790
|
+
field: string;
|
|
1791
|
+
strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
|
|
1792
|
+
preserveFormat: boolean;
|
|
1793
|
+
preserveLength: boolean;
|
|
1794
|
+
pattern?: string | undefined;
|
|
1795
|
+
roles?: string[] | undefined;
|
|
1796
|
+
exemptRoles?: string[] | undefined;
|
|
1797
|
+
} | undefined;
|
|
1798
|
+
readonly auditTrail?: boolean | undefined;
|
|
1799
|
+
readonly dependencies?: string[] | undefined;
|
|
1800
|
+
readonly cached?: {
|
|
1801
|
+
enabled: boolean;
|
|
1802
|
+
ttl: number;
|
|
1803
|
+
invalidateOn: string[];
|
|
1804
|
+
} | undefined;
|
|
1805
|
+
readonly dataQuality?: {
|
|
1806
|
+
uniqueness: boolean;
|
|
1807
|
+
completeness: number;
|
|
1808
|
+
accuracy?: {
|
|
1809
|
+
source: string;
|
|
1810
|
+
threshold: number;
|
|
1811
|
+
} | undefined;
|
|
1812
|
+
} | undefined;
|
|
1813
|
+
readonly group?: string | undefined;
|
|
1814
|
+
readonly conditionalRequired?: string | undefined;
|
|
1815
|
+
readonly hidden?: boolean | undefined;
|
|
1816
|
+
readonly sortable?: boolean | undefined;
|
|
1817
|
+
readonly inlineHelpText?: string | undefined;
|
|
1818
|
+
readonly trackFeedHistory?: boolean | undefined;
|
|
1819
|
+
readonly caseSensitive?: boolean | undefined;
|
|
1820
|
+
readonly autonumberFormat?: string | undefined;
|
|
1821
|
+
readonly index?: boolean | undefined;
|
|
1822
|
+
readonly externalId?: boolean | undefined;
|
|
1823
|
+
readonly type: "select";
|
|
1824
|
+
};
|
|
1825
|
+
/** Scope: system (code), platform (admin DB), user (personal DB) */
|
|
1826
|
+
readonly scope: {
|
|
1827
|
+
readonly format?: string | undefined;
|
|
1828
|
+
readonly expression?: string | undefined;
|
|
1829
|
+
readonly readonly?: boolean | undefined;
|
|
1830
|
+
readonly defaultValue?: unknown;
|
|
1831
|
+
readonly min?: number | undefined;
|
|
1832
|
+
readonly max?: number | undefined;
|
|
1833
|
+
readonly name?: string | undefined;
|
|
1834
|
+
readonly encryptionConfig?: {
|
|
1835
|
+
enabled: boolean;
|
|
1836
|
+
algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
|
|
1837
|
+
keyManagement: {
|
|
1838
|
+
provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
|
|
1839
|
+
keyId?: string | undefined;
|
|
1840
|
+
rotationPolicy?: {
|
|
1841
|
+
enabled: boolean;
|
|
1842
|
+
frequencyDays: number;
|
|
1843
|
+
retainOldVersions: number;
|
|
1844
|
+
autoRotate: boolean;
|
|
1845
|
+
} | undefined;
|
|
1846
|
+
};
|
|
1847
|
+
scope: "table" | "record" | "field" | "database";
|
|
1848
|
+
deterministicEncryption: boolean;
|
|
1849
|
+
searchableEncryption: boolean;
|
|
1850
|
+
} | undefined;
|
|
1851
|
+
readonly label?: string | undefined;
|
|
1852
|
+
readonly precision?: number | undefined;
|
|
1853
|
+
readonly description?: string | undefined;
|
|
1854
|
+
readonly columnName?: string | undefined;
|
|
1855
|
+
readonly required?: boolean | undefined;
|
|
1856
|
+
readonly searchable?: boolean | undefined;
|
|
1857
|
+
readonly multiple?: boolean | undefined;
|
|
1858
|
+
readonly unique?: boolean | undefined;
|
|
1859
|
+
readonly maxLength?: number | undefined;
|
|
1860
|
+
readonly minLength?: number | undefined;
|
|
1861
|
+
readonly scale?: number | undefined;
|
|
1862
|
+
options: {
|
|
1863
|
+
label: string;
|
|
1864
|
+
value: string;
|
|
1865
|
+
color?: string | undefined;
|
|
1866
|
+
default?: boolean | undefined;
|
|
1867
|
+
}[];
|
|
1868
|
+
readonly reference?: string | undefined;
|
|
1869
|
+
readonly referenceFilters?: string[] | undefined;
|
|
1870
|
+
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
1871
|
+
readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
|
|
1872
|
+
readonly summaryOperations?: {
|
|
1873
|
+
object: string;
|
|
1874
|
+
field: string;
|
|
1875
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
1876
|
+
} | undefined;
|
|
1877
|
+
readonly language?: string | undefined;
|
|
1878
|
+
readonly theme?: string | undefined;
|
|
1879
|
+
readonly lineNumbers?: boolean | undefined;
|
|
1880
|
+
readonly maxRating?: number | undefined;
|
|
1881
|
+
readonly allowHalf?: boolean | undefined;
|
|
1882
|
+
readonly displayMap?: boolean | undefined;
|
|
1883
|
+
readonly allowGeocoding?: boolean | undefined;
|
|
1884
|
+
readonly addressFormat?: "us" | "uk" | "international" | undefined;
|
|
1885
|
+
readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
1886
|
+
readonly allowAlpha?: boolean | undefined;
|
|
1887
|
+
readonly presetColors?: string[] | undefined;
|
|
1888
|
+
readonly step?: number | undefined;
|
|
1889
|
+
readonly showValue?: boolean | undefined;
|
|
1890
|
+
readonly marks?: Record<string, string> | undefined;
|
|
1891
|
+
readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
1892
|
+
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
1893
|
+
readonly displayValue?: boolean | undefined;
|
|
1894
|
+
readonly allowScanning?: boolean | undefined;
|
|
1895
|
+
readonly currencyConfig?: {
|
|
1896
|
+
precision: number;
|
|
1897
|
+
currencyMode: "dynamic" | "fixed";
|
|
1898
|
+
defaultCurrency: string;
|
|
1899
|
+
} | undefined;
|
|
1900
|
+
readonly vectorConfig?: {
|
|
1901
|
+
dimensions: number;
|
|
1902
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
1903
|
+
normalized: boolean;
|
|
1904
|
+
indexed: boolean;
|
|
1905
|
+
indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
|
|
1906
|
+
} | undefined;
|
|
1907
|
+
readonly fileAttachmentConfig?: {
|
|
1908
|
+
virusScan: boolean;
|
|
1909
|
+
virusScanOnUpload: boolean;
|
|
1910
|
+
quarantineOnThreat: boolean;
|
|
1911
|
+
allowMultiple: boolean;
|
|
1912
|
+
allowReplace: boolean;
|
|
1913
|
+
allowDelete: boolean;
|
|
1914
|
+
requireUpload: boolean;
|
|
1915
|
+
extractMetadata: boolean;
|
|
1916
|
+
extractText: boolean;
|
|
1917
|
+
versioningEnabled: boolean;
|
|
1918
|
+
publicRead: boolean;
|
|
1919
|
+
presignedUrlExpiry: number;
|
|
1920
|
+
minSize?: number | undefined;
|
|
1921
|
+
maxSize?: number | undefined;
|
|
1922
|
+
allowedTypes?: string[] | undefined;
|
|
1923
|
+
blockedTypes?: string[] | undefined;
|
|
1924
|
+
allowedMimeTypes?: string[] | undefined;
|
|
1925
|
+
blockedMimeTypes?: string[] | undefined;
|
|
1926
|
+
virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
|
|
1927
|
+
storageProvider?: string | undefined;
|
|
1928
|
+
storageBucket?: string | undefined;
|
|
1929
|
+
storagePrefix?: string | undefined;
|
|
1930
|
+
imageValidation?: {
|
|
1931
|
+
generateThumbnails: boolean;
|
|
1932
|
+
preserveMetadata: boolean;
|
|
1933
|
+
autoRotate: boolean;
|
|
1934
|
+
minWidth?: number | undefined;
|
|
1935
|
+
maxWidth?: number | undefined;
|
|
1936
|
+
minHeight?: number | undefined;
|
|
1937
|
+
maxHeight?: number | undefined;
|
|
1938
|
+
aspectRatio?: string | undefined;
|
|
1939
|
+
thumbnailSizes?: {
|
|
1940
|
+
name: string;
|
|
1941
|
+
width: number;
|
|
1942
|
+
height: number;
|
|
1943
|
+
crop: boolean;
|
|
1944
|
+
}[] | undefined;
|
|
1945
|
+
} | undefined;
|
|
1946
|
+
maxVersions?: number | undefined;
|
|
1947
|
+
} | undefined;
|
|
1948
|
+
readonly maskingRule?: {
|
|
1949
|
+
field: string;
|
|
1950
|
+
strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
|
|
1951
|
+
preserveFormat: boolean;
|
|
1952
|
+
preserveLength: boolean;
|
|
1953
|
+
pattern?: string | undefined;
|
|
1954
|
+
roles?: string[] | undefined;
|
|
1955
|
+
exemptRoles?: string[] | undefined;
|
|
1956
|
+
} | undefined;
|
|
1957
|
+
readonly auditTrail?: boolean | undefined;
|
|
1958
|
+
readonly dependencies?: string[] | undefined;
|
|
1959
|
+
readonly cached?: {
|
|
1960
|
+
enabled: boolean;
|
|
1961
|
+
ttl: number;
|
|
1962
|
+
invalidateOn: string[];
|
|
1963
|
+
} | undefined;
|
|
1964
|
+
readonly dataQuality?: {
|
|
1965
|
+
uniqueness: boolean;
|
|
1966
|
+
completeness: number;
|
|
1967
|
+
accuracy?: {
|
|
1968
|
+
source: string;
|
|
1969
|
+
threshold: number;
|
|
1970
|
+
} | undefined;
|
|
1971
|
+
} | undefined;
|
|
1972
|
+
readonly group?: string | undefined;
|
|
1973
|
+
readonly conditionalRequired?: string | undefined;
|
|
1974
|
+
readonly hidden?: boolean | undefined;
|
|
1975
|
+
readonly sortable?: boolean | undefined;
|
|
1976
|
+
readonly inlineHelpText?: string | undefined;
|
|
1977
|
+
readonly trackFeedHistory?: boolean | undefined;
|
|
1978
|
+
readonly caseSensitive?: boolean | undefined;
|
|
1979
|
+
readonly autonumberFormat?: string | undefined;
|
|
1980
|
+
readonly index?: boolean | undefined;
|
|
1981
|
+
readonly externalId?: boolean | undefined;
|
|
1982
|
+
readonly type: "select";
|
|
1983
|
+
};
|
|
1984
|
+
/** JSON payload — the actual metadata configuration */
|
|
1985
|
+
readonly metadata: {
|
|
1986
|
+
readonly format?: string | undefined;
|
|
1987
|
+
readonly expression?: string | undefined;
|
|
1988
|
+
readonly readonly?: boolean | undefined;
|
|
1989
|
+
readonly defaultValue?: unknown;
|
|
1990
|
+
readonly min?: number | undefined;
|
|
1991
|
+
readonly max?: number | undefined;
|
|
1992
|
+
readonly name?: string | undefined;
|
|
1993
|
+
readonly encryptionConfig?: {
|
|
1994
|
+
enabled: boolean;
|
|
1995
|
+
algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
|
|
1996
|
+
keyManagement: {
|
|
1997
|
+
provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
|
|
1998
|
+
keyId?: string | undefined;
|
|
1999
|
+
rotationPolicy?: {
|
|
2000
|
+
enabled: boolean;
|
|
2001
|
+
frequencyDays: number;
|
|
2002
|
+
retainOldVersions: number;
|
|
2003
|
+
autoRotate: boolean;
|
|
2004
|
+
} | undefined;
|
|
2005
|
+
};
|
|
2006
|
+
scope: "table" | "record" | "field" | "database";
|
|
2007
|
+
deterministicEncryption: boolean;
|
|
2008
|
+
searchableEncryption: boolean;
|
|
2009
|
+
} | undefined;
|
|
2010
|
+
readonly label?: string | undefined;
|
|
2011
|
+
readonly precision?: number | undefined;
|
|
2012
|
+
readonly description?: string | undefined;
|
|
2013
|
+
readonly columnName?: string | undefined;
|
|
2014
|
+
readonly required?: boolean | undefined;
|
|
2015
|
+
readonly searchable?: boolean | undefined;
|
|
2016
|
+
readonly multiple?: boolean | undefined;
|
|
2017
|
+
readonly unique?: boolean | undefined;
|
|
2018
|
+
readonly maxLength?: number | undefined;
|
|
2019
|
+
readonly minLength?: number | undefined;
|
|
2020
|
+
readonly scale?: number | undefined;
|
|
2021
|
+
readonly options?: {
|
|
2022
|
+
label: string;
|
|
2023
|
+
value: string;
|
|
2024
|
+
color?: string | undefined;
|
|
2025
|
+
default?: boolean | undefined;
|
|
2026
|
+
}[] | undefined;
|
|
2027
|
+
readonly reference?: string | undefined;
|
|
2028
|
+
readonly referenceFilters?: string[] | undefined;
|
|
2029
|
+
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
2030
|
+
readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
|
|
2031
|
+
readonly summaryOperations?: {
|
|
2032
|
+
object: string;
|
|
2033
|
+
field: string;
|
|
2034
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
2035
|
+
} | undefined;
|
|
2036
|
+
readonly language?: string | undefined;
|
|
2037
|
+
readonly theme?: string | undefined;
|
|
2038
|
+
readonly lineNumbers?: boolean | undefined;
|
|
2039
|
+
readonly maxRating?: number | undefined;
|
|
2040
|
+
readonly allowHalf?: boolean | undefined;
|
|
2041
|
+
readonly displayMap?: boolean | undefined;
|
|
2042
|
+
readonly allowGeocoding?: boolean | undefined;
|
|
2043
|
+
readonly addressFormat?: "us" | "uk" | "international" | undefined;
|
|
2044
|
+
readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
2045
|
+
readonly allowAlpha?: boolean | undefined;
|
|
2046
|
+
readonly presetColors?: string[] | undefined;
|
|
2047
|
+
readonly step?: number | undefined;
|
|
2048
|
+
readonly showValue?: boolean | undefined;
|
|
2049
|
+
readonly marks?: Record<string, string> | undefined;
|
|
2050
|
+
readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
2051
|
+
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
2052
|
+
readonly displayValue?: boolean | undefined;
|
|
2053
|
+
readonly allowScanning?: boolean | undefined;
|
|
2054
|
+
readonly currencyConfig?: {
|
|
2055
|
+
precision: number;
|
|
2056
|
+
currencyMode: "dynamic" | "fixed";
|
|
2057
|
+
defaultCurrency: string;
|
|
2058
|
+
} | undefined;
|
|
2059
|
+
readonly vectorConfig?: {
|
|
2060
|
+
dimensions: number;
|
|
2061
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
2062
|
+
normalized: boolean;
|
|
2063
|
+
indexed: boolean;
|
|
2064
|
+
indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
|
|
2065
|
+
} | undefined;
|
|
2066
|
+
readonly fileAttachmentConfig?: {
|
|
2067
|
+
virusScan: boolean;
|
|
2068
|
+
virusScanOnUpload: boolean;
|
|
2069
|
+
quarantineOnThreat: boolean;
|
|
2070
|
+
allowMultiple: boolean;
|
|
2071
|
+
allowReplace: boolean;
|
|
2072
|
+
allowDelete: boolean;
|
|
2073
|
+
requireUpload: boolean;
|
|
2074
|
+
extractMetadata: boolean;
|
|
2075
|
+
extractText: boolean;
|
|
2076
|
+
versioningEnabled: boolean;
|
|
2077
|
+
publicRead: boolean;
|
|
2078
|
+
presignedUrlExpiry: number;
|
|
2079
|
+
minSize?: number | undefined;
|
|
2080
|
+
maxSize?: number | undefined;
|
|
2081
|
+
allowedTypes?: string[] | undefined;
|
|
2082
|
+
blockedTypes?: string[] | undefined;
|
|
2083
|
+
allowedMimeTypes?: string[] | undefined;
|
|
2084
|
+
blockedMimeTypes?: string[] | undefined;
|
|
2085
|
+
virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
|
|
2086
|
+
storageProvider?: string | undefined;
|
|
2087
|
+
storageBucket?: string | undefined;
|
|
2088
|
+
storagePrefix?: string | undefined;
|
|
2089
|
+
imageValidation?: {
|
|
2090
|
+
generateThumbnails: boolean;
|
|
2091
|
+
preserveMetadata: boolean;
|
|
2092
|
+
autoRotate: boolean;
|
|
2093
|
+
minWidth?: number | undefined;
|
|
2094
|
+
maxWidth?: number | undefined;
|
|
2095
|
+
minHeight?: number | undefined;
|
|
2096
|
+
maxHeight?: number | undefined;
|
|
2097
|
+
aspectRatio?: string | undefined;
|
|
2098
|
+
thumbnailSizes?: {
|
|
2099
|
+
name: string;
|
|
2100
|
+
width: number;
|
|
2101
|
+
height: number;
|
|
2102
|
+
crop: boolean;
|
|
2103
|
+
}[] | undefined;
|
|
2104
|
+
} | undefined;
|
|
2105
|
+
maxVersions?: number | undefined;
|
|
2106
|
+
} | undefined;
|
|
2107
|
+
readonly maskingRule?: {
|
|
2108
|
+
field: string;
|
|
2109
|
+
strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
|
|
2110
|
+
preserveFormat: boolean;
|
|
2111
|
+
preserveLength: boolean;
|
|
2112
|
+
pattern?: string | undefined;
|
|
2113
|
+
roles?: string[] | undefined;
|
|
2114
|
+
exemptRoles?: string[] | undefined;
|
|
2115
|
+
} | undefined;
|
|
2116
|
+
readonly auditTrail?: boolean | undefined;
|
|
2117
|
+
readonly dependencies?: string[] | undefined;
|
|
2118
|
+
readonly cached?: {
|
|
2119
|
+
enabled: boolean;
|
|
2120
|
+
ttl: number;
|
|
2121
|
+
invalidateOn: string[];
|
|
2122
|
+
} | undefined;
|
|
2123
|
+
readonly dataQuality?: {
|
|
2124
|
+
uniqueness: boolean;
|
|
2125
|
+
completeness: number;
|
|
2126
|
+
accuracy?: {
|
|
2127
|
+
source: string;
|
|
2128
|
+
threshold: number;
|
|
2129
|
+
} | undefined;
|
|
2130
|
+
} | undefined;
|
|
2131
|
+
readonly group?: string | undefined;
|
|
2132
|
+
readonly conditionalRequired?: string | undefined;
|
|
2133
|
+
readonly hidden?: boolean | undefined;
|
|
2134
|
+
readonly sortable?: boolean | undefined;
|
|
2135
|
+
readonly inlineHelpText?: string | undefined;
|
|
2136
|
+
readonly trackFeedHistory?: boolean | undefined;
|
|
2137
|
+
readonly caseSensitive?: boolean | undefined;
|
|
2138
|
+
readonly autonumberFormat?: string | undefined;
|
|
2139
|
+
readonly index?: boolean | undefined;
|
|
2140
|
+
readonly externalId?: boolean | undefined;
|
|
2141
|
+
readonly type: "textarea";
|
|
2142
|
+
};
|
|
2143
|
+
/** Parent metadata name for extension/override */
|
|
2144
|
+
readonly extends: {
|
|
2145
|
+
readonly format?: string | undefined;
|
|
2146
|
+
readonly expression?: string | undefined;
|
|
2147
|
+
readonly readonly?: boolean | undefined;
|
|
2148
|
+
readonly defaultValue?: unknown;
|
|
2149
|
+
readonly min?: number | undefined;
|
|
2150
|
+
readonly max?: number | undefined;
|
|
2151
|
+
readonly name?: string | undefined;
|
|
2152
|
+
readonly encryptionConfig?: {
|
|
2153
|
+
enabled: boolean;
|
|
2154
|
+
algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
|
|
2155
|
+
keyManagement: {
|
|
2156
|
+
provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
|
|
2157
|
+
keyId?: string | undefined;
|
|
2158
|
+
rotationPolicy?: {
|
|
2159
|
+
enabled: boolean;
|
|
2160
|
+
frequencyDays: number;
|
|
2161
|
+
retainOldVersions: number;
|
|
2162
|
+
autoRotate: boolean;
|
|
2163
|
+
} | undefined;
|
|
2164
|
+
};
|
|
2165
|
+
scope: "table" | "record" | "field" | "database";
|
|
2166
|
+
deterministicEncryption: boolean;
|
|
2167
|
+
searchableEncryption: boolean;
|
|
2168
|
+
} | undefined;
|
|
2169
|
+
readonly label?: string | undefined;
|
|
2170
|
+
readonly precision?: number | undefined;
|
|
2171
|
+
readonly description?: string | undefined;
|
|
2172
|
+
readonly columnName?: string | undefined;
|
|
2173
|
+
readonly required?: boolean | undefined;
|
|
2174
|
+
readonly searchable?: boolean | undefined;
|
|
2175
|
+
readonly multiple?: boolean | undefined;
|
|
2176
|
+
readonly unique?: boolean | undefined;
|
|
2177
|
+
readonly maxLength?: number | undefined;
|
|
2178
|
+
readonly minLength?: number | undefined;
|
|
2179
|
+
readonly scale?: number | undefined;
|
|
2180
|
+
readonly options?: {
|
|
2181
|
+
label: string;
|
|
2182
|
+
value: string;
|
|
2183
|
+
color?: string | undefined;
|
|
2184
|
+
default?: boolean | undefined;
|
|
2185
|
+
}[] | undefined;
|
|
2186
|
+
readonly reference?: string | undefined;
|
|
2187
|
+
readonly referenceFilters?: string[] | undefined;
|
|
2188
|
+
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
2189
|
+
readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
|
|
2190
|
+
readonly summaryOperations?: {
|
|
2191
|
+
object: string;
|
|
2192
|
+
field: string;
|
|
2193
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
2194
|
+
} | undefined;
|
|
2195
|
+
readonly language?: string | undefined;
|
|
2196
|
+
readonly theme?: string | undefined;
|
|
2197
|
+
readonly lineNumbers?: boolean | undefined;
|
|
2198
|
+
readonly maxRating?: number | undefined;
|
|
2199
|
+
readonly allowHalf?: boolean | undefined;
|
|
2200
|
+
readonly displayMap?: boolean | undefined;
|
|
2201
|
+
readonly allowGeocoding?: boolean | undefined;
|
|
2202
|
+
readonly addressFormat?: "us" | "uk" | "international" | undefined;
|
|
2203
|
+
readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
2204
|
+
readonly allowAlpha?: boolean | undefined;
|
|
2205
|
+
readonly presetColors?: string[] | undefined;
|
|
2206
|
+
readonly step?: number | undefined;
|
|
2207
|
+
readonly showValue?: boolean | undefined;
|
|
2208
|
+
readonly marks?: Record<string, string> | undefined;
|
|
2209
|
+
readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
2210
|
+
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
2211
|
+
readonly displayValue?: boolean | undefined;
|
|
2212
|
+
readonly allowScanning?: boolean | undefined;
|
|
2213
|
+
readonly currencyConfig?: {
|
|
2214
|
+
precision: number;
|
|
2215
|
+
currencyMode: "dynamic" | "fixed";
|
|
2216
|
+
defaultCurrency: string;
|
|
2217
|
+
} | undefined;
|
|
2218
|
+
readonly vectorConfig?: {
|
|
2219
|
+
dimensions: number;
|
|
2220
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
2221
|
+
normalized: boolean;
|
|
2222
|
+
indexed: boolean;
|
|
2223
|
+
indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
|
|
2224
|
+
} | undefined;
|
|
2225
|
+
readonly fileAttachmentConfig?: {
|
|
2226
|
+
virusScan: boolean;
|
|
2227
|
+
virusScanOnUpload: boolean;
|
|
2228
|
+
quarantineOnThreat: boolean;
|
|
2229
|
+
allowMultiple: boolean;
|
|
2230
|
+
allowReplace: boolean;
|
|
2231
|
+
allowDelete: boolean;
|
|
2232
|
+
requireUpload: boolean;
|
|
2233
|
+
extractMetadata: boolean;
|
|
2234
|
+
extractText: boolean;
|
|
2235
|
+
versioningEnabled: boolean;
|
|
2236
|
+
publicRead: boolean;
|
|
2237
|
+
presignedUrlExpiry: number;
|
|
2238
|
+
minSize?: number | undefined;
|
|
2239
|
+
maxSize?: number | undefined;
|
|
2240
|
+
allowedTypes?: string[] | undefined;
|
|
2241
|
+
blockedTypes?: string[] | undefined;
|
|
2242
|
+
allowedMimeTypes?: string[] | undefined;
|
|
2243
|
+
blockedMimeTypes?: string[] | undefined;
|
|
2244
|
+
virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
|
|
2245
|
+
storageProvider?: string | undefined;
|
|
2246
|
+
storageBucket?: string | undefined;
|
|
2247
|
+
storagePrefix?: string | undefined;
|
|
2248
|
+
imageValidation?: {
|
|
2249
|
+
generateThumbnails: boolean;
|
|
2250
|
+
preserveMetadata: boolean;
|
|
2251
|
+
autoRotate: boolean;
|
|
2252
|
+
minWidth?: number | undefined;
|
|
2253
|
+
maxWidth?: number | undefined;
|
|
2254
|
+
minHeight?: number | undefined;
|
|
2255
|
+
maxHeight?: number | undefined;
|
|
2256
|
+
aspectRatio?: string | undefined;
|
|
2257
|
+
thumbnailSizes?: {
|
|
2258
|
+
name: string;
|
|
2259
|
+
width: number;
|
|
2260
|
+
height: number;
|
|
2261
|
+
crop: boolean;
|
|
2262
|
+
}[] | undefined;
|
|
2263
|
+
} | undefined;
|
|
2264
|
+
maxVersions?: number | undefined;
|
|
2265
|
+
} | undefined;
|
|
2266
|
+
readonly maskingRule?: {
|
|
2267
|
+
field: string;
|
|
2268
|
+
strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
|
|
2269
|
+
preserveFormat: boolean;
|
|
2270
|
+
preserveLength: boolean;
|
|
2271
|
+
pattern?: string | undefined;
|
|
2272
|
+
roles?: string[] | undefined;
|
|
2273
|
+
exemptRoles?: string[] | undefined;
|
|
2274
|
+
} | undefined;
|
|
2275
|
+
readonly auditTrail?: boolean | undefined;
|
|
2276
|
+
readonly dependencies?: string[] | undefined;
|
|
2277
|
+
readonly cached?: {
|
|
2278
|
+
enabled: boolean;
|
|
2279
|
+
ttl: number;
|
|
2280
|
+
invalidateOn: string[];
|
|
2281
|
+
} | undefined;
|
|
2282
|
+
readonly dataQuality?: {
|
|
2283
|
+
uniqueness: boolean;
|
|
2284
|
+
completeness: number;
|
|
2285
|
+
accuracy?: {
|
|
2286
|
+
source: string;
|
|
2287
|
+
threshold: number;
|
|
2288
|
+
} | undefined;
|
|
2289
|
+
} | undefined;
|
|
2290
|
+
readonly group?: string | undefined;
|
|
2291
|
+
readonly conditionalRequired?: string | undefined;
|
|
2292
|
+
readonly hidden?: boolean | undefined;
|
|
2293
|
+
readonly sortable?: boolean | undefined;
|
|
2294
|
+
readonly inlineHelpText?: string | undefined;
|
|
2295
|
+
readonly trackFeedHistory?: boolean | undefined;
|
|
2296
|
+
readonly caseSensitive?: boolean | undefined;
|
|
2297
|
+
readonly autonumberFormat?: string | undefined;
|
|
2298
|
+
readonly index?: boolean | undefined;
|
|
2299
|
+
readonly externalId?: boolean | undefined;
|
|
2300
|
+
readonly type: "text";
|
|
2301
|
+
};
|
|
2302
|
+
/** Merge strategy when extending parent metadata */
|
|
2303
|
+
readonly strategy: {
|
|
2304
|
+
readonly format?: string | undefined;
|
|
2305
|
+
readonly expression?: string | undefined;
|
|
2306
|
+
readonly readonly?: boolean | undefined;
|
|
2307
|
+
readonly defaultValue?: unknown;
|
|
2308
|
+
readonly min?: number | undefined;
|
|
2309
|
+
readonly max?: number | undefined;
|
|
2310
|
+
readonly name?: string | undefined;
|
|
2311
|
+
readonly encryptionConfig?: {
|
|
2312
|
+
enabled: boolean;
|
|
2313
|
+
algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
|
|
2314
|
+
keyManagement: {
|
|
2315
|
+
provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
|
|
2316
|
+
keyId?: string | undefined;
|
|
2317
|
+
rotationPolicy?: {
|
|
2318
|
+
enabled: boolean;
|
|
2319
|
+
frequencyDays: number;
|
|
2320
|
+
retainOldVersions: number;
|
|
2321
|
+
autoRotate: boolean;
|
|
2322
|
+
} | undefined;
|
|
2323
|
+
};
|
|
2324
|
+
scope: "table" | "record" | "field" | "database";
|
|
2325
|
+
deterministicEncryption: boolean;
|
|
2326
|
+
searchableEncryption: boolean;
|
|
2327
|
+
} | undefined;
|
|
2328
|
+
readonly label?: string | undefined;
|
|
2329
|
+
readonly precision?: number | undefined;
|
|
2330
|
+
readonly description?: string | undefined;
|
|
2331
|
+
readonly columnName?: string | undefined;
|
|
2332
|
+
readonly required?: boolean | undefined;
|
|
2333
|
+
readonly searchable?: boolean | undefined;
|
|
2334
|
+
readonly multiple?: boolean | undefined;
|
|
2335
|
+
readonly unique?: boolean | undefined;
|
|
2336
|
+
readonly maxLength?: number | undefined;
|
|
2337
|
+
readonly minLength?: number | undefined;
|
|
2338
|
+
readonly scale?: number | undefined;
|
|
2339
|
+
options: {
|
|
2340
|
+
label: string;
|
|
2341
|
+
value: string;
|
|
2342
|
+
color?: string | undefined;
|
|
2343
|
+
default?: boolean | undefined;
|
|
2344
|
+
}[];
|
|
2345
|
+
readonly reference?: string | undefined;
|
|
2346
|
+
readonly referenceFilters?: string[] | undefined;
|
|
2347
|
+
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
2348
|
+
readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
|
|
2349
|
+
readonly summaryOperations?: {
|
|
2350
|
+
object: string;
|
|
2351
|
+
field: string;
|
|
2352
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
2353
|
+
} | undefined;
|
|
2354
|
+
readonly language?: string | undefined;
|
|
2355
|
+
readonly theme?: string | undefined;
|
|
2356
|
+
readonly lineNumbers?: boolean | undefined;
|
|
2357
|
+
readonly maxRating?: number | undefined;
|
|
2358
|
+
readonly allowHalf?: boolean | undefined;
|
|
2359
|
+
readonly displayMap?: boolean | undefined;
|
|
2360
|
+
readonly allowGeocoding?: boolean | undefined;
|
|
2361
|
+
readonly addressFormat?: "us" | "uk" | "international" | undefined;
|
|
2362
|
+
readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
2363
|
+
readonly allowAlpha?: boolean | undefined;
|
|
2364
|
+
readonly presetColors?: string[] | undefined;
|
|
2365
|
+
readonly step?: number | undefined;
|
|
2366
|
+
readonly showValue?: boolean | undefined;
|
|
2367
|
+
readonly marks?: Record<string, string> | undefined;
|
|
2368
|
+
readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
2369
|
+
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
2370
|
+
readonly displayValue?: boolean | undefined;
|
|
2371
|
+
readonly allowScanning?: boolean | undefined;
|
|
2372
|
+
readonly currencyConfig?: {
|
|
2373
|
+
precision: number;
|
|
2374
|
+
currencyMode: "dynamic" | "fixed";
|
|
2375
|
+
defaultCurrency: string;
|
|
2376
|
+
} | undefined;
|
|
2377
|
+
readonly vectorConfig?: {
|
|
2378
|
+
dimensions: number;
|
|
2379
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
2380
|
+
normalized: boolean;
|
|
2381
|
+
indexed: boolean;
|
|
2382
|
+
indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
|
|
2383
|
+
} | undefined;
|
|
2384
|
+
readonly fileAttachmentConfig?: {
|
|
2385
|
+
virusScan: boolean;
|
|
2386
|
+
virusScanOnUpload: boolean;
|
|
2387
|
+
quarantineOnThreat: boolean;
|
|
2388
|
+
allowMultiple: boolean;
|
|
2389
|
+
allowReplace: boolean;
|
|
2390
|
+
allowDelete: boolean;
|
|
2391
|
+
requireUpload: boolean;
|
|
2392
|
+
extractMetadata: boolean;
|
|
2393
|
+
extractText: boolean;
|
|
2394
|
+
versioningEnabled: boolean;
|
|
2395
|
+
publicRead: boolean;
|
|
2396
|
+
presignedUrlExpiry: number;
|
|
2397
|
+
minSize?: number | undefined;
|
|
2398
|
+
maxSize?: number | undefined;
|
|
2399
|
+
allowedTypes?: string[] | undefined;
|
|
2400
|
+
blockedTypes?: string[] | undefined;
|
|
2401
|
+
allowedMimeTypes?: string[] | undefined;
|
|
2402
|
+
blockedMimeTypes?: string[] | undefined;
|
|
2403
|
+
virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
|
|
2404
|
+
storageProvider?: string | undefined;
|
|
2405
|
+
storageBucket?: string | undefined;
|
|
2406
|
+
storagePrefix?: string | undefined;
|
|
2407
|
+
imageValidation?: {
|
|
2408
|
+
generateThumbnails: boolean;
|
|
2409
|
+
preserveMetadata: boolean;
|
|
2410
|
+
autoRotate: boolean;
|
|
2411
|
+
minWidth?: number | undefined;
|
|
2412
|
+
maxWidth?: number | undefined;
|
|
2413
|
+
minHeight?: number | undefined;
|
|
2414
|
+
maxHeight?: number | undefined;
|
|
2415
|
+
aspectRatio?: string | undefined;
|
|
2416
|
+
thumbnailSizes?: {
|
|
2417
|
+
name: string;
|
|
2418
|
+
width: number;
|
|
2419
|
+
height: number;
|
|
2420
|
+
crop: boolean;
|
|
2421
|
+
}[] | undefined;
|
|
2422
|
+
} | undefined;
|
|
2423
|
+
maxVersions?: number | undefined;
|
|
2424
|
+
} | undefined;
|
|
2425
|
+
readonly maskingRule?: {
|
|
2426
|
+
field: string;
|
|
2427
|
+
strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
|
|
2428
|
+
preserveFormat: boolean;
|
|
2429
|
+
preserveLength: boolean;
|
|
2430
|
+
pattern?: string | undefined;
|
|
2431
|
+
roles?: string[] | undefined;
|
|
2432
|
+
exemptRoles?: string[] | undefined;
|
|
2433
|
+
} | undefined;
|
|
2434
|
+
readonly auditTrail?: boolean | undefined;
|
|
2435
|
+
readonly dependencies?: string[] | undefined;
|
|
2436
|
+
readonly cached?: {
|
|
2437
|
+
enabled: boolean;
|
|
2438
|
+
ttl: number;
|
|
2439
|
+
invalidateOn: string[];
|
|
2440
|
+
} | undefined;
|
|
2441
|
+
readonly dataQuality?: {
|
|
2442
|
+
uniqueness: boolean;
|
|
2443
|
+
completeness: number;
|
|
2444
|
+
accuracy?: {
|
|
2445
|
+
source: string;
|
|
2446
|
+
threshold: number;
|
|
2447
|
+
} | undefined;
|
|
2448
|
+
} | undefined;
|
|
2449
|
+
readonly group?: string | undefined;
|
|
2450
|
+
readonly conditionalRequired?: string | undefined;
|
|
2451
|
+
readonly hidden?: boolean | undefined;
|
|
2452
|
+
readonly sortable?: boolean | undefined;
|
|
2453
|
+
readonly inlineHelpText?: string | undefined;
|
|
2454
|
+
readonly trackFeedHistory?: boolean | undefined;
|
|
2455
|
+
readonly caseSensitive?: boolean | undefined;
|
|
2456
|
+
readonly autonumberFormat?: string | undefined;
|
|
2457
|
+
readonly index?: boolean | undefined;
|
|
2458
|
+
readonly externalId?: boolean | undefined;
|
|
2459
|
+
readonly type: "select";
|
|
2460
|
+
};
|
|
2461
|
+
/** Owner user ID (for user-scope items) */
|
|
2462
|
+
readonly owner: {
|
|
2463
|
+
readonly format?: string | undefined;
|
|
2464
|
+
readonly expression?: string | undefined;
|
|
2465
|
+
readonly readonly?: boolean | undefined;
|
|
2466
|
+
readonly defaultValue?: unknown;
|
|
2467
|
+
readonly min?: number | undefined;
|
|
2468
|
+
readonly max?: number | undefined;
|
|
2469
|
+
readonly name?: string | undefined;
|
|
2470
|
+
readonly encryptionConfig?: {
|
|
2471
|
+
enabled: boolean;
|
|
2472
|
+
algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
|
|
2473
|
+
keyManagement: {
|
|
2474
|
+
provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
|
|
2475
|
+
keyId?: string | undefined;
|
|
2476
|
+
rotationPolicy?: {
|
|
2477
|
+
enabled: boolean;
|
|
2478
|
+
frequencyDays: number;
|
|
2479
|
+
retainOldVersions: number;
|
|
2480
|
+
autoRotate: boolean;
|
|
2481
|
+
} | undefined;
|
|
2482
|
+
};
|
|
2483
|
+
scope: "table" | "record" | "field" | "database";
|
|
2484
|
+
deterministicEncryption: boolean;
|
|
2485
|
+
searchableEncryption: boolean;
|
|
2486
|
+
} | undefined;
|
|
2487
|
+
readonly label?: string | undefined;
|
|
2488
|
+
readonly precision?: number | undefined;
|
|
2489
|
+
readonly description?: string | undefined;
|
|
2490
|
+
readonly columnName?: string | undefined;
|
|
2491
|
+
readonly required?: boolean | undefined;
|
|
2492
|
+
readonly searchable?: boolean | undefined;
|
|
2493
|
+
readonly multiple?: boolean | undefined;
|
|
2494
|
+
readonly unique?: boolean | undefined;
|
|
2495
|
+
readonly maxLength?: number | undefined;
|
|
2496
|
+
readonly minLength?: number | undefined;
|
|
2497
|
+
readonly scale?: number | undefined;
|
|
2498
|
+
readonly options?: {
|
|
2499
|
+
label: string;
|
|
2500
|
+
value: string;
|
|
2501
|
+
color?: string | undefined;
|
|
2502
|
+
default?: boolean | undefined;
|
|
2503
|
+
}[] | undefined;
|
|
2504
|
+
readonly reference?: string | undefined;
|
|
2505
|
+
readonly referenceFilters?: string[] | undefined;
|
|
2506
|
+
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
2507
|
+
readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
|
|
2508
|
+
readonly summaryOperations?: {
|
|
2509
|
+
object: string;
|
|
2510
|
+
field: string;
|
|
2511
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
2512
|
+
} | undefined;
|
|
2513
|
+
readonly language?: string | undefined;
|
|
2514
|
+
readonly theme?: string | undefined;
|
|
2515
|
+
readonly lineNumbers?: boolean | undefined;
|
|
2516
|
+
readonly maxRating?: number | undefined;
|
|
2517
|
+
readonly allowHalf?: boolean | undefined;
|
|
2518
|
+
readonly displayMap?: boolean | undefined;
|
|
2519
|
+
readonly allowGeocoding?: boolean | undefined;
|
|
2520
|
+
readonly addressFormat?: "us" | "uk" | "international" | undefined;
|
|
2521
|
+
readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
2522
|
+
readonly allowAlpha?: boolean | undefined;
|
|
2523
|
+
readonly presetColors?: string[] | undefined;
|
|
2524
|
+
readonly step?: number | undefined;
|
|
2525
|
+
readonly showValue?: boolean | undefined;
|
|
2526
|
+
readonly marks?: Record<string, string> | undefined;
|
|
2527
|
+
readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
2528
|
+
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
2529
|
+
readonly displayValue?: boolean | undefined;
|
|
2530
|
+
readonly allowScanning?: boolean | undefined;
|
|
2531
|
+
readonly currencyConfig?: {
|
|
2532
|
+
precision: number;
|
|
2533
|
+
currencyMode: "dynamic" | "fixed";
|
|
2534
|
+
defaultCurrency: string;
|
|
2535
|
+
} | undefined;
|
|
2536
|
+
readonly vectorConfig?: {
|
|
2537
|
+
dimensions: number;
|
|
2538
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
2539
|
+
normalized: boolean;
|
|
2540
|
+
indexed: boolean;
|
|
2541
|
+
indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
|
|
2542
|
+
} | undefined;
|
|
2543
|
+
readonly fileAttachmentConfig?: {
|
|
2544
|
+
virusScan: boolean;
|
|
2545
|
+
virusScanOnUpload: boolean;
|
|
2546
|
+
quarantineOnThreat: boolean;
|
|
2547
|
+
allowMultiple: boolean;
|
|
2548
|
+
allowReplace: boolean;
|
|
2549
|
+
allowDelete: boolean;
|
|
2550
|
+
requireUpload: boolean;
|
|
2551
|
+
extractMetadata: boolean;
|
|
2552
|
+
extractText: boolean;
|
|
2553
|
+
versioningEnabled: boolean;
|
|
2554
|
+
publicRead: boolean;
|
|
2555
|
+
presignedUrlExpiry: number;
|
|
2556
|
+
minSize?: number | undefined;
|
|
2557
|
+
maxSize?: number | undefined;
|
|
2558
|
+
allowedTypes?: string[] | undefined;
|
|
2559
|
+
blockedTypes?: string[] | undefined;
|
|
2560
|
+
allowedMimeTypes?: string[] | undefined;
|
|
2561
|
+
blockedMimeTypes?: string[] | undefined;
|
|
2562
|
+
virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
|
|
2563
|
+
storageProvider?: string | undefined;
|
|
2564
|
+
storageBucket?: string | undefined;
|
|
2565
|
+
storagePrefix?: string | undefined;
|
|
2566
|
+
imageValidation?: {
|
|
2567
|
+
generateThumbnails: boolean;
|
|
2568
|
+
preserveMetadata: boolean;
|
|
2569
|
+
autoRotate: boolean;
|
|
2570
|
+
minWidth?: number | undefined;
|
|
2571
|
+
maxWidth?: number | undefined;
|
|
2572
|
+
minHeight?: number | undefined;
|
|
2573
|
+
maxHeight?: number | undefined;
|
|
2574
|
+
aspectRatio?: string | undefined;
|
|
2575
|
+
thumbnailSizes?: {
|
|
2576
|
+
name: string;
|
|
2577
|
+
width: number;
|
|
2578
|
+
height: number;
|
|
2579
|
+
crop: boolean;
|
|
2580
|
+
}[] | undefined;
|
|
2581
|
+
} | undefined;
|
|
2582
|
+
maxVersions?: number | undefined;
|
|
2583
|
+
} | undefined;
|
|
2584
|
+
readonly maskingRule?: {
|
|
2585
|
+
field: string;
|
|
2586
|
+
strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
|
|
2587
|
+
preserveFormat: boolean;
|
|
2588
|
+
preserveLength: boolean;
|
|
2589
|
+
pattern?: string | undefined;
|
|
2590
|
+
roles?: string[] | undefined;
|
|
2591
|
+
exemptRoles?: string[] | undefined;
|
|
2592
|
+
} | undefined;
|
|
2593
|
+
readonly auditTrail?: boolean | undefined;
|
|
2594
|
+
readonly dependencies?: string[] | undefined;
|
|
2595
|
+
readonly cached?: {
|
|
2596
|
+
enabled: boolean;
|
|
2597
|
+
ttl: number;
|
|
2598
|
+
invalidateOn: string[];
|
|
2599
|
+
} | undefined;
|
|
2600
|
+
readonly dataQuality?: {
|
|
2601
|
+
uniqueness: boolean;
|
|
2602
|
+
completeness: number;
|
|
2603
|
+
accuracy?: {
|
|
2604
|
+
source: string;
|
|
2605
|
+
threshold: number;
|
|
2606
|
+
} | undefined;
|
|
2607
|
+
} | undefined;
|
|
2608
|
+
readonly group?: string | undefined;
|
|
2609
|
+
readonly conditionalRequired?: string | undefined;
|
|
2610
|
+
readonly hidden?: boolean | undefined;
|
|
2611
|
+
readonly sortable?: boolean | undefined;
|
|
2612
|
+
readonly inlineHelpText?: string | undefined;
|
|
2613
|
+
readonly trackFeedHistory?: boolean | undefined;
|
|
2614
|
+
readonly caseSensitive?: boolean | undefined;
|
|
2615
|
+
readonly autonumberFormat?: string | undefined;
|
|
2616
|
+
readonly index?: boolean | undefined;
|
|
2617
|
+
readonly externalId?: boolean | undefined;
|
|
2618
|
+
readonly type: "text";
|
|
2619
|
+
};
|
|
2620
|
+
/** Lifecycle state */
|
|
2621
|
+
readonly state: {
|
|
2622
|
+
readonly format?: string | undefined;
|
|
2623
|
+
readonly expression?: string | undefined;
|
|
2624
|
+
readonly readonly?: boolean | undefined;
|
|
2625
|
+
readonly defaultValue?: unknown;
|
|
2626
|
+
readonly min?: number | undefined;
|
|
2627
|
+
readonly max?: number | undefined;
|
|
2628
|
+
readonly name?: string | undefined;
|
|
2629
|
+
readonly encryptionConfig?: {
|
|
2630
|
+
enabled: boolean;
|
|
2631
|
+
algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
|
|
2632
|
+
keyManagement: {
|
|
2633
|
+
provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
|
|
2634
|
+
keyId?: string | undefined;
|
|
2635
|
+
rotationPolicy?: {
|
|
2636
|
+
enabled: boolean;
|
|
2637
|
+
frequencyDays: number;
|
|
2638
|
+
retainOldVersions: number;
|
|
2639
|
+
autoRotate: boolean;
|
|
2640
|
+
} | undefined;
|
|
2641
|
+
};
|
|
2642
|
+
scope: "table" | "record" | "field" | "database";
|
|
2643
|
+
deterministicEncryption: boolean;
|
|
2644
|
+
searchableEncryption: boolean;
|
|
2645
|
+
} | undefined;
|
|
2646
|
+
readonly label?: string | undefined;
|
|
2647
|
+
readonly precision?: number | undefined;
|
|
2648
|
+
readonly description?: string | undefined;
|
|
2649
|
+
readonly columnName?: string | undefined;
|
|
2650
|
+
readonly required?: boolean | undefined;
|
|
2651
|
+
readonly searchable?: boolean | undefined;
|
|
2652
|
+
readonly multiple?: boolean | undefined;
|
|
2653
|
+
readonly unique?: boolean | undefined;
|
|
2654
|
+
readonly maxLength?: number | undefined;
|
|
2655
|
+
readonly minLength?: number | undefined;
|
|
2656
|
+
readonly scale?: number | undefined;
|
|
2657
|
+
options: {
|
|
2658
|
+
label: string;
|
|
2659
|
+
value: string;
|
|
2660
|
+
color?: string | undefined;
|
|
2661
|
+
default?: boolean | undefined;
|
|
2662
|
+
}[];
|
|
2663
|
+
readonly reference?: string | undefined;
|
|
2664
|
+
readonly referenceFilters?: string[] | undefined;
|
|
2665
|
+
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
2666
|
+
readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
|
|
2667
|
+
readonly summaryOperations?: {
|
|
2668
|
+
object: string;
|
|
2669
|
+
field: string;
|
|
2670
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
2671
|
+
} | undefined;
|
|
2672
|
+
readonly language?: string | undefined;
|
|
2673
|
+
readonly theme?: string | undefined;
|
|
2674
|
+
readonly lineNumbers?: boolean | undefined;
|
|
2675
|
+
readonly maxRating?: number | undefined;
|
|
2676
|
+
readonly allowHalf?: boolean | undefined;
|
|
2677
|
+
readonly displayMap?: boolean | undefined;
|
|
2678
|
+
readonly allowGeocoding?: boolean | undefined;
|
|
2679
|
+
readonly addressFormat?: "us" | "uk" | "international" | undefined;
|
|
2680
|
+
readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
2681
|
+
readonly allowAlpha?: boolean | undefined;
|
|
2682
|
+
readonly presetColors?: string[] | undefined;
|
|
2683
|
+
readonly step?: number | undefined;
|
|
2684
|
+
readonly showValue?: boolean | undefined;
|
|
2685
|
+
readonly marks?: Record<string, string> | undefined;
|
|
2686
|
+
readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
2687
|
+
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
2688
|
+
readonly displayValue?: boolean | undefined;
|
|
2689
|
+
readonly allowScanning?: boolean | undefined;
|
|
2690
|
+
readonly currencyConfig?: {
|
|
2691
|
+
precision: number;
|
|
2692
|
+
currencyMode: "dynamic" | "fixed";
|
|
2693
|
+
defaultCurrency: string;
|
|
2694
|
+
} | undefined;
|
|
2695
|
+
readonly vectorConfig?: {
|
|
2696
|
+
dimensions: number;
|
|
2697
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
2698
|
+
normalized: boolean;
|
|
2699
|
+
indexed: boolean;
|
|
2700
|
+
indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
|
|
2701
|
+
} | undefined;
|
|
2702
|
+
readonly fileAttachmentConfig?: {
|
|
2703
|
+
virusScan: boolean;
|
|
2704
|
+
virusScanOnUpload: boolean;
|
|
2705
|
+
quarantineOnThreat: boolean;
|
|
2706
|
+
allowMultiple: boolean;
|
|
2707
|
+
allowReplace: boolean;
|
|
2708
|
+
allowDelete: boolean;
|
|
2709
|
+
requireUpload: boolean;
|
|
2710
|
+
extractMetadata: boolean;
|
|
2711
|
+
extractText: boolean;
|
|
2712
|
+
versioningEnabled: boolean;
|
|
2713
|
+
publicRead: boolean;
|
|
2714
|
+
presignedUrlExpiry: number;
|
|
2715
|
+
minSize?: number | undefined;
|
|
2716
|
+
maxSize?: number | undefined;
|
|
2717
|
+
allowedTypes?: string[] | undefined;
|
|
2718
|
+
blockedTypes?: string[] | undefined;
|
|
2719
|
+
allowedMimeTypes?: string[] | undefined;
|
|
2720
|
+
blockedMimeTypes?: string[] | undefined;
|
|
2721
|
+
virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
|
|
2722
|
+
storageProvider?: string | undefined;
|
|
2723
|
+
storageBucket?: string | undefined;
|
|
2724
|
+
storagePrefix?: string | undefined;
|
|
2725
|
+
imageValidation?: {
|
|
2726
|
+
generateThumbnails: boolean;
|
|
2727
|
+
preserveMetadata: boolean;
|
|
2728
|
+
autoRotate: boolean;
|
|
2729
|
+
minWidth?: number | undefined;
|
|
2730
|
+
maxWidth?: number | undefined;
|
|
2731
|
+
minHeight?: number | undefined;
|
|
2732
|
+
maxHeight?: number | undefined;
|
|
2733
|
+
aspectRatio?: string | undefined;
|
|
2734
|
+
thumbnailSizes?: {
|
|
2735
|
+
name: string;
|
|
2736
|
+
width: number;
|
|
2737
|
+
height: number;
|
|
2738
|
+
crop: boolean;
|
|
2739
|
+
}[] | undefined;
|
|
2740
|
+
} | undefined;
|
|
2741
|
+
maxVersions?: number | undefined;
|
|
2742
|
+
} | undefined;
|
|
2743
|
+
readonly maskingRule?: {
|
|
2744
|
+
field: string;
|
|
2745
|
+
strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
|
|
2746
|
+
preserveFormat: boolean;
|
|
2747
|
+
preserveLength: boolean;
|
|
2748
|
+
pattern?: string | undefined;
|
|
2749
|
+
roles?: string[] | undefined;
|
|
2750
|
+
exemptRoles?: string[] | undefined;
|
|
2751
|
+
} | undefined;
|
|
2752
|
+
readonly auditTrail?: boolean | undefined;
|
|
2753
|
+
readonly dependencies?: string[] | undefined;
|
|
2754
|
+
readonly cached?: {
|
|
2755
|
+
enabled: boolean;
|
|
2756
|
+
ttl: number;
|
|
2757
|
+
invalidateOn: string[];
|
|
2758
|
+
} | undefined;
|
|
2759
|
+
readonly dataQuality?: {
|
|
2760
|
+
uniqueness: boolean;
|
|
2761
|
+
completeness: number;
|
|
2762
|
+
accuracy?: {
|
|
2763
|
+
source: string;
|
|
2764
|
+
threshold: number;
|
|
2765
|
+
} | undefined;
|
|
2766
|
+
} | undefined;
|
|
2767
|
+
readonly group?: string | undefined;
|
|
2768
|
+
readonly conditionalRequired?: string | undefined;
|
|
2769
|
+
readonly hidden?: boolean | undefined;
|
|
2770
|
+
readonly sortable?: boolean | undefined;
|
|
2771
|
+
readonly inlineHelpText?: string | undefined;
|
|
2772
|
+
readonly trackFeedHistory?: boolean | undefined;
|
|
2773
|
+
readonly caseSensitive?: boolean | undefined;
|
|
2774
|
+
readonly autonumberFormat?: string | undefined;
|
|
2775
|
+
readonly index?: boolean | undefined;
|
|
2776
|
+
readonly externalId?: boolean | undefined;
|
|
2777
|
+
readonly type: "select";
|
|
2778
|
+
};
|
|
2779
|
+
/** Tenant ID for multi-tenant isolation */
|
|
2780
|
+
readonly tenant_id: {
|
|
2781
|
+
readonly format?: string | undefined;
|
|
2782
|
+
readonly expression?: string | undefined;
|
|
2783
|
+
readonly readonly?: boolean | undefined;
|
|
2784
|
+
readonly defaultValue?: unknown;
|
|
2785
|
+
readonly min?: number | undefined;
|
|
2786
|
+
readonly max?: number | undefined;
|
|
2787
|
+
readonly name?: string | undefined;
|
|
2788
|
+
readonly encryptionConfig?: {
|
|
2789
|
+
enabled: boolean;
|
|
2790
|
+
algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
|
|
2791
|
+
keyManagement: {
|
|
2792
|
+
provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
|
|
2793
|
+
keyId?: string | undefined;
|
|
2794
|
+
rotationPolicy?: {
|
|
2795
|
+
enabled: boolean;
|
|
2796
|
+
frequencyDays: number;
|
|
2797
|
+
retainOldVersions: number;
|
|
2798
|
+
autoRotate: boolean;
|
|
2799
|
+
} | undefined;
|
|
2800
|
+
};
|
|
2801
|
+
scope: "table" | "record" | "field" | "database";
|
|
2802
|
+
deterministicEncryption: boolean;
|
|
2803
|
+
searchableEncryption: boolean;
|
|
2804
|
+
} | undefined;
|
|
2805
|
+
readonly label?: string | undefined;
|
|
2806
|
+
readonly precision?: number | undefined;
|
|
2807
|
+
readonly description?: string | undefined;
|
|
2808
|
+
readonly columnName?: string | undefined;
|
|
2809
|
+
readonly required?: boolean | undefined;
|
|
2810
|
+
readonly searchable?: boolean | undefined;
|
|
2811
|
+
readonly multiple?: boolean | undefined;
|
|
2812
|
+
readonly unique?: boolean | undefined;
|
|
2813
|
+
readonly maxLength?: number | undefined;
|
|
2814
|
+
readonly minLength?: number | undefined;
|
|
2815
|
+
readonly scale?: number | undefined;
|
|
2816
|
+
readonly options?: {
|
|
2817
|
+
label: string;
|
|
2818
|
+
value: string;
|
|
2819
|
+
color?: string | undefined;
|
|
2820
|
+
default?: boolean | undefined;
|
|
2821
|
+
}[] | undefined;
|
|
2822
|
+
readonly reference?: string | undefined;
|
|
2823
|
+
readonly referenceFilters?: string[] | undefined;
|
|
2824
|
+
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
2825
|
+
readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
|
|
2826
|
+
readonly summaryOperations?: {
|
|
2827
|
+
object: string;
|
|
2828
|
+
field: string;
|
|
2829
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
2830
|
+
} | undefined;
|
|
2831
|
+
readonly language?: string | undefined;
|
|
2832
|
+
readonly theme?: string | undefined;
|
|
2833
|
+
readonly lineNumbers?: boolean | undefined;
|
|
2834
|
+
readonly maxRating?: number | undefined;
|
|
2835
|
+
readonly allowHalf?: boolean | undefined;
|
|
2836
|
+
readonly displayMap?: boolean | undefined;
|
|
2837
|
+
readonly allowGeocoding?: boolean | undefined;
|
|
2838
|
+
readonly addressFormat?: "us" | "uk" | "international" | undefined;
|
|
2839
|
+
readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
2840
|
+
readonly allowAlpha?: boolean | undefined;
|
|
2841
|
+
readonly presetColors?: string[] | undefined;
|
|
2842
|
+
readonly step?: number | undefined;
|
|
2843
|
+
readonly showValue?: boolean | undefined;
|
|
2844
|
+
readonly marks?: Record<string, string> | undefined;
|
|
2845
|
+
readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
2846
|
+
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
2847
|
+
readonly displayValue?: boolean | undefined;
|
|
2848
|
+
readonly allowScanning?: boolean | undefined;
|
|
2849
|
+
readonly currencyConfig?: {
|
|
2850
|
+
precision: number;
|
|
2851
|
+
currencyMode: "dynamic" | "fixed";
|
|
2852
|
+
defaultCurrency: string;
|
|
2853
|
+
} | undefined;
|
|
2854
|
+
readonly vectorConfig?: {
|
|
2855
|
+
dimensions: number;
|
|
2856
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
2857
|
+
normalized: boolean;
|
|
2858
|
+
indexed: boolean;
|
|
2859
|
+
indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
|
|
2860
|
+
} | undefined;
|
|
2861
|
+
readonly fileAttachmentConfig?: {
|
|
2862
|
+
virusScan: boolean;
|
|
2863
|
+
virusScanOnUpload: boolean;
|
|
2864
|
+
quarantineOnThreat: boolean;
|
|
2865
|
+
allowMultiple: boolean;
|
|
2866
|
+
allowReplace: boolean;
|
|
2867
|
+
allowDelete: boolean;
|
|
2868
|
+
requireUpload: boolean;
|
|
2869
|
+
extractMetadata: boolean;
|
|
2870
|
+
extractText: boolean;
|
|
2871
|
+
versioningEnabled: boolean;
|
|
2872
|
+
publicRead: boolean;
|
|
2873
|
+
presignedUrlExpiry: number;
|
|
2874
|
+
minSize?: number | undefined;
|
|
2875
|
+
maxSize?: number | undefined;
|
|
2876
|
+
allowedTypes?: string[] | undefined;
|
|
2877
|
+
blockedTypes?: string[] | undefined;
|
|
2878
|
+
allowedMimeTypes?: string[] | undefined;
|
|
2879
|
+
blockedMimeTypes?: string[] | undefined;
|
|
2880
|
+
virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
|
|
2881
|
+
storageProvider?: string | undefined;
|
|
2882
|
+
storageBucket?: string | undefined;
|
|
2883
|
+
storagePrefix?: string | undefined;
|
|
2884
|
+
imageValidation?: {
|
|
2885
|
+
generateThumbnails: boolean;
|
|
2886
|
+
preserveMetadata: boolean;
|
|
2887
|
+
autoRotate: boolean;
|
|
2888
|
+
minWidth?: number | undefined;
|
|
2889
|
+
maxWidth?: number | undefined;
|
|
2890
|
+
minHeight?: number | undefined;
|
|
2891
|
+
maxHeight?: number | undefined;
|
|
2892
|
+
aspectRatio?: string | undefined;
|
|
2893
|
+
thumbnailSizes?: {
|
|
2894
|
+
name: string;
|
|
2895
|
+
width: number;
|
|
2896
|
+
height: number;
|
|
2897
|
+
crop: boolean;
|
|
2898
|
+
}[] | undefined;
|
|
2899
|
+
} | undefined;
|
|
2900
|
+
maxVersions?: number | undefined;
|
|
2901
|
+
} | undefined;
|
|
2902
|
+
readonly maskingRule?: {
|
|
2903
|
+
field: string;
|
|
2904
|
+
strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
|
|
2905
|
+
preserveFormat: boolean;
|
|
2906
|
+
preserveLength: boolean;
|
|
2907
|
+
pattern?: string | undefined;
|
|
2908
|
+
roles?: string[] | undefined;
|
|
2909
|
+
exemptRoles?: string[] | undefined;
|
|
2910
|
+
} | undefined;
|
|
2911
|
+
readonly auditTrail?: boolean | undefined;
|
|
2912
|
+
readonly dependencies?: string[] | undefined;
|
|
2913
|
+
readonly cached?: {
|
|
2914
|
+
enabled: boolean;
|
|
2915
|
+
ttl: number;
|
|
2916
|
+
invalidateOn: string[];
|
|
2917
|
+
} | undefined;
|
|
2918
|
+
readonly dataQuality?: {
|
|
2919
|
+
uniqueness: boolean;
|
|
2920
|
+
completeness: number;
|
|
2921
|
+
accuracy?: {
|
|
2922
|
+
source: string;
|
|
2923
|
+
threshold: number;
|
|
2924
|
+
} | undefined;
|
|
2925
|
+
} | undefined;
|
|
2926
|
+
readonly group?: string | undefined;
|
|
2927
|
+
readonly conditionalRequired?: string | undefined;
|
|
2928
|
+
readonly hidden?: boolean | undefined;
|
|
2929
|
+
readonly sortable?: boolean | undefined;
|
|
2930
|
+
readonly inlineHelpText?: string | undefined;
|
|
2931
|
+
readonly trackFeedHistory?: boolean | undefined;
|
|
2932
|
+
readonly caseSensitive?: boolean | undefined;
|
|
2933
|
+
readonly autonumberFormat?: string | undefined;
|
|
2934
|
+
readonly index?: boolean | undefined;
|
|
2935
|
+
readonly externalId?: boolean | undefined;
|
|
2936
|
+
readonly type: "text";
|
|
2937
|
+
};
|
|
2938
|
+
/** Version number for optimistic concurrency */
|
|
2939
|
+
readonly version: {
|
|
2940
|
+
readonly format?: string | undefined;
|
|
2941
|
+
readonly expression?: string | undefined;
|
|
2942
|
+
readonly readonly?: boolean | undefined;
|
|
2943
|
+
readonly defaultValue?: unknown;
|
|
2944
|
+
readonly min?: number | undefined;
|
|
2945
|
+
readonly max?: number | undefined;
|
|
2946
|
+
readonly name?: string | undefined;
|
|
2947
|
+
readonly encryptionConfig?: {
|
|
2948
|
+
enabled: boolean;
|
|
2949
|
+
algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
|
|
2950
|
+
keyManagement: {
|
|
2951
|
+
provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
|
|
2952
|
+
keyId?: string | undefined;
|
|
2953
|
+
rotationPolicy?: {
|
|
2954
|
+
enabled: boolean;
|
|
2955
|
+
frequencyDays: number;
|
|
2956
|
+
retainOldVersions: number;
|
|
2957
|
+
autoRotate: boolean;
|
|
2958
|
+
} | undefined;
|
|
2959
|
+
};
|
|
2960
|
+
scope: "table" | "record" | "field" | "database";
|
|
2961
|
+
deterministicEncryption: boolean;
|
|
2962
|
+
searchableEncryption: boolean;
|
|
2963
|
+
} | undefined;
|
|
2964
|
+
readonly label?: string | undefined;
|
|
2965
|
+
readonly precision?: number | undefined;
|
|
2966
|
+
readonly description?: string | undefined;
|
|
2967
|
+
readonly columnName?: string | undefined;
|
|
2968
|
+
readonly required?: boolean | undefined;
|
|
2969
|
+
readonly searchable?: boolean | undefined;
|
|
2970
|
+
readonly multiple?: boolean | undefined;
|
|
2971
|
+
readonly unique?: boolean | undefined;
|
|
2972
|
+
readonly maxLength?: number | undefined;
|
|
2973
|
+
readonly minLength?: number | undefined;
|
|
2974
|
+
readonly scale?: number | undefined;
|
|
2975
|
+
readonly options?: {
|
|
2976
|
+
label: string;
|
|
2977
|
+
value: string;
|
|
2978
|
+
color?: string | undefined;
|
|
2979
|
+
default?: boolean | undefined;
|
|
2980
|
+
}[] | undefined;
|
|
2981
|
+
readonly reference?: string | undefined;
|
|
2982
|
+
readonly referenceFilters?: string[] | undefined;
|
|
2983
|
+
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
2984
|
+
readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
|
|
2985
|
+
readonly summaryOperations?: {
|
|
2986
|
+
object: string;
|
|
2987
|
+
field: string;
|
|
2988
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
2989
|
+
} | undefined;
|
|
2990
|
+
readonly language?: string | undefined;
|
|
2991
|
+
readonly theme?: string | undefined;
|
|
2992
|
+
readonly lineNumbers?: boolean | undefined;
|
|
2993
|
+
readonly maxRating?: number | undefined;
|
|
2994
|
+
readonly allowHalf?: boolean | undefined;
|
|
2995
|
+
readonly displayMap?: boolean | undefined;
|
|
2996
|
+
readonly allowGeocoding?: boolean | undefined;
|
|
2997
|
+
readonly addressFormat?: "us" | "uk" | "international" | undefined;
|
|
2998
|
+
readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
2999
|
+
readonly allowAlpha?: boolean | undefined;
|
|
3000
|
+
readonly presetColors?: string[] | undefined;
|
|
3001
|
+
readonly step?: number | undefined;
|
|
3002
|
+
readonly showValue?: boolean | undefined;
|
|
3003
|
+
readonly marks?: Record<string, string> | undefined;
|
|
3004
|
+
readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
3005
|
+
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
3006
|
+
readonly displayValue?: boolean | undefined;
|
|
3007
|
+
readonly allowScanning?: boolean | undefined;
|
|
3008
|
+
readonly currencyConfig?: {
|
|
3009
|
+
precision: number;
|
|
3010
|
+
currencyMode: "dynamic" | "fixed";
|
|
3011
|
+
defaultCurrency: string;
|
|
3012
|
+
} | undefined;
|
|
3013
|
+
readonly vectorConfig?: {
|
|
3014
|
+
dimensions: number;
|
|
3015
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
3016
|
+
normalized: boolean;
|
|
3017
|
+
indexed: boolean;
|
|
3018
|
+
indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
|
|
3019
|
+
} | undefined;
|
|
3020
|
+
readonly fileAttachmentConfig?: {
|
|
3021
|
+
virusScan: boolean;
|
|
3022
|
+
virusScanOnUpload: boolean;
|
|
3023
|
+
quarantineOnThreat: boolean;
|
|
3024
|
+
allowMultiple: boolean;
|
|
3025
|
+
allowReplace: boolean;
|
|
3026
|
+
allowDelete: boolean;
|
|
3027
|
+
requireUpload: boolean;
|
|
3028
|
+
extractMetadata: boolean;
|
|
3029
|
+
extractText: boolean;
|
|
3030
|
+
versioningEnabled: boolean;
|
|
3031
|
+
publicRead: boolean;
|
|
3032
|
+
presignedUrlExpiry: number;
|
|
3033
|
+
minSize?: number | undefined;
|
|
3034
|
+
maxSize?: number | undefined;
|
|
3035
|
+
allowedTypes?: string[] | undefined;
|
|
3036
|
+
blockedTypes?: string[] | undefined;
|
|
3037
|
+
allowedMimeTypes?: string[] | undefined;
|
|
3038
|
+
blockedMimeTypes?: string[] | undefined;
|
|
3039
|
+
virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
|
|
3040
|
+
storageProvider?: string | undefined;
|
|
3041
|
+
storageBucket?: string | undefined;
|
|
3042
|
+
storagePrefix?: string | undefined;
|
|
3043
|
+
imageValidation?: {
|
|
3044
|
+
generateThumbnails: boolean;
|
|
3045
|
+
preserveMetadata: boolean;
|
|
3046
|
+
autoRotate: boolean;
|
|
3047
|
+
minWidth?: number | undefined;
|
|
3048
|
+
maxWidth?: number | undefined;
|
|
3049
|
+
minHeight?: number | undefined;
|
|
3050
|
+
maxHeight?: number | undefined;
|
|
3051
|
+
aspectRatio?: string | undefined;
|
|
3052
|
+
thumbnailSizes?: {
|
|
3053
|
+
name: string;
|
|
3054
|
+
width: number;
|
|
3055
|
+
height: number;
|
|
3056
|
+
crop: boolean;
|
|
3057
|
+
}[] | undefined;
|
|
3058
|
+
} | undefined;
|
|
3059
|
+
maxVersions?: number | undefined;
|
|
3060
|
+
} | undefined;
|
|
3061
|
+
readonly maskingRule?: {
|
|
3062
|
+
field: string;
|
|
3063
|
+
strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
|
|
3064
|
+
preserveFormat: boolean;
|
|
3065
|
+
preserveLength: boolean;
|
|
3066
|
+
pattern?: string | undefined;
|
|
3067
|
+
roles?: string[] | undefined;
|
|
3068
|
+
exemptRoles?: string[] | undefined;
|
|
3069
|
+
} | undefined;
|
|
3070
|
+
readonly auditTrail?: boolean | undefined;
|
|
3071
|
+
readonly dependencies?: string[] | undefined;
|
|
3072
|
+
readonly cached?: {
|
|
3073
|
+
enabled: boolean;
|
|
3074
|
+
ttl: number;
|
|
3075
|
+
invalidateOn: string[];
|
|
3076
|
+
} | undefined;
|
|
3077
|
+
readonly dataQuality?: {
|
|
3078
|
+
uniqueness: boolean;
|
|
3079
|
+
completeness: number;
|
|
3080
|
+
accuracy?: {
|
|
3081
|
+
source: string;
|
|
3082
|
+
threshold: number;
|
|
3083
|
+
} | undefined;
|
|
3084
|
+
} | undefined;
|
|
3085
|
+
readonly group?: string | undefined;
|
|
3086
|
+
readonly conditionalRequired?: string | undefined;
|
|
3087
|
+
readonly hidden?: boolean | undefined;
|
|
3088
|
+
readonly sortable?: boolean | undefined;
|
|
3089
|
+
readonly inlineHelpText?: string | undefined;
|
|
3090
|
+
readonly trackFeedHistory?: boolean | undefined;
|
|
3091
|
+
readonly caseSensitive?: boolean | undefined;
|
|
3092
|
+
readonly autonumberFormat?: string | undefined;
|
|
3093
|
+
readonly index?: boolean | undefined;
|
|
3094
|
+
readonly externalId?: boolean | undefined;
|
|
3095
|
+
readonly type: "number";
|
|
3096
|
+
};
|
|
3097
|
+
/** Content checksum for change detection */
|
|
3098
|
+
readonly checksum: {
|
|
3099
|
+
readonly format?: string | undefined;
|
|
3100
|
+
readonly expression?: string | undefined;
|
|
3101
|
+
readonly readonly?: boolean | undefined;
|
|
3102
|
+
readonly defaultValue?: unknown;
|
|
3103
|
+
readonly min?: number | undefined;
|
|
3104
|
+
readonly max?: number | undefined;
|
|
3105
|
+
readonly name?: string | undefined;
|
|
3106
|
+
readonly encryptionConfig?: {
|
|
3107
|
+
enabled: boolean;
|
|
3108
|
+
algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
|
|
3109
|
+
keyManagement: {
|
|
3110
|
+
provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
|
|
3111
|
+
keyId?: string | undefined;
|
|
3112
|
+
rotationPolicy?: {
|
|
3113
|
+
enabled: boolean;
|
|
3114
|
+
frequencyDays: number;
|
|
3115
|
+
retainOldVersions: number;
|
|
3116
|
+
autoRotate: boolean;
|
|
3117
|
+
} | undefined;
|
|
3118
|
+
};
|
|
3119
|
+
scope: "table" | "record" | "field" | "database";
|
|
3120
|
+
deterministicEncryption: boolean;
|
|
3121
|
+
searchableEncryption: boolean;
|
|
3122
|
+
} | undefined;
|
|
3123
|
+
readonly label?: string | undefined;
|
|
3124
|
+
readonly precision?: number | undefined;
|
|
3125
|
+
readonly description?: string | undefined;
|
|
3126
|
+
readonly columnName?: string | undefined;
|
|
3127
|
+
readonly required?: boolean | undefined;
|
|
3128
|
+
readonly searchable?: boolean | undefined;
|
|
3129
|
+
readonly multiple?: boolean | undefined;
|
|
3130
|
+
readonly unique?: boolean | undefined;
|
|
3131
|
+
readonly maxLength?: number | undefined;
|
|
3132
|
+
readonly minLength?: number | undefined;
|
|
3133
|
+
readonly scale?: number | undefined;
|
|
3134
|
+
readonly options?: {
|
|
3135
|
+
label: string;
|
|
3136
|
+
value: string;
|
|
3137
|
+
color?: string | undefined;
|
|
3138
|
+
default?: boolean | undefined;
|
|
3139
|
+
}[] | undefined;
|
|
3140
|
+
readonly reference?: string | undefined;
|
|
3141
|
+
readonly referenceFilters?: string[] | undefined;
|
|
3142
|
+
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
3143
|
+
readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
|
|
3144
|
+
readonly summaryOperations?: {
|
|
3145
|
+
object: string;
|
|
3146
|
+
field: string;
|
|
3147
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
3148
|
+
} | undefined;
|
|
3149
|
+
readonly language?: string | undefined;
|
|
3150
|
+
readonly theme?: string | undefined;
|
|
3151
|
+
readonly lineNumbers?: boolean | undefined;
|
|
3152
|
+
readonly maxRating?: number | undefined;
|
|
3153
|
+
readonly allowHalf?: boolean | undefined;
|
|
3154
|
+
readonly displayMap?: boolean | undefined;
|
|
3155
|
+
readonly allowGeocoding?: boolean | undefined;
|
|
3156
|
+
readonly addressFormat?: "us" | "uk" | "international" | undefined;
|
|
3157
|
+
readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
3158
|
+
readonly allowAlpha?: boolean | undefined;
|
|
3159
|
+
readonly presetColors?: string[] | undefined;
|
|
3160
|
+
readonly step?: number | undefined;
|
|
3161
|
+
readonly showValue?: boolean | undefined;
|
|
3162
|
+
readonly marks?: Record<string, string> | undefined;
|
|
3163
|
+
readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
3164
|
+
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
3165
|
+
readonly displayValue?: boolean | undefined;
|
|
3166
|
+
readonly allowScanning?: boolean | undefined;
|
|
3167
|
+
readonly currencyConfig?: {
|
|
3168
|
+
precision: number;
|
|
3169
|
+
currencyMode: "dynamic" | "fixed";
|
|
3170
|
+
defaultCurrency: string;
|
|
3171
|
+
} | undefined;
|
|
3172
|
+
readonly vectorConfig?: {
|
|
3173
|
+
dimensions: number;
|
|
3174
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
3175
|
+
normalized: boolean;
|
|
3176
|
+
indexed: boolean;
|
|
3177
|
+
indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
|
|
3178
|
+
} | undefined;
|
|
3179
|
+
readonly fileAttachmentConfig?: {
|
|
3180
|
+
virusScan: boolean;
|
|
3181
|
+
virusScanOnUpload: boolean;
|
|
3182
|
+
quarantineOnThreat: boolean;
|
|
3183
|
+
allowMultiple: boolean;
|
|
3184
|
+
allowReplace: boolean;
|
|
3185
|
+
allowDelete: boolean;
|
|
3186
|
+
requireUpload: boolean;
|
|
3187
|
+
extractMetadata: boolean;
|
|
3188
|
+
extractText: boolean;
|
|
3189
|
+
versioningEnabled: boolean;
|
|
3190
|
+
publicRead: boolean;
|
|
3191
|
+
presignedUrlExpiry: number;
|
|
3192
|
+
minSize?: number | undefined;
|
|
3193
|
+
maxSize?: number | undefined;
|
|
3194
|
+
allowedTypes?: string[] | undefined;
|
|
3195
|
+
blockedTypes?: string[] | undefined;
|
|
3196
|
+
allowedMimeTypes?: string[] | undefined;
|
|
3197
|
+
blockedMimeTypes?: string[] | undefined;
|
|
3198
|
+
virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
|
|
3199
|
+
storageProvider?: string | undefined;
|
|
3200
|
+
storageBucket?: string | undefined;
|
|
3201
|
+
storagePrefix?: string | undefined;
|
|
3202
|
+
imageValidation?: {
|
|
3203
|
+
generateThumbnails: boolean;
|
|
3204
|
+
preserveMetadata: boolean;
|
|
3205
|
+
autoRotate: boolean;
|
|
3206
|
+
minWidth?: number | undefined;
|
|
3207
|
+
maxWidth?: number | undefined;
|
|
3208
|
+
minHeight?: number | undefined;
|
|
3209
|
+
maxHeight?: number | undefined;
|
|
3210
|
+
aspectRatio?: string | undefined;
|
|
3211
|
+
thumbnailSizes?: {
|
|
3212
|
+
name: string;
|
|
3213
|
+
width: number;
|
|
3214
|
+
height: number;
|
|
3215
|
+
crop: boolean;
|
|
3216
|
+
}[] | undefined;
|
|
3217
|
+
} | undefined;
|
|
3218
|
+
maxVersions?: number | undefined;
|
|
3219
|
+
} | undefined;
|
|
3220
|
+
readonly maskingRule?: {
|
|
3221
|
+
field: string;
|
|
3222
|
+
strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
|
|
3223
|
+
preserveFormat: boolean;
|
|
3224
|
+
preserveLength: boolean;
|
|
3225
|
+
pattern?: string | undefined;
|
|
3226
|
+
roles?: string[] | undefined;
|
|
3227
|
+
exemptRoles?: string[] | undefined;
|
|
3228
|
+
} | undefined;
|
|
3229
|
+
readonly auditTrail?: boolean | undefined;
|
|
3230
|
+
readonly dependencies?: string[] | undefined;
|
|
3231
|
+
readonly cached?: {
|
|
3232
|
+
enabled: boolean;
|
|
3233
|
+
ttl: number;
|
|
3234
|
+
invalidateOn: string[];
|
|
3235
|
+
} | undefined;
|
|
3236
|
+
readonly dataQuality?: {
|
|
3237
|
+
uniqueness: boolean;
|
|
3238
|
+
completeness: number;
|
|
3239
|
+
accuracy?: {
|
|
3240
|
+
source: string;
|
|
3241
|
+
threshold: number;
|
|
3242
|
+
} | undefined;
|
|
3243
|
+
} | undefined;
|
|
3244
|
+
readonly group?: string | undefined;
|
|
3245
|
+
readonly conditionalRequired?: string | undefined;
|
|
3246
|
+
readonly hidden?: boolean | undefined;
|
|
3247
|
+
readonly sortable?: boolean | undefined;
|
|
3248
|
+
readonly inlineHelpText?: string | undefined;
|
|
3249
|
+
readonly trackFeedHistory?: boolean | undefined;
|
|
3250
|
+
readonly caseSensitive?: boolean | undefined;
|
|
3251
|
+
readonly autonumberFormat?: string | undefined;
|
|
3252
|
+
readonly index?: boolean | undefined;
|
|
3253
|
+
readonly externalId?: boolean | undefined;
|
|
3254
|
+
readonly type: "text";
|
|
3255
|
+
};
|
|
3256
|
+
/** Origin of this metadata record */
|
|
3257
|
+
readonly source: {
|
|
3258
|
+
readonly format?: string | undefined;
|
|
3259
|
+
readonly expression?: string | undefined;
|
|
3260
|
+
readonly readonly?: boolean | undefined;
|
|
3261
|
+
readonly defaultValue?: unknown;
|
|
3262
|
+
readonly min?: number | undefined;
|
|
3263
|
+
readonly max?: number | undefined;
|
|
3264
|
+
readonly name?: string | undefined;
|
|
3265
|
+
readonly encryptionConfig?: {
|
|
3266
|
+
enabled: boolean;
|
|
3267
|
+
algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
|
|
3268
|
+
keyManagement: {
|
|
3269
|
+
provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
|
|
3270
|
+
keyId?: string | undefined;
|
|
3271
|
+
rotationPolicy?: {
|
|
3272
|
+
enabled: boolean;
|
|
3273
|
+
frequencyDays: number;
|
|
3274
|
+
retainOldVersions: number;
|
|
3275
|
+
autoRotate: boolean;
|
|
3276
|
+
} | undefined;
|
|
3277
|
+
};
|
|
3278
|
+
scope: "table" | "record" | "field" | "database";
|
|
3279
|
+
deterministicEncryption: boolean;
|
|
3280
|
+
searchableEncryption: boolean;
|
|
3281
|
+
} | undefined;
|
|
3282
|
+
readonly label?: string | undefined;
|
|
3283
|
+
readonly precision?: number | undefined;
|
|
3284
|
+
readonly description?: string | undefined;
|
|
3285
|
+
readonly columnName?: string | undefined;
|
|
3286
|
+
readonly required?: boolean | undefined;
|
|
3287
|
+
readonly searchable?: boolean | undefined;
|
|
3288
|
+
readonly multiple?: boolean | undefined;
|
|
3289
|
+
readonly unique?: boolean | undefined;
|
|
3290
|
+
readonly maxLength?: number | undefined;
|
|
3291
|
+
readonly minLength?: number | undefined;
|
|
3292
|
+
readonly scale?: number | undefined;
|
|
3293
|
+
options: {
|
|
3294
|
+
label: string;
|
|
3295
|
+
value: string;
|
|
3296
|
+
color?: string | undefined;
|
|
3297
|
+
default?: boolean | undefined;
|
|
3298
|
+
}[];
|
|
3299
|
+
readonly reference?: string | undefined;
|
|
3300
|
+
readonly referenceFilters?: string[] | undefined;
|
|
3301
|
+
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
3302
|
+
readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
|
|
3303
|
+
readonly summaryOperations?: {
|
|
3304
|
+
object: string;
|
|
3305
|
+
field: string;
|
|
3306
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
3307
|
+
} | undefined;
|
|
3308
|
+
readonly language?: string | undefined;
|
|
3309
|
+
readonly theme?: string | undefined;
|
|
3310
|
+
readonly lineNumbers?: boolean | undefined;
|
|
3311
|
+
readonly maxRating?: number | undefined;
|
|
3312
|
+
readonly allowHalf?: boolean | undefined;
|
|
3313
|
+
readonly displayMap?: boolean | undefined;
|
|
3314
|
+
readonly allowGeocoding?: boolean | undefined;
|
|
3315
|
+
readonly addressFormat?: "us" | "uk" | "international" | undefined;
|
|
3316
|
+
readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
3317
|
+
readonly allowAlpha?: boolean | undefined;
|
|
3318
|
+
readonly presetColors?: string[] | undefined;
|
|
3319
|
+
readonly step?: number | undefined;
|
|
3320
|
+
readonly showValue?: boolean | undefined;
|
|
3321
|
+
readonly marks?: Record<string, string> | undefined;
|
|
3322
|
+
readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
3323
|
+
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
3324
|
+
readonly displayValue?: boolean | undefined;
|
|
3325
|
+
readonly allowScanning?: boolean | undefined;
|
|
3326
|
+
readonly currencyConfig?: {
|
|
3327
|
+
precision: number;
|
|
3328
|
+
currencyMode: "dynamic" | "fixed";
|
|
3329
|
+
defaultCurrency: string;
|
|
3330
|
+
} | undefined;
|
|
3331
|
+
readonly vectorConfig?: {
|
|
3332
|
+
dimensions: number;
|
|
3333
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
3334
|
+
normalized: boolean;
|
|
3335
|
+
indexed: boolean;
|
|
3336
|
+
indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
|
|
3337
|
+
} | undefined;
|
|
3338
|
+
readonly fileAttachmentConfig?: {
|
|
3339
|
+
virusScan: boolean;
|
|
3340
|
+
virusScanOnUpload: boolean;
|
|
3341
|
+
quarantineOnThreat: boolean;
|
|
3342
|
+
allowMultiple: boolean;
|
|
3343
|
+
allowReplace: boolean;
|
|
3344
|
+
allowDelete: boolean;
|
|
3345
|
+
requireUpload: boolean;
|
|
3346
|
+
extractMetadata: boolean;
|
|
3347
|
+
extractText: boolean;
|
|
3348
|
+
versioningEnabled: boolean;
|
|
3349
|
+
publicRead: boolean;
|
|
3350
|
+
presignedUrlExpiry: number;
|
|
3351
|
+
minSize?: number | undefined;
|
|
3352
|
+
maxSize?: number | undefined;
|
|
3353
|
+
allowedTypes?: string[] | undefined;
|
|
3354
|
+
blockedTypes?: string[] | undefined;
|
|
3355
|
+
allowedMimeTypes?: string[] | undefined;
|
|
3356
|
+
blockedMimeTypes?: string[] | undefined;
|
|
3357
|
+
virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
|
|
3358
|
+
storageProvider?: string | undefined;
|
|
3359
|
+
storageBucket?: string | undefined;
|
|
3360
|
+
storagePrefix?: string | undefined;
|
|
3361
|
+
imageValidation?: {
|
|
3362
|
+
generateThumbnails: boolean;
|
|
3363
|
+
preserveMetadata: boolean;
|
|
3364
|
+
autoRotate: boolean;
|
|
3365
|
+
minWidth?: number | undefined;
|
|
3366
|
+
maxWidth?: number | undefined;
|
|
3367
|
+
minHeight?: number | undefined;
|
|
3368
|
+
maxHeight?: number | undefined;
|
|
3369
|
+
aspectRatio?: string | undefined;
|
|
3370
|
+
thumbnailSizes?: {
|
|
3371
|
+
name: string;
|
|
3372
|
+
width: number;
|
|
3373
|
+
height: number;
|
|
3374
|
+
crop: boolean;
|
|
3375
|
+
}[] | undefined;
|
|
3376
|
+
} | undefined;
|
|
3377
|
+
maxVersions?: number | undefined;
|
|
3378
|
+
} | undefined;
|
|
3379
|
+
readonly maskingRule?: {
|
|
3380
|
+
field: string;
|
|
3381
|
+
strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
|
|
3382
|
+
preserveFormat: boolean;
|
|
3383
|
+
preserveLength: boolean;
|
|
3384
|
+
pattern?: string | undefined;
|
|
3385
|
+
roles?: string[] | undefined;
|
|
3386
|
+
exemptRoles?: string[] | undefined;
|
|
3387
|
+
} | undefined;
|
|
3388
|
+
readonly auditTrail?: boolean | undefined;
|
|
3389
|
+
readonly dependencies?: string[] | undefined;
|
|
3390
|
+
readonly cached?: {
|
|
3391
|
+
enabled: boolean;
|
|
3392
|
+
ttl: number;
|
|
3393
|
+
invalidateOn: string[];
|
|
3394
|
+
} | undefined;
|
|
3395
|
+
readonly dataQuality?: {
|
|
3396
|
+
uniqueness: boolean;
|
|
3397
|
+
completeness: number;
|
|
3398
|
+
accuracy?: {
|
|
3399
|
+
source: string;
|
|
3400
|
+
threshold: number;
|
|
3401
|
+
} | undefined;
|
|
3402
|
+
} | undefined;
|
|
3403
|
+
readonly group?: string | undefined;
|
|
3404
|
+
readonly conditionalRequired?: string | undefined;
|
|
3405
|
+
readonly hidden?: boolean | undefined;
|
|
3406
|
+
readonly sortable?: boolean | undefined;
|
|
3407
|
+
readonly inlineHelpText?: string | undefined;
|
|
3408
|
+
readonly trackFeedHistory?: boolean | undefined;
|
|
3409
|
+
readonly caseSensitive?: boolean | undefined;
|
|
3410
|
+
readonly autonumberFormat?: string | undefined;
|
|
3411
|
+
readonly index?: boolean | undefined;
|
|
3412
|
+
readonly externalId?: boolean | undefined;
|
|
3413
|
+
readonly type: "select";
|
|
3414
|
+
};
|
|
3415
|
+
/** Classification tags (JSON array) */
|
|
3416
|
+
readonly tags: {
|
|
3417
|
+
readonly format?: string | undefined;
|
|
3418
|
+
readonly expression?: string | undefined;
|
|
3419
|
+
readonly readonly?: boolean | undefined;
|
|
3420
|
+
readonly defaultValue?: unknown;
|
|
3421
|
+
readonly min?: number | undefined;
|
|
3422
|
+
readonly max?: number | undefined;
|
|
3423
|
+
readonly name?: string | undefined;
|
|
3424
|
+
readonly encryptionConfig?: {
|
|
3425
|
+
enabled: boolean;
|
|
3426
|
+
algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
|
|
3427
|
+
keyManagement: {
|
|
3428
|
+
provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
|
|
3429
|
+
keyId?: string | undefined;
|
|
3430
|
+
rotationPolicy?: {
|
|
3431
|
+
enabled: boolean;
|
|
3432
|
+
frequencyDays: number;
|
|
3433
|
+
retainOldVersions: number;
|
|
3434
|
+
autoRotate: boolean;
|
|
3435
|
+
} | undefined;
|
|
3436
|
+
};
|
|
3437
|
+
scope: "table" | "record" | "field" | "database";
|
|
3438
|
+
deterministicEncryption: boolean;
|
|
3439
|
+
searchableEncryption: boolean;
|
|
3440
|
+
} | undefined;
|
|
3441
|
+
readonly label?: string | undefined;
|
|
3442
|
+
readonly precision?: number | undefined;
|
|
3443
|
+
readonly description?: string | undefined;
|
|
3444
|
+
readonly columnName?: string | undefined;
|
|
3445
|
+
readonly required?: boolean | undefined;
|
|
3446
|
+
readonly searchable?: boolean | undefined;
|
|
3447
|
+
readonly multiple?: boolean | undefined;
|
|
3448
|
+
readonly unique?: boolean | undefined;
|
|
3449
|
+
readonly maxLength?: number | undefined;
|
|
3450
|
+
readonly minLength?: number | undefined;
|
|
3451
|
+
readonly scale?: number | undefined;
|
|
3452
|
+
readonly options?: {
|
|
3453
|
+
label: string;
|
|
3454
|
+
value: string;
|
|
3455
|
+
color?: string | undefined;
|
|
3456
|
+
default?: boolean | undefined;
|
|
3457
|
+
}[] | undefined;
|
|
3458
|
+
readonly reference?: string | undefined;
|
|
3459
|
+
readonly referenceFilters?: string[] | undefined;
|
|
3460
|
+
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
3461
|
+
readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
|
|
3462
|
+
readonly summaryOperations?: {
|
|
3463
|
+
object: string;
|
|
3464
|
+
field: string;
|
|
3465
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
3466
|
+
} | undefined;
|
|
3467
|
+
readonly language?: string | undefined;
|
|
3468
|
+
readonly theme?: string | undefined;
|
|
3469
|
+
readonly lineNumbers?: boolean | undefined;
|
|
3470
|
+
readonly maxRating?: number | undefined;
|
|
3471
|
+
readonly allowHalf?: boolean | undefined;
|
|
3472
|
+
readonly displayMap?: boolean | undefined;
|
|
3473
|
+
readonly allowGeocoding?: boolean | undefined;
|
|
3474
|
+
readonly addressFormat?: "us" | "uk" | "international" | undefined;
|
|
3475
|
+
readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
3476
|
+
readonly allowAlpha?: boolean | undefined;
|
|
3477
|
+
readonly presetColors?: string[] | undefined;
|
|
3478
|
+
readonly step?: number | undefined;
|
|
3479
|
+
readonly showValue?: boolean | undefined;
|
|
3480
|
+
readonly marks?: Record<string, string> | undefined;
|
|
3481
|
+
readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
3482
|
+
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
3483
|
+
readonly displayValue?: boolean | undefined;
|
|
3484
|
+
readonly allowScanning?: boolean | undefined;
|
|
3485
|
+
readonly currencyConfig?: {
|
|
3486
|
+
precision: number;
|
|
3487
|
+
currencyMode: "dynamic" | "fixed";
|
|
3488
|
+
defaultCurrency: string;
|
|
3489
|
+
} | undefined;
|
|
3490
|
+
readonly vectorConfig?: {
|
|
3491
|
+
dimensions: number;
|
|
3492
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
3493
|
+
normalized: boolean;
|
|
3494
|
+
indexed: boolean;
|
|
3495
|
+
indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
|
|
3496
|
+
} | undefined;
|
|
3497
|
+
readonly fileAttachmentConfig?: {
|
|
3498
|
+
virusScan: boolean;
|
|
3499
|
+
virusScanOnUpload: boolean;
|
|
3500
|
+
quarantineOnThreat: boolean;
|
|
3501
|
+
allowMultiple: boolean;
|
|
3502
|
+
allowReplace: boolean;
|
|
3503
|
+
allowDelete: boolean;
|
|
3504
|
+
requireUpload: boolean;
|
|
3505
|
+
extractMetadata: boolean;
|
|
3506
|
+
extractText: boolean;
|
|
3507
|
+
versioningEnabled: boolean;
|
|
3508
|
+
publicRead: boolean;
|
|
3509
|
+
presignedUrlExpiry: number;
|
|
3510
|
+
minSize?: number | undefined;
|
|
3511
|
+
maxSize?: number | undefined;
|
|
3512
|
+
allowedTypes?: string[] | undefined;
|
|
3513
|
+
blockedTypes?: string[] | undefined;
|
|
3514
|
+
allowedMimeTypes?: string[] | undefined;
|
|
3515
|
+
blockedMimeTypes?: string[] | undefined;
|
|
3516
|
+
virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
|
|
3517
|
+
storageProvider?: string | undefined;
|
|
3518
|
+
storageBucket?: string | undefined;
|
|
3519
|
+
storagePrefix?: string | undefined;
|
|
3520
|
+
imageValidation?: {
|
|
3521
|
+
generateThumbnails: boolean;
|
|
3522
|
+
preserveMetadata: boolean;
|
|
3523
|
+
autoRotate: boolean;
|
|
3524
|
+
minWidth?: number | undefined;
|
|
3525
|
+
maxWidth?: number | undefined;
|
|
3526
|
+
minHeight?: number | undefined;
|
|
3527
|
+
maxHeight?: number | undefined;
|
|
3528
|
+
aspectRatio?: string | undefined;
|
|
3529
|
+
thumbnailSizes?: {
|
|
3530
|
+
name: string;
|
|
3531
|
+
width: number;
|
|
3532
|
+
height: number;
|
|
3533
|
+
crop: boolean;
|
|
3534
|
+
}[] | undefined;
|
|
3535
|
+
} | undefined;
|
|
3536
|
+
maxVersions?: number | undefined;
|
|
3537
|
+
} | undefined;
|
|
3538
|
+
readonly maskingRule?: {
|
|
3539
|
+
field: string;
|
|
3540
|
+
strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
|
|
3541
|
+
preserveFormat: boolean;
|
|
3542
|
+
preserveLength: boolean;
|
|
3543
|
+
pattern?: string | undefined;
|
|
3544
|
+
roles?: string[] | undefined;
|
|
3545
|
+
exemptRoles?: string[] | undefined;
|
|
3546
|
+
} | undefined;
|
|
3547
|
+
readonly auditTrail?: boolean | undefined;
|
|
3548
|
+
readonly dependencies?: string[] | undefined;
|
|
3549
|
+
readonly cached?: {
|
|
3550
|
+
enabled: boolean;
|
|
3551
|
+
ttl: number;
|
|
3552
|
+
invalidateOn: string[];
|
|
3553
|
+
} | undefined;
|
|
3554
|
+
readonly dataQuality?: {
|
|
3555
|
+
uniqueness: boolean;
|
|
3556
|
+
completeness: number;
|
|
3557
|
+
accuracy?: {
|
|
3558
|
+
source: string;
|
|
3559
|
+
threshold: number;
|
|
3560
|
+
} | undefined;
|
|
3561
|
+
} | undefined;
|
|
3562
|
+
readonly group?: string | undefined;
|
|
3563
|
+
readonly conditionalRequired?: string | undefined;
|
|
3564
|
+
readonly hidden?: boolean | undefined;
|
|
3565
|
+
readonly sortable?: boolean | undefined;
|
|
3566
|
+
readonly inlineHelpText?: string | undefined;
|
|
3567
|
+
readonly trackFeedHistory?: boolean | undefined;
|
|
3568
|
+
readonly caseSensitive?: boolean | undefined;
|
|
3569
|
+
readonly autonumberFormat?: string | undefined;
|
|
3570
|
+
readonly index?: boolean | undefined;
|
|
3571
|
+
readonly externalId?: boolean | undefined;
|
|
3572
|
+
readonly type: "textarea";
|
|
3573
|
+
};
|
|
3574
|
+
/** Audit fields */
|
|
3575
|
+
readonly created_by: {
|
|
3576
|
+
readonly format?: string | undefined;
|
|
3577
|
+
readonly expression?: string | undefined;
|
|
3578
|
+
readonly readonly?: boolean | undefined;
|
|
3579
|
+
readonly defaultValue?: unknown;
|
|
3580
|
+
readonly min?: number | undefined;
|
|
3581
|
+
readonly max?: number | undefined;
|
|
3582
|
+
readonly name?: string | undefined;
|
|
3583
|
+
readonly encryptionConfig?: {
|
|
3584
|
+
enabled: boolean;
|
|
3585
|
+
algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
|
|
3586
|
+
keyManagement: {
|
|
3587
|
+
provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
|
|
3588
|
+
keyId?: string | undefined;
|
|
3589
|
+
rotationPolicy?: {
|
|
3590
|
+
enabled: boolean;
|
|
3591
|
+
frequencyDays: number;
|
|
3592
|
+
retainOldVersions: number;
|
|
3593
|
+
autoRotate: boolean;
|
|
3594
|
+
} | undefined;
|
|
3595
|
+
};
|
|
3596
|
+
scope: "table" | "record" | "field" | "database";
|
|
3597
|
+
deterministicEncryption: boolean;
|
|
3598
|
+
searchableEncryption: boolean;
|
|
3599
|
+
} | undefined;
|
|
3600
|
+
readonly label?: string | undefined;
|
|
3601
|
+
readonly precision?: number | undefined;
|
|
3602
|
+
readonly description?: string | undefined;
|
|
3603
|
+
readonly columnName?: string | undefined;
|
|
3604
|
+
readonly required?: boolean | undefined;
|
|
3605
|
+
readonly searchable?: boolean | undefined;
|
|
3606
|
+
readonly multiple?: boolean | undefined;
|
|
3607
|
+
readonly unique?: boolean | undefined;
|
|
3608
|
+
readonly maxLength?: number | undefined;
|
|
3609
|
+
readonly minLength?: number | undefined;
|
|
3610
|
+
readonly scale?: number | undefined;
|
|
3611
|
+
readonly options?: {
|
|
3612
|
+
label: string;
|
|
3613
|
+
value: string;
|
|
3614
|
+
color?: string | undefined;
|
|
3615
|
+
default?: boolean | undefined;
|
|
3616
|
+
}[] | undefined;
|
|
3617
|
+
readonly reference?: string | undefined;
|
|
3618
|
+
readonly referenceFilters?: string[] | undefined;
|
|
3619
|
+
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
3620
|
+
readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
|
|
3621
|
+
readonly summaryOperations?: {
|
|
3622
|
+
object: string;
|
|
3623
|
+
field: string;
|
|
3624
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
3625
|
+
} | undefined;
|
|
3626
|
+
readonly language?: string | undefined;
|
|
3627
|
+
readonly theme?: string | undefined;
|
|
3628
|
+
readonly lineNumbers?: boolean | undefined;
|
|
3629
|
+
readonly maxRating?: number | undefined;
|
|
3630
|
+
readonly allowHalf?: boolean | undefined;
|
|
3631
|
+
readonly displayMap?: boolean | undefined;
|
|
3632
|
+
readonly allowGeocoding?: boolean | undefined;
|
|
3633
|
+
readonly addressFormat?: "us" | "uk" | "international" | undefined;
|
|
3634
|
+
readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
3635
|
+
readonly allowAlpha?: boolean | undefined;
|
|
3636
|
+
readonly presetColors?: string[] | undefined;
|
|
3637
|
+
readonly step?: number | undefined;
|
|
3638
|
+
readonly showValue?: boolean | undefined;
|
|
3639
|
+
readonly marks?: Record<string, string> | undefined;
|
|
3640
|
+
readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
3641
|
+
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
3642
|
+
readonly displayValue?: boolean | undefined;
|
|
3643
|
+
readonly allowScanning?: boolean | undefined;
|
|
3644
|
+
readonly currencyConfig?: {
|
|
3645
|
+
precision: number;
|
|
3646
|
+
currencyMode: "dynamic" | "fixed";
|
|
3647
|
+
defaultCurrency: string;
|
|
3648
|
+
} | undefined;
|
|
3649
|
+
readonly vectorConfig?: {
|
|
3650
|
+
dimensions: number;
|
|
3651
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
3652
|
+
normalized: boolean;
|
|
3653
|
+
indexed: boolean;
|
|
3654
|
+
indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
|
|
3655
|
+
} | undefined;
|
|
3656
|
+
readonly fileAttachmentConfig?: {
|
|
3657
|
+
virusScan: boolean;
|
|
3658
|
+
virusScanOnUpload: boolean;
|
|
3659
|
+
quarantineOnThreat: boolean;
|
|
3660
|
+
allowMultiple: boolean;
|
|
3661
|
+
allowReplace: boolean;
|
|
3662
|
+
allowDelete: boolean;
|
|
3663
|
+
requireUpload: boolean;
|
|
3664
|
+
extractMetadata: boolean;
|
|
3665
|
+
extractText: boolean;
|
|
3666
|
+
versioningEnabled: boolean;
|
|
3667
|
+
publicRead: boolean;
|
|
3668
|
+
presignedUrlExpiry: number;
|
|
3669
|
+
minSize?: number | undefined;
|
|
3670
|
+
maxSize?: number | undefined;
|
|
3671
|
+
allowedTypes?: string[] | undefined;
|
|
3672
|
+
blockedTypes?: string[] | undefined;
|
|
3673
|
+
allowedMimeTypes?: string[] | undefined;
|
|
3674
|
+
blockedMimeTypes?: string[] | undefined;
|
|
3675
|
+
virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
|
|
3676
|
+
storageProvider?: string | undefined;
|
|
3677
|
+
storageBucket?: string | undefined;
|
|
3678
|
+
storagePrefix?: string | undefined;
|
|
3679
|
+
imageValidation?: {
|
|
3680
|
+
generateThumbnails: boolean;
|
|
3681
|
+
preserveMetadata: boolean;
|
|
3682
|
+
autoRotate: boolean;
|
|
3683
|
+
minWidth?: number | undefined;
|
|
3684
|
+
maxWidth?: number | undefined;
|
|
3685
|
+
minHeight?: number | undefined;
|
|
3686
|
+
maxHeight?: number | undefined;
|
|
3687
|
+
aspectRatio?: string | undefined;
|
|
3688
|
+
thumbnailSizes?: {
|
|
3689
|
+
name: string;
|
|
3690
|
+
width: number;
|
|
3691
|
+
height: number;
|
|
3692
|
+
crop: boolean;
|
|
3693
|
+
}[] | undefined;
|
|
3694
|
+
} | undefined;
|
|
3695
|
+
maxVersions?: number | undefined;
|
|
3696
|
+
} | undefined;
|
|
3697
|
+
readonly maskingRule?: {
|
|
3698
|
+
field: string;
|
|
3699
|
+
strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
|
|
3700
|
+
preserveFormat: boolean;
|
|
3701
|
+
preserveLength: boolean;
|
|
3702
|
+
pattern?: string | undefined;
|
|
3703
|
+
roles?: string[] | undefined;
|
|
3704
|
+
exemptRoles?: string[] | undefined;
|
|
3705
|
+
} | undefined;
|
|
3706
|
+
readonly auditTrail?: boolean | undefined;
|
|
3707
|
+
readonly dependencies?: string[] | undefined;
|
|
3708
|
+
readonly cached?: {
|
|
3709
|
+
enabled: boolean;
|
|
3710
|
+
ttl: number;
|
|
3711
|
+
invalidateOn: string[];
|
|
3712
|
+
} | undefined;
|
|
3713
|
+
readonly dataQuality?: {
|
|
3714
|
+
uniqueness: boolean;
|
|
3715
|
+
completeness: number;
|
|
3716
|
+
accuracy?: {
|
|
3717
|
+
source: string;
|
|
3718
|
+
threshold: number;
|
|
3719
|
+
} | undefined;
|
|
3720
|
+
} | undefined;
|
|
3721
|
+
readonly group?: string | undefined;
|
|
3722
|
+
readonly conditionalRequired?: string | undefined;
|
|
3723
|
+
readonly hidden?: boolean | undefined;
|
|
3724
|
+
readonly sortable?: boolean | undefined;
|
|
3725
|
+
readonly inlineHelpText?: string | undefined;
|
|
3726
|
+
readonly trackFeedHistory?: boolean | undefined;
|
|
3727
|
+
readonly caseSensitive?: boolean | undefined;
|
|
3728
|
+
readonly autonumberFormat?: string | undefined;
|
|
3729
|
+
readonly index?: boolean | undefined;
|
|
3730
|
+
readonly externalId?: boolean | undefined;
|
|
3731
|
+
readonly type: "text";
|
|
3732
|
+
};
|
|
3733
|
+
readonly created_at: {
|
|
3734
|
+
readonly format?: string | undefined;
|
|
3735
|
+
readonly expression?: string | undefined;
|
|
3736
|
+
readonly readonly?: boolean | undefined;
|
|
3737
|
+
readonly defaultValue?: unknown;
|
|
3738
|
+
readonly min?: number | undefined;
|
|
3739
|
+
readonly max?: number | undefined;
|
|
3740
|
+
readonly name?: string | undefined;
|
|
3741
|
+
readonly encryptionConfig?: {
|
|
3742
|
+
enabled: boolean;
|
|
3743
|
+
algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
|
|
3744
|
+
keyManagement: {
|
|
3745
|
+
provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
|
|
3746
|
+
keyId?: string | undefined;
|
|
3747
|
+
rotationPolicy?: {
|
|
3748
|
+
enabled: boolean;
|
|
3749
|
+
frequencyDays: number;
|
|
3750
|
+
retainOldVersions: number;
|
|
3751
|
+
autoRotate: boolean;
|
|
3752
|
+
} | undefined;
|
|
3753
|
+
};
|
|
3754
|
+
scope: "table" | "record" | "field" | "database";
|
|
3755
|
+
deterministicEncryption: boolean;
|
|
3756
|
+
searchableEncryption: boolean;
|
|
3757
|
+
} | undefined;
|
|
3758
|
+
readonly label?: string | undefined;
|
|
3759
|
+
readonly precision?: number | undefined;
|
|
3760
|
+
readonly description?: string | undefined;
|
|
3761
|
+
readonly columnName?: string | undefined;
|
|
3762
|
+
readonly required?: boolean | undefined;
|
|
3763
|
+
readonly searchable?: boolean | undefined;
|
|
3764
|
+
readonly multiple?: boolean | undefined;
|
|
3765
|
+
readonly unique?: boolean | undefined;
|
|
3766
|
+
readonly maxLength?: number | undefined;
|
|
3767
|
+
readonly minLength?: number | undefined;
|
|
3768
|
+
readonly scale?: number | undefined;
|
|
3769
|
+
readonly options?: {
|
|
3770
|
+
label: string;
|
|
3771
|
+
value: string;
|
|
3772
|
+
color?: string | undefined;
|
|
3773
|
+
default?: boolean | undefined;
|
|
3774
|
+
}[] | undefined;
|
|
3775
|
+
readonly reference?: string | undefined;
|
|
3776
|
+
readonly referenceFilters?: string[] | undefined;
|
|
3777
|
+
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
3778
|
+
readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
|
|
3779
|
+
readonly summaryOperations?: {
|
|
3780
|
+
object: string;
|
|
3781
|
+
field: string;
|
|
3782
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
3783
|
+
} | undefined;
|
|
3784
|
+
readonly language?: string | undefined;
|
|
3785
|
+
readonly theme?: string | undefined;
|
|
3786
|
+
readonly lineNumbers?: boolean | undefined;
|
|
3787
|
+
readonly maxRating?: number | undefined;
|
|
3788
|
+
readonly allowHalf?: boolean | undefined;
|
|
3789
|
+
readonly displayMap?: boolean | undefined;
|
|
3790
|
+
readonly allowGeocoding?: boolean | undefined;
|
|
3791
|
+
readonly addressFormat?: "us" | "uk" | "international" | undefined;
|
|
3792
|
+
readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
3793
|
+
readonly allowAlpha?: boolean | undefined;
|
|
3794
|
+
readonly presetColors?: string[] | undefined;
|
|
3795
|
+
readonly step?: number | undefined;
|
|
3796
|
+
readonly showValue?: boolean | undefined;
|
|
3797
|
+
readonly marks?: Record<string, string> | undefined;
|
|
3798
|
+
readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
3799
|
+
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
3800
|
+
readonly displayValue?: boolean | undefined;
|
|
3801
|
+
readonly allowScanning?: boolean | undefined;
|
|
3802
|
+
readonly currencyConfig?: {
|
|
3803
|
+
precision: number;
|
|
3804
|
+
currencyMode: "dynamic" | "fixed";
|
|
3805
|
+
defaultCurrency: string;
|
|
3806
|
+
} | undefined;
|
|
3807
|
+
readonly vectorConfig?: {
|
|
3808
|
+
dimensions: number;
|
|
3809
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
3810
|
+
normalized: boolean;
|
|
3811
|
+
indexed: boolean;
|
|
3812
|
+
indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
|
|
3813
|
+
} | undefined;
|
|
3814
|
+
readonly fileAttachmentConfig?: {
|
|
3815
|
+
virusScan: boolean;
|
|
3816
|
+
virusScanOnUpload: boolean;
|
|
3817
|
+
quarantineOnThreat: boolean;
|
|
3818
|
+
allowMultiple: boolean;
|
|
3819
|
+
allowReplace: boolean;
|
|
3820
|
+
allowDelete: boolean;
|
|
3821
|
+
requireUpload: boolean;
|
|
3822
|
+
extractMetadata: boolean;
|
|
3823
|
+
extractText: boolean;
|
|
3824
|
+
versioningEnabled: boolean;
|
|
3825
|
+
publicRead: boolean;
|
|
3826
|
+
presignedUrlExpiry: number;
|
|
3827
|
+
minSize?: number | undefined;
|
|
3828
|
+
maxSize?: number | undefined;
|
|
3829
|
+
allowedTypes?: string[] | undefined;
|
|
3830
|
+
blockedTypes?: string[] | undefined;
|
|
3831
|
+
allowedMimeTypes?: string[] | undefined;
|
|
3832
|
+
blockedMimeTypes?: string[] | undefined;
|
|
3833
|
+
virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
|
|
3834
|
+
storageProvider?: string | undefined;
|
|
3835
|
+
storageBucket?: string | undefined;
|
|
3836
|
+
storagePrefix?: string | undefined;
|
|
3837
|
+
imageValidation?: {
|
|
3838
|
+
generateThumbnails: boolean;
|
|
3839
|
+
preserveMetadata: boolean;
|
|
3840
|
+
autoRotate: boolean;
|
|
3841
|
+
minWidth?: number | undefined;
|
|
3842
|
+
maxWidth?: number | undefined;
|
|
3843
|
+
minHeight?: number | undefined;
|
|
3844
|
+
maxHeight?: number | undefined;
|
|
3845
|
+
aspectRatio?: string | undefined;
|
|
3846
|
+
thumbnailSizes?: {
|
|
3847
|
+
name: string;
|
|
3848
|
+
width: number;
|
|
3849
|
+
height: number;
|
|
3850
|
+
crop: boolean;
|
|
3851
|
+
}[] | undefined;
|
|
3852
|
+
} | undefined;
|
|
3853
|
+
maxVersions?: number | undefined;
|
|
3854
|
+
} | undefined;
|
|
3855
|
+
readonly maskingRule?: {
|
|
3856
|
+
field: string;
|
|
3857
|
+
strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
|
|
3858
|
+
preserveFormat: boolean;
|
|
3859
|
+
preserveLength: boolean;
|
|
3860
|
+
pattern?: string | undefined;
|
|
3861
|
+
roles?: string[] | undefined;
|
|
3862
|
+
exemptRoles?: string[] | undefined;
|
|
3863
|
+
} | undefined;
|
|
3864
|
+
readonly auditTrail?: boolean | undefined;
|
|
3865
|
+
readonly dependencies?: string[] | undefined;
|
|
3866
|
+
readonly cached?: {
|
|
3867
|
+
enabled: boolean;
|
|
3868
|
+
ttl: number;
|
|
3869
|
+
invalidateOn: string[];
|
|
3870
|
+
} | undefined;
|
|
3871
|
+
readonly dataQuality?: {
|
|
3872
|
+
uniqueness: boolean;
|
|
3873
|
+
completeness: number;
|
|
3874
|
+
accuracy?: {
|
|
3875
|
+
source: string;
|
|
3876
|
+
threshold: number;
|
|
3877
|
+
} | undefined;
|
|
3878
|
+
} | undefined;
|
|
3879
|
+
readonly group?: string | undefined;
|
|
3880
|
+
readonly conditionalRequired?: string | undefined;
|
|
3881
|
+
readonly hidden?: boolean | undefined;
|
|
3882
|
+
readonly sortable?: boolean | undefined;
|
|
3883
|
+
readonly inlineHelpText?: string | undefined;
|
|
3884
|
+
readonly trackFeedHistory?: boolean | undefined;
|
|
3885
|
+
readonly caseSensitive?: boolean | undefined;
|
|
3886
|
+
readonly autonumberFormat?: string | undefined;
|
|
3887
|
+
readonly index?: boolean | undefined;
|
|
3888
|
+
readonly externalId?: boolean | undefined;
|
|
3889
|
+
readonly type: "datetime";
|
|
3890
|
+
};
|
|
3891
|
+
readonly updated_by: {
|
|
3892
|
+
readonly format?: string | undefined;
|
|
3893
|
+
readonly expression?: string | undefined;
|
|
3894
|
+
readonly readonly?: boolean | undefined;
|
|
3895
|
+
readonly defaultValue?: unknown;
|
|
3896
|
+
readonly min?: number | undefined;
|
|
3897
|
+
readonly max?: number | undefined;
|
|
3898
|
+
readonly name?: string | undefined;
|
|
3899
|
+
readonly encryptionConfig?: {
|
|
3900
|
+
enabled: boolean;
|
|
3901
|
+
algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
|
|
3902
|
+
keyManagement: {
|
|
3903
|
+
provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
|
|
3904
|
+
keyId?: string | undefined;
|
|
3905
|
+
rotationPolicy?: {
|
|
3906
|
+
enabled: boolean;
|
|
3907
|
+
frequencyDays: number;
|
|
3908
|
+
retainOldVersions: number;
|
|
3909
|
+
autoRotate: boolean;
|
|
3910
|
+
} | undefined;
|
|
3911
|
+
};
|
|
3912
|
+
scope: "table" | "record" | "field" | "database";
|
|
3913
|
+
deterministicEncryption: boolean;
|
|
3914
|
+
searchableEncryption: boolean;
|
|
3915
|
+
} | undefined;
|
|
3916
|
+
readonly label?: string | undefined;
|
|
3917
|
+
readonly precision?: number | undefined;
|
|
3918
|
+
readonly description?: string | undefined;
|
|
3919
|
+
readonly columnName?: string | undefined;
|
|
3920
|
+
readonly required?: boolean | undefined;
|
|
3921
|
+
readonly searchable?: boolean | undefined;
|
|
3922
|
+
readonly multiple?: boolean | undefined;
|
|
3923
|
+
readonly unique?: boolean | undefined;
|
|
3924
|
+
readonly maxLength?: number | undefined;
|
|
3925
|
+
readonly minLength?: number | undefined;
|
|
3926
|
+
readonly scale?: number | undefined;
|
|
3927
|
+
readonly options?: {
|
|
3928
|
+
label: string;
|
|
3929
|
+
value: string;
|
|
3930
|
+
color?: string | undefined;
|
|
3931
|
+
default?: boolean | undefined;
|
|
3932
|
+
}[] | undefined;
|
|
3933
|
+
readonly reference?: string | undefined;
|
|
3934
|
+
readonly referenceFilters?: string[] | undefined;
|
|
3935
|
+
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
3936
|
+
readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
|
|
3937
|
+
readonly summaryOperations?: {
|
|
3938
|
+
object: string;
|
|
3939
|
+
field: string;
|
|
3940
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
3941
|
+
} | undefined;
|
|
3942
|
+
readonly language?: string | undefined;
|
|
3943
|
+
readonly theme?: string | undefined;
|
|
3944
|
+
readonly lineNumbers?: boolean | undefined;
|
|
3945
|
+
readonly maxRating?: number | undefined;
|
|
3946
|
+
readonly allowHalf?: boolean | undefined;
|
|
3947
|
+
readonly displayMap?: boolean | undefined;
|
|
3948
|
+
readonly allowGeocoding?: boolean | undefined;
|
|
3949
|
+
readonly addressFormat?: "us" | "uk" | "international" | undefined;
|
|
3950
|
+
readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
3951
|
+
readonly allowAlpha?: boolean | undefined;
|
|
3952
|
+
readonly presetColors?: string[] | undefined;
|
|
3953
|
+
readonly step?: number | undefined;
|
|
3954
|
+
readonly showValue?: boolean | undefined;
|
|
3955
|
+
readonly marks?: Record<string, string> | undefined;
|
|
3956
|
+
readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
3957
|
+
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
3958
|
+
readonly displayValue?: boolean | undefined;
|
|
3959
|
+
readonly allowScanning?: boolean | undefined;
|
|
3960
|
+
readonly currencyConfig?: {
|
|
3961
|
+
precision: number;
|
|
3962
|
+
currencyMode: "dynamic" | "fixed";
|
|
3963
|
+
defaultCurrency: string;
|
|
3964
|
+
} | undefined;
|
|
3965
|
+
readonly vectorConfig?: {
|
|
3966
|
+
dimensions: number;
|
|
3967
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
3968
|
+
normalized: boolean;
|
|
3969
|
+
indexed: boolean;
|
|
3970
|
+
indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
|
|
3971
|
+
} | undefined;
|
|
3972
|
+
readonly fileAttachmentConfig?: {
|
|
3973
|
+
virusScan: boolean;
|
|
3974
|
+
virusScanOnUpload: boolean;
|
|
3975
|
+
quarantineOnThreat: boolean;
|
|
3976
|
+
allowMultiple: boolean;
|
|
3977
|
+
allowReplace: boolean;
|
|
3978
|
+
allowDelete: boolean;
|
|
3979
|
+
requireUpload: boolean;
|
|
3980
|
+
extractMetadata: boolean;
|
|
3981
|
+
extractText: boolean;
|
|
3982
|
+
versioningEnabled: boolean;
|
|
3983
|
+
publicRead: boolean;
|
|
3984
|
+
presignedUrlExpiry: number;
|
|
3985
|
+
minSize?: number | undefined;
|
|
3986
|
+
maxSize?: number | undefined;
|
|
3987
|
+
allowedTypes?: string[] | undefined;
|
|
3988
|
+
blockedTypes?: string[] | undefined;
|
|
3989
|
+
allowedMimeTypes?: string[] | undefined;
|
|
3990
|
+
blockedMimeTypes?: string[] | undefined;
|
|
3991
|
+
virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
|
|
3992
|
+
storageProvider?: string | undefined;
|
|
3993
|
+
storageBucket?: string | undefined;
|
|
3994
|
+
storagePrefix?: string | undefined;
|
|
3995
|
+
imageValidation?: {
|
|
3996
|
+
generateThumbnails: boolean;
|
|
3997
|
+
preserveMetadata: boolean;
|
|
3998
|
+
autoRotate: boolean;
|
|
3999
|
+
minWidth?: number | undefined;
|
|
4000
|
+
maxWidth?: number | undefined;
|
|
4001
|
+
minHeight?: number | undefined;
|
|
4002
|
+
maxHeight?: number | undefined;
|
|
4003
|
+
aspectRatio?: string | undefined;
|
|
4004
|
+
thumbnailSizes?: {
|
|
4005
|
+
name: string;
|
|
4006
|
+
width: number;
|
|
4007
|
+
height: number;
|
|
4008
|
+
crop: boolean;
|
|
4009
|
+
}[] | undefined;
|
|
4010
|
+
} | undefined;
|
|
4011
|
+
maxVersions?: number | undefined;
|
|
4012
|
+
} | undefined;
|
|
4013
|
+
readonly maskingRule?: {
|
|
4014
|
+
field: string;
|
|
4015
|
+
strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
|
|
4016
|
+
preserveFormat: boolean;
|
|
4017
|
+
preserveLength: boolean;
|
|
4018
|
+
pattern?: string | undefined;
|
|
4019
|
+
roles?: string[] | undefined;
|
|
4020
|
+
exemptRoles?: string[] | undefined;
|
|
4021
|
+
} | undefined;
|
|
4022
|
+
readonly auditTrail?: boolean | undefined;
|
|
4023
|
+
readonly dependencies?: string[] | undefined;
|
|
4024
|
+
readonly cached?: {
|
|
4025
|
+
enabled: boolean;
|
|
4026
|
+
ttl: number;
|
|
4027
|
+
invalidateOn: string[];
|
|
4028
|
+
} | undefined;
|
|
4029
|
+
readonly dataQuality?: {
|
|
4030
|
+
uniqueness: boolean;
|
|
4031
|
+
completeness: number;
|
|
4032
|
+
accuracy?: {
|
|
4033
|
+
source: string;
|
|
4034
|
+
threshold: number;
|
|
4035
|
+
} | undefined;
|
|
4036
|
+
} | undefined;
|
|
4037
|
+
readonly group?: string | undefined;
|
|
4038
|
+
readonly conditionalRequired?: string | undefined;
|
|
4039
|
+
readonly hidden?: boolean | undefined;
|
|
4040
|
+
readonly sortable?: boolean | undefined;
|
|
4041
|
+
readonly inlineHelpText?: string | undefined;
|
|
4042
|
+
readonly trackFeedHistory?: boolean | undefined;
|
|
4043
|
+
readonly caseSensitive?: boolean | undefined;
|
|
4044
|
+
readonly autonumberFormat?: string | undefined;
|
|
4045
|
+
readonly index?: boolean | undefined;
|
|
4046
|
+
readonly externalId?: boolean | undefined;
|
|
4047
|
+
readonly type: "text";
|
|
4048
|
+
};
|
|
4049
|
+
readonly updated_at: {
|
|
4050
|
+
readonly format?: string | undefined;
|
|
4051
|
+
readonly expression?: string | undefined;
|
|
4052
|
+
readonly readonly?: boolean | undefined;
|
|
4053
|
+
readonly defaultValue?: unknown;
|
|
4054
|
+
readonly min?: number | undefined;
|
|
4055
|
+
readonly max?: number | undefined;
|
|
4056
|
+
readonly name?: string | undefined;
|
|
4057
|
+
readonly encryptionConfig?: {
|
|
4058
|
+
enabled: boolean;
|
|
4059
|
+
algorithm: "aes-256-gcm" | "aes-256-cbc" | "chacha20-poly1305";
|
|
4060
|
+
keyManagement: {
|
|
4061
|
+
provider: "local" | "aws-kms" | "azure-key-vault" | "gcp-kms" | "hashicorp-vault";
|
|
4062
|
+
keyId?: string | undefined;
|
|
4063
|
+
rotationPolicy?: {
|
|
4064
|
+
enabled: boolean;
|
|
4065
|
+
frequencyDays: number;
|
|
4066
|
+
retainOldVersions: number;
|
|
4067
|
+
autoRotate: boolean;
|
|
4068
|
+
} | undefined;
|
|
4069
|
+
};
|
|
4070
|
+
scope: "table" | "record" | "field" | "database";
|
|
4071
|
+
deterministicEncryption: boolean;
|
|
4072
|
+
searchableEncryption: boolean;
|
|
4073
|
+
} | undefined;
|
|
4074
|
+
readonly label?: string | undefined;
|
|
4075
|
+
readonly precision?: number | undefined;
|
|
4076
|
+
readonly description?: string | undefined;
|
|
4077
|
+
readonly columnName?: string | undefined;
|
|
4078
|
+
readonly required?: boolean | undefined;
|
|
4079
|
+
readonly searchable?: boolean | undefined;
|
|
4080
|
+
readonly multiple?: boolean | undefined;
|
|
4081
|
+
readonly unique?: boolean | undefined;
|
|
4082
|
+
readonly maxLength?: number | undefined;
|
|
4083
|
+
readonly minLength?: number | undefined;
|
|
4084
|
+
readonly scale?: number | undefined;
|
|
4085
|
+
readonly options?: {
|
|
4086
|
+
label: string;
|
|
4087
|
+
value: string;
|
|
4088
|
+
color?: string | undefined;
|
|
4089
|
+
default?: boolean | undefined;
|
|
4090
|
+
}[] | undefined;
|
|
4091
|
+
readonly reference?: string | undefined;
|
|
4092
|
+
readonly referenceFilters?: string[] | undefined;
|
|
4093
|
+
readonly writeRequiresMasterRead?: boolean | undefined;
|
|
4094
|
+
readonly deleteBehavior?: "set_null" | "cascade" | "restrict" | undefined;
|
|
4095
|
+
readonly summaryOperations?: {
|
|
4096
|
+
object: string;
|
|
4097
|
+
field: string;
|
|
4098
|
+
function: "count" | "sum" | "avg" | "min" | "max";
|
|
4099
|
+
} | undefined;
|
|
4100
|
+
readonly language?: string | undefined;
|
|
4101
|
+
readonly theme?: string | undefined;
|
|
4102
|
+
readonly lineNumbers?: boolean | undefined;
|
|
4103
|
+
readonly maxRating?: number | undefined;
|
|
4104
|
+
readonly allowHalf?: boolean | undefined;
|
|
4105
|
+
readonly displayMap?: boolean | undefined;
|
|
4106
|
+
readonly allowGeocoding?: boolean | undefined;
|
|
4107
|
+
readonly addressFormat?: "us" | "uk" | "international" | undefined;
|
|
4108
|
+
readonly colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | undefined;
|
|
4109
|
+
readonly allowAlpha?: boolean | undefined;
|
|
4110
|
+
readonly presetColors?: string[] | undefined;
|
|
4111
|
+
readonly step?: number | undefined;
|
|
4112
|
+
readonly showValue?: boolean | undefined;
|
|
4113
|
+
readonly marks?: Record<string, string> | undefined;
|
|
4114
|
+
readonly barcodeFormat?: "qr" | "ean13" | "ean8" | "code128" | "code39" | "upca" | "upce" | undefined;
|
|
4115
|
+
readonly qrErrorCorrection?: "L" | "M" | "Q" | "H" | undefined;
|
|
4116
|
+
readonly displayValue?: boolean | undefined;
|
|
4117
|
+
readonly allowScanning?: boolean | undefined;
|
|
4118
|
+
readonly currencyConfig?: {
|
|
4119
|
+
precision: number;
|
|
4120
|
+
currencyMode: "dynamic" | "fixed";
|
|
4121
|
+
defaultCurrency: string;
|
|
4122
|
+
} | undefined;
|
|
4123
|
+
readonly vectorConfig?: {
|
|
4124
|
+
dimensions: number;
|
|
4125
|
+
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
4126
|
+
normalized: boolean;
|
|
4127
|
+
indexed: boolean;
|
|
4128
|
+
indexType?: "hnsw" | "ivfflat" | "flat" | undefined;
|
|
4129
|
+
} | undefined;
|
|
4130
|
+
readonly fileAttachmentConfig?: {
|
|
4131
|
+
virusScan: boolean;
|
|
4132
|
+
virusScanOnUpload: boolean;
|
|
4133
|
+
quarantineOnThreat: boolean;
|
|
4134
|
+
allowMultiple: boolean;
|
|
4135
|
+
allowReplace: boolean;
|
|
4136
|
+
allowDelete: boolean;
|
|
4137
|
+
requireUpload: boolean;
|
|
4138
|
+
extractMetadata: boolean;
|
|
4139
|
+
extractText: boolean;
|
|
4140
|
+
versioningEnabled: boolean;
|
|
4141
|
+
publicRead: boolean;
|
|
4142
|
+
presignedUrlExpiry: number;
|
|
4143
|
+
minSize?: number | undefined;
|
|
4144
|
+
maxSize?: number | undefined;
|
|
4145
|
+
allowedTypes?: string[] | undefined;
|
|
4146
|
+
blockedTypes?: string[] | undefined;
|
|
4147
|
+
allowedMimeTypes?: string[] | undefined;
|
|
4148
|
+
blockedMimeTypes?: string[] | undefined;
|
|
4149
|
+
virusScanProvider?: "custom" | "clamav" | "virustotal" | "metadefender" | undefined;
|
|
4150
|
+
storageProvider?: string | undefined;
|
|
4151
|
+
storageBucket?: string | undefined;
|
|
4152
|
+
storagePrefix?: string | undefined;
|
|
4153
|
+
imageValidation?: {
|
|
4154
|
+
generateThumbnails: boolean;
|
|
4155
|
+
preserveMetadata: boolean;
|
|
4156
|
+
autoRotate: boolean;
|
|
4157
|
+
minWidth?: number | undefined;
|
|
4158
|
+
maxWidth?: number | undefined;
|
|
4159
|
+
minHeight?: number | undefined;
|
|
4160
|
+
maxHeight?: number | undefined;
|
|
4161
|
+
aspectRatio?: string | undefined;
|
|
4162
|
+
thumbnailSizes?: {
|
|
4163
|
+
name: string;
|
|
4164
|
+
width: number;
|
|
4165
|
+
height: number;
|
|
4166
|
+
crop: boolean;
|
|
4167
|
+
}[] | undefined;
|
|
4168
|
+
} | undefined;
|
|
4169
|
+
maxVersions?: number | undefined;
|
|
4170
|
+
} | undefined;
|
|
4171
|
+
readonly maskingRule?: {
|
|
4172
|
+
field: string;
|
|
4173
|
+
strategy: "redact" | "partial" | "hash" | "tokenize" | "randomize" | "nullify" | "substitute";
|
|
4174
|
+
preserveFormat: boolean;
|
|
4175
|
+
preserveLength: boolean;
|
|
4176
|
+
pattern?: string | undefined;
|
|
4177
|
+
roles?: string[] | undefined;
|
|
4178
|
+
exemptRoles?: string[] | undefined;
|
|
4179
|
+
} | undefined;
|
|
4180
|
+
readonly auditTrail?: boolean | undefined;
|
|
4181
|
+
readonly dependencies?: string[] | undefined;
|
|
4182
|
+
readonly cached?: {
|
|
4183
|
+
enabled: boolean;
|
|
4184
|
+
ttl: number;
|
|
4185
|
+
invalidateOn: string[];
|
|
4186
|
+
} | undefined;
|
|
4187
|
+
readonly dataQuality?: {
|
|
4188
|
+
uniqueness: boolean;
|
|
4189
|
+
completeness: number;
|
|
4190
|
+
accuracy?: {
|
|
4191
|
+
source: string;
|
|
4192
|
+
threshold: number;
|
|
4193
|
+
} | undefined;
|
|
4194
|
+
} | undefined;
|
|
4195
|
+
readonly group?: string | undefined;
|
|
4196
|
+
readonly conditionalRequired?: string | undefined;
|
|
4197
|
+
readonly hidden?: boolean | undefined;
|
|
4198
|
+
readonly sortable?: boolean | undefined;
|
|
4199
|
+
readonly inlineHelpText?: string | undefined;
|
|
4200
|
+
readonly trackFeedHistory?: boolean | undefined;
|
|
4201
|
+
readonly caseSensitive?: boolean | undefined;
|
|
4202
|
+
readonly autonumberFormat?: string | undefined;
|
|
4203
|
+
readonly index?: boolean | undefined;
|
|
4204
|
+
readonly externalId?: boolean | undefined;
|
|
4205
|
+
readonly type: "datetime";
|
|
4206
|
+
};
|
|
4207
|
+
};
|
|
4208
|
+
readonly indexes: [{
|
|
4209
|
+
readonly fields: ["type", "name"];
|
|
4210
|
+
readonly unique: true;
|
|
4211
|
+
}, {
|
|
4212
|
+
readonly fields: ["type", "scope"];
|
|
4213
|
+
}, {
|
|
4214
|
+
readonly fields: ["tenant_id"];
|
|
4215
|
+
}, {
|
|
4216
|
+
readonly fields: ["state"];
|
|
4217
|
+
}, {
|
|
4218
|
+
readonly fields: ["namespace"];
|
|
4219
|
+
}];
|
|
4220
|
+
readonly enable: {
|
|
4221
|
+
readonly trackHistory: true;
|
|
4222
|
+
readonly searchable: false;
|
|
4223
|
+
readonly apiEnabled: true;
|
|
4224
|
+
readonly apiMethods: ["get", "list", "create", "update", "delete"];
|
|
4225
|
+
readonly trash: false;
|
|
4226
|
+
};
|
|
4227
|
+
}, "fields">;
|
|
805
4228
|
|
|
806
4229
|
/**
|
|
807
4230
|
* JSON Metadata Serializer
|