UNPKG

@microsoft/sp-webpart-base

Version:

SharePoint Framework support for building web parts

21 lines 1.12 kB
import type { ISerializedServerProcessedData } from '@microsoft/sp-component-base'; import type { IClientSideWebPartManifestInstance } from '@microsoft/sp-module-interfaces'; import type IWebPartPropertiesMetadata from './IWebPartPropertiesMetadata'; /** * @internal */ export interface IReInstateServerProcessedDataOptions { deserializedProperties: unknown; serverProcessedContent: ISerializedServerProcessedData | undefined; propertiesMetadata: IWebPartPropertiesMetadata | undefined; renderedFromPersistedData: boolean | undefined; manifest: IClientSideWebPartManifestInstance<unknown>; } /** * @internal * This method consumes the properties object from the serialized data and re-applies * the field values from the serverProcessedContent. This process will result in the * properties bag as it was when the serialization happened. */ export declare function reInstateServerProcessedData({ deserializedProperties, serverProcessedContent, propertiesMetadata, renderedFromPersistedData, manifest }: IReInstateServerProcessedDataOptions): {}; //# sourceMappingURL=deserializationHelpers.d.ts.map