@salesforce/lds-adapters-cdp-semantic-authoring 1.319.0 → 1.321.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/cdp-semantic-authoring.js +41 -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 +42 -3
- package/src/raml/api.raml +7 -0
|
@@ -1531,7 +1531,7 @@ function equals$l(existing, incoming) {
|
|
|
1531
1531
|
return true;
|
|
1532
1532
|
}
|
|
1533
1533
|
|
|
1534
|
-
const VERSION$k = "
|
|
1534
|
+
const VERSION$k = "3387fc4e5c28406b97f056392b16e548";
|
|
1535
1535
|
function validate$M(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
1536
1536
|
const v_error = (() => {
|
|
1537
1537
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1614,6 +1614,13 @@ function validate$M(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
1614
1614
|
if (typeof obj_id !== 'string') {
|
|
1615
1615
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
1616
1616
|
}
|
|
1617
|
+
if (obj.isLocked !== undefined) {
|
|
1618
|
+
const obj_isLocked = obj.isLocked;
|
|
1619
|
+
const path_isLocked = path + '.isLocked';
|
|
1620
|
+
if (typeof obj_isLocked !== 'boolean') {
|
|
1621
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isLocked + '" (at "' + path_isLocked + '")');
|
|
1622
|
+
}
|
|
1623
|
+
}
|
|
1617
1624
|
if (obj.label !== undefined) {
|
|
1618
1625
|
const obj_label = obj.label;
|
|
1619
1626
|
const path_label = path + '.label';
|
|
@@ -1777,6 +1784,11 @@ const select$v = function SemanticModelPartialOutputRepresentationSelect() {
|
|
|
1777
1784
|
name: 'id',
|
|
1778
1785
|
kind: 'Scalar'
|
|
1779
1786
|
},
|
|
1787
|
+
{
|
|
1788
|
+
name: 'isLocked',
|
|
1789
|
+
kind: 'Scalar',
|
|
1790
|
+
required: false
|
|
1791
|
+
},
|
|
1780
1792
|
{
|
|
1781
1793
|
name: 'label',
|
|
1782
1794
|
kind: 'Scalar',
|
|
@@ -1841,6 +1853,19 @@ const select$v = function SemanticModelPartialOutputRepresentationSelect() {
|
|
|
1841
1853
|
};
|
|
1842
1854
|
};
|
|
1843
1855
|
function equals$k(existing, incoming) {
|
|
1856
|
+
const existing_isLocked = existing.isLocked;
|
|
1857
|
+
const incoming_isLocked = incoming.isLocked;
|
|
1858
|
+
// if at least one of these optionals is defined
|
|
1859
|
+
if (existing_isLocked !== undefined || incoming_isLocked !== undefined) {
|
|
1860
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1861
|
+
// not equal
|
|
1862
|
+
if (existing_isLocked === undefined || incoming_isLocked === undefined) {
|
|
1863
|
+
return false;
|
|
1864
|
+
}
|
|
1865
|
+
if (!(existing_isLocked === incoming_isLocked)) {
|
|
1866
|
+
return false;
|
|
1867
|
+
}
|
|
1868
|
+
}
|
|
1844
1869
|
const existing_apiName = existing.apiName;
|
|
1845
1870
|
const incoming_apiName = incoming.apiName;
|
|
1846
1871
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -8243,7 +8268,7 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
8243
8268
|
});
|
|
8244
8269
|
}
|
|
8245
8270
|
|
|
8246
|
-
const VERSION$4 = "
|
|
8271
|
+
const VERSION$4 = "4fbdc86189bea9d4aa3019bc6a4fce15";
|
|
8247
8272
|
function validate$6(obj, path = 'SemanticModelOutputRepresentation') {
|
|
8248
8273
|
const v_error = (() => {
|
|
8249
8274
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -8326,6 +8351,11 @@ function validate$6(obj, path = 'SemanticModelOutputRepresentation') {
|
|
|
8326
8351
|
if (typeof obj_id !== 'string') {
|
|
8327
8352
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
8328
8353
|
}
|
|
8354
|
+
const obj_isLocked = obj.isLocked;
|
|
8355
|
+
const path_isLocked = path + '.isLocked';
|
|
8356
|
+
if (typeof obj_isLocked !== 'boolean') {
|
|
8357
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isLocked + '" (at "' + path_isLocked + '")');
|
|
8358
|
+
}
|
|
8329
8359
|
if (obj.label !== undefined) {
|
|
8330
8360
|
const obj_label = obj.label;
|
|
8331
8361
|
const path_label = path + '.label';
|
|
@@ -8758,6 +8788,10 @@ const select$e = function SemanticModelOutputRepresentationSelect() {
|
|
|
8758
8788
|
name: 'id',
|
|
8759
8789
|
kind: 'Scalar'
|
|
8760
8790
|
},
|
|
8791
|
+
{
|
|
8792
|
+
name: 'isLocked',
|
|
8793
|
+
kind: 'Scalar'
|
|
8794
|
+
},
|
|
8761
8795
|
{
|
|
8762
8796
|
name: 'label',
|
|
8763
8797
|
kind: 'Scalar',
|
|
@@ -8878,6 +8912,11 @@ const select$e = function SemanticModelOutputRepresentationSelect() {
|
|
|
8878
8912
|
};
|
|
8879
8913
|
};
|
|
8880
8914
|
function equals$4(existing, incoming) {
|
|
8915
|
+
const existing_isLocked = existing.isLocked;
|
|
8916
|
+
const incoming_isLocked = incoming.isLocked;
|
|
8917
|
+
if (!(existing_isLocked === incoming_isLocked)) {
|
|
8918
|
+
return false;
|
|
8919
|
+
}
|
|
8881
8920
|
const existing_apiName = existing.apiName;
|
|
8882
8921
|
const incoming_apiName = incoming.apiName;
|
|
8883
8922
|
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 = "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;
|
|
@@ -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.
|
|
3
|
+
"version": "1.321.0",
|
|
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.321.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.321.0"
|
|
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$j = 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$j = 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)) {
|
|
@@ -9859,7 +9873,7 @@ const notifyChangeFactory$1 = (luvio, options) => {
|
|
|
9859
9873
|
};
|
|
9860
9874
|
};
|
|
9861
9875
|
|
|
9862
|
-
const VERSION$2 = "
|
|
9876
|
+
const VERSION$2 = "3387fc4e5c28406b97f056392b16e548";
|
|
9863
9877
|
function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
9864
9878
|
const v_error = (() => {
|
|
9865
9879
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -9942,6 +9956,13 @@ function validate$2(obj, path = 'SemanticModelPartialOutputRepresentation') {
|
|
|
9942
9956
|
if (typeof obj_id !== 'string') {
|
|
9943
9957
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
9944
9958
|
}
|
|
9959
|
+
if (obj.isLocked !== undefined) {
|
|
9960
|
+
const obj_isLocked = obj.isLocked;
|
|
9961
|
+
const path_isLocked = path + '.isLocked';
|
|
9962
|
+
if (typeof obj_isLocked !== 'boolean') {
|
|
9963
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isLocked + '" (at "' + path_isLocked + '")');
|
|
9964
|
+
}
|
|
9965
|
+
}
|
|
9945
9966
|
if (obj.label !== undefined) {
|
|
9946
9967
|
const obj_label = obj.label;
|
|
9947
9968
|
const path_label = path + '.label';
|
|
@@ -10105,6 +10126,11 @@ const select$7 = function SemanticModelPartialOutputRepresentationSelect() {
|
|
|
10105
10126
|
name: 'id',
|
|
10106
10127
|
kind: 'Scalar'
|
|
10107
10128
|
},
|
|
10129
|
+
{
|
|
10130
|
+
name: 'isLocked',
|
|
10131
|
+
kind: 'Scalar',
|
|
10132
|
+
required: false
|
|
10133
|
+
},
|
|
10108
10134
|
{
|
|
10109
10135
|
name: 'label',
|
|
10110
10136
|
kind: 'Scalar',
|
|
@@ -10169,6 +10195,19 @@ const select$7 = function SemanticModelPartialOutputRepresentationSelect() {
|
|
|
10169
10195
|
};
|
|
10170
10196
|
};
|
|
10171
10197
|
function equals$2(existing, incoming) {
|
|
10198
|
+
const existing_isLocked = existing.isLocked;
|
|
10199
|
+
const incoming_isLocked = incoming.isLocked;
|
|
10200
|
+
// if at least one of these optionals is defined
|
|
10201
|
+
if (existing_isLocked !== undefined || incoming_isLocked !== undefined) {
|
|
10202
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
10203
|
+
// not equal
|
|
10204
|
+
if (existing_isLocked === undefined || incoming_isLocked === undefined) {
|
|
10205
|
+
return false;
|
|
10206
|
+
}
|
|
10207
|
+
if (!(existing_isLocked === incoming_isLocked)) {
|
|
10208
|
+
return false;
|
|
10209
|
+
}
|
|
10210
|
+
}
|
|
10172
10211
|
const existing_apiName = existing.apiName;
|
|
10173
10212
|
const incoming_apiName = incoming.apiName;
|
|
10174
10213
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -11712,4 +11751,4 @@ withDefaultLuvio((luvio) => {
|
|
|
11712
11751
|
});
|
|
11713
11752
|
|
|
11714
11753
|
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 };
|
|
11715
|
-
// version: 1.
|
|
11754
|
+
// version: 1.321.0-40847d67a8
|
package/src/raml/api.raml
CHANGED
|
@@ -2215,6 +2215,9 @@ types:
|
|
|
2215
2215
|
dataspace:
|
|
2216
2216
|
description: Required. Dataspace in which the Semantic Model is located.
|
|
2217
2217
|
type: string
|
|
2218
|
+
isLocked:
|
|
2219
|
+
description: Is the model locked for edit/ delete.
|
|
2220
|
+
type: boolean
|
|
2218
2221
|
queryUnrelatedDataObjects:
|
|
2219
2222
|
description: The type of join performed between the defined Data Cloud Objects. Valid values are AUTO, LEFT, RIGHT, FULL, and INNER.
|
|
2220
2223
|
type: SemanticQueryUnrelatedDataObjectsTypeEnum
|
|
@@ -2397,6 +2400,10 @@ types:
|
|
|
2397
2400
|
dataspace:
|
|
2398
2401
|
description: Required. Dataspace in which the Semantic Model is located.
|
|
2399
2402
|
type: string
|
|
2403
|
+
isLocked:
|
|
2404
|
+
description: Is the model locked for edit/ delete.
|
|
2405
|
+
type: boolean
|
|
2406
|
+
required: false
|
|
2400
2407
|
queryUnrelatedDataObjects:
|
|
2401
2408
|
description: The type of join performed between the defined Data Cloud Objects. Valid values are AUTO, LEFT, RIGHT, FULL, and INNER.
|
|
2402
2409
|
type: SemanticQueryUnrelatedDataObjectsTypeEnum
|