@sitecore/sc-contenthub-webclient-sdk
Version:
Sitecore Content Hub WebClient SDK.
20 lines (19 loc) • 896 B
TypeScript
import { IPropertyConverter, JsonValueObject } from "ta-json";
import { MapStringTo } from "../base-types";
import { PageComponentResource } from "../models/pages/page-component-resource";
export declare class PageResourceZonesConverter implements IPropertyConverter {
/**
* Serializes a string map of arrays of {@link PageComponentResource}s.
*
* @param value - The map of strings to arrays of {@link PageComponentResource}s
* @returns A JSON value object.
*/
serialize(value: MapStringTo<Array<PageComponentResource>>): JsonValueObject;
/**
* Deserializes a JSON object into a string map of arrays of {@link PageComponentResource}s.
*
* @param value - A JSON object
* @returns A mapping of strings to arrays of {@link PageComponentResource}s.
*/
deserialize(value: JsonValueObject): MapStringTo<Array<PageComponentResource>>;
}