@salesforce/lds-adapters-platform-lightning-types 1.415.0 → 1.416.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/platform-lightning-types.js +2 -1
- package/dist/es/es2018/types/src/generated/adapters/getLightningType.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectLightningTypesByFullyQualifiedName.d.ts +1 -0
- package/package.json +3 -3
- package/sfdc/index.js +3 -2
- package/src/raml/api.raml +4 -0
|
@@ -921,7 +921,7 @@ function select$4(luvio, params) {
|
|
|
921
921
|
return select$5();
|
|
922
922
|
}
|
|
923
923
|
function keyBuilder$5(luvio, params) {
|
|
924
|
-
return keyPrefix + '::LightningTypeDetailRepresentation:(' + 'editorConfigTarget:' + params.queryParams.editorConfigTarget + ',' + 'expandConfigs:' + params.queryParams.expandConfigs + ',' + 'includeSubSchemaDefinitions:' + params.queryParams.includeSubSchemaDefinitions + ',' + 'language:' + params.queryParams.language + ',' + 'rendererConfigTarget:' + params.queryParams.rendererConfigTarget + ',' + 'fullyQualifiedName:' + params.urlParams.fullyQualifiedName + ')';
|
|
924
|
+
return keyPrefix + '::LightningTypeDetailRepresentation:(' + 'applyDefaults:' + params.queryParams.applyDefaults + ',' + 'editorConfigTarget:' + params.queryParams.editorConfigTarget + ',' + 'expandConfigs:' + params.queryParams.expandConfigs + ',' + 'includeSubSchemaDefinitions:' + params.queryParams.includeSubSchemaDefinitions + ',' + 'language:' + params.queryParams.language + ',' + 'rendererConfigTarget:' + params.queryParams.rendererConfigTarget + ',' + 'fullyQualifiedName:' + params.urlParams.fullyQualifiedName + ')';
|
|
925
925
|
}
|
|
926
926
|
function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
|
|
927
927
|
getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$5(luvio, resourceParams));
|
|
@@ -972,6 +972,7 @@ function createResourceRequest$2(config) {
|
|
|
972
972
|
const adapterName$2 = 'getLightningType';
|
|
973
973
|
const getLightningType_ConfigPropertyMetadata = [
|
|
974
974
|
generateParamConfigMetadata('fullyQualifiedName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
975
|
+
generateParamConfigMetadata('applyDefaults', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
975
976
|
generateParamConfigMetadata('editorConfigTarget', false, 1 /* QueryParameter */, 0 /* String */),
|
|
976
977
|
generateParamConfigMetadata('expandConfigs', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
977
978
|
generateParamConfigMetadata('includeSubSchemaDefinitions', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
@@ -7,6 +7,7 @@ export declare const getLightningType_ConfigPropertyMetadata: $64$luvio_engine_A
|
|
|
7
7
|
export declare const getLightningType_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
8
|
export interface GetLightningTypeConfig {
|
|
9
9
|
fullyQualifiedName: string;
|
|
10
|
+
applyDefaults?: boolean;
|
|
10
11
|
editorConfigTarget?: string;
|
|
11
12
|
expandConfigs?: boolean;
|
|
12
13
|
includeSubSchemaDefinitions?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-lightning-types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.416.0",
|
|
4
4
|
"description": "wire adapter for lightning types",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/platform-lightning-types.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.416.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.416.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -335,7 +335,7 @@ function select$7(luvio, params) {
|
|
|
335
335
|
return select$8();
|
|
336
336
|
}
|
|
337
337
|
function keyBuilder$7(luvio, params) {
|
|
338
|
-
return keyPrefix + '::LightningTypeDetailRepresentation:(' + 'editorConfigTarget:' + params.queryParams.editorConfigTarget + ',' + 'expandConfigs:' + params.queryParams.expandConfigs + ',' + 'includeSubSchemaDefinitions:' + params.queryParams.includeSubSchemaDefinitions + ',' + 'language:' + params.queryParams.language + ',' + 'rendererConfigTarget:' + params.queryParams.rendererConfigTarget + ',' + 'fullyQualifiedName:' + params.urlParams.fullyQualifiedName + ')';
|
|
338
|
+
return keyPrefix + '::LightningTypeDetailRepresentation:(' + 'applyDefaults:' + params.queryParams.applyDefaults + ',' + 'editorConfigTarget:' + params.queryParams.editorConfigTarget + ',' + 'expandConfigs:' + params.queryParams.expandConfigs + ',' + 'includeSubSchemaDefinitions:' + params.queryParams.includeSubSchemaDefinitions + ',' + 'language:' + params.queryParams.language + ',' + 'rendererConfigTarget:' + params.queryParams.rendererConfigTarget + ',' + 'fullyQualifiedName:' + params.urlParams.fullyQualifiedName + ')';
|
|
339
339
|
}
|
|
340
340
|
function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
|
|
341
341
|
getTypeCacheKeys$4(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
|
|
@@ -386,6 +386,7 @@ function createResourceRequest$3(config) {
|
|
|
386
386
|
const adapterName$3 = 'getLightningType';
|
|
387
387
|
const getLightningType_ConfigPropertyMetadata = [
|
|
388
388
|
generateParamConfigMetadata('fullyQualifiedName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
389
|
+
generateParamConfigMetadata('applyDefaults', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
389
390
|
generateParamConfigMetadata('editorConfigTarget', false, 1 /* QueryParameter */, 0 /* String */),
|
|
390
391
|
generateParamConfigMetadata('expandConfigs', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
391
392
|
generateParamConfigMetadata('includeSubSchemaDefinitions', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
@@ -1954,4 +1955,4 @@ withDefaultLuvio((luvio) => {
|
|
|
1954
1955
|
});
|
|
1955
1956
|
|
|
1956
1957
|
export { getLightningType, getLightningType_imperative, getLightningTypes, getLightningTypes_imperative, getTypes, getTypes_imperative, validateLightningModel, validateLightningModel_imperative };
|
|
1957
|
-
// version: 1.
|
|
1958
|
+
// version: 1.416.0-e1e24eaee8
|
package/src/raml/api.raml
CHANGED
|
@@ -479,6 +479,10 @@ types:
|
|
|
479
479
|
application/json:
|
|
480
480
|
type: LightningTypeDetailRepresentation
|
|
481
481
|
queryParameters:
|
|
482
|
+
applyDefaults:
|
|
483
|
+
description: applyDefaults
|
|
484
|
+
type: boolean
|
|
485
|
+
required: false
|
|
482
486
|
editorConfigTarget:
|
|
483
487
|
description: Editor configuration target. To get the editor configuration
|
|
484
488
|
also included for a particular target in the response.If not specified,
|