@salesforce/lds-adapters-cms-authoring 1.361.0 → 1.362.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.
@@ -2999,16 +2999,16 @@ const getCollectionItemsAdapterFactory = (luvio) => function CMSAuthoring__getCo
2999
2999
  buildCachedSnapshotCachePolicy$n, buildNetworkSnapshotCachePolicy$n);
3000
3000
  };
3001
3001
 
3002
- const VERSION$z = "38bb74dec68d25ea323600dd79366e97";
3002
+ const VERSION$z = "5371a5a2fd4e69439554e23684017c89";
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_instanceUrl = obj.instanceUrl;
3009
- const path_instanceUrl = path + '.instanceUrl';
3010
- if (typeof obj_instanceUrl !== 'string') {
3011
- return new TypeError('Expected "string" but received "' + typeof obj_instanceUrl + '" (at "' + path_instanceUrl + '")');
3008
+ const obj_instanceKey = obj.instanceKey;
3009
+ const path_instanceKey = path + '.instanceKey';
3010
+ if (typeof obj_instanceKey !== 'string') {
3011
+ return new TypeError('Expected "string" but received "' + typeof obj_instanceKey + '" (at "' + path_instanceKey + '")');
3012
3012
  }
3013
3013
  const obj_isDefault = obj.isDefault;
3014
3014
  const path_isDefault = path + '.isDefault';
@@ -3035,7 +3035,7 @@ const select$1d = function ManagedContentProviderInstanceRepresentationSelect()
3035
3035
  private: [],
3036
3036
  selections: [
3037
3037
  {
3038
- name: 'instanceUrl',
3038
+ name: 'instanceKey',
3039
3039
  kind: 'Scalar'
3040
3040
  },
3041
3041
  {
@@ -3059,9 +3059,9 @@ function equals$z(existing, incoming) {
3059
3059
  if (!(existing_isDefault === incoming_isDefault)) {
3060
3060
  return false;
3061
3061
  }
3062
- const existing_instanceUrl = existing.instanceUrl;
3063
- const incoming_instanceUrl = incoming.instanceUrl;
3064
- if (!(existing_instanceUrl === incoming_instanceUrl)) {
3062
+ const existing_instanceKey = existing.instanceKey;
3063
+ const incoming_instanceKey = incoming.instanceKey;
3064
+ if (!(existing_instanceKey === incoming_instanceKey)) {
3065
3065
  return false;
3066
3066
  }
3067
3067
  const existing_name = existing.name;
@@ -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 = "1092bf7b67c5f2f474d9326cab6a6ad4";
2
+ export declare const VERSION = "c56159cb14975e0ec7da1a7988b78b53";
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;
@@ -14,9 +14,9 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
14
14
  * (none)
15
15
  */
16
16
  export interface ManagedContentProviderInstanceInputRepresentationNormalized {
17
- /** Provider Instance Url. */
18
- instanceUrl: string;
19
- /** Boolean flag to indicate the url is default for the provider. */
17
+ /** Provider Instance Key. */
18
+ instanceKey: string;
19
+ /** Boolean flag to indicate the key is default for the provider. */
20
20
  isDefault: boolean;
21
21
  /** Provider Instance Name. */
22
22
  name: string;
@@ -30,7 +30,7 @@ export interface ManagedContentProviderInstanceInputRepresentationNormalized {
30
30
  * (none)
31
31
  */
32
32
  export interface ManagedContentProviderInstanceInputRepresentation {
33
- instanceUrl: string;
33
+ instanceKey: string;
34
34
  isDefault: boolean;
35
35
  name: string;
36
36
  providerLightningComponentId: string;
@@ -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 = "38bb74dec68d25ea323600dd79366e97";
2
+ export declare const VERSION = "5371a5a2fd4e69439554e23684017c89";
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,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
14
14
  * (none)
15
15
  */
16
16
  export interface ManagedContentProviderInstanceRepresentationNormalized {
17
- /** The provider instance url */
18
- instanceUrl: string;
17
+ /** The provider instance key */
18
+ instanceKey: string;
19
19
  /** Whether or not the provider instance is the default one */
20
20
  isDefault: boolean;
21
21
  /** The name of the provider instance */
@@ -30,7 +30,7 @@ export interface ManagedContentProviderInstanceRepresentationNormalized {
30
30
  * (none)
31
31
  */
32
32
  export interface ManagedContentProviderInstanceRepresentation {
33
- instanceUrl: string;
33
+ instanceKey: string;
34
34
  isDefault: boolean;
35
35
  name: string;
36
36
  providerInstanceId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-cms-authoring",
3
- "version": "1.361.0",
3
+ "version": "1.362.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.361.0"
47
+ "@salesforce/lds-bindings": "^1.362.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@salesforce/lds-compiler-plugins": "^1.361.0",
51
- "@salesforce/lds-karma": "^1.361.0"
50
+ "@salesforce/lds-compiler-plugins": "^1.362.0",
51
+ "@salesforce/lds-karma": "^1.362.0"
52
52
  },
53
53
  "nx": {
54
54
  "targets": {
package/sfdc/index.js CHANGED
@@ -7042,16 +7042,16 @@ const getManagedContentPreviewsAdapterFactory = (luvio) => function CMSAuthoring
7042
7042
  buildCachedSnapshotCachePolicy$h, buildNetworkSnapshotCachePolicy$h);
7043
7043
  };
7044
7044
 
7045
- const VERSION$o = "38bb74dec68d25ea323600dd79366e97";
7045
+ const VERSION$o = "5371a5a2fd4e69439554e23684017c89";
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_instanceUrl = obj.instanceUrl;
7052
- const path_instanceUrl = path + '.instanceUrl';
7053
- if (typeof obj_instanceUrl !== 'string') {
7054
- return new TypeError('Expected "string" but received "' + typeof obj_instanceUrl + '" (at "' + path_instanceUrl + '")');
7051
+ const obj_instanceKey = obj.instanceKey;
7052
+ const path_instanceKey = path + '.instanceKey';
7053
+ if (typeof obj_instanceKey !== 'string') {
7054
+ return new TypeError('Expected "string" but received "' + typeof obj_instanceKey + '" (at "' + path_instanceKey + '")');
7055
7055
  }
7056
7056
  const obj_isDefault = obj.isDefault;
7057
7057
  const path_isDefault = path + '.isDefault';
@@ -7078,7 +7078,7 @@ const select$Q = function ManagedContentProviderInstanceRepresentationSelect() {
7078
7078
  private: [],
7079
7079
  selections: [
7080
7080
  {
7081
- name: 'instanceUrl',
7081
+ name: 'instanceKey',
7082
7082
  kind: 'Scalar'
7083
7083
  },
7084
7084
  {
@@ -7102,9 +7102,9 @@ function equals$o(existing, incoming) {
7102
7102
  if (!(existing_isDefault === incoming_isDefault)) {
7103
7103
  return false;
7104
7104
  }
7105
- const existing_instanceUrl = existing.instanceUrl;
7106
- const incoming_instanceUrl = incoming.instanceUrl;
7107
- if (!(existing_instanceUrl === incoming_instanceUrl)) {
7105
+ const existing_instanceKey = existing.instanceKey;
7106
+ const incoming_instanceKey = incoming.instanceKey;
7107
+ if (!(existing_instanceKey === incoming_instanceKey)) {
7108
7108
  return false;
7109
7109
  }
7110
7110
  const existing_name = existing.name;
@@ -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.361.0-eb406138cb
15047
+ // version: 1.362.0-d2e818ae61
package/src/raml/api.raml CHANGED
@@ -1599,11 +1599,11 @@ types:
1599
1599
  description: Input representation for Managed Content Provider Instance.
1600
1600
  type: object
1601
1601
  properties:
1602
- instanceUrl:
1603
- description: Provider Instance Url.
1602
+ instanceKey:
1603
+ description: Provider Instance Key.
1604
1604
  type: string
1605
1605
  isDefault:
1606
- description: Boolean flag to indicate the url is default for the provider.
1606
+ description: Boolean flag to indicate the key is default for the provider.
1607
1607
  type: boolean
1608
1608
  name:
1609
1609
  description: Provider Instance Name.
@@ -1615,8 +1615,8 @@ types:
1615
1615
  description: Information about a managed content instance provider
1616
1616
  type: object
1617
1617
  properties:
1618
- instanceUrl:
1619
- description: The provider instance url
1618
+ instanceKey:
1619
+ description: The provider instance key
1620
1620
  type: string
1621
1621
  isDefault:
1622
1622
  description: Whether or not the provider instance is the default one