@salesforce/lds-adapters-industries-dataloading 1.116.0 → 1.116.2
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-dataloading.js +6 -6
- package/dist/types/src/generated/adapters/getObjectsForFeature.d.ts +1 -1
- package/dist/types/src/generated/resources/getConnectIndustriesObjectsByFeatureName.d.ts +1 -1
- package/dist/umd/es2018/industries-dataloading.js +6 -6
- package/dist/umd/es5/industries-dataloading.js +6 -6
- package/package.json +1 -1
- package/sfdc/index.js +7 -7
- package/src/raml/api.raml +1 -1
|
@@ -455,7 +455,7 @@ function select(luvio, params) {
|
|
|
455
455
|
return select$1();
|
|
456
456
|
}
|
|
457
457
|
function keyBuilder$1(luvio, params) {
|
|
458
|
-
return keyPrefix + '::FeatureObjectsResultRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + '
|
|
458
|
+
return keyPrefix + '::FeatureObjectsResultRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'entityType:' + params.queryParams.entityType + ',' + 'featureName:' + params.urlParams.featureName + ')';
|
|
459
459
|
}
|
|
460
460
|
function getResponseCacheKeys(luvio, resourceParams, response) {
|
|
461
461
|
return getTypeCacheKeys(luvio, response, () => keyBuilder$1(luvio, resourceParams));
|
|
@@ -505,7 +505,7 @@ function createResourceRequest(config) {
|
|
|
505
505
|
const getObjectsForFeature_ConfigPropertyNames = {
|
|
506
506
|
displayName: 'getObjectsForFeature',
|
|
507
507
|
parameters: {
|
|
508
|
-
required: ['featureName', '
|
|
508
|
+
required: ['featureName', 'entityType'],
|
|
509
509
|
optional: ['limit', 'offset']
|
|
510
510
|
}
|
|
511
511
|
};
|
|
@@ -515,7 +515,7 @@ function createResourceParams(config) {
|
|
|
515
515
|
featureName: config.featureName
|
|
516
516
|
},
|
|
517
517
|
queryParams: {
|
|
518
|
-
limit: config.limit, offset: config.offset,
|
|
518
|
+
limit: config.limit, offset: config.offset, entityType: config.entityType
|
|
519
519
|
}
|
|
520
520
|
};
|
|
521
521
|
return resourceParams;
|
|
@@ -538,9 +538,9 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
538
538
|
if (typeof untrustedConfig_offset === 'number' && Math.floor(untrustedConfig_offset) === untrustedConfig_offset) {
|
|
539
539
|
config.offset = untrustedConfig_offset;
|
|
540
540
|
}
|
|
541
|
-
const
|
|
542
|
-
if (typeof
|
|
543
|
-
config.
|
|
541
|
+
const untrustedConfig_entityType = untrustedConfig.entityType;
|
|
542
|
+
if (typeof untrustedConfig_entityType === 'string') {
|
|
543
|
+
config.entityType = untrustedConfig_entityType;
|
|
544
544
|
}
|
|
545
545
|
return config;
|
|
546
546
|
}
|
|
@@ -8,7 +8,7 @@ export interface GetObjectsForFeatureConfig {
|
|
|
8
8
|
featureName: string;
|
|
9
9
|
limit?: number;
|
|
10
10
|
offset?: number;
|
|
11
|
-
|
|
11
|
+
entityType: string;
|
|
12
12
|
}
|
|
13
13
|
export declare function createResourceParams(config: GetObjectsForFeatureConfig): resources_getConnectIndustriesObjectsByFeatureName_ResourceRequestConfig;
|
|
14
14
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetObjectsForFeatureConfig): string;
|
|
@@ -7,7 +7,7 @@ export interface ResourceRequestConfig {
|
|
|
7
7
|
queryParams: {
|
|
8
8
|
limit?: number;
|
|
9
9
|
offset?: number;
|
|
10
|
-
|
|
10
|
+
entityType: string;
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
13
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -459,7 +459,7 @@
|
|
|
459
459
|
return select$1();
|
|
460
460
|
}
|
|
461
461
|
function keyBuilder$1(luvio, params) {
|
|
462
|
-
return keyPrefix + '::FeatureObjectsResultRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + '
|
|
462
|
+
return keyPrefix + '::FeatureObjectsResultRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'entityType:' + params.queryParams.entityType + ',' + 'featureName:' + params.urlParams.featureName + ')';
|
|
463
463
|
}
|
|
464
464
|
function getResponseCacheKeys(luvio, resourceParams, response) {
|
|
465
465
|
return getTypeCacheKeys(luvio, response, () => keyBuilder$1(luvio, resourceParams));
|
|
@@ -509,7 +509,7 @@
|
|
|
509
509
|
const getObjectsForFeature_ConfigPropertyNames = {
|
|
510
510
|
displayName: 'getObjectsForFeature',
|
|
511
511
|
parameters: {
|
|
512
|
-
required: ['featureName', '
|
|
512
|
+
required: ['featureName', 'entityType'],
|
|
513
513
|
optional: ['limit', 'offset']
|
|
514
514
|
}
|
|
515
515
|
};
|
|
@@ -519,7 +519,7 @@
|
|
|
519
519
|
featureName: config.featureName
|
|
520
520
|
},
|
|
521
521
|
queryParams: {
|
|
522
|
-
limit: config.limit, offset: config.offset,
|
|
522
|
+
limit: config.limit, offset: config.offset, entityType: config.entityType
|
|
523
523
|
}
|
|
524
524
|
};
|
|
525
525
|
return resourceParams;
|
|
@@ -542,9 +542,9 @@
|
|
|
542
542
|
if (typeof untrustedConfig_offset === 'number' && Math.floor(untrustedConfig_offset) === untrustedConfig_offset) {
|
|
543
543
|
config.offset = untrustedConfig_offset;
|
|
544
544
|
}
|
|
545
|
-
const
|
|
546
|
-
if (typeof
|
|
547
|
-
config.
|
|
545
|
+
const untrustedConfig_entityType = untrustedConfig.entityType;
|
|
546
|
+
if (typeof untrustedConfig_entityType === 'string') {
|
|
547
|
+
config.entityType = untrustedConfig_entityType;
|
|
548
548
|
}
|
|
549
549
|
return config;
|
|
550
550
|
}
|
|
@@ -462,7 +462,7 @@
|
|
|
462
462
|
return select$1();
|
|
463
463
|
}
|
|
464
464
|
function keyBuilder$1(luvio, params) {
|
|
465
|
-
return keyPrefix + '::FeatureObjectsResultRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + '
|
|
465
|
+
return keyPrefix + '::FeatureObjectsResultRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'entityType:' + params.queryParams.entityType + ',' + 'featureName:' + params.urlParams.featureName + ')';
|
|
466
466
|
}
|
|
467
467
|
function getResponseCacheKeys(luvio, resourceParams, response) {
|
|
468
468
|
return getTypeCacheKeys(luvio, response, function () { return keyBuilder$1(luvio, resourceParams); });
|
|
@@ -512,7 +512,7 @@
|
|
|
512
512
|
var getObjectsForFeature_ConfigPropertyNames = {
|
|
513
513
|
displayName: 'getObjectsForFeature',
|
|
514
514
|
parameters: {
|
|
515
|
-
required: ['featureName', '
|
|
515
|
+
required: ['featureName', 'entityType'],
|
|
516
516
|
optional: ['limit', 'offset']
|
|
517
517
|
}
|
|
518
518
|
};
|
|
@@ -522,7 +522,7 @@
|
|
|
522
522
|
featureName: config.featureName
|
|
523
523
|
},
|
|
524
524
|
queryParams: {
|
|
525
|
-
limit: config.limit, offset: config.offset,
|
|
525
|
+
limit: config.limit, offset: config.offset, entityType: config.entityType
|
|
526
526
|
}
|
|
527
527
|
};
|
|
528
528
|
return resourceParams;
|
|
@@ -545,9 +545,9 @@
|
|
|
545
545
|
if (typeof untrustedConfig_offset === 'number' && Math.floor(untrustedConfig_offset) === untrustedConfig_offset) {
|
|
546
546
|
config.offset = untrustedConfig_offset;
|
|
547
547
|
}
|
|
548
|
-
var
|
|
549
|
-
if (typeof
|
|
550
|
-
config.
|
|
548
|
+
var untrustedConfig_entityType = untrustedConfig.entityType;
|
|
549
|
+
if (typeof untrustedConfig_entityType === 'string') {
|
|
550
|
+
config.entityType = untrustedConfig_entityType;
|
|
551
551
|
}
|
|
552
552
|
return config;
|
|
553
553
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-dataloading",
|
|
3
|
-
"version": "1.116.
|
|
3
|
+
"version": "1.116.2",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "API Family to support data loading for objects",
|
|
6
6
|
"main": "dist/umd/es2018/industries-dataloading.js",
|
package/sfdc/index.js
CHANGED
|
@@ -465,7 +465,7 @@ function select(luvio, params) {
|
|
|
465
465
|
return select$1();
|
|
466
466
|
}
|
|
467
467
|
function keyBuilder$1(luvio, params) {
|
|
468
|
-
return keyPrefix + '::FeatureObjectsResultRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + '
|
|
468
|
+
return keyPrefix + '::FeatureObjectsResultRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'entityType:' + params.queryParams.entityType + ',' + 'featureName:' + params.urlParams.featureName + ')';
|
|
469
469
|
}
|
|
470
470
|
function getResponseCacheKeys(luvio, resourceParams, response) {
|
|
471
471
|
return getTypeCacheKeys(luvio, response, () => keyBuilder$1(luvio, resourceParams));
|
|
@@ -515,7 +515,7 @@ function createResourceRequest(config) {
|
|
|
515
515
|
const getObjectsForFeature_ConfigPropertyNames = {
|
|
516
516
|
displayName: 'getObjectsForFeature',
|
|
517
517
|
parameters: {
|
|
518
|
-
required: ['featureName', '
|
|
518
|
+
required: ['featureName', 'entityType'],
|
|
519
519
|
optional: ['limit', 'offset']
|
|
520
520
|
}
|
|
521
521
|
};
|
|
@@ -525,7 +525,7 @@ function createResourceParams(config) {
|
|
|
525
525
|
featureName: config.featureName
|
|
526
526
|
},
|
|
527
527
|
queryParams: {
|
|
528
|
-
limit: config.limit, offset: config.offset,
|
|
528
|
+
limit: config.limit, offset: config.offset, entityType: config.entityType
|
|
529
529
|
}
|
|
530
530
|
};
|
|
531
531
|
return resourceParams;
|
|
@@ -548,9 +548,9 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
548
548
|
if (typeof untrustedConfig_offset === 'number' && Math.floor(untrustedConfig_offset) === untrustedConfig_offset) {
|
|
549
549
|
config.offset = untrustedConfig_offset;
|
|
550
550
|
}
|
|
551
|
-
const
|
|
552
|
-
if (typeof
|
|
553
|
-
config.
|
|
551
|
+
const untrustedConfig_entityType = untrustedConfig.entityType;
|
|
552
|
+
if (typeof untrustedConfig_entityType === 'string') {
|
|
553
|
+
config.entityType = untrustedConfig_entityType;
|
|
554
554
|
}
|
|
555
555
|
return config;
|
|
556
556
|
}
|
|
@@ -665,4 +665,4 @@ withDefaultLuvio((luvio) => {
|
|
|
665
665
|
});
|
|
666
666
|
|
|
667
667
|
export { getCsvDataTemplate, getCsvDataTemplate_imperative, getObjectsForFeature, getObjectsForFeature_imperative };
|
|
668
|
-
// version: 1.116.
|
|
668
|
+
// version: 1.116.2-99b24fd83
|