@salesforce/lds-adapters-platform-lightning-types 1.374.0 → 1.376.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.
|
@@ -1280,11 +1280,6 @@ function validate$4(obj, path = 'LightningModelTypesRepresentation') {
|
|
|
1280
1280
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1281
1281
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1282
1282
|
}
|
|
1283
|
-
const obj_bundleType = obj.bundleType;
|
|
1284
|
-
const path_bundleType = path + '.bundleType';
|
|
1285
|
-
if (typeof obj_bundleType !== 'string') {
|
|
1286
|
-
return new TypeError('Expected "string" but received "' + typeof obj_bundleType + '" (at "' + path_bundleType + '")');
|
|
1287
|
-
}
|
|
1288
1283
|
if (obj.description !== undefined) {
|
|
1289
1284
|
const obj_description = obj.description;
|
|
1290
1285
|
const path_description = path + '.description';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LightningModelTypesErrorRepresentation as LightningModelTypesErrorRepresentation_LightningModelTypesErrorRepresentation } from './LightningModelTypesErrorRepresentation';
|
|
2
2
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
3
|
export declare const TTL = 3600000;
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "0e28b2ee243c783ef4a339cc5c2e67c0";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
export declare function normalize(input: LightningModelTypesRepresentation, existing: LightningModelTypesRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LightningModelTypesRepresentationNormalized;
|
|
@@ -16,8 +16,6 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
16
16
|
* (none)
|
|
17
17
|
*/
|
|
18
18
|
export interface LightningModelTypesRepresentationNormalized {
|
|
19
|
-
/** The bundle type of the Type that was given in type descriptor in query params. */
|
|
20
|
-
bundleType: string;
|
|
21
19
|
/** The description of the Type that was given in its schema.json. */
|
|
22
20
|
description?: string;
|
|
23
21
|
/** The type descriptor of the Type that was given in query params. */
|
|
@@ -47,7 +45,6 @@ export interface LightningModelTypesRepresentationNormalized {
|
|
|
47
45
|
* (none)
|
|
48
46
|
*/
|
|
49
47
|
export interface LightningModelTypesRepresentation {
|
|
50
|
-
bundleType: string;
|
|
51
48
|
description?: string;
|
|
52
49
|
descriptor: string;
|
|
53
50
|
developerName: string;
|
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.376.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.376.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.376.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -1290,11 +1290,6 @@ function validate$4(obj, path = 'LightningModelTypesRepresentation') {
|
|
|
1290
1290
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1291
1291
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1292
1292
|
}
|
|
1293
|
-
const obj_bundleType = obj.bundleType;
|
|
1294
|
-
const path_bundleType = path + '.bundleType';
|
|
1295
|
-
if (typeof obj_bundleType !== 'string') {
|
|
1296
|
-
return new TypeError('Expected "string" but received "' + typeof obj_bundleType + '" (at "' + path_bundleType + '")');
|
|
1297
|
-
}
|
|
1298
1293
|
if (obj.description !== undefined) {
|
|
1299
1294
|
const obj_description = obj.description;
|
|
1300
1295
|
const path_description = path + '.description';
|
|
@@ -1957,4 +1952,4 @@ withDefaultLuvio((luvio) => {
|
|
|
1957
1952
|
});
|
|
1958
1953
|
|
|
1959
1954
|
export { getLightningType, getLightningType_imperative, getLightningTypes, getLightningTypes_imperative, getTypes, getTypes_imperative, validateLightningModel, validateLightningModel_imperative };
|
|
1960
|
-
// version: 1.
|
|
1955
|
+
// version: 1.376.0-328016ba31
|
package/src/raml/api.raml
CHANGED
|
@@ -133,9 +133,6 @@ types:
|
|
|
133
133
|
description: The description of the Type that was given in its schema.json.
|
|
134
134
|
type: string
|
|
135
135
|
required: false # Hand-rolled fix for validation failure during runtime
|
|
136
|
-
bundleType:
|
|
137
|
-
description: The bundle type of the Type that was given in type descriptor in query params.
|
|
138
|
-
type: string
|
|
139
136
|
descriptor:
|
|
140
137
|
description: The type descriptor of the Type that was given in query params.
|
|
141
138
|
type: string
|