@salesforce/lds-adapters-cdp-semantic-authoring 1.309.0-dev14 → 1.309.0-dev15
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.
|
@@ -153,7 +153,7 @@ function equals$t(existing, incoming) {
|
|
|
153
153
|
return true;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
const VERSION$s = "
|
|
156
|
+
const VERSION$s = "3387fc4e5c28406b97f056392b16e548";
|
|
157
157
|
function validate$U(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
158
158
|
const v_error = (() => {
|
|
159
159
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -236,10 +236,12 @@ function validate$U(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
236
236
|
if (typeof obj_id !== 'string') {
|
|
237
237
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
238
238
|
}
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
239
|
+
if (obj.isLocked !== undefined) {
|
|
240
|
+
const obj_isLocked = obj.isLocked;
|
|
241
|
+
const path_isLocked = path + '.isLocked';
|
|
242
|
+
if (typeof obj_isLocked !== 'boolean') {
|
|
243
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isLocked + '" (at "' + path_isLocked + '")');
|
|
244
|
+
}
|
|
243
245
|
}
|
|
244
246
|
if (obj.label !== undefined) {
|
|
245
247
|
const obj_label = obj.label;
|
|
@@ -406,7 +408,8 @@ const select$D = function SemanticModelPartialOutputRepresentationSelect() {
|
|
|
406
408
|
},
|
|
407
409
|
{
|
|
408
410
|
name: 'isLocked',
|
|
409
|
-
kind: 'Scalar'
|
|
411
|
+
kind: 'Scalar',
|
|
412
|
+
required: false
|
|
410
413
|
},
|
|
411
414
|
{
|
|
412
415
|
name: 'label',
|
|
@@ -474,8 +477,16 @@ const select$D = function SemanticModelPartialOutputRepresentationSelect() {
|
|
|
474
477
|
function equals$s(existing, incoming) {
|
|
475
478
|
const existing_isLocked = existing.isLocked;
|
|
476
479
|
const incoming_isLocked = incoming.isLocked;
|
|
477
|
-
if
|
|
478
|
-
|
|
480
|
+
// if at least one of these optionals is defined
|
|
481
|
+
if (existing_isLocked !== undefined || incoming_isLocked !== undefined) {
|
|
482
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
483
|
+
// not equal
|
|
484
|
+
if (existing_isLocked === undefined || incoming_isLocked === undefined) {
|
|
485
|
+
return false;
|
|
486
|
+
}
|
|
487
|
+
if (!(existing_isLocked === incoming_isLocked)) {
|
|
488
|
+
return false;
|
|
489
|
+
}
|
|
479
490
|
}
|
|
480
491
|
const existing_apiName = existing.apiName;
|
|
481
492
|
const incoming_apiName = incoming.apiName;
|
package/dist/es/es2018/types/src/generated/types/SemanticModelPartialOutputRepresentation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SemanticBaseModelOutputRepresentation as SemanticBaseModelOutputRepresentation_SemanticBaseModelOutputRepresentation } from './SemanticBaseModelOutputRepresentation';
|
|
2
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 = "
|
|
3
|
+
export declare const VERSION = "3387fc4e5c28406b97f056392b16e548";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: SemanticModelPartialOutputRepresentation, existing: SemanticModelPartialOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticModelPartialOutputRepresentationNormalized;
|
|
@@ -36,7 +36,7 @@ export interface SemanticModelPartialOutputRepresentationNormalized {
|
|
|
36
36
|
/** The object ID of the semantic entity. */
|
|
37
37
|
id: string;
|
|
38
38
|
/** Is the model locked for edit/ delete. */
|
|
39
|
-
isLocked
|
|
39
|
+
isLocked?: boolean;
|
|
40
40
|
/** The display name of the semantic entity to be used in the ui. */
|
|
41
41
|
label?: string;
|
|
42
42
|
/** The user who last modified the semantic entity. */
|
|
@@ -79,7 +79,7 @@ export interface SemanticModelPartialOutputRepresentation {
|
|
|
79
79
|
dataspace: string;
|
|
80
80
|
description?: string;
|
|
81
81
|
id: string;
|
|
82
|
-
isLocked
|
|
82
|
+
isLocked?: boolean;
|
|
83
83
|
label?: string;
|
|
84
84
|
lastModifiedBy?: string;
|
|
85
85
|
lastModifiedDate?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-cdp-semantic-authoring",
|
|
3
|
-
"version": "1.309.0-
|
|
3
|
+
"version": "1.309.0-dev15",
|
|
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.309.0-
|
|
43
|
+
"@salesforce/lds-bindings": "^1.309.0-dev15"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.309.0-
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.309.0-dev15"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -9769,7 +9769,7 @@ const notifyChangeFactory$1 = (luvio, options) => {
|
|
|
9769
9769
|
};
|
|
9770
9770
|
};
|
|
9771
9771
|
|
|
9772
|
-
const VERSION$2 = "
|
|
9772
|
+
const VERSION$2 = "3387fc4e5c28406b97f056392b16e548";
|
|
9773
9773
|
function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
9774
9774
|
const v_error = (() => {
|
|
9775
9775
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -9852,10 +9852,12 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
9852
9852
|
if (typeof obj_id !== 'string') {
|
|
9853
9853
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
9854
9854
|
}
|
|
9855
|
-
|
|
9856
|
-
|
|
9857
|
-
|
|
9858
|
-
|
|
9855
|
+
if (obj.isLocked !== undefined) {
|
|
9856
|
+
const obj_isLocked = obj.isLocked;
|
|
9857
|
+
const path_isLocked = path + '.isLocked';
|
|
9858
|
+
if (typeof obj_isLocked !== 'boolean') {
|
|
9859
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isLocked + '" (at "' + path_isLocked + '")');
|
|
9860
|
+
}
|
|
9859
9861
|
}
|
|
9860
9862
|
if (obj.label !== undefined) {
|
|
9861
9863
|
const obj_label = obj.label;
|
|
@@ -10022,7 +10024,8 @@ const select$7 = function SemanticModelPartialOutputRepresentationSelect() {
|
|
|
10022
10024
|
},
|
|
10023
10025
|
{
|
|
10024
10026
|
name: 'isLocked',
|
|
10025
|
-
kind: 'Scalar'
|
|
10027
|
+
kind: 'Scalar',
|
|
10028
|
+
required: false
|
|
10026
10029
|
},
|
|
10027
10030
|
{
|
|
10028
10031
|
name: 'label',
|
|
@@ -10090,8 +10093,16 @@ const select$7 = function SemanticModelPartialOutputRepresentationSelect() {
|
|
|
10090
10093
|
function equals$2(existing, incoming) {
|
|
10091
10094
|
const existing_isLocked = existing.isLocked;
|
|
10092
10095
|
const incoming_isLocked = incoming.isLocked;
|
|
10093
|
-
if
|
|
10094
|
-
|
|
10096
|
+
// if at least one of these optionals is defined
|
|
10097
|
+
if (existing_isLocked !== undefined || incoming_isLocked !== undefined) {
|
|
10098
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
10099
|
+
// not equal
|
|
10100
|
+
if (existing_isLocked === undefined || incoming_isLocked === undefined) {
|
|
10101
|
+
return false;
|
|
10102
|
+
}
|
|
10103
|
+
if (!(existing_isLocked === incoming_isLocked)) {
|
|
10104
|
+
return false;
|
|
10105
|
+
}
|
|
10095
10106
|
}
|
|
10096
10107
|
const existing_apiName = existing.apiName;
|
|
10097
10108
|
const incoming_apiName = incoming.apiName;
|
|
@@ -11625,4 +11636,4 @@ withDefaultLuvio((luvio) => {
|
|
|
11625
11636
|
});
|
|
11626
11637
|
|
|
11627
11638
|
export { createSemanticModel, createSemanticSubMetric, deleteSemanticSubMetric, getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetric_imperative, getSemanticMetrics, getSemanticMetricsToSubMetrics, getSemanticMetricsToSubMetrics_imperative, getSemanticMetrics_imperative, getSemanticModel, getSemanticModelNotifyChange, getSemanticModel_imperative, getSemanticModels, getSemanticModels_imperative, getSemanticSubMetric, getSemanticSubMetricNotifyChange, getSemanticSubMetric_imperative, getSemanticSubMetrics, getSemanticSubMetricsById, getSemanticSubMetricsById_imperative, getSemanticSubMetrics_imperative, patchSemanticModel };
|
|
11628
|
-
// version: 1.309.0-
|
|
11639
|
+
// version: 1.309.0-dev15-880a224b78
|
package/src/raml/api.raml
CHANGED
|
@@ -2399,6 +2399,7 @@ types:
|
|
|
2399
2399
|
isLocked:
|
|
2400
2400
|
description: Is the model locked for edit/ delete.
|
|
2401
2401
|
type: boolean
|
|
2402
|
+
required: false
|
|
2402
2403
|
queryUnrelatedDataObjects:
|
|
2403
2404
|
description: The type of join performed between the defined Data Cloud Objects. Valid values are AUTO, LEFT, RIGHT, FULL, and INNER.
|
|
2404
2405
|
type: SemanticQueryUnrelatedDataObjectsTypeEnum
|