UNPKG

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

Version:

The DynamoDB + Elasticsearch storage operations Webiny Page Builder API.

25 lines (24 loc) 944 B
interface BasePartitionKeyParams { tenant: string; locale: string; } export interface PartitionKeyParams extends BasePartitionKeyParams { id: string; } export declare const createPartitionKey: (params: PartitionKeyParams) => string; export interface SortKeyParams { version: number; } export declare const createSortKey: (params: SortKeyParams) => string; export declare const createPathPartitionKey: (params: BasePartitionKeyParams) => string; export interface PathSortKeyParams { path: string; } export declare const createPathSortKey: (params: PathSortKeyParams) => string; export declare const createPublishedSortKey: () => string; export declare const createLatestSortKey: () => string; export declare const createBasicType: () => string; export declare const createLatestType: () => string; export declare const createPublishedType: () => string; export declare const createPublishedPathType: () => string; export {};