@webiny/api-headless-cms-ddb-es
Version:
DynamoDB and Elasticsearch storage operations plugin for Headless CMS API.
13 lines (12 loc) • 427 B
TypeScript
export interface PartitionKeyParams {
id: string;
tenant: string;
locale: string;
}
export declare const createPartitionKey: (params: PartitionKeyParams) => string;
export interface SortKeyParams {
version: number;
}
export declare const createRevisionSortKey: (params: SortKeyParams) => string;
export declare const createLatestSortKey: () => string;
export declare const createPublishedSortKey: () => string;