@salesforce/lds-adapters-cdp-semantic-authoring 1.309.0-dev13 → 1.309.0-dev14
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 +30 -2
- package/dist/es/es2018/types/src/generated/types/SemanticModelOutputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/SemanticModelPartialOutputRepresentation.d.ts +4 -1
- package/package.json +3 -3
- package/sfdc/index.js +31 -3
- package/src/raml/api.raml +6 -0
|
@@ -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 = "e435589d0258f8cf6930ef88e871072c";
|
|
157
157
|
function validate$U(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
158
158
|
const v_error = (() => {
|
|
159
159
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -236,6 +236,11 @@ 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
|
+
const obj_isLocked = obj.isLocked;
|
|
240
|
+
const path_isLocked = path + '.isLocked';
|
|
241
|
+
if (typeof obj_isLocked !== 'boolean') {
|
|
242
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isLocked + '" (at "' + path_isLocked + '")');
|
|
243
|
+
}
|
|
239
244
|
if (obj.label !== undefined) {
|
|
240
245
|
const obj_label = obj.label;
|
|
241
246
|
const path_label = path + '.label';
|
|
@@ -399,6 +404,10 @@ const select$D = function SemanticModelPartialOutputRepresentationSelect() {
|
|
|
399
404
|
name: 'id',
|
|
400
405
|
kind: 'Scalar'
|
|
401
406
|
},
|
|
407
|
+
{
|
|
408
|
+
name: 'isLocked',
|
|
409
|
+
kind: 'Scalar'
|
|
410
|
+
},
|
|
402
411
|
{
|
|
403
412
|
name: 'label',
|
|
404
413
|
kind: 'Scalar',
|
|
@@ -463,6 +472,11 @@ const select$D = function SemanticModelPartialOutputRepresentationSelect() {
|
|
|
463
472
|
};
|
|
464
473
|
};
|
|
465
474
|
function equals$s(existing, incoming) {
|
|
475
|
+
const existing_isLocked = existing.isLocked;
|
|
476
|
+
const incoming_isLocked = incoming.isLocked;
|
|
477
|
+
if (!(existing_isLocked === incoming_isLocked)) {
|
|
478
|
+
return false;
|
|
479
|
+
}
|
|
466
480
|
const existing_apiName = existing.apiName;
|
|
467
481
|
const incoming_apiName = incoming.apiName;
|
|
468
482
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -8001,7 +8015,7 @@ function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
8001
8015
|
});
|
|
8002
8016
|
}
|
|
8003
8017
|
|
|
8004
|
-
const VERSION$5 = "
|
|
8018
|
+
const VERSION$5 = "4fbdc86189bea9d4aa3019bc6a4fce15";
|
|
8005
8019
|
function validate$7(obj, path = 'SemanticModelOutputRepresentation') {
|
|
8006
8020
|
const v_error = (() => {
|
|
8007
8021
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -8084,6 +8098,11 @@ function validate$7(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
8084
8098
|
if (typeof obj_id !== 'string') {
|
|
8085
8099
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
8086
8100
|
}
|
|
8101
|
+
const obj_isLocked = obj.isLocked;
|
|
8102
|
+
const path_isLocked = path + '.isLocked';
|
|
8103
|
+
if (typeof obj_isLocked !== 'boolean') {
|
|
8104
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isLocked + '" (at "' + path_isLocked + '")');
|
|
8105
|
+
}
|
|
8087
8106
|
if (obj.label !== undefined) {
|
|
8088
8107
|
const obj_label = obj.label;
|
|
8089
8108
|
const path_label = path + '.label';
|
|
@@ -8516,6 +8535,10 @@ const select$f = function SemanticModelOutputRepresentationSelect() {
|
|
|
8516
8535
|
name: 'id',
|
|
8517
8536
|
kind: 'Scalar'
|
|
8518
8537
|
},
|
|
8538
|
+
{
|
|
8539
|
+
name: 'isLocked',
|
|
8540
|
+
kind: 'Scalar'
|
|
8541
|
+
},
|
|
8519
8542
|
{
|
|
8520
8543
|
name: 'label',
|
|
8521
8544
|
kind: 'Scalar',
|
|
@@ -8636,6 +8659,11 @@ const select$f = function SemanticModelOutputRepresentationSelect() {
|
|
|
8636
8659
|
};
|
|
8637
8660
|
};
|
|
8638
8661
|
function equals$5(existing, incoming) {
|
|
8662
|
+
const existing_isLocked = existing.isLocked;
|
|
8663
|
+
const incoming_isLocked = incoming.isLocked;
|
|
8664
|
+
if (!(existing_isLocked === incoming_isLocked)) {
|
|
8665
|
+
return false;
|
|
8666
|
+
}
|
|
8639
8667
|
const existing_apiName = existing.apiName;
|
|
8640
8668
|
const incoming_apiName = incoming.apiName;
|
|
8641
8669
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -8,7 +8,7 @@ import { SemanticLogicalViewOutputRepresentation as SemanticLogicalViewOutputRep
|
|
|
8
8
|
import { SemanticMetricOutputRepresentation as SemanticMetricOutputRepresentation_SemanticMetricOutputRepresentation } from './SemanticMetricOutputRepresentation';
|
|
9
9
|
import { SemanticParameterOutputRepresentation as SemanticParameterOutputRepresentation_SemanticParameterOutputRepresentation } from './SemanticParameterOutputRepresentation';
|
|
10
10
|
import { SemanticRelationshipOutputRepresentation as SemanticRelationshipOutputRepresentation_SemanticRelationshipOutputRepresentation } from './SemanticRelationshipOutputRepresentation';
|
|
11
|
-
export declare const VERSION = "
|
|
11
|
+
export declare const VERSION = "4fbdc86189bea9d4aa3019bc6a4fce15";
|
|
12
12
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
13
13
|
export declare const RepresentationType: string;
|
|
14
14
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -75,6 +75,8 @@ export interface SemanticModelOutputRepresentationNormalized {
|
|
|
75
75
|
description?: string;
|
|
76
76
|
/** The object ID of the semantic entity. */
|
|
77
77
|
id: string;
|
|
78
|
+
/** Is the model locked for edit/ delete. */
|
|
79
|
+
isLocked: boolean;
|
|
78
80
|
/** The display name of the semantic entity to be used in the ui. */
|
|
79
81
|
label?: string;
|
|
80
82
|
/** The user who last modified the semantic entity. */
|
|
@@ -133,6 +135,7 @@ export interface SemanticModelOutputRepresentation {
|
|
|
133
135
|
dataspace: string;
|
|
134
136
|
description?: string;
|
|
135
137
|
id: string;
|
|
138
|
+
isLocked: boolean;
|
|
136
139
|
label?: string;
|
|
137
140
|
lastModifiedBy?: string;
|
|
138
141
|
lastModifiedDate?: string;
|
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 = "e435589d0258f8cf6930ef88e871072c";
|
|
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;
|
|
@@ -35,6 +35,8 @@ export interface SemanticModelPartialOutputRepresentationNormalized {
|
|
|
35
35
|
description?: string;
|
|
36
36
|
/** The object ID of the semantic entity. */
|
|
37
37
|
id: string;
|
|
38
|
+
/** Is the model locked for edit/ delete. */
|
|
39
|
+
isLocked: boolean;
|
|
38
40
|
/** The display name of the semantic entity to be used in the ui. */
|
|
39
41
|
label?: string;
|
|
40
42
|
/** The user who last modified the semantic entity. */
|
|
@@ -77,6 +79,7 @@ export interface SemanticModelPartialOutputRepresentation {
|
|
|
77
79
|
dataspace: string;
|
|
78
80
|
description?: string;
|
|
79
81
|
id: string;
|
|
82
|
+
isLocked: boolean;
|
|
80
83
|
label?: string;
|
|
81
84
|
lastModifiedBy?: string;
|
|
82
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-dev14",
|
|
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-dev14"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.309.0-
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.309.0-dev14"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -7046,7 +7046,7 @@ function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7046
7046
|
});
|
|
7047
7047
|
}
|
|
7048
7048
|
|
|
7049
|
-
const VERSION$7 = "
|
|
7049
|
+
const VERSION$7 = "4fbdc86189bea9d4aa3019bc6a4fce15";
|
|
7050
7050
|
function validate$9(obj, path = 'SemanticModelOutputRepresentation') {
|
|
7051
7051
|
const v_error = (() => {
|
|
7052
7052
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -7129,6 +7129,11 @@ function validate$9(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
7129
7129
|
if (typeof obj_id !== 'string') {
|
|
7130
7130
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
7131
7131
|
}
|
|
7132
|
+
const obj_isLocked = obj.isLocked;
|
|
7133
|
+
const path_isLocked = path + '.isLocked';
|
|
7134
|
+
if (typeof obj_isLocked !== 'boolean') {
|
|
7135
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isLocked + '" (at "' + path_isLocked + '")');
|
|
7136
|
+
}
|
|
7132
7137
|
if (obj.label !== undefined) {
|
|
7133
7138
|
const obj_label = obj.label;
|
|
7134
7139
|
const path_label = path + '.label';
|
|
@@ -7561,6 +7566,10 @@ const select$i = function SemanticModelOutputRepresentationSelect() {
|
|
|
7561
7566
|
name: 'id',
|
|
7562
7567
|
kind: 'Scalar'
|
|
7563
7568
|
},
|
|
7569
|
+
{
|
|
7570
|
+
name: 'isLocked',
|
|
7571
|
+
kind: 'Scalar'
|
|
7572
|
+
},
|
|
7564
7573
|
{
|
|
7565
7574
|
name: 'label',
|
|
7566
7575
|
kind: 'Scalar',
|
|
@@ -7681,6 +7690,11 @@ const select$i = function SemanticModelOutputRepresentationSelect() {
|
|
|
7681
7690
|
};
|
|
7682
7691
|
};
|
|
7683
7692
|
function equals$7(existing, incoming) {
|
|
7693
|
+
const existing_isLocked = existing.isLocked;
|
|
7694
|
+
const incoming_isLocked = incoming.isLocked;
|
|
7695
|
+
if (!(existing_isLocked === incoming_isLocked)) {
|
|
7696
|
+
return false;
|
|
7697
|
+
}
|
|
7684
7698
|
const existing_apiName = existing.apiName;
|
|
7685
7699
|
const incoming_apiName = incoming.apiName;
|
|
7686
7700
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -9755,7 +9769,7 @@ const notifyChangeFactory$1 = (luvio, options) => {
|
|
|
9755
9769
|
};
|
|
9756
9770
|
};
|
|
9757
9771
|
|
|
9758
|
-
const VERSION$2 = "
|
|
9772
|
+
const VERSION$2 = "e435589d0258f8cf6930ef88e871072c";
|
|
9759
9773
|
function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
9760
9774
|
const v_error = (() => {
|
|
9761
9775
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -9838,6 +9852,11 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
9838
9852
|
if (typeof obj_id !== 'string') {
|
|
9839
9853
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
9840
9854
|
}
|
|
9855
|
+
const obj_isLocked = obj.isLocked;
|
|
9856
|
+
const path_isLocked = path + '.isLocked';
|
|
9857
|
+
if (typeof obj_isLocked !== 'boolean') {
|
|
9858
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isLocked + '" (at "' + path_isLocked + '")');
|
|
9859
|
+
}
|
|
9841
9860
|
if (obj.label !== undefined) {
|
|
9842
9861
|
const obj_label = obj.label;
|
|
9843
9862
|
const path_label = path + '.label';
|
|
@@ -10001,6 +10020,10 @@ const select$7 = function SemanticModelPartialOutputRepresentationSelect() {
|
|
|
10001
10020
|
name: 'id',
|
|
10002
10021
|
kind: 'Scalar'
|
|
10003
10022
|
},
|
|
10023
|
+
{
|
|
10024
|
+
name: 'isLocked',
|
|
10025
|
+
kind: 'Scalar'
|
|
10026
|
+
},
|
|
10004
10027
|
{
|
|
10005
10028
|
name: 'label',
|
|
10006
10029
|
kind: 'Scalar',
|
|
@@ -10065,6 +10088,11 @@ const select$7 = function SemanticModelPartialOutputRepresentationSelect() {
|
|
|
10065
10088
|
};
|
|
10066
10089
|
};
|
|
10067
10090
|
function equals$2(existing, incoming) {
|
|
10091
|
+
const existing_isLocked = existing.isLocked;
|
|
10092
|
+
const incoming_isLocked = incoming.isLocked;
|
|
10093
|
+
if (!(existing_isLocked === incoming_isLocked)) {
|
|
10094
|
+
return false;
|
|
10095
|
+
}
|
|
10068
10096
|
const existing_apiName = existing.apiName;
|
|
10069
10097
|
const incoming_apiName = incoming.apiName;
|
|
10070
10098
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -11597,4 +11625,4 @@ withDefaultLuvio((luvio) => {
|
|
|
11597
11625
|
});
|
|
11598
11626
|
|
|
11599
11627
|
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 };
|
|
11600
|
-
// version: 1.309.0-
|
|
11628
|
+
// version: 1.309.0-dev14-d0a3778177
|
package/src/raml/api.raml
CHANGED
|
@@ -2211,6 +2211,9 @@ types:
|
|
|
2211
2211
|
dataspace:
|
|
2212
2212
|
description: Required. Dataspace in which the Semantic Model is located.
|
|
2213
2213
|
type: string
|
|
2214
|
+
isLocked:
|
|
2215
|
+
description: Is the model locked for edit/ delete.
|
|
2216
|
+
type: boolean
|
|
2214
2217
|
queryUnrelatedDataObjects:
|
|
2215
2218
|
description: The type of join performed between the defined Data Cloud Objects. Valid values are AUTO, LEFT, RIGHT, FULL, and INNER.
|
|
2216
2219
|
type: SemanticQueryUnrelatedDataObjectsTypeEnum
|
|
@@ -2393,6 +2396,9 @@ types:
|
|
|
2393
2396
|
dataspace:
|
|
2394
2397
|
description: Required. Dataspace in which the Semantic Model is located.
|
|
2395
2398
|
type: string
|
|
2399
|
+
isLocked:
|
|
2400
|
+
description: Is the model locked for edit/ delete.
|
|
2401
|
+
type: boolean
|
|
2396
2402
|
queryUnrelatedDataObjects:
|
|
2397
2403
|
description: The type of join performed between the defined Data Cloud Objects. Valid values are AUTO, LEFT, RIGHT, FULL, and INNER.
|
|
2398
2404
|
type: SemanticQueryUnrelatedDataObjectsTypeEnum
|