@webiny/api-page-builder-so-ddb
Version:
The DynamoDB storage operations Webiny Page Builder API.
6 lines (5 loc) • 377 B
TypeScript
import { PageTemplate } from "@webiny/api-page-builder/types";
export type PrimaryPKParams = Pick<PageTemplate, "id" | "tenant" | "locale">;
export type GSI1Params = Pick<PageTemplate, "tenant" | "locale">;
export declare const createPrimaryPK: ({ id, tenant, locale }: PrimaryPKParams) => string;
export declare const createGSI1PK: ({ tenant, locale }: GSI1Params) => string;