@salesforce/lds-adapters-industries-context 1.418.0 → 1.419.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/industries-context.js +156 -30
- package/dist/es/es2018/types/src/generated/types/ContextAttributeRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ContextAttributesInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ContextDefinitionTransformationInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/ContextDefinitionTransformationListInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ContextDefinitionTransformationListRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/ContextDefinitionTransformationRepresentation.d.ts +58 -0
- package/dist/es/es2018/types/src/generated/types/ContextDefinitionVersionRepresentation.d.ts +5 -1
- package/package.json +4 -4
- package/sfdc/index.js +219 -93
- package/src/raml/api.raml +107 -0
|
@@ -112,7 +112,7 @@ function createLink(ref) {
|
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
function validate$
|
|
115
|
+
function validate$R(obj, path = 'QueryContextRecordInputRepresentation') {
|
|
116
116
|
const v_error = (() => {
|
|
117
117
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
118
118
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -162,7 +162,7 @@ function validate$Q(obj, path = 'QueryContextRecordInputRepresentation') {
|
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
const VERSION$x = "6fc1ed5f9fdcaa261c69ec3614505566";
|
|
165
|
-
function validate$
|
|
165
|
+
function validate$Q(obj, path = 'ContextDataRecordRepresentation') {
|
|
166
166
|
const v_error = (() => {
|
|
167
167
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
168
168
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -499,7 +499,7 @@ function equals$x(existing, incoming) {
|
|
|
499
499
|
}
|
|
500
500
|
|
|
501
501
|
const VERSION$w = "49d8c0b4cc8734f68ac1bc90a4614c4a";
|
|
502
|
-
function validate$
|
|
502
|
+
function validate$P(obj, path = 'ContextQueryRecordRepresentation') {
|
|
503
503
|
const v_error = (() => {
|
|
504
504
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
505
505
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -521,7 +521,7 @@ function validate$O(obj, path = 'ContextQueryRecordRepresentation') {
|
|
|
521
521
|
if (obj.record !== undefined) {
|
|
522
522
|
const obj_record = obj.record;
|
|
523
523
|
const path_record = path + '.record';
|
|
524
|
-
const referencepath_recordValidationError = validate$
|
|
524
|
+
const referencepath_recordValidationError = validate$Q(obj_record, path_record);
|
|
525
525
|
if (referencepath_recordValidationError !== null) {
|
|
526
526
|
let message = 'Object doesn\'t match ContextDataRecordRepresentation (at "' + path_record + '")\n';
|
|
527
527
|
message += referencepath_recordValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -589,7 +589,7 @@ function equals$w(existing, incoming) {
|
|
|
589
589
|
|
|
590
590
|
const TTL$p = 1000;
|
|
591
591
|
const VERSION$v = "d6e0481a792086c09a70a174a9232ada";
|
|
592
|
-
function validate$
|
|
592
|
+
function validate$O(obj, path = 'QueryContextRecordResultRepresentation') {
|
|
593
593
|
const v_error = (() => {
|
|
594
594
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
595
595
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -622,7 +622,7 @@ function validate$N(obj, path = 'QueryContextRecordResultRepresentation') {
|
|
|
622
622
|
for (let i = 0; i < obj_queryRecords.length; i++) {
|
|
623
623
|
const obj_queryRecords_item = obj_queryRecords[i];
|
|
624
624
|
const path_queryRecords_item = path_queryRecords + '[' + i + ']';
|
|
625
|
-
const referencepath_queryRecords_itemValidationError = validate$
|
|
625
|
+
const referencepath_queryRecords_itemValidationError = validate$P(obj_queryRecords_item, path_queryRecords_item);
|
|
626
626
|
if (referencepath_queryRecords_itemValidationError !== null) {
|
|
627
627
|
let message = 'Object doesn\'t match ContextQueryRecordRepresentation (at "' + path_queryRecords_item + '")\n';
|
|
628
628
|
message += referencepath_queryRecords_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -731,7 +731,7 @@ function equals$v(existing, incoming) {
|
|
|
731
731
|
}
|
|
732
732
|
const ingest$r = function QueryContextRecordResultRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
733
733
|
if (process.env.NODE_ENV !== 'production') {
|
|
734
|
-
const validateError = validate$
|
|
734
|
+
const validateError = validate$O(input);
|
|
735
735
|
if (validateError !== null) {
|
|
736
736
|
throw validateError;
|
|
737
737
|
}
|
|
@@ -799,7 +799,7 @@ function typeCheckConfig$W(untrustedConfig) {
|
|
|
799
799
|
const config = {};
|
|
800
800
|
typeCheckConfig$X(untrustedConfig, config, queryContextRecordAndChildren_ConfigPropertyMetadata);
|
|
801
801
|
const untrustedConfig_queryContextRecordInput = untrustedConfig.queryContextRecordInput;
|
|
802
|
-
const referenceQueryContextRecordInputRepresentationValidationError = validate$
|
|
802
|
+
const referenceQueryContextRecordInputRepresentationValidationError = validate$R(untrustedConfig_queryContextRecordInput);
|
|
803
803
|
if (referenceQueryContextRecordInputRepresentationValidationError === null) {
|
|
804
804
|
config.queryContextRecordInput = untrustedConfig_queryContextRecordInput;
|
|
805
805
|
}
|
|
@@ -849,7 +849,7 @@ const queryContextRecordAndChildrenAdapterFactory = (luvio) => {
|
|
|
849
849
|
|
|
850
850
|
const TTL$o = 1000;
|
|
851
851
|
const VERSION$u = "f4529c1d2c50b9cc056022fbea50b225";
|
|
852
|
-
function validate$
|
|
852
|
+
function validate$N(obj, path = 'ContextInfoRepresentation') {
|
|
853
853
|
const v_error = (() => {
|
|
854
854
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
855
855
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -926,7 +926,7 @@ function equals$u(existing, incoming) {
|
|
|
926
926
|
}
|
|
927
927
|
const ingest$q = function ContextInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
928
928
|
if (process.env.NODE_ENV !== 'production') {
|
|
929
|
-
const validateError = validate$
|
|
929
|
+
const validateError = validate$N(input);
|
|
930
930
|
if (validateError !== null) {
|
|
931
931
|
throw validateError;
|
|
932
932
|
}
|
|
@@ -1087,7 +1087,7 @@ const getContextAdapterFactory = (luvio) => function IndustriesContext__getConte
|
|
|
1087
1087
|
};
|
|
1088
1088
|
|
|
1089
1089
|
const VERSION$t = "2c271b63db74c2f2a79442370f6b5044";
|
|
1090
|
-
function validate$
|
|
1090
|
+
function validate$M(obj, path = 'ContextDefinitionReferenceRepresentation') {
|
|
1091
1091
|
const v_error = (() => {
|
|
1092
1092
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1093
1093
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1224,7 +1224,7 @@ function equals$t(existing, incoming) {
|
|
|
1224
1224
|
|
|
1225
1225
|
const TTL$n = 1000;
|
|
1226
1226
|
const VERSION$s = "2e8845c43d6c19d7d70c79463be0c482";
|
|
1227
|
-
function validate$
|
|
1227
|
+
function validate$L(obj, path = 'ContextDefinitionInfoRepresentation') {
|
|
1228
1228
|
const v_error = (() => {
|
|
1229
1229
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1230
1230
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1390,7 +1390,7 @@ function validate$K(obj, path = 'ContextDefinitionInfoRepresentation') {
|
|
|
1390
1390
|
for (let i = 0; i < obj_referenceContextDefinitions.length; i++) {
|
|
1391
1391
|
const obj_referenceContextDefinitions_item = obj_referenceContextDefinitions[i];
|
|
1392
1392
|
const path_referenceContextDefinitions_item = path_referenceContextDefinitions + '[' + i + ']';
|
|
1393
|
-
const referencepath_referenceContextDefinitions_itemValidationError = validate$
|
|
1393
|
+
const referencepath_referenceContextDefinitions_itemValidationError = validate$M(obj_referenceContextDefinitions_item, path_referenceContextDefinitions_item);
|
|
1394
1394
|
if (referencepath_referenceContextDefinitions_itemValidationError !== null) {
|
|
1395
1395
|
let message = 'Object doesn\'t match ContextDefinitionReferenceRepresentation (at "' + path_referenceContextDefinitions_item + '")\n';
|
|
1396
1396
|
message += referencepath_referenceContextDefinitions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1904,7 +1904,7 @@ function equals$s(existing, incoming) {
|
|
|
1904
1904
|
}
|
|
1905
1905
|
const ingest$p = function ContextDefinitionInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1906
1906
|
if (process.env.NODE_ENV !== 'production') {
|
|
1907
|
-
const validateError = validate$
|
|
1907
|
+
const validateError = validate$L(input);
|
|
1908
1908
|
if (validateError !== null) {
|
|
1909
1909
|
throw validateError;
|
|
1910
1910
|
}
|
|
@@ -1926,7 +1926,7 @@ function getTypeCacheKeys$p(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1926
1926
|
|
|
1927
1927
|
const TTL$m = 1000;
|
|
1928
1928
|
const VERSION$r = "9fd2c86ba3bfc49bd6b1b41332fbad4e";
|
|
1929
|
-
function validate$
|
|
1929
|
+
function validate$K(obj, path = 'ContextDefinitionListRepresentation') {
|
|
1930
1930
|
const v_error = (() => {
|
|
1931
1931
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1932
1932
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2035,7 +2035,7 @@ function equals$r(existing, incoming) {
|
|
|
2035
2035
|
}
|
|
2036
2036
|
const ingest$o = function ContextDefinitionListRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2037
2037
|
if (process.env.NODE_ENV !== 'production') {
|
|
2038
|
-
const validateError = validate$
|
|
2038
|
+
const validateError = validate$K(input);
|
|
2039
2039
|
if (validateError !== null) {
|
|
2040
2040
|
throw validateError;
|
|
2041
2041
|
}
|
|
@@ -2198,7 +2198,7 @@ const getContextDefinitionsAdapterFactory = (luvio) => function IndustriesContex
|
|
|
2198
2198
|
buildCachedSnapshotCachePolicy$i, buildNetworkSnapshotCachePolicy$i);
|
|
2199
2199
|
};
|
|
2200
2200
|
|
|
2201
|
-
function validate$
|
|
2201
|
+
function validate$J(obj, path = 'ContextDefinitionReferenceInputRepresentation') {
|
|
2202
2202
|
const v_error = (() => {
|
|
2203
2203
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2204
2204
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2233,7 +2233,7 @@ function validate$I(obj, path = 'ContextDefinitionReferenceInputRepresentation')
|
|
|
2233
2233
|
return v_error === undefined ? null : v_error;
|
|
2234
2234
|
}
|
|
2235
2235
|
|
|
2236
|
-
function validate$
|
|
2236
|
+
function validate$I(obj, path = 'ContextDefinitionReferenceListInputRepresentation') {
|
|
2237
2237
|
const v_error = (() => {
|
|
2238
2238
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2239
2239
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2246,7 +2246,7 @@ function validate$H(obj, path = 'ContextDefinitionReferenceListInputRepresentati
|
|
|
2246
2246
|
for (let i = 0; i < obj_contextDefinitionReferences.length; i++) {
|
|
2247
2247
|
const obj_contextDefinitionReferences_item = obj_contextDefinitionReferences[i];
|
|
2248
2248
|
const path_contextDefinitionReferences_item = path_contextDefinitionReferences + '[' + i + ']';
|
|
2249
|
-
const referencepath_contextDefinitionReferences_itemValidationError = validate$
|
|
2249
|
+
const referencepath_contextDefinitionReferences_itemValidationError = validate$J(obj_contextDefinitionReferences_item, path_contextDefinitionReferences_item);
|
|
2250
2250
|
if (referencepath_contextDefinitionReferences_itemValidationError !== null) {
|
|
2251
2251
|
let message = 'Object doesn\'t match ContextDefinitionReferenceInputRepresentation (at "' + path_contextDefinitionReferences_item + '")\n';
|
|
2252
2252
|
message += referencepath_contextDefinitionReferences_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2257,7 +2257,7 @@ function validate$H(obj, path = 'ContextDefinitionReferenceListInputRepresentati
|
|
|
2257
2257
|
return v_error === undefined ? null : v_error;
|
|
2258
2258
|
}
|
|
2259
2259
|
|
|
2260
|
-
function validate$
|
|
2260
|
+
function validate$H(obj, path = 'ContextDefinitionsInputRepresentation') {
|
|
2261
2261
|
const v_error = (() => {
|
|
2262
2262
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2263
2263
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2356,7 +2356,7 @@ function validate$G(obj, path = 'ContextDefinitionsInputRepresentation') {
|
|
|
2356
2356
|
if (obj.referenceContextDefinitions !== undefined) {
|
|
2357
2357
|
const obj_referenceContextDefinitions = obj.referenceContextDefinitions;
|
|
2358
2358
|
const path_referenceContextDefinitions = path + '.referenceContextDefinitions';
|
|
2359
|
-
const referencepath_referenceContextDefinitionsValidationError = validate$
|
|
2359
|
+
const referencepath_referenceContextDefinitionsValidationError = validate$I(obj_referenceContextDefinitions, path_referenceContextDefinitions);
|
|
2360
2360
|
if (referencepath_referenceContextDefinitionsValidationError !== null) {
|
|
2361
2361
|
let message = 'Object doesn\'t match ContextDefinitionReferenceListInputRepresentation (at "' + path_referenceContextDefinitions + '")\n';
|
|
2362
2362
|
message += referencepath_referenceContextDefinitionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2427,7 +2427,7 @@ const createResourceParams$T = /*#__PURE__*/ createResourceParams$X(createContex
|
|
|
2427
2427
|
function typeCheckConfig$T(untrustedConfig) {
|
|
2428
2428
|
const config = {};
|
|
2429
2429
|
const untrustedConfig_contextDefinitionInput = untrustedConfig.contextDefinitionInput;
|
|
2430
|
-
const referenceContextDefinitionsInputRepresentationValidationError = validate$
|
|
2430
|
+
const referenceContextDefinitionsInputRepresentationValidationError = validate$H(untrustedConfig_contextDefinitionInput);
|
|
2431
2431
|
if (referenceContextDefinitionsInputRepresentationValidationError === null) {
|
|
2432
2432
|
config.contextDefinitionInput = untrustedConfig_contextDefinitionInput;
|
|
2433
2433
|
}
|
|
@@ -2615,7 +2615,7 @@ const getContextServiceDefinitionInfoAdapterFactory = (luvio) => function Indust
|
|
|
2615
2615
|
buildCachedSnapshotCachePolicy$h, buildNetworkSnapshotCachePolicy$h);
|
|
2616
2616
|
};
|
|
2617
2617
|
|
|
2618
|
-
function validate$
|
|
2618
|
+
function validate$G(obj, path = 'ContextDefinitionUpgradeListInputRepresentation') {
|
|
2619
2619
|
const v_error = (() => {
|
|
2620
2620
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2621
2621
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2640,7 +2640,7 @@ function validate$F(obj, path = 'ContextDefinitionUpgradeListInputRepresentation
|
|
|
2640
2640
|
|
|
2641
2641
|
const TTL$l = 1000;
|
|
2642
2642
|
const VERSION$q = "0f55f143dba32bcf6d4a3ba8ced13b41";
|
|
2643
|
-
function validate$
|
|
2643
|
+
function validate$F(obj, path = 'ContextDefinitionUpgradeListRepresentation') {
|
|
2644
2644
|
const v_error = (() => {
|
|
2645
2645
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2646
2646
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2758,7 +2758,7 @@ function equals$q(existing, incoming) {
|
|
|
2758
2758
|
}
|
|
2759
2759
|
const ingest$n = function ContextDefinitionUpgradeListRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2760
2760
|
if (process.env.NODE_ENV !== 'production') {
|
|
2761
|
-
const validateError = validate$
|
|
2761
|
+
const validateError = validate$F(input);
|
|
2762
2762
|
if (validateError !== null) {
|
|
2763
2763
|
throw validateError;
|
|
2764
2764
|
}
|
|
@@ -2828,7 +2828,7 @@ const createResourceParams$R = /*#__PURE__*/ createResourceParams$X(upgradeConte
|
|
|
2828
2828
|
function typeCheckConfig$R(untrustedConfig) {
|
|
2829
2829
|
const config = {};
|
|
2830
2830
|
const untrustedConfig_contextDefinitionUpgradesInput = untrustedConfig.contextDefinitionUpgradesInput;
|
|
2831
|
-
const referenceContextDefinitionUpgradeListInputRepresentationValidationError = validate$
|
|
2831
|
+
const referenceContextDefinitionUpgradeListInputRepresentationValidationError = validate$G(untrustedConfig_contextDefinitionUpgradesInput);
|
|
2832
2832
|
if (referenceContextDefinitionUpgradeListInputRepresentationValidationError === null) {
|
|
2833
2833
|
config.contextDefinitionUpgradesInput = untrustedConfig_contextDefinitionUpgradesInput;
|
|
2834
2834
|
}
|
|
@@ -2876,6 +2876,90 @@ const upgradeContextServiceDefinitionAdapterFactory = (luvio) => {
|
|
|
2876
2876
|
};
|
|
2877
2877
|
};
|
|
2878
2878
|
|
|
2879
|
+
function validate$E(obj, path = 'ContextDefinitionTransformationRepresentation') {
|
|
2880
|
+
const v_error = (() => {
|
|
2881
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2882
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2883
|
+
}
|
|
2884
|
+
if (obj.baseReference !== undefined) {
|
|
2885
|
+
const obj_baseReference = obj.baseReference;
|
|
2886
|
+
const path_baseReference = path + '.baseReference';
|
|
2887
|
+
if (typeof obj_baseReference !== 'string') {
|
|
2888
|
+
return new TypeError('Expected "string" but received "' + typeof obj_baseReference + '" (at "' + path_baseReference + '")');
|
|
2889
|
+
}
|
|
2890
|
+
}
|
|
2891
|
+
const obj_contextDefinitionTransformationId = obj.contextDefinitionTransformationId;
|
|
2892
|
+
const path_contextDefinitionTransformationId = path + '.contextDefinitionTransformationId';
|
|
2893
|
+
if (typeof obj_contextDefinitionTransformationId !== 'string') {
|
|
2894
|
+
return new TypeError('Expected "string" but received "' + typeof obj_contextDefinitionTransformationId + '" (at "' + path_contextDefinitionTransformationId + '")');
|
|
2895
|
+
}
|
|
2896
|
+
if (obj.contextDefinitionVersionId !== undefined) {
|
|
2897
|
+
const obj_contextDefinitionVersionId = obj.contextDefinitionVersionId;
|
|
2898
|
+
const path_contextDefinitionVersionId = path + '.contextDefinitionVersionId';
|
|
2899
|
+
if (typeof obj_contextDefinitionVersionId !== 'string') {
|
|
2900
|
+
return new TypeError('Expected "string" but received "' + typeof obj_contextDefinitionVersionId + '" (at "' + path_contextDefinitionVersionId + '")');
|
|
2901
|
+
}
|
|
2902
|
+
}
|
|
2903
|
+
if (obj.description !== undefined) {
|
|
2904
|
+
const obj_description = obj.description;
|
|
2905
|
+
const path_description = path + '.description';
|
|
2906
|
+
if (typeof obj_description !== 'string') {
|
|
2907
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
2908
|
+
}
|
|
2909
|
+
}
|
|
2910
|
+
if (obj.isActive !== undefined) {
|
|
2911
|
+
const obj_isActive = obj.isActive;
|
|
2912
|
+
const path_isActive = path + '.isActive';
|
|
2913
|
+
if (typeof obj_isActive !== 'boolean') {
|
|
2914
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isActive + '" (at "' + path_isActive + '")');
|
|
2915
|
+
}
|
|
2916
|
+
}
|
|
2917
|
+
if (obj.isSuccess !== undefined) {
|
|
2918
|
+
const obj_isSuccess = obj.isSuccess;
|
|
2919
|
+
const path_isSuccess = path + '.isSuccess';
|
|
2920
|
+
if (typeof obj_isSuccess !== 'boolean') {
|
|
2921
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isSuccess + '" (at "' + path_isSuccess + '")');
|
|
2922
|
+
}
|
|
2923
|
+
}
|
|
2924
|
+
if (obj.isTemplate !== undefined) {
|
|
2925
|
+
const obj_isTemplate = obj.isTemplate;
|
|
2926
|
+
const path_isTemplate = path + '.isTemplate';
|
|
2927
|
+
if (typeof obj_isTemplate !== 'boolean') {
|
|
2928
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isTemplate + '" (at "' + path_isTemplate + '")');
|
|
2929
|
+
}
|
|
2930
|
+
}
|
|
2931
|
+
if (obj.lastModifiedDate !== undefined) {
|
|
2932
|
+
const obj_lastModifiedDate = obj.lastModifiedDate;
|
|
2933
|
+
const path_lastModifiedDate = path + '.lastModifiedDate';
|
|
2934
|
+
if (typeof obj_lastModifiedDate !== 'string') {
|
|
2935
|
+
return new TypeError('Expected "string" but received "' + typeof obj_lastModifiedDate + '" (at "' + path_lastModifiedDate + '")');
|
|
2936
|
+
}
|
|
2937
|
+
}
|
|
2938
|
+
if (obj.name !== undefined) {
|
|
2939
|
+
const obj_name = obj.name;
|
|
2940
|
+
const path_name = path + '.name';
|
|
2941
|
+
if (typeof obj_name !== 'string') {
|
|
2942
|
+
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
2943
|
+
}
|
|
2944
|
+
}
|
|
2945
|
+
if (obj.sourceTransformation !== undefined) {
|
|
2946
|
+
const obj_sourceTransformation = obj.sourceTransformation;
|
|
2947
|
+
const path_sourceTransformation = path + '.sourceTransformation';
|
|
2948
|
+
if (typeof obj_sourceTransformation !== 'string') {
|
|
2949
|
+
return new TypeError('Expected "string" but received "' + typeof obj_sourceTransformation + '" (at "' + path_sourceTransformation + '")');
|
|
2950
|
+
}
|
|
2951
|
+
}
|
|
2952
|
+
if (obj.type !== undefined) {
|
|
2953
|
+
const obj_type = obj.type;
|
|
2954
|
+
const path_type = path + '.type';
|
|
2955
|
+
if (typeof obj_type !== 'string') {
|
|
2956
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
2957
|
+
}
|
|
2958
|
+
}
|
|
2959
|
+
})();
|
|
2960
|
+
return v_error === undefined ? null : v_error;
|
|
2961
|
+
}
|
|
2962
|
+
|
|
2879
2963
|
const VERSION$p = "40b52866e6f56ae5b7cfb279bcfae6ce";
|
|
2880
2964
|
function validate$D(obj, path = 'ContextAttrContextHydrationDetailRepresentation') {
|
|
2881
2965
|
const v_error = (() => {
|
|
@@ -4311,7 +4395,7 @@ function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4311
4395
|
}
|
|
4312
4396
|
|
|
4313
4397
|
const TTL$f = 1000;
|
|
4314
|
-
const VERSION$j = "
|
|
4398
|
+
const VERSION$j = "ab627ef01a09ecd0595d019c35ab51a8";
|
|
4315
4399
|
function validate$w(obj, path = 'ContextAttributeRepresentation') {
|
|
4316
4400
|
const v_error = (() => {
|
|
4317
4401
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4404,6 +4488,13 @@ function validate$w(obj, path = 'ContextAttributeRepresentation') {
|
|
|
4404
4488
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isKey + '" (at "' + path_isKey + '")');
|
|
4405
4489
|
}
|
|
4406
4490
|
}
|
|
4491
|
+
if (obj.isLocalizationDisabled !== undefined) {
|
|
4492
|
+
const obj_isLocalizationDisabled = obj.isLocalizationDisabled;
|
|
4493
|
+
const path_isLocalizationDisabled = path + '.isLocalizationDisabled';
|
|
4494
|
+
if (typeof obj_isLocalizationDisabled !== 'boolean') {
|
|
4495
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isLocalizationDisabled + '" (at "' + path_isLocalizationDisabled + '")');
|
|
4496
|
+
}
|
|
4497
|
+
}
|
|
4407
4498
|
if (obj.isSuccess !== undefined) {
|
|
4408
4499
|
const obj_isSuccess = obj.isSuccess;
|
|
4409
4500
|
const path_isSuccess = path + '.isSuccess';
|
|
@@ -4537,6 +4628,11 @@ const select$Y = function ContextAttributeRepresentationSelect() {
|
|
|
4537
4628
|
kind: 'Scalar',
|
|
4538
4629
|
required: false
|
|
4539
4630
|
},
|
|
4631
|
+
{
|
|
4632
|
+
name: 'isLocalizationDisabled',
|
|
4633
|
+
kind: 'Scalar',
|
|
4634
|
+
required: false
|
|
4635
|
+
},
|
|
4540
4636
|
{
|
|
4541
4637
|
name: 'isSuccess',
|
|
4542
4638
|
kind: 'Scalar',
|
|
@@ -4592,6 +4688,19 @@ function equals$j(existing, incoming) {
|
|
|
4592
4688
|
return false;
|
|
4593
4689
|
}
|
|
4594
4690
|
}
|
|
4691
|
+
const existing_isLocalizationDisabled = existing.isLocalizationDisabled;
|
|
4692
|
+
const incoming_isLocalizationDisabled = incoming.isLocalizationDisabled;
|
|
4693
|
+
// if at least one of these optionals is defined
|
|
4694
|
+
if (existing_isLocalizationDisabled !== undefined || incoming_isLocalizationDisabled !== undefined) {
|
|
4695
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4696
|
+
// not equal
|
|
4697
|
+
if (existing_isLocalizationDisabled === undefined || incoming_isLocalizationDisabled === undefined) {
|
|
4698
|
+
return false;
|
|
4699
|
+
}
|
|
4700
|
+
if (!(existing_isLocalizationDisabled === incoming_isLocalizationDisabled)) {
|
|
4701
|
+
return false;
|
|
4702
|
+
}
|
|
4703
|
+
}
|
|
4595
4704
|
const existing_isSuccess = existing.isSuccess;
|
|
4596
4705
|
const incoming_isSuccess = incoming.isSuccess;
|
|
4597
4706
|
// if at least one of these optionals is defined
|
|
@@ -4976,7 +5085,7 @@ function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
4976
5085
|
}
|
|
4977
5086
|
|
|
4978
5087
|
const TTL$d = 1000;
|
|
4979
|
-
const VERSION$h = "
|
|
5088
|
+
const VERSION$h = "0efe08c2fe5a1f2e95162168895689d5";
|
|
4980
5089
|
function validate$u(obj, path = 'ContextDefinitionVersionRepresentation') {
|
|
4981
5090
|
const v_error = (() => {
|
|
4982
5091
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4989,6 +5098,23 @@ function validate$u(obj, path = 'ContextDefinitionVersionRepresentation') {
|
|
|
4989
5098
|
return new TypeError('Expected "string" but received "' + typeof obj_contextDefinitionId + '" (at "' + path_contextDefinitionId + '")');
|
|
4990
5099
|
}
|
|
4991
5100
|
}
|
|
5101
|
+
if (obj.contextDefinitionTransformations !== undefined) {
|
|
5102
|
+
const obj_contextDefinitionTransformations = obj.contextDefinitionTransformations;
|
|
5103
|
+
const path_contextDefinitionTransformations = path + '.contextDefinitionTransformations';
|
|
5104
|
+
if (!ArrayIsArray(obj_contextDefinitionTransformations)) {
|
|
5105
|
+
return new TypeError('Expected "array" but received "' + typeof obj_contextDefinitionTransformations + '" (at "' + path_contextDefinitionTransformations + '")');
|
|
5106
|
+
}
|
|
5107
|
+
for (let i = 0; i < obj_contextDefinitionTransformations.length; i++) {
|
|
5108
|
+
const obj_contextDefinitionTransformations_item = obj_contextDefinitionTransformations[i];
|
|
5109
|
+
const path_contextDefinitionTransformations_item = path_contextDefinitionTransformations + '[' + i + ']';
|
|
5110
|
+
const referencepath_contextDefinitionTransformations_itemValidationError = validate$E(obj_contextDefinitionTransformations_item, path_contextDefinitionTransformations_item);
|
|
5111
|
+
if (referencepath_contextDefinitionTransformations_itemValidationError !== null) {
|
|
5112
|
+
let message = 'Object doesn\'t match ContextDefinitionTransformationRepresentation (at "' + path_contextDefinitionTransformations_item + '")\n';
|
|
5113
|
+
message += referencepath_contextDefinitionTransformations_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
5114
|
+
return new TypeError(message);
|
|
5115
|
+
}
|
|
5116
|
+
}
|
|
5117
|
+
}
|
|
4992
5118
|
const obj_contextDefinitionVersionId = obj.contextDefinitionVersionId;
|
|
4993
5119
|
const path_contextDefinitionVersionId = path + '.contextDefinitionVersionId';
|
|
4994
5120
|
if (typeof obj_contextDefinitionVersionId !== 'string') {
|
|
@@ -5246,7 +5372,7 @@ function validate$t(obj, path = 'ContextDefinitionRepresentation') {
|
|
|
5246
5372
|
for (let i = 0; i < obj_referenceContextDefinitions.length; i++) {
|
|
5247
5373
|
const obj_referenceContextDefinitions_item = obj_referenceContextDefinitions[i];
|
|
5248
5374
|
const path_referenceContextDefinitions_item = path_referenceContextDefinitions + '[' + i + ']';
|
|
5249
|
-
const referencepath_referenceContextDefinitions_itemValidationError = validate$
|
|
5375
|
+
const referencepath_referenceContextDefinitions_itemValidationError = validate$M(obj_referenceContextDefinitions_item, path_referenceContextDefinitions_item);
|
|
5250
5376
|
if (referencepath_referenceContextDefinitions_itemValidationError !== null) {
|
|
5251
5377
|
let message = 'Object doesn\'t match ContextDefinitionReferenceRepresentation (at "' + path_referenceContextDefinitions_item + '")\n';
|
|
5252
5378
|
message += referencepath_referenceContextDefinitions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5883,7 +6009,7 @@ function typeCheckConfig$O(untrustedConfig) {
|
|
|
5883
6009
|
const config = {};
|
|
5884
6010
|
typeCheckConfig$X(untrustedConfig, config, updateContextServiceDefinition_ConfigPropertyMetadata);
|
|
5885
6011
|
const untrustedConfig_contextDefinitionInput = untrustedConfig.contextDefinitionInput;
|
|
5886
|
-
const referenceContextDefinitionsInputRepresentationValidationError = validate$
|
|
6012
|
+
const referenceContextDefinitionsInputRepresentationValidationError = validate$H(untrustedConfig_contextDefinitionInput);
|
|
5887
6013
|
if (referenceContextDefinitionsInputRepresentationValidationError === null) {
|
|
5888
6014
|
config.contextDefinitionInput = untrustedConfig_contextDefinitionInput;
|
|
5889
6015
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
2
|
import { ContextAttributeTagRepresentation as ContextAttributeTagRepresentation_ContextAttributeTagRepresentation } from './ContextAttributeTagRepresentation';
|
|
3
3
|
export declare const TTL = 1000;
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "ab627ef01a09ecd0595d019c35ab51a8";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -58,6 +58,8 @@ export interface ContextAttributeRepresentationNormalized {
|
|
|
58
58
|
isCustomMappingAllowed?: boolean;
|
|
59
59
|
/** Is Key? */
|
|
60
60
|
isKey?: boolean;
|
|
61
|
+
/** Is Localization Disabled? */
|
|
62
|
+
isLocalizationDisabled?: boolean;
|
|
61
63
|
/** Success */
|
|
62
64
|
isSuccess?: boolean;
|
|
63
65
|
/** Is Transient? */
|
|
@@ -88,6 +90,7 @@ export interface ContextAttributeRepresentation {
|
|
|
88
90
|
fieldType?: string;
|
|
89
91
|
isCustomMappingAllowed?: boolean;
|
|
90
92
|
isKey?: boolean;
|
|
93
|
+
isLocalizationDisabled?: boolean;
|
|
91
94
|
isSuccess?: boolean;
|
|
92
95
|
isTransient?: boolean;
|
|
93
96
|
isValue?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "30262a727d34d9f48bffc3011ebc22fb";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: ContextAttributesInputRepresentation, existing: ContextAttributesInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextAttributesInputRepresentationNormalized;
|
|
@@ -36,6 +36,8 @@ export interface ContextAttributesInputRepresentationNormalized {
|
|
|
36
36
|
isCustomMappingAllowed?: boolean;
|
|
37
37
|
/** Is Key? */
|
|
38
38
|
isKey: boolean;
|
|
39
|
+
/** Is Localization Disabled? */
|
|
40
|
+
isLocalizationDisabled?: boolean;
|
|
39
41
|
/** Is Transient? */
|
|
40
42
|
isTransient?: boolean;
|
|
41
43
|
/** Is Value? */
|
|
@@ -63,6 +65,7 @@ export interface ContextAttributesInputRepresentation {
|
|
|
63
65
|
fieldType: string;
|
|
64
66
|
isCustomMappingAllowed?: boolean;
|
|
65
67
|
isKey: boolean;
|
|
68
|
+
isLocalizationDisabled?: boolean;
|
|
66
69
|
isTransient?: boolean;
|
|
67
70
|
isValue: boolean;
|
|
68
71
|
name: string;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "fba730d86c730d13ffb1b487e143534f";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ContextDefinitionTransformationInputRepresentation, existing: ContextDefinitionTransformationInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextDefinitionTransformationInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ContextDefinitionTransformationInputRepresentationNormalized, incoming: ContextDefinitionTransformationInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ContextDefinitionTransformationInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Input representation of Context Definition Transformation
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ContextDefinitionTransformationInputRepresentationNormalized {
|
|
17
|
+
/** baseReference */
|
|
18
|
+
baseReference: string;
|
|
19
|
+
/** contextDefinitionVersionId */
|
|
20
|
+
contextDefinitionVersionId: string;
|
|
21
|
+
/** SourceTransformation */
|
|
22
|
+
sourceTransformation: string;
|
|
23
|
+
/** Type */
|
|
24
|
+
type: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Input representation of Context Definition Transformation
|
|
28
|
+
*
|
|
29
|
+
* Keys:
|
|
30
|
+
* (none)
|
|
31
|
+
*/
|
|
32
|
+
export interface ContextDefinitionTransformationInputRepresentation {
|
|
33
|
+
baseReference: string;
|
|
34
|
+
contextDefinitionVersionId: string;
|
|
35
|
+
sourceTransformation: string;
|
|
36
|
+
type: string;
|
|
37
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "c9091177e9d131d4732cd31dc5ca44b0";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ContextDefinitionTransformationListInputRepresentation, existing: ContextDefinitionTransformationListInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextDefinitionTransformationListInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ContextDefinitionTransformationListInputRepresentationNormalized, incoming: ContextDefinitionTransformationListInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ContextDefinitionTransformationListInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Input representation for a list of Context Definition Transformations
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ContextDefinitionTransformationListInputRepresentationNormalized {
|
|
17
|
+
/** List of Context Definition Transformation Inputs */
|
|
18
|
+
transformations: Array<{}>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Input representation for a list of Context Definition Transformations
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface ContextDefinitionTransformationListInputRepresentation {
|
|
27
|
+
transformations: Array<{}>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ContextDefinitionTransformationRepresentation as ContextDefinitionTransformationRepresentation_ContextDefinitionTransformationRepresentation } from './ContextDefinitionTransformationRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "f26fc661b56d72923749e27cfdedbe3d";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: ContextDefinitionTransformationListRepresentation, existing: ContextDefinitionTransformationListRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextDefinitionTransformationListRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: ContextDefinitionTransformationListRepresentationNormalized, incoming: ContextDefinitionTransformationListRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ContextDefinitionTransformationListRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Output representation of List of Context Definition Transformations
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ContextDefinitionTransformationListRepresentationNormalized {
|
|
18
|
+
/** Id of Context Definition */
|
|
19
|
+
contextDefinitionId: string;
|
|
20
|
+
/** Unique Id - Required for LDS */
|
|
21
|
+
contextDefinitionTransformationListId: string;
|
|
22
|
+
/** List of ContextDefinitionTransformations */
|
|
23
|
+
contextDefinitionTransformations?: Array<ContextDefinitionTransformationRepresentation_ContextDefinitionTransformationRepresentation>;
|
|
24
|
+
/** Success */
|
|
25
|
+
isSuccess?: boolean;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Output representation of List of Context Definition Transformations
|
|
29
|
+
*
|
|
30
|
+
* Keys:
|
|
31
|
+
* (none)
|
|
32
|
+
*/
|
|
33
|
+
export interface ContextDefinitionTransformationListRepresentation {
|
|
34
|
+
contextDefinitionId: string;
|
|
35
|
+
contextDefinitionTransformationListId: string;
|
|
36
|
+
contextDefinitionTransformations?: Array<ContextDefinitionTransformationRepresentation_ContextDefinitionTransformationRepresentation>;
|
|
37
|
+
isSuccess?: boolean;
|
|
38
|
+
}
|
package/dist/es/es2018/types/src/generated/types/ContextDefinitionTransformationRepresentation.d.ts
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "6f73d5d8e84d8b82a71d945f18dada43";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ContextDefinitionTransformationRepresentation, existing: ContextDefinitionTransformationRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextDefinitionTransformationRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ContextDefinitionTransformationRepresentationNormalized, incoming: ContextDefinitionTransformationRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ContextDefinitionTransformationRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Output representation of Context Definition Transformation
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ContextDefinitionTransformationRepresentationNormalized {
|
|
17
|
+
/** Represents inherited ContextDefinitionTransformation in this definition. */
|
|
18
|
+
baseReference?: string;
|
|
19
|
+
/** Context Definition Transformation Id */
|
|
20
|
+
contextDefinitionTransformationId: string;
|
|
21
|
+
/** contextDefinitionVersionId */
|
|
22
|
+
contextDefinitionVersionId?: string;
|
|
23
|
+
/** Description */
|
|
24
|
+
description?: string;
|
|
25
|
+
/** Active */
|
|
26
|
+
isActive?: boolean;
|
|
27
|
+
/** Success */
|
|
28
|
+
isSuccess?: boolean;
|
|
29
|
+
/** Template */
|
|
30
|
+
isTemplate?: boolean;
|
|
31
|
+
/** Last Modified Date */
|
|
32
|
+
lastModifiedDate?: string;
|
|
33
|
+
/** Source Transformation Name */
|
|
34
|
+
name?: string;
|
|
35
|
+
/** Source Transformation */
|
|
36
|
+
sourceTransformation?: string;
|
|
37
|
+
/** Type */
|
|
38
|
+
type?: string;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Output representation of Context Definition Transformation
|
|
42
|
+
*
|
|
43
|
+
* Keys:
|
|
44
|
+
* (none)
|
|
45
|
+
*/
|
|
46
|
+
export interface ContextDefinitionTransformationRepresentation {
|
|
47
|
+
baseReference?: string;
|
|
48
|
+
contextDefinitionTransformationId: string;
|
|
49
|
+
contextDefinitionVersionId?: string;
|
|
50
|
+
description?: string;
|
|
51
|
+
isActive?: boolean;
|
|
52
|
+
isSuccess?: boolean;
|
|
53
|
+
isTemplate?: boolean;
|
|
54
|
+
lastModifiedDate?: string;
|
|
55
|
+
name?: string;
|
|
56
|
+
sourceTransformation?: string;
|
|
57
|
+
type?: string;
|
|
58
|
+
}
|