UNPKG

@sitecore/sc-contenthub-webclient-sdk

Version:

Sitecore Content Hub WebClient SDK.

20 lines (19 loc) 810 B
import { IPropertyConverter, JsonValueObject } from "ta-json"; import { MapStringTo } from "../base-types"; import { RelationResource } from "../models/relation-resource"; export declare class AggregatedEntityRelationsConverter implements IPropertyConverter { /** * Serializes a string map to {@link PageComponentResource} map. * * @param value - The map of strings to {@link RelationResource}s * @returns A JSON value object. */ serialize(value: MapStringTo<RelationResource>): JsonValueObject; /** * Deserializes a JSON object into a string to {@link RelationResource} map. * * @param value - A JSON object * @returns A mapping of strings to {@link RelationResource}s. */ deserialize(value: JsonValueObject): MapStringTo<RelationResource>; }