@resistdesign/voltra 3.0.0-alpha.4 → 3.0.0-alpha.40
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/README.md +379 -14
- package/api/DBX/DBXAsserts.d.ts +95 -0
- package/api/DBX/DBXRequest.d.ts +5 -0
- package/api/DBX/DBXRuntime.d.ts +5 -0
- package/api/DBX/DBXScenarioConfig.d.ts +9 -0
- package/api/DBX/DBXSeed.d.ts +124 -0
- package/api/DBX/DBXTypes.d.ts +176 -0
- package/api/DBX/index.d.ts +8 -0
- package/api/DataAccessControl.d.ts +220 -0
- package/api/Indexing/API.d.ts +224 -0
- package/api/Indexing/Cursor.d.ts +101 -0
- package/api/Indexing/Handler/Config.d.ts +39 -0
- package/api/Indexing/Handler.d.ts +166 -0
- package/api/Indexing/Trace.d.ts +54 -0
- package/api/Indexing/Types.d.ts +204 -0
- package/api/Indexing/ddb/AwsSdkV3Adapter.d.ts +8 -0
- package/api/Indexing/ddb/Types.d.ts +209 -0
- package/api/Indexing/docId.d.ts +27 -0
- package/api/Indexing/exact/ExactDdb.d.ts +58 -0
- package/api/Indexing/exact/ExactIndex.d.ts +90 -0
- package/api/Indexing/exact/ExactS3.d.ts +41 -0
- package/api/Indexing/fieldQualification.d.ts +12 -0
- package/api/Indexing/fulltext/FullTextDdbBackend.d.ts +212 -0
- package/api/Indexing/fulltext/FullTextMemoryBackend.d.ts +93 -0
- package/api/Indexing/fulltext/Schema.d.ts +164 -0
- package/api/Indexing/hashUniversal.d.ts +13 -0
- package/api/Indexing/index.d.ts +45 -0
- package/api/Indexing/lossy/LossyDdb.d.ts +43 -0
- package/api/Indexing/lossy/LossyIndex.d.ts +72 -0
- package/api/Indexing/lossy/LossyS3.d.ts +40 -0
- package/api/Indexing/rel/Cursor.d.ts +25 -0
- package/api/Indexing/rel/Handlers.d.ts +144 -0
- package/api/Indexing/rel/RelationalDdb.d.ts +169 -0
- package/api/Indexing/rel/RelationalInMemoryBackend.d.ts +38 -0
- package/api/Indexing/rel/Types.d.ts +69 -0
- package/api/Indexing/structured/Cursor.d.ts +26 -0
- package/api/Indexing/structured/Handlers.d.ts +128 -0
- package/api/Indexing/structured/SearchStructured.d.ts +44 -0
- package/api/Indexing/structured/StructuredDdb.d.ts +184 -0
- package/api/Indexing/structured/StructuredDdbBackend.d.ts +112 -0
- package/api/Indexing/structured/StructuredInMemoryBackend.d.ts +40 -0
- package/api/Indexing/structured/StructuredInMemoryIndex.d.ts +61 -0
- package/api/Indexing/structured/StructuredStringLike.d.ts +54 -0
- package/api/Indexing/structured/StructuredWriter.d.ts +74 -0
- package/api/Indexing/structured/Types.d.ts +126 -0
- package/api/Indexing/structured/index.d.ts +9 -0
- package/api/Indexing/tokenize.d.ts +31 -0
- package/api/ORM/DACUtils.d.ts +270 -0
- package/api/ORM/ListItemUtils.d.ts +40 -0
- package/api/ORM/ORMRouteMap.d.ts +55 -0
- package/api/ORM/TypeInfoORMService.d.ts +740 -0
- package/api/ORM/drivers/DynamoDBDataItemDBDriver/ConfigTypes.d.ts +229 -0
- package/api/ORM/drivers/DynamoDBDataItemDBDriver.d.ts +89 -0
- package/api/ORM/drivers/InMemoryDataItemDBDriver/ConfigTypes.d.ts +4 -0
- package/api/ORM/drivers/InMemoryDataItemDBDriver.d.ts +55 -0
- package/api/ORM/drivers/InMemoryFileItemDBDriver/ConfigTypes.d.ts +13 -0
- package/api/ORM/drivers/InMemoryFileItemDBDriver.d.ts +98 -0
- package/api/ORM/drivers/InMemoryItemRelationshipDBDriver.d.ts +16 -0
- package/api/ORM/drivers/IndexingRelationshipDriver.d.ts +123 -0
- package/api/ORM/drivers/S3FileItemDBDriver/ConfigTypes.d.ts +322 -0
- package/api/ORM/drivers/S3FileItemDBDriver/S3FileDriver.d.ts +118 -0
- package/api/ORM/drivers/S3FileItemDBDriver.d.ts +71 -0
- package/api/ORM/drivers/common/SupportedTypeInfoORMDBDrivers.d.ts +36 -0
- package/api/ORM/drivers/common/Types.d.ts +197 -0
- package/api/ORM/drivers/common/index.d.ts +2 -0
- package/api/ORM/drivers/index.d.ts +8 -0
- package/api/ORM/index.d.ts +9 -0
- package/api/ORM/indexing/criteriaToStructuredWhere.d.ts +22 -0
- package/api/Router/AWS.d.ts +80 -0
- package/api/Router/Auth.d.ts +14 -0
- package/api/Router/CORS.d.ts +66 -0
- package/api/Router/Types.d.ts +138 -0
- package/api/Router/index.d.ts +89 -0
- package/api/index.d.ts +72 -6
- package/api/index.js +3291 -1954
- package/app/forms/Engine.d.ts +23 -0
- package/app/forms/UI.d.ts +83 -0
- package/app/forms/core/createAutoField.d.ts +43 -0
- package/app/forms/core/createFormRenderer.d.ts +25 -0
- package/app/forms/core/getFieldKind.d.ts +14 -0
- package/app/forms/core/index.d.ts +11 -0
- package/app/forms/core/mergeSuites.d.ts +23 -0
- package/app/forms/core/resolveSuite.d.ts +15 -0
- package/app/forms/core/types.d.ts +180 -0
- package/app/forms/index.d.ts +9 -0
- package/app/forms/types.d.ts +137 -0
- package/app/helpers/styled.d.ts +3 -0
- package/app/index.d.ts +102 -5
- package/app/index.js +98 -327
- package/app/utils/ApplicationState.d.ts +167 -0
- package/app/utils/ApplicationStateLoader.d.ts +86 -0
- package/app/utils/Controller.d.ts +10 -0
- package/app/utils/Debug.d.ts +14 -0
- package/app/utils/EasyLayout.d.ts +89 -0
- package/app/utils/History.d.ts +165 -0
- package/app/utils/Route.d.ts +173 -0
- package/app/utils/RouteHistory.d.ts +27 -0
- package/app/utils/Service.d.ts +45 -0
- package/app/utils/TypeInfoORMAPIUtils.d.ts +94 -0
- package/app/utils/TypeInfoORMClient.d.ts +103 -0
- package/app/utils/UniversalRouteAdapter.d.ts +73 -0
- package/app/utils/easy-layout/computeAreaBounds.d.ts +5 -0
- package/app/utils/easy-layout/computeTracks.d.ts +16 -0
- package/app/utils/easy-layout/index.d.ts +5 -0
- package/app/utils/easy-layout/parseTemplate.d.ts +12 -0
- package/app/utils/easy-layout/types.d.ts +52 -0
- package/app/utils/easy-layout/validateAreas.d.ts +5 -0
- package/app/utils/index.d.ts +24 -0
- package/build/TypeMapping.d.ts +17 -0
- package/build/TypeParsing.d.ts +10 -0
- package/build/index.d.ts +15 -0
- package/build/index.js +569 -0
- package/chunk-2MOLWZMQ.js +71 -0
- package/chunk-7AMEFPPP.js +78 -0
- package/chunk-ATO2455Q.js +258 -0
- package/chunk-DT6WWJUI.js +1185 -0
- package/chunk-I2KLQ2HA.js +19 -0
- package/chunk-TJFTWPXQ.js +39 -0
- package/chunk-WNFRDIBW.js +121 -0
- package/chunk-YCTVEW2I.js +546 -0
- package/common/CommandLine/collectRequiredEnvironmentVariables.d.ts +9 -0
- package/common/CommandLine/index.d.ts +6 -0
- package/common/HelperTypes.d.ts +9 -0
- package/common/IdGeneration/getSimpleId.d.ts +8 -0
- package/common/IdGeneration/index.d.ts +1 -0
- package/common/ItemRelationshipInfoTypes.d.ts +64 -0
- package/common/ItemRelationships/ItemRelationshipValidation.d.ts +21 -0
- package/common/ItemRelationships/index.d.ts +2 -0
- package/common/Logging/Utils.d.ts +10 -0
- package/common/Logging/index.d.ts +1 -0
- package/common/Routing.d.ts +81 -0
- package/common/SearchTypes.d.ts +227 -0
- package/common/SearchUtils.d.ts +55 -0
- package/common/SearchValidation.d.ts +27 -0
- package/common/StringTransformers.d.ts +28 -0
- package/common/Testing/CLI.d.ts +6 -0
- package/common/Testing/Types.d.ts +216 -0
- package/common/Testing/Utils.d.ts +112 -0
- package/common/Testing/index.d.ts +8 -0
- package/common/TypeInfoDataItemUtils.d.ts +39 -0
- package/{Types-C7XjUjoF.d.ts → common/TypeInfoORM/Types.d.ts} +117 -15
- package/common/TypeInfoORM/index.d.ts +3 -0
- package/common/TypeParsing/Constants.d.ts +4 -0
- package/common/TypeParsing/ParsingUtils/Constants.d.ts +8 -0
- package/common/TypeParsing/ParsingUtils/checkType.d.ts +14 -0
- package/common/TypeParsing/ParsingUtils/checkUnionType.d.ts +12 -0
- package/common/TypeParsing/ParsingUtils/extractCommentTags.d.ts +8 -0
- package/common/TypeParsing/ParsingUtils/extractLiteralValues.d.ts +12 -0
- package/common/TypeParsing/ParsingUtils/extractTypeDetails.d.ts +14 -0
- package/common/TypeParsing/ParsingUtils/getPrimaryFieldForTypeInfo.d.ts +18 -0
- package/common/TypeParsing/ParsingUtils/getTypeInfo.d.ts +9 -0
- package/common/TypeParsing/ParsingUtils/getTypeInfoField.d.ts +9 -0
- package/common/TypeParsing/ParsingUtils/getTypeInfoFromAliasType.d.ts +11 -0
- package/common/TypeParsing/ParsingUtils/getTypeInfoFromFieldFilter.d.ts +12 -0
- package/common/TypeParsing/ParsingUtils/getTypeInfoFromTypeAlias.d.ts +11 -0
- package/common/TypeParsing/ParsingUtils/getTypeKeyword.d.ts +9 -0
- package/common/TypeParsing/ParsingUtils/getUnionOrIntersectionTypeInfo.d.ts +11 -0
- package/common/TypeParsing/ParsingUtils/getUnionOrLiteralStringValues.d.ts +8 -0
- package/common/TypeParsing/TypeInfo.d.ts +222 -0
- package/common/TypeParsing/Utils.d.ts +47 -0
- package/common/TypeParsing/Validation.d.ts +327 -0
- package/common/TypeParsing/index.d.ts +8 -0
- package/common/index.d.ts +40 -4
- package/common/index.js +25 -1737
- package/{index-BkFZlfit.d.ts → iac/SimpleCFT.d.ts} +5 -25
- package/iac/index.d.ts +40 -2
- package/iac/index.js +2 -1661
- package/iac/packs/auth.d.ts +131 -0
- package/iac/packs/build/utils.d.ts +289 -0
- package/iac/packs/build.d.ts +92 -0
- package/iac/packs/cdn.d.ts +33 -0
- package/iac/packs/cloud-function.d.ts +67 -0
- package/iac/packs/database.d.ts +32 -0
- package/iac/packs/dns.d.ts +34 -0
- package/iac/packs/file-storage.d.ts +46 -0
- package/iac/packs/gateway.d.ts +82 -0
- package/iac/packs/index.d.ts +60 -1
- package/iac/packs/index.js +311 -566
- package/iac/packs/repo.d.ts +28 -0
- package/iac/packs/ssl-certificate.d.ts +28 -0
- package/iac/types/Constants.d.ts +24 -0
- package/{index-DcvJOZ_c.d.ts → iac/types/IaCTypes.d.ts} +23 -1018
- package/iac/types/Renderers.d.ts +96 -0
- package/iac/types/Types.d.ts +131 -0
- package/iac/types/Utils.d.ts +9 -0
- package/iac/types/generate.d.ts +1 -0
- package/iac/utils/index.d.ts +87 -0
- package/iac/utils/patch-utils.d.ts +66 -0
- package/iac-packs/index.d.ts +6 -0
- package/native/forms/UI.d.ts +73 -0
- package/native/forms/createNativeFormRenderer.d.ts +21 -0
- package/native/forms/index.d.ts +25 -0
- package/native/forms/primitives/index.d.ts +38 -0
- package/native/forms/suite.d.ts +15 -0
- package/native/index.d.ts +19 -0
- package/native/index.js +748 -0
- package/native/testing/react-native.d.ts +46 -0
- package/native/utils/EasyLayout.d.ts +88 -0
- package/native/utils/History.d.ts +102 -0
- package/native/utils/Route.d.ts +80 -0
- package/native/utils/index.d.ts +20 -0
- package/package.json +54 -21
- package/web/forms/UI.d.ts +74 -0
- package/web/forms/createWebFormRenderer.d.ts +21 -0
- package/web/forms/index.d.ts +9 -0
- package/web/forms/primitives/index.d.ts +21 -0
- package/web/forms/suite.d.ts +15 -0
- package/web/index.d.ts +15 -0
- package/web/index.js +668 -0
- package/web/utils/EasyLayout.d.ts +47 -0
- package/web/utils/Route.d.ts +16 -0
- package/web/utils/index.d.ts +7 -0
- package/SearchTypes-DjN6YQzE.d.ts +0 -577
- package/Validation-CFP59oIP.d.ts +0 -226
- package/index-C3-iD9Mh.d.ts +0 -690
- package/index-DZ2BB4iX.d.ts +0 -5357
- package/index-IokxSNxm.d.ts +0 -745
- package/index.d.ts +0 -13
- package/index.js +0 -10973
package/Validation-CFP59oIP.d.ts
DELETED
|
@@ -1,226 +0,0 @@
|
|
|
1
|
-
import { d as TypeKeyword, c as TypeOperation, e as TypeInfoField, f as TypeInfoMap, g as TypeInfo } from './SearchTypes-DjN6YQzE.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @packageDocumentation
|
|
5
|
-
*
|
|
6
|
-
* Validation helpers for TypeInfo values, including relationship rules and
|
|
7
|
-
* custom type validators.
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Relationship validation behavior for TypeInfo checks.
|
|
12
|
-
*/
|
|
13
|
-
declare enum RelationshipValidationType {
|
|
14
|
-
/**
|
|
15
|
-
* Include relationship values in validation.
|
|
16
|
-
*/
|
|
17
|
-
INCLUDE = "INCLUDE",
|
|
18
|
-
/**
|
|
19
|
-
* Exclude relationship values from validation.
|
|
20
|
-
*/
|
|
21
|
-
EXCLUDE = "EXCLUDE",
|
|
22
|
-
/**
|
|
23
|
-
* Disallow relationship values entirely.
|
|
24
|
-
*/
|
|
25
|
-
STRICT_EXCLUDE = "STRICT_EXCLUDE"
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* A custom type info field validator.
|
|
29
|
-
* */
|
|
30
|
-
type CustomTypeInfoFieldValidator = (value: any) => boolean;
|
|
31
|
-
/**
|
|
32
|
-
* A map of custom type info field validators.
|
|
33
|
-
* */
|
|
34
|
-
type CustomTypeInfoFieldValidatorMap = Record<string, CustomTypeInfoFieldValidator>;
|
|
35
|
-
/**
|
|
36
|
-
* A map of errors.
|
|
37
|
-
* */
|
|
38
|
-
type ErrorMap = {
|
|
39
|
-
[key: string]: string[];
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* The validation results for type info fields.
|
|
43
|
-
*/
|
|
44
|
-
type TypeInfoValidationResults = {
|
|
45
|
-
/**
|
|
46
|
-
* Type name being validated.
|
|
47
|
-
*/
|
|
48
|
-
typeName: string | null;
|
|
49
|
-
/**
|
|
50
|
-
* Whether the validation passed.
|
|
51
|
-
*/
|
|
52
|
-
valid: boolean;
|
|
53
|
-
/**
|
|
54
|
-
* Primary error code when validation fails.
|
|
55
|
-
*/
|
|
56
|
-
error: string;
|
|
57
|
-
/**
|
|
58
|
-
* Field-level error mapping.
|
|
59
|
-
*/
|
|
60
|
-
errorMap: ErrorMap;
|
|
61
|
-
};
|
|
62
|
-
/**
|
|
63
|
-
* Error code for custom type validation failures.
|
|
64
|
-
*/
|
|
65
|
-
declare const INVALID_CUSTOM_TYPE = "INVALID_CUSTOM_TYPE";
|
|
66
|
-
/**
|
|
67
|
-
* Error codes for primitive type validation failures.
|
|
68
|
-
*/
|
|
69
|
-
declare const PRIMITIVE_ERROR_MESSAGE_CONSTANTS: Record<TypeKeyword, string>;
|
|
70
|
-
/**
|
|
71
|
-
* Error codes for TypeInfo validation failures.
|
|
72
|
-
*/
|
|
73
|
-
declare const ERROR_MESSAGE_CONSTANTS: {
|
|
74
|
-
MISSING: string;
|
|
75
|
-
INVALID_OPTION: string;
|
|
76
|
-
INVALID_FIELD: string;
|
|
77
|
-
RELATIONSHIP_VALUES_ARE_STRICTLY_EXCLUDED: string;
|
|
78
|
-
INVALID_TYPE: string;
|
|
79
|
-
NO_UNION_TYPE_MATCHED: string;
|
|
80
|
-
TYPE_DOES_NOT_EXIST: string;
|
|
81
|
-
INVALID_PATTERN: string;
|
|
82
|
-
VALUE_DOES_NOT_MATCH_PATTERN: string;
|
|
83
|
-
};
|
|
84
|
-
/**
|
|
85
|
-
* Error codes for denied type operations.
|
|
86
|
-
*/
|
|
87
|
-
declare const DENIED_TYPE_OPERATIONS: Record<TypeOperation, string>;
|
|
88
|
-
/**
|
|
89
|
-
* Validates a value against a pattern.
|
|
90
|
-
*
|
|
91
|
-
* `value` must be a string or not supplied.
|
|
92
|
-
* `pattern` must be a string or not supplied.
|
|
93
|
-
*
|
|
94
|
-
* If either are not supplied, the result is valid.
|
|
95
|
-
*
|
|
96
|
-
* @param typeName - Type name for the validation context.
|
|
97
|
-
* @param value - Value to validate.
|
|
98
|
-
* @param pattern - Regex pattern to validate against.
|
|
99
|
-
* @returns Validation results for the pattern.
|
|
100
|
-
* */
|
|
101
|
-
declare const validateValueMatchesPattern: (typeName: string, value?: any, pattern?: string) => TypeInfoValidationResults;
|
|
102
|
-
/**
|
|
103
|
-
* Gets the validity value.
|
|
104
|
-
*
|
|
105
|
-
* @param existing - Current validity value.
|
|
106
|
-
* @param pending - New validity value.
|
|
107
|
-
* @returns Updated validity value.
|
|
108
|
-
*/
|
|
109
|
-
declare const getValidityValue: (existing: boolean, pending: boolean) => boolean;
|
|
110
|
-
/**
|
|
111
|
-
* The validators for primitive values.
|
|
112
|
-
*/
|
|
113
|
-
declare const TYPE_KEYWORD_VALIDATORS: Record<TypeKeyword, (value: any) => boolean>;
|
|
114
|
-
/**
|
|
115
|
-
* Checks if a value has a value.
|
|
116
|
-
*
|
|
117
|
-
* @param value - Value to check.
|
|
118
|
-
* @returns Whether the value is present.
|
|
119
|
-
*/
|
|
120
|
-
declare const hasValue: (value: any) => boolean;
|
|
121
|
-
/**
|
|
122
|
-
* Validates a primitive value.
|
|
123
|
-
*
|
|
124
|
-
* @param value - Value to validate.
|
|
125
|
-
* @param type - Primitive type keyword.
|
|
126
|
-
* @returns Whether the value matches the type.
|
|
127
|
-
*/
|
|
128
|
-
declare const validateKeywordType: (value: any, type: string) => boolean;
|
|
129
|
-
/**
|
|
130
|
-
* Validates a custom type.
|
|
131
|
-
*
|
|
132
|
-
* @param value - Value to validate.
|
|
133
|
-
* @param customType - Custom type name.
|
|
134
|
-
* @param customValidators - Custom validators map.
|
|
135
|
-
* @returns Whether the value passes custom validation.
|
|
136
|
-
*/
|
|
137
|
-
declare const validateCustomType: (value: any, customType?: string, customValidators?: CustomTypeInfoFieldValidatorMap) => boolean;
|
|
138
|
-
/**
|
|
139
|
-
* Validates a type info field value.
|
|
140
|
-
*
|
|
141
|
-
* @param value - Value to validate.
|
|
142
|
-
* @param typeInfoField - Field metadata.
|
|
143
|
-
* @param typeInfoMap - Type info map for referenced types.
|
|
144
|
-
* @param ignoreArray - Whether to ignore array validation.
|
|
145
|
-
* @param strict - Whether to validate unknown fields and unions strictly.
|
|
146
|
-
* @param customValidators - Custom validators map.
|
|
147
|
-
* @param typeOperation - Operation being validated.
|
|
148
|
-
* @param relationshipValidationType - Relationship validation behavior.
|
|
149
|
-
* @param itemIsPartial - Whether the item is partial.
|
|
150
|
-
* @returns Validation results for the field.
|
|
151
|
-
*/
|
|
152
|
-
declare const validateTypeInfoFieldValue: (value: any, typeInfoField: TypeInfoField, typeInfoMap: TypeInfoMap, ignoreArray?: boolean, strict?: boolean, customValidators?: CustomTypeInfoFieldValidatorMap, typeOperation?: TypeOperation, relationshipValidationType?: RelationshipValidationType, itemIsPartial?: boolean) => TypeInfoValidationResults;
|
|
153
|
-
/**
|
|
154
|
-
* Validates an array of type info field values.
|
|
155
|
-
*
|
|
156
|
-
* @param values - Values to validate.
|
|
157
|
-
* @param typeInfoField - Field metadata.
|
|
158
|
-
* @param typeInfoMap - Type info map for referenced types.
|
|
159
|
-
* @param strict - Whether to validate unknown fields and unions strictly.
|
|
160
|
-
* @param customValidators - Custom validators map.
|
|
161
|
-
* @param typeOperation - Operation being validated.
|
|
162
|
-
* @param relationshipValidationType - Relationship validation behavior.
|
|
163
|
-
* @param itemIsPartial - Whether the item is partial.
|
|
164
|
-
* @returns Validation results for the array.
|
|
165
|
-
*/
|
|
166
|
-
declare const validateArrayOfTypeInfoFieldValues: (values: any[] | undefined, typeInfoField: TypeInfoField, typeInfoMap: TypeInfoMap, strict?: boolean, customValidators?: CustomTypeInfoFieldValidatorMap, typeOperation?: TypeOperation, relationshipValidationType?: RelationshipValidationType, itemIsPartial?: boolean) => TypeInfoValidationResults;
|
|
167
|
-
/**
|
|
168
|
-
* Validates a type info field operation.
|
|
169
|
-
*
|
|
170
|
-
* @param fieldName - Field name to validate.
|
|
171
|
-
* @param fieldOperation - Operation to validate.
|
|
172
|
-
* @param typeInfoField - Field metadata.
|
|
173
|
-
* @returns Validation results for the field operation.
|
|
174
|
-
* */
|
|
175
|
-
declare const validateTypeInfoFieldOperationAllowed: (fieldName: string, fieldOperation?: TypeOperation, typeInfoField?: TypeInfoField) => TypeInfoValidationResults;
|
|
176
|
-
/**
|
|
177
|
-
* Validates a type info operation.
|
|
178
|
-
*
|
|
179
|
-
* @param typeName - Type name to validate.
|
|
180
|
-
* @param valueFields - Fields included in the operation.
|
|
181
|
-
* @param typeOperation - Operation to validate.
|
|
182
|
-
* @param typeInfo - Type info metadata.
|
|
183
|
-
* @returns Validation results for the type operation.
|
|
184
|
-
* */
|
|
185
|
-
declare const validateTypeOperationAllowed: (typeName: string, valueFields: string[], typeOperation: TypeOperation, typeInfo: TypeInfo) => TypeInfoValidationResults;
|
|
186
|
-
/**
|
|
187
|
-
* Validates a type info value.
|
|
188
|
-
*
|
|
189
|
-
* @param value - Value to validate.
|
|
190
|
-
* @param typeInfoFullName - Fully qualified type name.
|
|
191
|
-
* @param typeInfoMap - Type info map for referenced types.
|
|
192
|
-
* @param strict - Whether to validate unknown fields and unions strictly.
|
|
193
|
-
* @param customValidators - Custom validators map.
|
|
194
|
-
* @param typeOperation - Operation being validated.
|
|
195
|
-
* @param relationshipValidationType - Relationship validation behavior.
|
|
196
|
-
* @param itemIsPartial - Whether the item is partial.
|
|
197
|
-
* @returns Validation results for the value.
|
|
198
|
-
*/
|
|
199
|
-
declare const validateTypeInfoValue: (value: any, typeInfoFullName: string, typeInfoMap: TypeInfoMap, strict?: boolean, customValidators?: CustomTypeInfoFieldValidatorMap, typeOperation?: TypeOperation, relationshipValidationType?: RelationshipValidationType, itemIsPartial?: boolean) => TypeInfoValidationResults;
|
|
200
|
-
|
|
201
|
-
type Validation_CustomTypeInfoFieldValidator = CustomTypeInfoFieldValidator;
|
|
202
|
-
type Validation_CustomTypeInfoFieldValidatorMap = CustomTypeInfoFieldValidatorMap;
|
|
203
|
-
declare const Validation_DENIED_TYPE_OPERATIONS: typeof DENIED_TYPE_OPERATIONS;
|
|
204
|
-
declare const Validation_ERROR_MESSAGE_CONSTANTS: typeof ERROR_MESSAGE_CONSTANTS;
|
|
205
|
-
type Validation_ErrorMap = ErrorMap;
|
|
206
|
-
declare const Validation_INVALID_CUSTOM_TYPE: typeof INVALID_CUSTOM_TYPE;
|
|
207
|
-
declare const Validation_PRIMITIVE_ERROR_MESSAGE_CONSTANTS: typeof PRIMITIVE_ERROR_MESSAGE_CONSTANTS;
|
|
208
|
-
type Validation_RelationshipValidationType = RelationshipValidationType;
|
|
209
|
-
declare const Validation_RelationshipValidationType: typeof RelationshipValidationType;
|
|
210
|
-
declare const Validation_TYPE_KEYWORD_VALIDATORS: typeof TYPE_KEYWORD_VALIDATORS;
|
|
211
|
-
type Validation_TypeInfoValidationResults = TypeInfoValidationResults;
|
|
212
|
-
declare const Validation_getValidityValue: typeof getValidityValue;
|
|
213
|
-
declare const Validation_hasValue: typeof hasValue;
|
|
214
|
-
declare const Validation_validateArrayOfTypeInfoFieldValues: typeof validateArrayOfTypeInfoFieldValues;
|
|
215
|
-
declare const Validation_validateCustomType: typeof validateCustomType;
|
|
216
|
-
declare const Validation_validateKeywordType: typeof validateKeywordType;
|
|
217
|
-
declare const Validation_validateTypeInfoFieldOperationAllowed: typeof validateTypeInfoFieldOperationAllowed;
|
|
218
|
-
declare const Validation_validateTypeInfoFieldValue: typeof validateTypeInfoFieldValue;
|
|
219
|
-
declare const Validation_validateTypeInfoValue: typeof validateTypeInfoValue;
|
|
220
|
-
declare const Validation_validateTypeOperationAllowed: typeof validateTypeOperationAllowed;
|
|
221
|
-
declare const Validation_validateValueMatchesPattern: typeof validateValueMatchesPattern;
|
|
222
|
-
declare namespace Validation {
|
|
223
|
-
export { type Validation_CustomTypeInfoFieldValidator as CustomTypeInfoFieldValidator, type Validation_CustomTypeInfoFieldValidatorMap as CustomTypeInfoFieldValidatorMap, Validation_DENIED_TYPE_OPERATIONS as DENIED_TYPE_OPERATIONS, Validation_ERROR_MESSAGE_CONSTANTS as ERROR_MESSAGE_CONSTANTS, type Validation_ErrorMap as ErrorMap, Validation_INVALID_CUSTOM_TYPE as INVALID_CUSTOM_TYPE, Validation_PRIMITIVE_ERROR_MESSAGE_CONSTANTS as PRIMITIVE_ERROR_MESSAGE_CONSTANTS, Validation_RelationshipValidationType as RelationshipValidationType, Validation_TYPE_KEYWORD_VALIDATORS as TYPE_KEYWORD_VALIDATORS, type Validation_TypeInfoValidationResults as TypeInfoValidationResults, Validation_getValidityValue as getValidityValue, Validation_hasValue as hasValue, Validation_validateArrayOfTypeInfoFieldValues as validateArrayOfTypeInfoFieldValues, Validation_validateCustomType as validateCustomType, Validation_validateKeywordType as validateKeywordType, Validation_validateTypeInfoFieldOperationAllowed as validateTypeInfoFieldOperationAllowed, Validation_validateTypeInfoFieldValue as validateTypeInfoFieldValue, Validation_validateTypeInfoValue as validateTypeInfoValue, Validation_validateTypeOperationAllowed as validateTypeOperationAllowed, Validation_validateValueMatchesPattern as validateValueMatchesPattern };
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
export { type CustomTypeInfoFieldValidatorMap as C, type TypeInfoValidationResults as T, Validation as V };
|