@resistdesign/voltra 3.0.0-alpha.49 → 3.0.0-alpha.50
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/api/index.js +1 -22
- package/app/index.js +1 -1
- package/{chunk-RUNXRISF.js → chunk-XHOMAXLR.js} +0 -1
- package/common/TypeInfoORM/Types.d.ts +0 -4
- package/common/index.js +1 -1
- package/package.json +1 -1
package/api/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TypeInfoORMUpdateOperators, ITEM_RELATIONSHIP_DAC_RESOURCE_NAME, ComparisonOperators } from '../chunk-
|
|
1
|
+
import { TypeInfoORMUpdateOperators, ITEM_RELATIONSHIP_DAC_RESOURCE_NAME, ComparisonOperators } from '../chunk-XHOMAXLR.js';
|
|
2
2
|
import { getNoErrorDescriptor, getErrorDescriptor, ERROR_MESSAGE_CONSTANTS, validateTypeOperationAllowed, getValidityValue, validateTypeInfoValue, validateTypeInfoFieldValue } from '../chunk-3HVYVX3S.js';
|
|
3
3
|
import { mergeStringPaths, getPathString, getPathArray } from '../chunk-2JDOM6PB.js';
|
|
4
4
|
import '../chunk-I2KLQ2HA.js';
|
|
@@ -7929,13 +7929,6 @@ var TypeInfoORMService = class {
|
|
|
7929
7929
|
const { primaryField } = this.getTypeInfo(typeName);
|
|
7930
7930
|
for (const indexField of indexFields) {
|
|
7931
7931
|
const qualifiedIndexField = qualifyIndexField(typeName, indexField);
|
|
7932
|
-
if (!(indexField in item)) {
|
|
7933
|
-
throw {
|
|
7934
|
-
message: "INDEXING_MISSING_INDEX_FIELD" /* INDEXING_MISSING_INDEX_FIELD */,
|
|
7935
|
-
typeName,
|
|
7936
|
-
indexField
|
|
7937
|
-
};
|
|
7938
|
-
}
|
|
7939
7932
|
await indexDocument({
|
|
7940
7933
|
backend: fullText.backend,
|
|
7941
7934
|
document: item,
|
|
@@ -7960,13 +7953,6 @@ var TypeInfoORMService = class {
|
|
|
7960
7953
|
const { primaryField } = this.getTypeInfo(typeName);
|
|
7961
7954
|
for (const indexField of indexFields) {
|
|
7962
7955
|
const qualifiedIndexField = qualifyIndexField(typeName, indexField);
|
|
7963
|
-
if (!(indexField in item)) {
|
|
7964
|
-
throw {
|
|
7965
|
-
message: "INDEXING_MISSING_INDEX_FIELD" /* INDEXING_MISSING_INDEX_FIELD */,
|
|
7966
|
-
typeName,
|
|
7967
|
-
indexField
|
|
7968
|
-
};
|
|
7969
|
-
}
|
|
7970
7956
|
await removeDocument({
|
|
7971
7957
|
backend: fullText.backend,
|
|
7972
7958
|
document: item,
|
|
@@ -7991,13 +7977,6 @@ var TypeInfoORMService = class {
|
|
|
7991
7977
|
const { primaryField } = this.getTypeInfo(typeName);
|
|
7992
7978
|
for (const indexField of indexFields) {
|
|
7993
7979
|
const qualifiedIndexField = qualifyIndexField(typeName, indexField);
|
|
7994
|
-
if (!(indexField in previousItem)) {
|
|
7995
|
-
throw {
|
|
7996
|
-
message: "INDEXING_MISSING_INDEX_FIELD" /* INDEXING_MISSING_INDEX_FIELD */,
|
|
7997
|
-
typeName,
|
|
7998
|
-
indexField
|
|
7999
|
-
};
|
|
8000
|
-
}
|
|
8001
7980
|
await replaceFullTextDocument({
|
|
8002
7981
|
backend: fullText.backend,
|
|
8003
7982
|
previousDocument: previousItem,
|
package/app/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { createEasyLayout, getEasyLayoutTemplateDetails, getPascalCaseAreaName } from '../chunk-BSHQIRBV.js';
|
|
2
2
|
export { computeTrackPixels } from '../chunk-TJFTWPXQ.js';
|
|
3
3
|
export { AutoForm, AutoFormView, Route, RouteContext, RouteContextConsumer, RouteContextProvider, RouteProvider, buildHistoryPath, buildQueryString, buildRoutePath, canUseBrowserHistory, computeAreaBounds, createAutoField, createBrowserRouteAdapter, createFormRenderer, createHistoryBackHandler, createManualRouteAdapter, createMemoryHistory, createNativeRouteAdapter, createRouteAdapterFromHistory, createUniversalAdapter, defaultTranslateValidationErrorCode, getFieldKind, parseHistoryPath, parseTemplate, resolveSuite, useFormEngine, useRouteContext, validateAreas, wrapRouteAdapterWithPathResolver } from '../chunk-K4R2PFNG.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-XHOMAXLR.js';
|
|
5
5
|
import '../chunk-3HVYVX3S.js';
|
|
6
6
|
import { mergeStringPaths, PATH_DELIMITER } from '../chunk-2JDOM6PB.js';
|
|
7
7
|
import '../chunk-I2KLQ2HA.js';
|
|
@@ -58,7 +58,6 @@ var TypeInfoORMServiceError = /* @__PURE__ */ ((TypeInfoORMServiceError2) => {
|
|
|
58
58
|
TypeInfoORMServiceError2["MISSING_ACCESSING_ROLE"] = "MISSING_ACCESSING_ROLE";
|
|
59
59
|
TypeInfoORMServiceError2["INDEXING_UNSUPPORTED_CRITERIA"] = "INDEXING_UNSUPPORTED_CRITERIA";
|
|
60
60
|
TypeInfoORMServiceError2["INDEXING_UNSUPPORTED_COMBINATION"] = "INDEXING_UNSUPPORTED_COMBINATION";
|
|
61
|
-
TypeInfoORMServiceError2["INDEXING_MISSING_INDEX_FIELD"] = "INDEXING_MISSING_INDEX_FIELD";
|
|
62
61
|
TypeInfoORMServiceError2["INDEXING_MISSING_BACKEND"] = "INDEXING_MISSING_BACKEND";
|
|
63
62
|
TypeInfoORMServiceError2["INDEXING_REQUIRES_CRITERIA"] = "INDEXING_REQUIRES_CRITERIA";
|
|
64
63
|
return TypeInfoORMServiceError2;
|
|
@@ -107,10 +107,6 @@ export declare enum TypeInfoORMServiceError {
|
|
|
107
107
|
* Indexing criteria combination is not supported.
|
|
108
108
|
* */
|
|
109
109
|
INDEXING_UNSUPPORTED_COMBINATION = "INDEXING_UNSUPPORTED_COMBINATION",
|
|
110
|
-
/**
|
|
111
|
-
* Required index field is missing.
|
|
112
|
-
* */
|
|
113
|
-
INDEXING_MISSING_INDEX_FIELD = "INDEXING_MISSING_INDEX_FIELD",
|
|
114
110
|
/**
|
|
115
111
|
* Indexing backend dependency is missing.
|
|
116
112
|
* */
|
package/common/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ComparisonOperators, ITEM_RELATIONSHIP_DAC_RESOURCE_NAME, LogicalOperators, OperationGroup, RelationshipOperation, TypeInfoORMAPIRoutePaths, TypeInfoORMServiceError, TypeInfoORMUpdateOperators } from '../chunk-
|
|
1
|
+
export { ComparisonOperators, ITEM_RELATIONSHIP_DAC_RESOURCE_NAME, LogicalOperators, OperationGroup, RelationshipOperation, TypeInfoORMAPIRoutePaths, TypeInfoORMServiceError, TypeInfoORMUpdateOperators } from '../chunk-XHOMAXLR.js';
|
|
2
2
|
export { DENIED_TYPE_OPERATIONS, ERROR_MESSAGE_CONSTANTS, INVALID_CUSTOM_TYPE, PRIMITIVE_ERROR_MESSAGE_CONSTANTS, RelationshipValidationType, TYPE_KEYWORD_ERROR_MESSAGE_CONSTANTS, TYPE_KEYWORD_VALIDATORS, TypeOperation, getArrayItemErrorMap, getErrorDescriptor, getErrorDescriptors, getNoErrorDescriptor, getValidityValue, hasValue, isArrayErrorDescriptorCollection, validateArrayOfTypeInfoFieldValues, validateCustomType, validateKeywordType, validateTypeInfoDataItem, validateTypeInfoFieldOperationAllowed, validateTypeInfoFieldValue, validateTypeInfoValue, validateTypeOperationAllowed, validateValueMatchesPattern } from '../chunk-3HVYVX3S.js';
|
|
3
3
|
export { PATH_DELIMITER, getParamsAndTestPath, getPathArray, getPathString, getPotentialJSONValue, mergeStringPaths, resolvePath, resolveRouteAdapterPath } from '../chunk-2JDOM6PB.js';
|
|
4
4
|
import '../chunk-I2KLQ2HA.js';
|