UNPKG

@webiny/api-page-builder-so-ddb

Version:

The DynamoDB storage operations Webiny Page Builder API.

19 lines (18 loc) 709 B
import { PageBlock } from "@webiny/api-page-builder/types"; export declare const compress: (data: any) => Promise<{ compression: string; value: string; }>; export declare const decompress: (pageBlock: PageBlock) => Promise<{ content: any; id: string; name: string; blockCategory: string; createdOn: string; createdBy: import("@webiny/api-page-builder/types").CreatedBy; tenant: string; locale: string; dataSources?: import("@webiny/api-page-builder/types").DataSource[] | undefined; dataBindings?: import("@webiny/api-page-builder/types").DataBinding[] | undefined; blockVariables?: import("@webiny/api-page-builder/types").BlockVariable[] | undefined; }>;