@salesforce/lds-adapters-cms-authoring 1.360.1 → 1.361.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/cms-authoring.js +20 -20
- package/dist/es/es2018/types/src/generated/types/ManagedContentProviderCollectionRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentProviderInstanceInputRepresentation.d.ts +7 -7
- package/dist/es/es2018/types/src/generated/types/ManagedContentProviderInstanceRepresentation.d.ts +1 -4
- package/dist/es/es2018/types/src/generated/types/ManagedContentProviderRepresentation.d.ts +5 -2
- package/package.json +4 -4
- package/sfdc/index.js +21 -21
- package/src/raml/api.raml +6 -22
- package/dist/es/es2018/types/src/generated/types/ManagedContentProviderInputRepresentation.d.ts +0 -37
|
@@ -993,7 +993,7 @@ function validate$1d(obj, path = 'ManagedContentDeploymentCollectionRepresentati
|
|
|
993
993
|
for (let i = 0; i < obj_deployments.length; i++) {
|
|
994
994
|
const obj_deployments_item = obj_deployments[i];
|
|
995
995
|
const path_deployments_item = path_deployments + '[' + i + ']';
|
|
996
|
-
if (typeof obj_deployments_item !== 'object') {
|
|
996
|
+
if (typeof obj_deployments_item !== 'object' || Array.isArray(obj_deployments_item)) {
|
|
997
997
|
return new TypeError('Expected "object" but received "' + typeof obj_deployments_item + '" (at "' + path_deployments_item + '")');
|
|
998
998
|
}
|
|
999
999
|
}
|
|
@@ -1888,7 +1888,7 @@ function validate$18(obj, path = 'ManagedContentJobCollectionRepresentation') {
|
|
|
1888
1888
|
for (let i = 0; i < obj_jobs.length; i++) {
|
|
1889
1889
|
const obj_jobs_item = obj_jobs[i];
|
|
1890
1890
|
const path_jobs_item = path_jobs + '[' + i + ']';
|
|
1891
|
-
if (typeof obj_jobs_item !== 'object') {
|
|
1891
|
+
if (typeof obj_jobs_item !== 'object' || Array.isArray(obj_jobs_item)) {
|
|
1892
1892
|
return new TypeError('Expected "object" but received "' + typeof obj_jobs_item + '" (at "' + path_jobs_item + '")');
|
|
1893
1893
|
}
|
|
1894
1894
|
}
|
|
@@ -2999,17 +2999,12 @@ const getCollectionItemsAdapterFactory = (luvio) => function CMSAuthoring__getCo
|
|
|
2999
2999
|
buildCachedSnapshotCachePolicy$n, buildNetworkSnapshotCachePolicy$n);
|
|
3000
3000
|
};
|
|
3001
3001
|
|
|
3002
|
-
const VERSION$z = "
|
|
3002
|
+
const VERSION$z = "38bb74dec68d25ea323600dd79366e97";
|
|
3003
3003
|
function validate$12(obj, path = 'ManagedContentProviderInstanceRepresentation') {
|
|
3004
3004
|
const v_error = (() => {
|
|
3005
3005
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3006
3006
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3007
3007
|
}
|
|
3008
|
-
const obj_componentDefinition = obj.componentDefinition;
|
|
3009
|
-
const path_componentDefinition = path + '.componentDefinition';
|
|
3010
|
-
if (typeof obj_componentDefinition !== 'string') {
|
|
3011
|
-
return new TypeError('Expected "string" but received "' + typeof obj_componentDefinition + '" (at "' + path_componentDefinition + '")');
|
|
3012
|
-
}
|
|
3013
3008
|
const obj_instanceUrl = obj.instanceUrl;
|
|
3014
3009
|
const path_instanceUrl = path + '.instanceUrl';
|
|
3015
3010
|
if (typeof obj_instanceUrl !== 'string') {
|
|
@@ -3039,10 +3034,6 @@ const select$1d = function ManagedContentProviderInstanceRepresentationSelect()
|
|
|
3039
3034
|
version: VERSION$z,
|
|
3040
3035
|
private: [],
|
|
3041
3036
|
selections: [
|
|
3042
|
-
{
|
|
3043
|
-
name: 'componentDefinition',
|
|
3044
|
-
kind: 'Scalar'
|
|
3045
|
-
},
|
|
3046
3037
|
{
|
|
3047
3038
|
name: 'instanceUrl',
|
|
3048
3039
|
kind: 'Scalar'
|
|
@@ -3068,11 +3059,6 @@ function equals$z(existing, incoming) {
|
|
|
3068
3059
|
if (!(existing_isDefault === incoming_isDefault)) {
|
|
3069
3060
|
return false;
|
|
3070
3061
|
}
|
|
3071
|
-
const existing_componentDefinition = existing.componentDefinition;
|
|
3072
|
-
const incoming_componentDefinition = incoming.componentDefinition;
|
|
3073
|
-
if (!(existing_componentDefinition === incoming_componentDefinition)) {
|
|
3074
|
-
return false;
|
|
3075
|
-
}
|
|
3076
3062
|
const existing_instanceUrl = existing.instanceUrl;
|
|
3077
3063
|
const incoming_instanceUrl = incoming.instanceUrl;
|
|
3078
3064
|
if (!(existing_instanceUrl === incoming_instanceUrl)) {
|
|
@@ -3091,12 +3077,17 @@ function equals$z(existing, incoming) {
|
|
|
3091
3077
|
return true;
|
|
3092
3078
|
}
|
|
3093
3079
|
|
|
3094
|
-
const VERSION$y = "
|
|
3080
|
+
const VERSION$y = "b89b54fc329ebfa6827fac717669e2bd";
|
|
3095
3081
|
function validate$11(obj, path = 'ManagedContentProviderRepresentation') {
|
|
3096
3082
|
const v_error = (() => {
|
|
3097
3083
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3098
3084
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3099
3085
|
}
|
|
3086
|
+
const obj_componentDefinition = obj.componentDefinition;
|
|
3087
|
+
const path_componentDefinition = path + '.componentDefinition';
|
|
3088
|
+
if (typeof obj_componentDefinition !== 'string') {
|
|
3089
|
+
return new TypeError('Expected "string" but received "' + typeof obj_componentDefinition + '" (at "' + path_componentDefinition + '")');
|
|
3090
|
+
}
|
|
3100
3091
|
const obj_icon = obj.icon;
|
|
3101
3092
|
const path_icon = path + '.icon';
|
|
3102
3093
|
if (typeof obj_icon !== 'string') {
|
|
@@ -3147,6 +3138,10 @@ const select$1c = function ManagedContentProviderRepresentationSelect() {
|
|
|
3147
3138
|
version: VERSION$y,
|
|
3148
3139
|
private: [],
|
|
3149
3140
|
selections: [
|
|
3141
|
+
{
|
|
3142
|
+
name: 'componentDefinition',
|
|
3143
|
+
kind: 'Scalar'
|
|
3144
|
+
},
|
|
3150
3145
|
{
|
|
3151
3146
|
name: 'icon',
|
|
3152
3147
|
kind: 'Scalar'
|
|
@@ -3177,6 +3172,11 @@ const select$1c = function ManagedContentProviderRepresentationSelect() {
|
|
|
3177
3172
|
};
|
|
3178
3173
|
};
|
|
3179
3174
|
function equals$y(existing, incoming) {
|
|
3175
|
+
const existing_componentDefinition = existing.componentDefinition;
|
|
3176
|
+
const incoming_componentDefinition = incoming.componentDefinition;
|
|
3177
|
+
if (!(existing_componentDefinition === incoming_componentDefinition)) {
|
|
3178
|
+
return false;
|
|
3179
|
+
}
|
|
3180
3180
|
const existing_icon = existing.icon;
|
|
3181
3181
|
const incoming_icon = incoming.icon;
|
|
3182
3182
|
if (!(existing_icon === incoming_icon)) {
|
|
@@ -7060,7 +7060,7 @@ function validate$A(obj, path = 'ManagedContentTaxonomyTermRepresentation') {
|
|
|
7060
7060
|
for (let i = 0; i < obj_pathsFromRoot.length; i++) {
|
|
7061
7061
|
const obj_pathsFromRoot_item = obj_pathsFromRoot[i];
|
|
7062
7062
|
const path_pathsFromRoot_item = path_pathsFromRoot + '[' + i + ']';
|
|
7063
|
-
if (typeof obj_pathsFromRoot_item !== 'object') {
|
|
7063
|
+
if (typeof obj_pathsFromRoot_item !== 'object' || Array.isArray(obj_pathsFromRoot_item)) {
|
|
7064
7064
|
return new TypeError('Expected "object" but received "' + typeof obj_pathsFromRoot_item + '" (at "' + path_pathsFromRoot_item + '")');
|
|
7065
7065
|
}
|
|
7066
7066
|
}
|
|
@@ -7235,7 +7235,7 @@ function validate$z(obj, path = 'ManagedContentTaxonomyTermCollectionRepresentat
|
|
|
7235
7235
|
for (let i = 0; i < obj_taxonomyTerms.length; i++) {
|
|
7236
7236
|
const obj_taxonomyTerms_item = obj_taxonomyTerms[i];
|
|
7237
7237
|
const path_taxonomyTerms_item = path_taxonomyTerms + '[' + i + ']';
|
|
7238
|
-
if (typeof obj_taxonomyTerms_item !== 'object') {
|
|
7238
|
+
if (typeof obj_taxonomyTerms_item !== 'object' || Array.isArray(obj_taxonomyTerms_item)) {
|
|
7239
7239
|
return new TypeError('Expected "object" but received "' + typeof obj_taxonomyTerms_item + '" (at "' + path_taxonomyTerms_item + '")');
|
|
7240
7240
|
}
|
|
7241
7241
|
}
|
package/dist/es/es2018/types/src/generated/types/ManagedContentProviderCollectionRepresentation.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export interface ManagedContentProviderCollectionRepresentationNormalized {
|
|
|
22
22
|
nextPageUrl: string | null;
|
|
23
23
|
/** Managed content providers for this page. */
|
|
24
24
|
providers: Array<ManagedContentProviderRepresentation_ManagedContentProviderRepresentation>;
|
|
25
|
-
/** Total number of managed content providers
|
|
25
|
+
/** Total number of managed content providers. */
|
|
26
26
|
total: number;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
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';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "1092bf7b67c5f2f474d9326cab6a6ad4";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: ManagedContentProviderInstanceInputRepresentation, existing: ManagedContentProviderInstanceInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentProviderInstanceInputRepresentationNormalized;
|
|
@@ -8,23 +8,23 @@ export declare function equals(existing: ManagedContentProviderInstanceInputRepr
|
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
9
|
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ManagedContentProviderInstanceInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Input representation for Managed Content Provider Instance.
|
|
12
12
|
*
|
|
13
13
|
* Keys:
|
|
14
14
|
* (none)
|
|
15
15
|
*/
|
|
16
16
|
export interface ManagedContentProviderInstanceInputRepresentationNormalized {
|
|
17
|
-
/**
|
|
17
|
+
/** Provider Instance Url. */
|
|
18
18
|
instanceUrl: string;
|
|
19
|
-
/**
|
|
19
|
+
/** Boolean flag to indicate the url is default for the provider. */
|
|
20
20
|
isDefault: boolean;
|
|
21
|
-
/**
|
|
21
|
+
/** Provider Instance Name. */
|
|
22
22
|
name: string;
|
|
23
|
-
/**
|
|
23
|
+
/** Provider Lightning Component Id. */
|
|
24
24
|
providerLightningComponentId: string;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Input representation for Managed Content Provider Instance.
|
|
28
28
|
*
|
|
29
29
|
* Keys:
|
|
30
30
|
* (none)
|
package/dist/es/es2018/types/src/generated/types/ManagedContentProviderInstanceRepresentation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
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';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "38bb74dec68d25ea323600dd79366e97";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: ManagedContentProviderInstanceRepresentation, existing: ManagedContentProviderInstanceRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentProviderInstanceRepresentationNormalized;
|
|
@@ -14,8 +14,6 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
14
14
|
* (none)
|
|
15
15
|
*/
|
|
16
16
|
export interface ManagedContentProviderInstanceRepresentationNormalized {
|
|
17
|
-
/** The provider lighting component id */
|
|
18
|
-
componentDefinition: string;
|
|
19
17
|
/** The provider instance url */
|
|
20
18
|
instanceUrl: string;
|
|
21
19
|
/** Whether or not the provider instance is the default one */
|
|
@@ -32,7 +30,6 @@ export interface ManagedContentProviderInstanceRepresentationNormalized {
|
|
|
32
30
|
* (none)
|
|
33
31
|
*/
|
|
34
32
|
export interface ManagedContentProviderInstanceRepresentation {
|
|
35
|
-
componentDefinition: string;
|
|
36
33
|
instanceUrl: string;
|
|
37
34
|
isDefault: boolean;
|
|
38
35
|
name: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ManagedContentProviderInstanceRepresentation as ManagedContentProviderInstanceRepresentation_ManagedContentProviderInstanceRepresentation } from './ManagedContentProviderInstanceRepresentation';
|
|
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 = "b89b54fc329ebfa6827fac717669e2bd";
|
|
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: ManagedContentProviderRepresentation, existing: ManagedContentProviderRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentProviderRepresentationNormalized;
|
|
@@ -15,6 +15,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
15
15
|
* (none)
|
|
16
16
|
*/
|
|
17
17
|
export interface ManagedContentProviderRepresentationNormalized {
|
|
18
|
+
/** The component definition of the picker menu item */
|
|
19
|
+
componentDefinition: string;
|
|
18
20
|
/** The icon of the picker menu item */
|
|
19
21
|
icon: string;
|
|
20
22
|
/** The label of the picker menu item */
|
|
@@ -23,7 +25,7 @@ export interface ManagedContentProviderRepresentationNormalized {
|
|
|
23
25
|
providerId: string;
|
|
24
26
|
/** The provider instances of the provider */
|
|
25
27
|
providerInstances: Array<ManagedContentProviderInstanceRepresentation_ManagedContentProviderInstanceRepresentation>;
|
|
26
|
-
/** The
|
|
28
|
+
/** The entity id of the picker menu item */
|
|
27
29
|
providerLightningComponentId: string;
|
|
28
30
|
/** The type of the picker menu item */
|
|
29
31
|
type: string;
|
|
@@ -35,6 +37,7 @@ export interface ManagedContentProviderRepresentationNormalized {
|
|
|
35
37
|
* (none)
|
|
36
38
|
*/
|
|
37
39
|
export interface ManagedContentProviderRepresentation {
|
|
40
|
+
componentDefinition: string;
|
|
38
41
|
icon: string;
|
|
39
42
|
label: string;
|
|
40
43
|
providerId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-cms-authoring",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.361.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Wire adapters for CMS authoring APIs",
|
|
6
6
|
"main": "dist/es/es2018/cms-authoring.js",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"test:unit": "jest"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@salesforce/lds-bindings": "^1.
|
|
47
|
+
"@salesforce/lds-bindings": "^1.361.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
51
|
-
"@salesforce/lds-karma": "^1.
|
|
50
|
+
"@salesforce/lds-compiler-plugins": "^1.361.0",
|
|
51
|
+
"@salesforce/lds-karma": "^1.361.0"
|
|
52
52
|
},
|
|
53
53
|
"nx": {
|
|
54
54
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -4042,7 +4042,7 @@ function validate$U(obj, path = 'ManagedContentJobCollectionRepresentation') {
|
|
|
4042
4042
|
for (let i = 0; i < obj_jobs.length; i++) {
|
|
4043
4043
|
const obj_jobs_item = obj_jobs[i];
|
|
4044
4044
|
const path_jobs_item = path_jobs + '[' + i + ']';
|
|
4045
|
-
if (typeof obj_jobs_item !== 'object') {
|
|
4045
|
+
if (typeof obj_jobs_item !== 'object' || Array.isArray(obj_jobs_item)) {
|
|
4046
4046
|
return new TypeError('Expected "object" but received "' + typeof obj_jobs_item + '" (at "' + path_jobs_item + '")');
|
|
4047
4047
|
}
|
|
4048
4048
|
}
|
|
@@ -4882,7 +4882,7 @@ function validate$Q(obj, path = 'ManagedContentDeploymentCollectionRepresentatio
|
|
|
4882
4882
|
for (let i = 0; i < obj_deployments.length; i++) {
|
|
4883
4883
|
const obj_deployments_item = obj_deployments[i];
|
|
4884
4884
|
const path_deployments_item = path_deployments + '[' + i + ']';
|
|
4885
|
-
if (typeof obj_deployments_item !== 'object') {
|
|
4885
|
+
if (typeof obj_deployments_item !== 'object' || Array.isArray(obj_deployments_item)) {
|
|
4886
4886
|
return new TypeError('Expected "object" but received "' + typeof obj_deployments_item + '" (at "' + path_deployments_item + '")');
|
|
4887
4887
|
}
|
|
4888
4888
|
}
|
|
@@ -7042,17 +7042,12 @@ const getManagedContentPreviewsAdapterFactory = (luvio) => function CMSAuthoring
|
|
|
7042
7042
|
buildCachedSnapshotCachePolicy$h, buildNetworkSnapshotCachePolicy$h);
|
|
7043
7043
|
};
|
|
7044
7044
|
|
|
7045
|
-
const VERSION$o = "
|
|
7045
|
+
const VERSION$o = "38bb74dec68d25ea323600dd79366e97";
|
|
7046
7046
|
function validate$F(obj, path = 'ManagedContentProviderInstanceRepresentation') {
|
|
7047
7047
|
const v_error = (() => {
|
|
7048
7048
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7049
7049
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
7050
7050
|
}
|
|
7051
|
-
const obj_componentDefinition = obj.componentDefinition;
|
|
7052
|
-
const path_componentDefinition = path + '.componentDefinition';
|
|
7053
|
-
if (typeof obj_componentDefinition !== 'string') {
|
|
7054
|
-
return new TypeError('Expected "string" but received "' + typeof obj_componentDefinition + '" (at "' + path_componentDefinition + '")');
|
|
7055
|
-
}
|
|
7056
7051
|
const obj_instanceUrl = obj.instanceUrl;
|
|
7057
7052
|
const path_instanceUrl = path + '.instanceUrl';
|
|
7058
7053
|
if (typeof obj_instanceUrl !== 'string') {
|
|
@@ -7082,10 +7077,6 @@ const select$Q = function ManagedContentProviderInstanceRepresentationSelect() {
|
|
|
7082
7077
|
version: VERSION$o,
|
|
7083
7078
|
private: [],
|
|
7084
7079
|
selections: [
|
|
7085
|
-
{
|
|
7086
|
-
name: 'componentDefinition',
|
|
7087
|
-
kind: 'Scalar'
|
|
7088
|
-
},
|
|
7089
7080
|
{
|
|
7090
7081
|
name: 'instanceUrl',
|
|
7091
7082
|
kind: 'Scalar'
|
|
@@ -7111,11 +7102,6 @@ function equals$o(existing, incoming) {
|
|
|
7111
7102
|
if (!(existing_isDefault === incoming_isDefault)) {
|
|
7112
7103
|
return false;
|
|
7113
7104
|
}
|
|
7114
|
-
const existing_componentDefinition = existing.componentDefinition;
|
|
7115
|
-
const incoming_componentDefinition = incoming.componentDefinition;
|
|
7116
|
-
if (!(existing_componentDefinition === incoming_componentDefinition)) {
|
|
7117
|
-
return false;
|
|
7118
|
-
}
|
|
7119
7105
|
const existing_instanceUrl = existing.instanceUrl;
|
|
7120
7106
|
const incoming_instanceUrl = incoming.instanceUrl;
|
|
7121
7107
|
if (!(existing_instanceUrl === incoming_instanceUrl)) {
|
|
@@ -7134,12 +7120,17 @@ function equals$o(existing, incoming) {
|
|
|
7134
7120
|
return true;
|
|
7135
7121
|
}
|
|
7136
7122
|
|
|
7137
|
-
const VERSION$n = "
|
|
7123
|
+
const VERSION$n = "b89b54fc329ebfa6827fac717669e2bd";
|
|
7138
7124
|
function validate$E(obj, path = 'ManagedContentProviderRepresentation') {
|
|
7139
7125
|
const v_error = (() => {
|
|
7140
7126
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7141
7127
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
7142
7128
|
}
|
|
7129
|
+
const obj_componentDefinition = obj.componentDefinition;
|
|
7130
|
+
const path_componentDefinition = path + '.componentDefinition';
|
|
7131
|
+
if (typeof obj_componentDefinition !== 'string') {
|
|
7132
|
+
return new TypeError('Expected "string" but received "' + typeof obj_componentDefinition + '" (at "' + path_componentDefinition + '")');
|
|
7133
|
+
}
|
|
7143
7134
|
const obj_icon = obj.icon;
|
|
7144
7135
|
const path_icon = path + '.icon';
|
|
7145
7136
|
if (typeof obj_icon !== 'string') {
|
|
@@ -7190,6 +7181,10 @@ const select$P = function ManagedContentProviderRepresentationSelect() {
|
|
|
7190
7181
|
version: VERSION$n,
|
|
7191
7182
|
private: [],
|
|
7192
7183
|
selections: [
|
|
7184
|
+
{
|
|
7185
|
+
name: 'componentDefinition',
|
|
7186
|
+
kind: 'Scalar'
|
|
7187
|
+
},
|
|
7193
7188
|
{
|
|
7194
7189
|
name: 'icon',
|
|
7195
7190
|
kind: 'Scalar'
|
|
@@ -7220,6 +7215,11 @@ const select$P = function ManagedContentProviderRepresentationSelect() {
|
|
|
7220
7215
|
};
|
|
7221
7216
|
};
|
|
7222
7217
|
function equals$n(existing, incoming) {
|
|
7218
|
+
const existing_componentDefinition = existing.componentDefinition;
|
|
7219
|
+
const incoming_componentDefinition = incoming.componentDefinition;
|
|
7220
|
+
if (!(existing_componentDefinition === incoming_componentDefinition)) {
|
|
7221
|
+
return false;
|
|
7222
|
+
}
|
|
7223
7223
|
const existing_icon = existing.icon;
|
|
7224
7224
|
const incoming_icon = incoming.icon;
|
|
7225
7225
|
if (!(existing_icon === incoming_icon)) {
|
|
@@ -10696,7 +10696,7 @@ function validate$n(obj, path = 'ManagedContentTaxonomyTermRepresentation') {
|
|
|
10696
10696
|
for (let i = 0; i < obj_pathsFromRoot.length; i++) {
|
|
10697
10697
|
const obj_pathsFromRoot_item = obj_pathsFromRoot[i];
|
|
10698
10698
|
const path_pathsFromRoot_item = path_pathsFromRoot + '[' + i + ']';
|
|
10699
|
-
if (typeof obj_pathsFromRoot_item !== 'object') {
|
|
10699
|
+
if (typeof obj_pathsFromRoot_item !== 'object' || Array.isArray(obj_pathsFromRoot_item)) {
|
|
10700
10700
|
return new TypeError('Expected "object" but received "' + typeof obj_pathsFromRoot_item + '" (at "' + path_pathsFromRoot_item + '")');
|
|
10701
10701
|
}
|
|
10702
10702
|
}
|
|
@@ -10871,7 +10871,7 @@ function validate$m(obj, path = 'ManagedContentTaxonomyTermCollectionRepresentat
|
|
|
10871
10871
|
for (let i = 0; i < obj_taxonomyTerms.length; i++) {
|
|
10872
10872
|
const obj_taxonomyTerms_item = obj_taxonomyTerms[i];
|
|
10873
10873
|
const path_taxonomyTerms_item = path_taxonomyTerms + '[' + i + ']';
|
|
10874
|
-
if (typeof obj_taxonomyTerms_item !== 'object') {
|
|
10874
|
+
if (typeof obj_taxonomyTerms_item !== 'object' || Array.isArray(obj_taxonomyTerms_item)) {
|
|
10875
10875
|
return new TypeError('Expected "object" but received "' + typeof obj_taxonomyTerms_item + '" (at "' + path_taxonomyTerms_item + '")');
|
|
10876
10876
|
}
|
|
10877
10877
|
}
|
|
@@ -15044,4 +15044,4 @@ withDefaultLuvio((luvio) => {
|
|
|
15044
15044
|
});
|
|
15045
15045
|
|
|
15046
15046
|
export { cloneManagedContentDocument, createDeployment, createManagedContent, createManagedContentExportV2Job, createManagedContentImportV2Job, createManagedContentTranslationVariants, createManagedContentVariant, createSchedule, createTranslationV2Job, deleteManagedContentVariant, getAllCMSJobsForSpace, getAllCMSJobsForSpace_imperative, getCMSJobForSpace, getCMSJobForSpaceNotifyChange, getCMSJobForSpace_imperative, getCollectionItems, getCollectionItems_imperative, getDeployments, getDeployments_imperative, getFormEmbedScript, getFormEmbedScript_imperative, getMCSFolderShareTargets, getMCSFolderShareTargets_imperative, getMCSFolderShares, getMCSFolderSharesNotifyChange, getMCSFolderShares_imperative, getManagedContent, getManagedContentByFolderId, getManagedContentByFolderId_imperative, getManagedContentForSite, getManagedContentForSite_imperative, getManagedContentPreviews, getManagedContentPreviews_imperative, getManagedContentProviders, getManagedContentProviders_imperative, getManagedContentReferencedBy, getManagedContentReferencedBy_imperative, getManagedContentSingleItem, getManagedContentSingleItem_imperative, getManagedContentSpace, getManagedContentSpaceByFullyQualifiedName, getManagedContentSpaceByFullyQualifiedName_imperative, getManagedContentSpaceFolder, getManagedContentSpaceFolderItemsV1, getManagedContentSpaceFolderItemsV1_imperative, getManagedContentSpaceFolder_imperative, getManagedContentSpaceNotifyChange, getManagedContentSpaceOrchestratorConfig, getManagedContentSpaceOrchestratorConfigNotifyChange, getManagedContentSpaceOrchestratorConfig_imperative, getManagedContentSpace_imperative, getManagedContentSpaces, getManagedContentSpaces_imperative, getManagedContentTaxonomyTerms, getManagedContentTaxonomyTerms_imperative, getManagedContentTypesForMixin, getManagedContentTypesForMixin_imperative, getManagedContentVariant, getManagedContentVariantNotifyChange, getManagedContentVariantReferences, getManagedContentVariantReferences_imperative, getManagedContentVariantRendition, getManagedContentVariantRendition_imperative, getManagedContentVariantVersions, getManagedContentVariantVersionsNotifyChange, getManagedContentVariantVersions_imperative, getManagedContentVariant_imperative, getManagedContent_imperative, getSearchResults, getSearchResults_imperative, getWebUrls, getWebUrls_imperative, patchManagedContentSpace, postManagedContentSpace, postManagedContentSpaceFolder, publishManagedContent, putManagedContentSpaceOrchestratorConfig, replaceManagedContentVariant, unpublishManagedContent, updateDeployment, updateMCSFolderShares, updateManagedContentTaxonomyTerms, updateManagedContentWebUrl };
|
|
15047
|
-
// version: 1.
|
|
15047
|
+
// version: 1.361.0-eb406138cb
|
package/src/raml/api.raml
CHANGED
|
@@ -1593,9 +1593,9 @@ types:
|
|
|
1593
1593
|
items:
|
|
1594
1594
|
type: ManagedContentProviderRepresentation
|
|
1595
1595
|
total:
|
|
1596
|
-
description: Total number of managed content providers
|
|
1596
|
+
description: Total number of managed content providers.
|
|
1597
1597
|
type: integer
|
|
1598
|
-
|
|
1598
|
+
ManagedContentProviderInstanceInputRepresentation:
|
|
1599
1599
|
description: Input representation for Managed Content Provider Instance.
|
|
1600
1600
|
type: object
|
|
1601
1601
|
properties:
|
|
@@ -1611,29 +1611,10 @@ types:
|
|
|
1611
1611
|
providerLightningComponentId:
|
|
1612
1612
|
description: Provider Lightning Component Id.
|
|
1613
1613
|
type: string
|
|
1614
|
-
ManagedContentProviderInstanceInputRepresentation:
|
|
1615
|
-
description: Information about a managed content instance provider
|
|
1616
|
-
type: object
|
|
1617
|
-
properties:
|
|
1618
|
-
instanceUrl:
|
|
1619
|
-
description: The provider instance url
|
|
1620
|
-
type: string
|
|
1621
|
-
isDefault:
|
|
1622
|
-
description: Whether or not the provider instance is the default one
|
|
1623
|
-
type: boolean
|
|
1624
|
-
name:
|
|
1625
|
-
description: The name of the provider instance
|
|
1626
|
-
type: string
|
|
1627
|
-
providerLightningComponentId:
|
|
1628
|
-
description: The provider lighting component id
|
|
1629
|
-
type: string
|
|
1630
1614
|
ManagedContentProviderInstanceRepresentation:
|
|
1631
1615
|
description: Information about a managed content instance provider
|
|
1632
1616
|
type: object
|
|
1633
1617
|
properties:
|
|
1634
|
-
componentDefinition:
|
|
1635
|
-
description: The provider lighting component id
|
|
1636
|
-
type: string
|
|
1637
1618
|
instanceUrl:
|
|
1638
1619
|
description: The provider instance url
|
|
1639
1620
|
type: string
|
|
@@ -1650,6 +1631,9 @@ types:
|
|
|
1650
1631
|
description: Information about a managed content provider
|
|
1651
1632
|
type: object
|
|
1652
1633
|
properties:
|
|
1634
|
+
componentDefinition:
|
|
1635
|
+
description: The component definition of the picker menu item
|
|
1636
|
+
type: string
|
|
1653
1637
|
icon:
|
|
1654
1638
|
description: The icon of the picker menu item
|
|
1655
1639
|
type: string
|
|
@@ -1665,7 +1649,7 @@ types:
|
|
|
1665
1649
|
items:
|
|
1666
1650
|
type: ManagedContentProviderInstanceRepresentation
|
|
1667
1651
|
providerLightningComponentId:
|
|
1668
|
-
description: The
|
|
1652
|
+
description: The entity id of the picker menu item
|
|
1669
1653
|
type: string
|
|
1670
1654
|
type:
|
|
1671
1655
|
description: The type of the picker menu item
|
package/dist/es/es2018/types/src/generated/types/ManagedContentProviderInputRepresentation.d.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
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';
|
|
2
|
-
export declare const VERSION = "51a329e150e54076776c71c9b2a0c2c3";
|
|
3
|
-
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
-
export declare const RepresentationType: string;
|
|
5
|
-
export declare function normalize(input: ManagedContentProviderInputRepresentation, existing: ManagedContentProviderInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentProviderInputRepresentationNormalized;
|
|
6
|
-
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
-
export declare function equals(existing: ManagedContentProviderInputRepresentationNormalized, incoming: ManagedContentProviderInputRepresentationNormalized): boolean;
|
|
8
|
-
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ManagedContentProviderInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
-
/**
|
|
11
|
-
* Input representation for Managed Content Provider Instance.
|
|
12
|
-
*
|
|
13
|
-
* Keys:
|
|
14
|
-
* (none)
|
|
15
|
-
*/
|
|
16
|
-
export interface ManagedContentProviderInputRepresentationNormalized {
|
|
17
|
-
/** Provider Instance Url. */
|
|
18
|
-
instanceUrl: string;
|
|
19
|
-
/** Boolean flag to indicate the url is default for the provider. */
|
|
20
|
-
isDefault: boolean;
|
|
21
|
-
/** Provider Instance Name. */
|
|
22
|
-
name: string;
|
|
23
|
-
/** Provider Lightning Component Id. */
|
|
24
|
-
providerLightningComponentId: string;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Input representation for Managed Content Provider Instance.
|
|
28
|
-
*
|
|
29
|
-
* Keys:
|
|
30
|
-
* (none)
|
|
31
|
-
*/
|
|
32
|
-
export interface ManagedContentProviderInputRepresentation {
|
|
33
|
-
instanceUrl: string;
|
|
34
|
-
isDefault: boolean;
|
|
35
|
-
name: string;
|
|
36
|
-
providerLightningComponentId: string;
|
|
37
|
-
}
|