@salesforce/lds-adapters-cms-authoring 1.419.0 → 1.421.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.
|
@@ -15076,7 +15076,7 @@ const getFormEmbedScriptAdapterFactory = (luvio) => function CMSAuthoring__getFo
|
|
|
15076
15076
|
};
|
|
15077
15077
|
|
|
15078
15078
|
const TTL = 1000;
|
|
15079
|
-
const VERSION = "
|
|
15079
|
+
const VERSION = "9dc90b2246425f0089e230514dfade5b";
|
|
15080
15080
|
function validate(obj, path = 'ManagedContentFormHandlerEmbedScriptRepresentation') {
|
|
15081
15081
|
const v_error = (() => {
|
|
15082
15082
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -15092,6 +15092,11 @@ function validate(obj, path = 'ManagedContentFormHandlerEmbedScriptRepresentatio
|
|
|
15092
15092
|
if (typeof obj_hostScript !== 'string') {
|
|
15093
15093
|
return new TypeError('Expected "string" but received "' + typeof obj_hostScript + '" (at "' + path_hostScript + '")');
|
|
15094
15094
|
}
|
|
15095
|
+
const obj_servletScript = obj.servletScript;
|
|
15096
|
+
const path_servletScript = path + '.servletScript';
|
|
15097
|
+
if (typeof obj_servletScript !== 'string') {
|
|
15098
|
+
return new TypeError('Expected "string" but received "' + typeof obj_servletScript + '" (at "' + path_servletScript + '")');
|
|
15099
|
+
}
|
|
15095
15100
|
})();
|
|
15096
15101
|
return v_error === undefined ? null : v_error;
|
|
15097
15102
|
}
|
|
@@ -15104,27 +15109,11 @@ const select$1 = function ManagedContentFormHandlerEmbedScriptRepresentationSele
|
|
|
15104
15109
|
kind: 'Fragment',
|
|
15105
15110
|
version: VERSION,
|
|
15106
15111
|
private: [],
|
|
15107
|
-
|
|
15108
|
-
{
|
|
15109
|
-
name: 'formScript',
|
|
15110
|
-
kind: 'Scalar'
|
|
15111
|
-
},
|
|
15112
|
-
{
|
|
15113
|
-
name: 'hostScript',
|
|
15114
|
-
kind: 'Scalar'
|
|
15115
|
-
}
|
|
15116
|
-
]
|
|
15112
|
+
opaque: true
|
|
15117
15113
|
};
|
|
15118
15114
|
};
|
|
15119
15115
|
function equals(existing, incoming) {
|
|
15120
|
-
|
|
15121
|
-
const incoming_formScript = incoming.formScript;
|
|
15122
|
-
if (!(existing_formScript === incoming_formScript)) {
|
|
15123
|
-
return false;
|
|
15124
|
-
}
|
|
15125
|
-
const existing_hostScript = existing.hostScript;
|
|
15126
|
-
const incoming_hostScript = incoming.hostScript;
|
|
15127
|
-
if (!(existing_hostScript === incoming_hostScript)) {
|
|
15116
|
+
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
15128
15117
|
return false;
|
|
15129
15118
|
}
|
|
15130
15119
|
return true;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store,
|
|
1
|
+
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';
|
|
2
2
|
export declare const TTL = 1000;
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "9dc90b2246425f0089e230514dfade5b";
|
|
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: ManagedContentFormHandlerEmbedScriptRepresentation, existing: ManagedContentFormHandlerEmbedScriptRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentFormHandlerEmbedScriptRepresentationNormalized;
|
|
7
|
-
export declare const select: () => $64$
|
|
7
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
8
8
|
export declare function equals(existing: ManagedContentFormHandlerEmbedScriptRepresentationNormalized, incoming: ManagedContentFormHandlerEmbedScriptRepresentationNormalized): boolean;
|
|
9
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
10
|
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ManagedContentFormHandlerEmbedScriptRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
@@ -15,10 +15,12 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
15
15
|
* (none)
|
|
16
16
|
*/
|
|
17
17
|
export interface ManagedContentFormHandlerEmbedScriptRepresentationNormalized {
|
|
18
|
-
/** The form script for the
|
|
18
|
+
/** The form script for the form Handler. */
|
|
19
19
|
formScript: string;
|
|
20
|
-
/** The host script for the
|
|
20
|
+
/** The host script for the form Handler. */
|
|
21
21
|
hostScript: string;
|
|
22
|
+
/** The servlet script for the form Handler. */
|
|
23
|
+
servletScript: string;
|
|
22
24
|
}
|
|
23
25
|
/**
|
|
24
26
|
* Represents the embed script for form handler.
|
|
@@ -29,4 +31,5 @@ export interface ManagedContentFormHandlerEmbedScriptRepresentationNormalized {
|
|
|
29
31
|
export interface ManagedContentFormHandlerEmbedScriptRepresentation {
|
|
30
32
|
formScript: string;
|
|
31
33
|
hostScript: string;
|
|
34
|
+
servletScript: string;
|
|
32
35
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-cms-authoring",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.421.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.421.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
51
|
-
"@salesforce/lds-karma": "^1.
|
|
50
|
+
"@salesforce/lds-compiler-plugins": "^1.421.0",
|
|
51
|
+
"@salesforce/lds-karma": "^1.421.0"
|
|
52
52
|
},
|
|
53
53
|
"nx": {
|
|
54
54
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -5434,7 +5434,7 @@ const getFormEmbedScriptAdapterFactory = (luvio) => function CMSAuthoring__getFo
|
|
|
5434
5434
|
};
|
|
5435
5435
|
|
|
5436
5436
|
const TTL$s = 1000;
|
|
5437
|
-
const VERSION$w = "
|
|
5437
|
+
const VERSION$w = "9dc90b2246425f0089e230514dfade5b";
|
|
5438
5438
|
function validate$W(obj, path = 'ManagedContentFormHandlerEmbedScriptRepresentation') {
|
|
5439
5439
|
const v_error = (() => {
|
|
5440
5440
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -5450,6 +5450,11 @@ function validate$W(obj, path = 'ManagedContentFormHandlerEmbedScriptRepresentat
|
|
|
5450
5450
|
if (typeof obj_hostScript !== 'string') {
|
|
5451
5451
|
return new TypeError('Expected "string" but received "' + typeof obj_hostScript + '" (at "' + path_hostScript + '")');
|
|
5452
5452
|
}
|
|
5453
|
+
const obj_servletScript = obj.servletScript;
|
|
5454
|
+
const path_servletScript = path + '.servletScript';
|
|
5455
|
+
if (typeof obj_servletScript !== 'string') {
|
|
5456
|
+
return new TypeError('Expected "string" but received "' + typeof obj_servletScript + '" (at "' + path_servletScript + '")');
|
|
5457
|
+
}
|
|
5453
5458
|
})();
|
|
5454
5459
|
return v_error === undefined ? null : v_error;
|
|
5455
5460
|
}
|
|
@@ -5462,27 +5467,11 @@ const select$15 = function ManagedContentFormHandlerEmbedScriptRepresentationSel
|
|
|
5462
5467
|
kind: 'Fragment',
|
|
5463
5468
|
version: VERSION$w,
|
|
5464
5469
|
private: [],
|
|
5465
|
-
|
|
5466
|
-
{
|
|
5467
|
-
name: 'formScript',
|
|
5468
|
-
kind: 'Scalar'
|
|
5469
|
-
},
|
|
5470
|
-
{
|
|
5471
|
-
name: 'hostScript',
|
|
5472
|
-
kind: 'Scalar'
|
|
5473
|
-
}
|
|
5474
|
-
]
|
|
5470
|
+
opaque: true
|
|
5475
5471
|
};
|
|
5476
5472
|
};
|
|
5477
5473
|
function equals$w(existing, incoming) {
|
|
5478
|
-
|
|
5479
|
-
const incoming_formScript = incoming.formScript;
|
|
5480
|
-
if (!(existing_formScript === incoming_formScript)) {
|
|
5481
|
-
return false;
|
|
5482
|
-
}
|
|
5483
|
-
const existing_hostScript = existing.hostScript;
|
|
5484
|
-
const incoming_hostScript = incoming.hostScript;
|
|
5485
|
-
if (!(existing_hostScript === incoming_hostScript)) {
|
|
5474
|
+
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
5486
5475
|
return false;
|
|
5487
5476
|
}
|
|
5488
5477
|
return true;
|
|
@@ -16005,4 +15994,4 @@ withDefaultLuvio((luvio) => {
|
|
|
16005
15994
|
});
|
|
16006
15995
|
|
|
16007
15996
|
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, getFormHandlerEmbedScript, getFormHandlerEmbedScript_imperative, getMCSFolderShareTargets, getMCSFolderShareTargets_imperative, getMCSFolderShares, getMCSFolderSharesNotifyChange, getMCSFolderShares_imperative, getManagedContent, getManagedContentByFolderId, getManagedContentByFolderId_imperative, getManagedContentDocumentCollection, getManagedContentDocumentCollection_imperative, getManagedContentExtensions, getManagedContentExtensions_imperative, getManagedContentForSite, getManagedContentForSite_imperative, getManagedContentPreviews, getManagedContentPreviews_imperative, getManagedContentProvidersForSpace, getManagedContentProvidersForSpace_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 };
|
|
16008
|
-
// version: 1.
|
|
15997
|
+
// version: 1.421.0-45320a2742
|
package/src/raml/api.raml
CHANGED
|
@@ -1256,10 +1256,13 @@ types:
|
|
|
1256
1256
|
type: object
|
|
1257
1257
|
properties:
|
|
1258
1258
|
formScript:
|
|
1259
|
-
description: The form script for the
|
|
1259
|
+
description: The form script for the form Handler.
|
|
1260
1260
|
type: string
|
|
1261
1261
|
hostScript:
|
|
1262
|
-
description: The host script for the
|
|
1262
|
+
description: The host script for the form Handler.
|
|
1263
|
+
type: string
|
|
1264
|
+
servletScript:
|
|
1265
|
+
description: The servlet script for the form Handler.
|
|
1263
1266
|
type: string
|
|
1264
1267
|
ManagedContentInputRep:
|
|
1265
1268
|
description: Input representation for a managed content
|
package/src/raml/luvio.raml
CHANGED