@salesforce/lds-adapters-cdp-semantic-authoring 1.330.0 → 1.332.0-dev1
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/cdp-semantic-authoring.js +4 -2
- package/dist/es/es2018/types/src/generated/adapters/getSemanticMetricsByIds.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotSemanticMetricsByMetricIds.d.ts +4 -0
- package/package.json +3 -3
- package/sfdc/index.js +5 -3
- package/src/raml/api.raml +9 -0
|
@@ -1367,7 +1367,7 @@ function select$x(luvio, params) {
|
|
|
1367
1367
|
return select$y();
|
|
1368
1368
|
}
|
|
1369
1369
|
function keyBuilder$t(luvio, params) {
|
|
1370
|
-
return keyPrefix + '::SemanticMetricCollectionOutputRepresentation:(' + 'metricIds:' + params.urlParams.metricIds + ')';
|
|
1370
|
+
return keyPrefix + '::SemanticMetricCollectionOutputRepresentation:(' + 'sortBy:' + params.queryParams.sortBy + ',' + 'sortOrder:' + params.queryParams.sortOrder + ',' + 'metricIds:' + params.urlParams.metricIds + ')';
|
|
1371
1371
|
}
|
|
1372
1372
|
function getResponseCacheKeys$c(storeKeyMap, luvio, resourceParams, response) {
|
|
1373
1373
|
getTypeCacheKeys$f(storeKeyMap, luvio, response, () => keyBuilder$t(luvio, resourceParams));
|
|
@@ -1403,7 +1403,7 @@ function createResourceRequest$c(config) {
|
|
|
1403
1403
|
method: 'get',
|
|
1404
1404
|
body: null,
|
|
1405
1405
|
urlParams: config.urlParams,
|
|
1406
|
-
queryParams:
|
|
1406
|
+
queryParams: config.queryParams,
|
|
1407
1407
|
headers,
|
|
1408
1408
|
priority: 'normal',
|
|
1409
1409
|
};
|
|
@@ -1412,6 +1412,8 @@ function createResourceRequest$c(config) {
|
|
|
1412
1412
|
const adapterName$c = 'getSemanticMetricsByIds';
|
|
1413
1413
|
const getSemanticMetricsByIds_ConfigPropertyMetadata = [
|
|
1414
1414
|
generateParamConfigMetadata('metricIds', true, 0 /* UrlParameter */, 0 /* String */),
|
|
1415
|
+
generateParamConfigMetadata('sortBy', false, 1 /* QueryParameter */, 0 /* String */),
|
|
1416
|
+
generateParamConfigMetadata('sortOrder', false, 1 /* QueryParameter */, 0 /* String */),
|
|
1415
1417
|
];
|
|
1416
1418
|
const getSemanticMetricsByIds_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getSemanticMetricsByIds_ConfigPropertyMetadata);
|
|
1417
1419
|
const createResourceParams$c = /*#__PURE__*/ createResourceParams$d(getSemanticMetricsByIds_ConfigPropertyMetadata);
|
|
@@ -7,6 +7,8 @@ export declare const getSemanticMetricsByIds_ConfigPropertyMetadata: $64$luvio_e
|
|
|
7
7
|
export declare const getSemanticMetricsByIds_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
8
|
export interface GetSemanticMetricsByIdsConfig {
|
|
9
9
|
metricIds: string;
|
|
10
|
+
sortBy?: string;
|
|
11
|
+
sortOrder?: string;
|
|
10
12
|
}
|
|
11
13
|
export declare const createResourceParams: (config: GetSemanticMetricsByIdsConfig) => resources_getSsotSemanticMetricsByMetricIds_ResourceRequestConfig;
|
|
12
14
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetSemanticMetricsByIdsConfig): string;
|
|
@@ -4,6 +4,10 @@ export interface ResourceRequestConfig {
|
|
|
4
4
|
urlParams: {
|
|
5
5
|
metricIds: string;
|
|
6
6
|
};
|
|
7
|
+
queryParams: {
|
|
8
|
+
sortBy?: string;
|
|
9
|
+
sortOrder?: string;
|
|
10
|
+
};
|
|
7
11
|
}
|
|
8
12
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
13
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-cdp-semantic-authoring",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.332.0-dev1",
|
|
4
4
|
"description": "Semantic Authoring",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/cdp-semantic-authoring.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.332.0-dev1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.332.0-dev1"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -9790,7 +9790,7 @@ function select$c(luvio, params) {
|
|
|
9790
9790
|
return select$e();
|
|
9791
9791
|
}
|
|
9792
9792
|
function keyBuilder$d(luvio, params) {
|
|
9793
|
-
return keyPrefix + '::SemanticMetricCollectionOutputRepresentation:(' + 'metricIds:' + params.urlParams.metricIds + ')';
|
|
9793
|
+
return keyPrefix + '::SemanticMetricCollectionOutputRepresentation:(' + 'sortBy:' + params.queryParams.sortBy + ',' + 'sortOrder:' + params.queryParams.sortOrder + ',' + 'metricIds:' + params.urlParams.metricIds + ')';
|
|
9794
9794
|
}
|
|
9795
9795
|
function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
|
|
9796
9796
|
getTypeCacheKeys$4(storeKeyMap, luvio, response, () => keyBuilder$d(luvio, resourceParams));
|
|
@@ -9826,7 +9826,7 @@ function createResourceRequest$7(config) {
|
|
|
9826
9826
|
method: 'get',
|
|
9827
9827
|
body: null,
|
|
9828
9828
|
urlParams: config.urlParams,
|
|
9829
|
-
queryParams:
|
|
9829
|
+
queryParams: config.queryParams,
|
|
9830
9830
|
headers,
|
|
9831
9831
|
priority: 'normal',
|
|
9832
9832
|
};
|
|
@@ -9835,6 +9835,8 @@ function createResourceRequest$7(config) {
|
|
|
9835
9835
|
const adapterName$7 = 'getSemanticMetricsByIds';
|
|
9836
9836
|
const getSemanticMetricsByIds_ConfigPropertyMetadata = [
|
|
9837
9837
|
generateParamConfigMetadata('metricIds', true, 0 /* UrlParameter */, 0 /* String */),
|
|
9838
|
+
generateParamConfigMetadata('sortBy', false, 1 /* QueryParameter */, 0 /* String */),
|
|
9839
|
+
generateParamConfigMetadata('sortOrder', false, 1 /* QueryParameter */, 0 /* String */),
|
|
9838
9840
|
];
|
|
9839
9841
|
const getSemanticMetricsByIds_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getSemanticMetricsByIds_ConfigPropertyMetadata);
|
|
9840
9842
|
const createResourceParams$7 = /*#__PURE__*/ createResourceParams$d(getSemanticMetricsByIds_ConfigPropertyMetadata);
|
|
@@ -12373,4 +12375,4 @@ withDefaultLuvio((luvio) => {
|
|
|
12373
12375
|
});
|
|
12374
12376
|
|
|
12375
12377
|
export { createSemanticModel, createSemanticSubMetric, deleteSemanticSubMetric, getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetric_imperative, getSemanticMetrics, getSemanticMetricsByIds, getSemanticMetricsByIds_imperative, getSemanticMetricsToSubMetrics, getSemanticMetricsToSubMetrics_imperative, getSemanticMetrics_imperative, getSemanticModel, getSemanticModelNotifyChange, getSemanticModel_imperative, getSemanticModels, getSemanticModels_imperative, getSemanticSubMetric, getSemanticSubMetricNotifyChange, getSemanticSubMetric_imperative, getSemanticSubMetrics, getSemanticSubMetricsById, getSemanticSubMetricsById_imperative, getSemanticSubMetrics_imperative, patchSemanticModel };
|
|
12376
|
-
// version: 1.
|
|
12378
|
+
// version: 1.332.0-dev1-2186468293
|
package/src/raml/api.raml
CHANGED
|
@@ -3442,6 +3442,15 @@ types:
|
|
|
3442
3442
|
body:
|
|
3443
3443
|
application/json:
|
|
3444
3444
|
type: SemanticMetricCollectionOutputRepresentation
|
|
3445
|
+
queryParameters:
|
|
3446
|
+
sortBy:
|
|
3447
|
+
description: Represents the field to sort by.
|
|
3448
|
+
type: string
|
|
3449
|
+
required: false
|
|
3450
|
+
sortOrder:
|
|
3451
|
+
description: Sort order of the Semantic Calculated Dimension. Valid values are Ascending, Descending and None.
|
|
3452
|
+
type: SemanticSortOrderEnum
|
|
3453
|
+
required: false
|
|
3445
3454
|
uriParameters:
|
|
3446
3455
|
metricIds:
|
|
3447
3456
|
type: string
|