@salesforce/lds-adapters-experience-model 1.134.7 → 1.134.8
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/experience-model.js +9 -144
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +1 -7
- package/dist/es/es2018/types/src/generated/types/AbstractMCSFolderRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/AbstractMContentRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ExperienceModelBlockTypeCollectionRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ExperienceModelBlockTypeDetailRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ExperienceModelBlockTypeSummaryRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ExperienceModelContentTypeCollectionRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ExperienceModelContentTypeDetailRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ExperienceModelContentTypeSummaryRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ExperienceModelPropertyTypeCollectionRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ExperienceModelPropertyTypeDetailRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ExperienceModelPropertyTypeSummaryRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/MCDeliveryV2VariantCollectionRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/MCDeliveryV2VariantInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/MCDeliveryV2VariantRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/MCSiteContentCollectionRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/MCSiteContentRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/MCSiteDeliveryByContentKeysInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/MCSiteDeliveryByContentTypesInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/MCSiteDeliveryByNodesInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/MCSiteNodeCollectionRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/MCSiteNodeRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/MCSiteVariantRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/MContentBodyRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/MContentCollectionMetadataRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/MContentCollectionRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/MContentDetailRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/MContentSummaryRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentAssociationsInputRep.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentAssociationsRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentBodyInputRep.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentChannelCollectionRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentChannelInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentChannelRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentChildRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentCollectionRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentDateAndTimeNodeValueRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentDateNodeValueRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentDeploymentCollectionRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentDeploymentInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentDeploymentItemRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentDeploymentRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentDetailCollectionRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentDetailRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentDocumentRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentExportContentJobRequestInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentExportJobItemIdsInputList.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentFolderSummaryRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentInputRep.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentJobRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentJobRequestInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentMediaNodeValueRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentMediaSourceNodeValueRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentNodeTypeRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentNodeValueRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentScheduleInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentSearchResultCollectionRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentSearchResultContentTypeRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentSearchResultRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceFolderDetailRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceFolderInputRep.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceFolderItemCollectionInputRep.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceFolderItemCollectionRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceFolderItemRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceFolderRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceMemberCollectionRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceMemberInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceMemberPermissionsRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceMemberRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentSpacePermissionRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceRoleCollectionRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceRoleRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceSummaryRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentTextNodeValueRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentTranslationRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentTranslationRequestInputRep.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentTypeRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentTypeSchemaRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentTypeSearchableCollectionRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentTypeSearchableInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentTypeSearchableRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentTypeSummaryRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentTypeViewRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentUserSummaryRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentVariantRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentVariantUpdateInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentVariantV1InputRep.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentVariantV1Representation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentVersionCollectionRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentVersionInputRep.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentVersionInternalCollectionRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentVersionInternalRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentVersionRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentVersionSiteNodeCollectionRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentVersionSiteNodeRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentVersionV2CollectionInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentVersionV2CollectionRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentVersionV2InputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentVersionV2Representation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ReferenceRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/StreamedRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/TopicSummaryRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +1 -8
- package/package.json +1 -1
- package/sfdc/index.js +10 -145
package/dist/es/es2018/types/src/generated/types/ManagedContentVariantUpdateInputRepresentation.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
|
|
|
5
5
|
export declare function normalize(input: ManagedContentVariantUpdateInputRepresentation, existing: ManagedContentVariantUpdateInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentVariantUpdateInputRepresentationNormalized;
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: ManagedContentVariantUpdateInputRepresentationNormalized, incoming: ManagedContentVariantUpdateInputRepresentationNormalized): boolean;
|
|
8
|
-
export declare function deepFreeze(input: ManagedContentVariantUpdateInputRepresentation): void;
|
|
9
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
9
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ManagedContentVariantUpdateInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
10
|
/**
|
|
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
|
|
|
5
5
|
export declare function normalize(input: ManagedContentVariantV1InputRep, existing: ManagedContentVariantV1InputRepNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentVariantV1InputRepNormalized;
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: ManagedContentVariantV1InputRepNormalized, incoming: ManagedContentVariantV1InputRepNormalized): boolean;
|
|
8
|
-
export declare function deepFreeze(input: ManagedContentVariantV1InputRep): void;
|
|
9
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
9
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ManagedContentVariantV1InputRep, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
10
|
/**
|
|
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
|
|
|
5
5
|
export declare function normalize(input: ManagedContentVariantV1Representation, existing: ManagedContentVariantV1RepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentVariantV1RepresentationNormalized;
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: ManagedContentVariantV1RepresentationNormalized, incoming: ManagedContentVariantV1RepresentationNormalized): boolean;
|
|
8
|
-
export declare function deepFreeze(input: ManagedContentVariantV1Representation): void;
|
|
9
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
9
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ManagedContentVariantV1Representation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
10
|
/**
|
package/dist/es/es2018/types/src/generated/types/ManagedContentVersionCollectionRepresentation.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ export declare const RepresentationType: string;
|
|
|
7
7
|
export declare function normalize(input: ManagedContentVersionCollectionRepresentation, existing: ManagedContentVersionCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentVersionCollectionRepresentationNormalized;
|
|
8
8
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
9
9
|
export declare function equals(existing: ManagedContentVersionCollectionRepresentationNormalized, incoming: ManagedContentVersionCollectionRepresentationNormalized): boolean;
|
|
10
|
-
export declare function deepFreeze(input: ManagedContentVersionCollectionRepresentation): void;
|
|
11
10
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
12
11
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ManagedContentVersionCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
13
12
|
/**
|
|
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
|
|
|
5
5
|
export declare function normalize(input: ManagedContentVersionInputRep, existing: ManagedContentVersionInputRepNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentVersionInputRepNormalized;
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: ManagedContentVersionInputRepNormalized, incoming: ManagedContentVersionInputRepNormalized): boolean;
|
|
8
|
-
export declare function deepFreeze(input: ManagedContentVersionInputRep): void;
|
|
9
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
9
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ManagedContentVersionInputRep, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
10
|
/**
|
|
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
|
|
|
6
6
|
export declare function normalize(input: ManagedContentVersionInternalCollectionRepresentation, existing: ManagedContentVersionInternalCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentVersionInternalCollectionRepresentationNormalized;
|
|
7
7
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
8
|
export declare function equals(existing: ManagedContentVersionInternalCollectionRepresentationNormalized, incoming: ManagedContentVersionInternalCollectionRepresentationNormalized): boolean;
|
|
9
|
-
export declare function deepFreeze(input: ManagedContentVersionInternalCollectionRepresentation): void;
|
|
10
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
10
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ManagedContentVersionInternalCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
11
|
/**
|
package/dist/es/es2018/types/src/generated/types/ManagedContentVersionInternalRepresentation.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ export declare const RepresentationType: string;
|
|
|
7
7
|
export declare function normalize(input: ManagedContentVersionInternalRepresentation, existing: ManagedContentVersionInternalRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentVersionInternalRepresentationNormalized;
|
|
8
8
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
9
9
|
export declare function equals(existing: ManagedContentVersionInternalRepresentationNormalized, incoming: ManagedContentVersionInternalRepresentationNormalized): boolean;
|
|
10
|
-
export declare function deepFreeze(input: ManagedContentVersionInternalRepresentation): void;
|
|
11
10
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
12
11
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ManagedContentVersionInternalRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
13
12
|
/**
|
|
@@ -8,7 +8,6 @@ export declare const RepresentationType: string;
|
|
|
8
8
|
export declare function normalize(input: ManagedContentVersionRepresentation, existing: ManagedContentVersionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentVersionRepresentationNormalized;
|
|
9
9
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
10
10
|
export declare function equals(existing: ManagedContentVersionRepresentationNormalized, incoming: ManagedContentVersionRepresentationNormalized): boolean;
|
|
11
|
-
export declare function deepFreeze(input: ManagedContentVersionRepresentation): void;
|
|
12
11
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
13
12
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ManagedContentVersionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
14
13
|
/**
|
|
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
|
|
|
6
6
|
export declare function normalize(input: ManagedContentVersionSiteNodeCollectionRepresentation, existing: ManagedContentVersionSiteNodeCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentVersionSiteNodeCollectionRepresentationNormalized;
|
|
7
7
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
8
|
export declare function equals(existing: ManagedContentVersionSiteNodeCollectionRepresentationNormalized, incoming: ManagedContentVersionSiteNodeCollectionRepresentationNormalized): boolean;
|
|
9
|
-
export declare function deepFreeze(input: ManagedContentVersionSiteNodeCollectionRepresentation): void;
|
|
10
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
10
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ManagedContentVersionSiteNodeCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
11
|
/**
|
package/dist/es/es2018/types/src/generated/types/ManagedContentVersionSiteNodeRepresentation.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
|
|
|
5
5
|
export declare function normalize(input: ManagedContentVersionSiteNodeRepresentation, existing: ManagedContentVersionSiteNodeRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentVersionSiteNodeRepresentationNormalized;
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: ManagedContentVersionSiteNodeRepresentationNormalized, incoming: ManagedContentVersionSiteNodeRepresentationNormalized): boolean;
|
|
8
|
-
export declare function deepFreeze(input: ManagedContentVersionSiteNodeRepresentation): void;
|
|
9
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
9
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ManagedContentVersionSiteNodeRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
10
|
/**
|
|
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
|
|
|
5
5
|
export declare function normalize(input: ManagedContentVersionV2CollectionInputRepresentation, existing: ManagedContentVersionV2CollectionInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentVersionV2CollectionInputRepresentationNormalized;
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: ManagedContentVersionV2CollectionInputRepresentationNormalized, incoming: ManagedContentVersionV2CollectionInputRepresentationNormalized): boolean;
|
|
8
|
-
export declare function deepFreeze(input: ManagedContentVersionV2CollectionInputRepresentation): void;
|
|
9
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
9
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ManagedContentVersionV2CollectionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
10
|
/**
|
|
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
|
|
|
6
6
|
export declare function normalize(input: ManagedContentVersionV2CollectionRepresentation, existing: ManagedContentVersionV2CollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentVersionV2CollectionRepresentationNormalized;
|
|
7
7
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
8
|
export declare function equals(existing: ManagedContentVersionV2CollectionRepresentationNormalized, incoming: ManagedContentVersionV2CollectionRepresentationNormalized): boolean;
|
|
9
|
-
export declare function deepFreeze(input: ManagedContentVersionV2CollectionRepresentation): void;
|
|
10
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
10
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ManagedContentVersionV2CollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
11
|
/**
|
package/dist/es/es2018/types/src/generated/types/ManagedContentVersionV2InputRepresentation.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
|
|
|
5
5
|
export declare function normalize(input: ManagedContentVersionV2InputRepresentation, existing: ManagedContentVersionV2InputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentVersionV2InputRepresentationNormalized;
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: ManagedContentVersionV2InputRepresentationNormalized, incoming: ManagedContentVersionV2InputRepresentationNormalized): boolean;
|
|
8
|
-
export declare function deepFreeze(input: ManagedContentVersionV2InputRepresentation): void;
|
|
9
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
9
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ManagedContentVersionV2InputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
10
|
/**
|
|
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
|
|
|
5
5
|
export declare function normalize(input: ManagedContentVersionV2Representation, existing: ManagedContentVersionV2RepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentVersionV2RepresentationNormalized;
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: ManagedContentVersionV2RepresentationNormalized, incoming: ManagedContentVersionV2RepresentationNormalized): boolean;
|
|
8
|
-
export declare function deepFreeze(input: ManagedContentVersionV2Representation): void;
|
|
9
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
9
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ManagedContentVersionV2Representation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
10
|
/**
|
|
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
|
|
|
5
5
|
export declare function normalize(input: ReferenceRepresentation, existing: ReferenceRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ReferenceRepresentationNormalized;
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: ReferenceRepresentationNormalized, incoming: ReferenceRepresentationNormalized): boolean;
|
|
8
|
-
export declare function deepFreeze(input: ReferenceRepresentation): void;
|
|
9
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
9
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ReferenceRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
10
|
/**
|
|
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
|
|
|
5
5
|
export declare function normalize(input: StreamedRepresentation, existing: StreamedRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): StreamedRepresentationNormalized;
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: StreamedRepresentationNormalized, incoming: StreamedRepresentationNormalized): boolean;
|
|
8
|
-
export declare function deepFreeze(input: StreamedRepresentation): void;
|
|
9
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
9
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: StreamedRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
10
|
/**
|
|
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
|
|
|
5
5
|
export declare function normalize(input: TopicSummaryRepresentation, existing: TopicSummaryRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TopicSummaryRepresentationNormalized;
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: TopicSummaryRepresentationNormalized, incoming: TopicSummaryRepresentationNormalized): boolean;
|
|
8
|
-
export declare function deepFreeze(input: TopicSummaryRepresentation): void;
|
|
9
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
9
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: TopicSummaryRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
10
|
/**
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import { NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const
|
|
3
|
-
<T extends Function>(f: T): T;
|
|
4
|
-
<T_1 extends {
|
|
5
|
-
[idx: string]: object | U | null | undefined;
|
|
6
|
-
}, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
|
|
7
|
-
<T_2>(o: T_2): Readonly<T_2>;
|
|
8
|
-
}, ObjectKeys: {
|
|
2
|
+
export declare const ObjectKeys: {
|
|
9
3
|
(o: object): string[];
|
|
10
4
|
(o: {}): string[];
|
|
11
5
|
}, ObjectCreate: {
|
|
@@ -31,7 +25,6 @@ export declare function equalsArray<U, V extends U[]>(a: V, b: V, equalsItem: (i
|
|
|
31
25
|
export declare function equalsObject<U, V extends {
|
|
32
26
|
[key: string]: U;
|
|
33
27
|
}>(a: V, b: V, equalsProp: (propA: U, propB: U) => boolean | void): boolean;
|
|
34
|
-
export declare function deepFreeze(value: any): void;
|
|
35
28
|
export declare function createLink(ref: string | $64$luvio_engine_NormalizedKeyMetadata): {
|
|
36
29
|
__ref: string;
|
|
37
30
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-experience-model",
|
|
3
|
-
"version": "1.134.
|
|
3
|
+
"version": "1.134.8",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "APIs to read and query all the 'types' in the Unified Experience Model",
|
|
6
6
|
"main": "dist/es/es2018/experience-model.js",
|
package/sfdc/index.js
CHANGED
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
/* proxy-compat-disable */
|
|
15
15
|
import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createImperativeAdapter } from 'force/ldsBindings';
|
|
16
16
|
import { withDefaultLuvio } from 'force/ldsEngine';
|
|
17
|
-
import { serializeStructuredKey, StoreKeyMap } from 'force/luvioEngine';
|
|
17
|
+
import { serializeStructuredKey, StoreKeyMap, deepFreeze } from 'force/luvioEngine';
|
|
18
18
|
|
|
19
19
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
20
|
-
const { keys: ObjectKeys$1,
|
|
20
|
+
const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
|
|
21
21
|
const { isArray: ArrayIsArray$1 } = Array;
|
|
22
22
|
/**
|
|
23
23
|
* Validates an adapter config is well-formed.
|
|
@@ -60,27 +60,9 @@ const snapshotRefreshOptions = {
|
|
|
60
60
|
};
|
|
61
61
|
const keyPrefix = 'ExperienceType';
|
|
62
62
|
|
|
63
|
-
const {
|
|
63
|
+
const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
|
|
64
64
|
const { isArray: ArrayIsArray } = Array;
|
|
65
65
|
const { stringify: JSONStringify } = JSON;
|
|
66
|
-
function deepFreeze$9(value) {
|
|
67
|
-
// No need to freeze primitives
|
|
68
|
-
if (typeof value !== 'object' || value === null) {
|
|
69
|
-
return;
|
|
70
|
-
}
|
|
71
|
-
if (ArrayIsArray(value)) {
|
|
72
|
-
for (let i = 0, len = value.length; i < len; i += 1) {
|
|
73
|
-
deepFreeze$9(value[i]);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
else {
|
|
77
|
-
const keys = ObjectKeys(value);
|
|
78
|
-
for (let i = 0, len = keys.length; i < len; i += 1) {
|
|
79
|
-
deepFreeze$9(value[keys[i]]);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
ObjectFreeze(value);
|
|
83
|
-
}
|
|
84
66
|
function createLink(ref) {
|
|
85
67
|
return {
|
|
86
68
|
__ref: serializeStructuredKey(ref),
|
|
@@ -192,40 +174,6 @@ function equals$5(existing, incoming) {
|
|
|
192
174
|
}
|
|
193
175
|
return true;
|
|
194
176
|
}
|
|
195
|
-
function deepFreeze$8(input) {
|
|
196
|
-
const input_designConfig = input.designConfig;
|
|
197
|
-
if (input_designConfig !== undefined) {
|
|
198
|
-
const input_designConfig_keys = Object.keys(input_designConfig);
|
|
199
|
-
const input_designConfig_length = input_designConfig_keys.length;
|
|
200
|
-
for (let i = 0; i < input_designConfig_length; i++) {
|
|
201
|
-
const key = input_designConfig_keys[i];
|
|
202
|
-
const input_designConfig_prop = input_designConfig[key];
|
|
203
|
-
deepFreeze$9(input_designConfig_prop);
|
|
204
|
-
}
|
|
205
|
-
ObjectFreeze(input_designConfig);
|
|
206
|
-
}
|
|
207
|
-
const input_renditionConfig = input.renditionConfig;
|
|
208
|
-
if (input_renditionConfig !== undefined) {
|
|
209
|
-
const input_renditionConfig_keys = Object.keys(input_renditionConfig);
|
|
210
|
-
const input_renditionConfig_length = input_renditionConfig_keys.length;
|
|
211
|
-
for (let i = 0; i < input_renditionConfig_length; i++) {
|
|
212
|
-
const key = input_renditionConfig_keys[i];
|
|
213
|
-
const input_renditionConfig_prop = input_renditionConfig[key];
|
|
214
|
-
deepFreeze$9(input_renditionConfig_prop);
|
|
215
|
-
}
|
|
216
|
-
ObjectFreeze(input_renditionConfig);
|
|
217
|
-
}
|
|
218
|
-
const input_schema = input.schema;
|
|
219
|
-
const input_schema_keys = Object.keys(input_schema);
|
|
220
|
-
const input_schema_length = input_schema_keys.length;
|
|
221
|
-
for (let i = 0; i < input_schema_length; i++) {
|
|
222
|
-
const key = input_schema_keys[i];
|
|
223
|
-
const input_schema_prop = input_schema[key];
|
|
224
|
-
deepFreeze$9(input_schema_prop);
|
|
225
|
-
}
|
|
226
|
-
ObjectFreeze(input_schema);
|
|
227
|
-
ObjectFreeze(input);
|
|
228
|
-
}
|
|
229
177
|
const ingest$5 = function ExperienceModelBlockTypeDetailRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
230
178
|
if (process.env.NODE_ENV !== 'production') {
|
|
231
179
|
const validateError = validate$8(input);
|
|
@@ -242,7 +190,6 @@ const ingest$5 = function ExperienceModelBlockTypeDetailRepresentationIngest(inp
|
|
|
242
190
|
propertyName: path.propertyName,
|
|
243
191
|
ttl: ttlToUse
|
|
244
192
|
});
|
|
245
|
-
deepFreeze$8(input);
|
|
246
193
|
if (existingRecord === undefined || equals$5(existingRecord, incomingRecord) === false) {
|
|
247
194
|
luvio.storePublish(key, incomingRecord);
|
|
248
195
|
}
|
|
@@ -292,6 +239,7 @@ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
292
239
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
293
240
|
}
|
|
294
241
|
}
|
|
242
|
+
deepFreeze(snapshot.data);
|
|
295
243
|
return snapshot;
|
|
296
244
|
}
|
|
297
245
|
function ingestError$5(luvio, params, error, snapshotRefresh) {
|
|
@@ -503,16 +451,6 @@ function validate$7(obj, path = 'ExperienceModelBlockTypeSummaryRepresentation')
|
|
|
503
451
|
})();
|
|
504
452
|
return v_error === undefined ? null : v_error;
|
|
505
453
|
}
|
|
506
|
-
function deepFreeze$7(input) {
|
|
507
|
-
const input_icon = input.icon;
|
|
508
|
-
const input_icon_keys = Object.keys(input_icon);
|
|
509
|
-
const input_icon_length = input_icon_keys.length;
|
|
510
|
-
for (let i = 0; i < input_icon_length; i++) {
|
|
511
|
-
input_icon_keys[i];
|
|
512
|
-
}
|
|
513
|
-
ObjectFreeze(input_icon);
|
|
514
|
-
ObjectFreeze(input);
|
|
515
|
-
}
|
|
516
454
|
|
|
517
455
|
const TTL$4 = 3600000;
|
|
518
456
|
const VERSION$4 = "c4cd880e972cdf9faaa6db963fe35b31";
|
|
@@ -581,15 +519,6 @@ function equals$4(existing, incoming) {
|
|
|
581
519
|
}
|
|
582
520
|
return true;
|
|
583
521
|
}
|
|
584
|
-
function deepFreeze$6(input) {
|
|
585
|
-
const input_blockTypes = input.blockTypes;
|
|
586
|
-
for (let i = 0; i < input_blockTypes.length; i++) {
|
|
587
|
-
const input_blockTypes_item = input_blockTypes[i];
|
|
588
|
-
deepFreeze$7(input_blockTypes_item);
|
|
589
|
-
}
|
|
590
|
-
ObjectFreeze(input_blockTypes);
|
|
591
|
-
ObjectFreeze(input);
|
|
592
|
-
}
|
|
593
522
|
const ingest$4 = function ExperienceModelBlockTypeCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
594
523
|
if (process.env.NODE_ENV !== 'production') {
|
|
595
524
|
const validateError = validate$6(input);
|
|
@@ -606,7 +535,6 @@ const ingest$4 = function ExperienceModelBlockTypeCollectionRepresentationIngest
|
|
|
606
535
|
propertyName: path.propertyName,
|
|
607
536
|
ttl: ttlToUse
|
|
608
537
|
});
|
|
609
|
-
deepFreeze$6(input);
|
|
610
538
|
if (existingRecord === undefined || equals$4(existingRecord, incomingRecord) === false) {
|
|
611
539
|
luvio.storePublish(key, incomingRecord);
|
|
612
540
|
}
|
|
@@ -656,6 +584,7 @@ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
656
584
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
657
585
|
}
|
|
658
586
|
}
|
|
587
|
+
deepFreeze(snapshot.data);
|
|
659
588
|
return snapshot;
|
|
660
589
|
}
|
|
661
590
|
function ingestError$4(luvio, params, error, snapshotRefresh) {
|
|
@@ -934,26 +863,6 @@ function equals$3(existing, incoming) {
|
|
|
934
863
|
}
|
|
935
864
|
return true;
|
|
936
865
|
}
|
|
937
|
-
function deepFreeze$5(input) {
|
|
938
|
-
const input_designConfig = input.designConfig;
|
|
939
|
-
if (input_designConfig !== undefined) {
|
|
940
|
-
deepFreeze$9(input_designConfig);
|
|
941
|
-
}
|
|
942
|
-
const input_renditionConfig = input.renditionConfig;
|
|
943
|
-
if (input_renditionConfig !== undefined) {
|
|
944
|
-
deepFreeze$9(input_renditionConfig);
|
|
945
|
-
}
|
|
946
|
-
const input_schema = input.schema;
|
|
947
|
-
const input_schema_keys = Object.keys(input_schema);
|
|
948
|
-
const input_schema_length = input_schema_keys.length;
|
|
949
|
-
for (let i = 0; i < input_schema_length; i++) {
|
|
950
|
-
const key = input_schema_keys[i];
|
|
951
|
-
const input_schema_prop = input_schema[key];
|
|
952
|
-
deepFreeze$9(input_schema_prop);
|
|
953
|
-
}
|
|
954
|
-
ObjectFreeze(input_schema);
|
|
955
|
-
ObjectFreeze(input);
|
|
956
|
-
}
|
|
957
866
|
const ingest$3 = function ExperienceModelContentTypeDetailRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
958
867
|
if (process.env.NODE_ENV !== 'production') {
|
|
959
868
|
const validateError = validate$5(input);
|
|
@@ -970,7 +879,6 @@ const ingest$3 = function ExperienceModelContentTypeDetailRepresentationIngest(i
|
|
|
970
879
|
propertyName: path.propertyName,
|
|
971
880
|
ttl: ttlToUse
|
|
972
881
|
});
|
|
973
|
-
deepFreeze$5(input);
|
|
974
882
|
if (existingRecord === undefined || equals$3(existingRecord, incomingRecord) === false) {
|
|
975
883
|
luvio.storePublish(key, incomingRecord);
|
|
976
884
|
}
|
|
@@ -1020,6 +928,7 @@ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1020
928
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
1021
929
|
}
|
|
1022
930
|
}
|
|
931
|
+
deepFreeze(snapshot.data);
|
|
1023
932
|
return snapshot;
|
|
1024
933
|
}
|
|
1025
934
|
function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
@@ -1221,9 +1130,6 @@ function validate$4(obj, path = 'ExperienceModelContentTypeSummaryRepresentation
|
|
|
1221
1130
|
})();
|
|
1222
1131
|
return v_error === undefined ? null : v_error;
|
|
1223
1132
|
}
|
|
1224
|
-
function deepFreeze$4(input) {
|
|
1225
|
-
ObjectFreeze(input);
|
|
1226
|
-
}
|
|
1227
1133
|
|
|
1228
1134
|
const TTL$2 = 3600000;
|
|
1229
1135
|
const VERSION$2 = "30f1f19149230f10ac9197e0d9769c88";
|
|
@@ -1294,15 +1200,6 @@ function equals$2(existing, incoming) {
|
|
|
1294
1200
|
}
|
|
1295
1201
|
return true;
|
|
1296
1202
|
}
|
|
1297
|
-
function deepFreeze$3(input) {
|
|
1298
|
-
const input_contentTypes = input.contentTypes;
|
|
1299
|
-
for (let i = 0; i < input_contentTypes.length; i++) {
|
|
1300
|
-
const input_contentTypes_item = input_contentTypes[i];
|
|
1301
|
-
deepFreeze$4(input_contentTypes_item);
|
|
1302
|
-
}
|
|
1303
|
-
ObjectFreeze(input_contentTypes);
|
|
1304
|
-
ObjectFreeze(input);
|
|
1305
|
-
}
|
|
1306
1203
|
const ingest$2 = function ExperienceModelContentTypeCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1307
1204
|
if (process.env.NODE_ENV !== 'production') {
|
|
1308
1205
|
const validateError = validate$3(input);
|
|
@@ -1319,7 +1216,6 @@ const ingest$2 = function ExperienceModelContentTypeCollectionRepresentationInge
|
|
|
1319
1216
|
propertyName: path.propertyName,
|
|
1320
1217
|
ttl: ttlToUse
|
|
1321
1218
|
});
|
|
1322
|
-
deepFreeze$3(input);
|
|
1323
1219
|
if (existingRecord === undefined || equals$2(existingRecord, incomingRecord) === false) {
|
|
1324
1220
|
luvio.storePublish(key, incomingRecord);
|
|
1325
1221
|
}
|
|
@@ -1369,6 +1265,7 @@ function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1369
1265
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
1370
1266
|
}
|
|
1371
1267
|
}
|
|
1268
|
+
deepFreeze(snapshot.data);
|
|
1372
1269
|
return snapshot;
|
|
1373
1270
|
}
|
|
1374
1271
|
function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
@@ -1645,26 +1542,6 @@ function equals$1(existing, incoming) {
|
|
|
1645
1542
|
}
|
|
1646
1543
|
return true;
|
|
1647
1544
|
}
|
|
1648
|
-
function deepFreeze$2(input) {
|
|
1649
|
-
const input_designConfig = input.designConfig;
|
|
1650
|
-
if (input_designConfig !== undefined) {
|
|
1651
|
-
deepFreeze$9(input_designConfig);
|
|
1652
|
-
}
|
|
1653
|
-
const input_renditionConfig = input.renditionConfig;
|
|
1654
|
-
if (input_renditionConfig !== undefined) {
|
|
1655
|
-
deepFreeze$9(input_renditionConfig);
|
|
1656
|
-
}
|
|
1657
|
-
const input_schema = input.schema;
|
|
1658
|
-
const input_schema_keys = Object.keys(input_schema);
|
|
1659
|
-
const input_schema_length = input_schema_keys.length;
|
|
1660
|
-
for (let i = 0; i < input_schema_length; i++) {
|
|
1661
|
-
const key = input_schema_keys[i];
|
|
1662
|
-
const input_schema_prop = input_schema[key];
|
|
1663
|
-
deepFreeze$9(input_schema_prop);
|
|
1664
|
-
}
|
|
1665
|
-
ObjectFreeze(input_schema);
|
|
1666
|
-
ObjectFreeze(input);
|
|
1667
|
-
}
|
|
1668
1545
|
const ingest$1 = function ExperienceModelPropertyTypeDetailRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1669
1546
|
if (process.env.NODE_ENV !== 'production') {
|
|
1670
1547
|
const validateError = validate$2(input);
|
|
@@ -1681,7 +1558,6 @@ const ingest$1 = function ExperienceModelPropertyTypeDetailRepresentationIngest(
|
|
|
1681
1558
|
propertyName: path.propertyName,
|
|
1682
1559
|
ttl: ttlToUse
|
|
1683
1560
|
});
|
|
1684
|
-
deepFreeze$2(input);
|
|
1685
1561
|
if (existingRecord === undefined || equals$1(existingRecord, incomingRecord) === false) {
|
|
1686
1562
|
luvio.storePublish(key, incomingRecord);
|
|
1687
1563
|
}
|
|
@@ -1731,6 +1607,7 @@ function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1731
1607
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
1732
1608
|
}
|
|
1733
1609
|
}
|
|
1610
|
+
deepFreeze(snapshot.data);
|
|
1734
1611
|
return snapshot;
|
|
1735
1612
|
}
|
|
1736
1613
|
function ingestError$1(luvio, params, error, snapshotRefresh) {
|
|
@@ -1930,9 +1807,6 @@ function validate$1(obj, path = 'ExperienceModelPropertyTypeSummaryRepresentatio
|
|
|
1930
1807
|
})();
|
|
1931
1808
|
return v_error === undefined ? null : v_error;
|
|
1932
1809
|
}
|
|
1933
|
-
function deepFreeze$1(input) {
|
|
1934
|
-
ObjectFreeze(input);
|
|
1935
|
-
}
|
|
1936
1810
|
|
|
1937
1811
|
const TTL = 3600000;
|
|
1938
1812
|
const VERSION = "172e544645942d550fc1f07812bb85b6";
|
|
@@ -2003,15 +1877,6 @@ function equals(existing, incoming) {
|
|
|
2003
1877
|
}
|
|
2004
1878
|
return true;
|
|
2005
1879
|
}
|
|
2006
|
-
function deepFreeze(input) {
|
|
2007
|
-
const input_propertyTypes = input.propertyTypes;
|
|
2008
|
-
for (let i = 0; i < input_propertyTypes.length; i++) {
|
|
2009
|
-
const input_propertyTypes_item = input_propertyTypes[i];
|
|
2010
|
-
deepFreeze$1(input_propertyTypes_item);
|
|
2011
|
-
}
|
|
2012
|
-
ObjectFreeze(input_propertyTypes);
|
|
2013
|
-
ObjectFreeze(input);
|
|
2014
|
-
}
|
|
2015
1880
|
const ingest = function ExperienceModelPropertyTypeCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2016
1881
|
if (process.env.NODE_ENV !== 'production') {
|
|
2017
1882
|
const validateError = validate(input);
|
|
@@ -2028,7 +1893,6 @@ const ingest = function ExperienceModelPropertyTypeCollectionRepresentationInges
|
|
|
2028
1893
|
propertyName: path.propertyName,
|
|
2029
1894
|
ttl: ttlToUse
|
|
2030
1895
|
});
|
|
2031
|
-
deepFreeze(input);
|
|
2032
1896
|
if (existingRecord === undefined || equals(existingRecord, incomingRecord) === false) {
|
|
2033
1897
|
luvio.storePublish(key, incomingRecord);
|
|
2034
1898
|
}
|
|
@@ -2078,6 +1942,7 @@ function ingestSuccess(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
2078
1942
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
2079
1943
|
}
|
|
2080
1944
|
}
|
|
1945
|
+
deepFreeze(snapshot.data);
|
|
2081
1946
|
return snapshot;
|
|
2082
1947
|
}
|
|
2083
1948
|
function ingestError(luvio, params, error, snapshotRefresh) {
|
|
@@ -2303,4 +2168,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2303
2168
|
});
|
|
2304
2169
|
|
|
2305
2170
|
export { getBlockType, getBlockType_imperative, getBlockTypes, getBlockTypes_imperative, getContentType, getContentType_imperative, getContentTypes, getContentTypes_imperative, getPropertyType, getPropertyType_imperative, getPropertyTypes, getPropertyTypes_imperative };
|
|
2306
|
-
// version: 1.134.
|
|
2171
|
+
// version: 1.134.8-c3d6d2cfc
|