@webiny/api-page-builder-so-ddb
Version:
The DynamoDB storage operations Webiny Page Builder API.
21 lines (20 loc) • 606 B
TypeScript
export interface PartitionKeyParams {
tenant: string;
locale: string;
id: string;
}
export interface GSIPartitionKeyParams {
tenant: string;
locale: string;
}
export interface GSISortKeyParams {
blockCategory: string;
id: string;
}
export declare const createPartitionKey: (params: PartitionKeyParams) => string;
export declare const createGSIPartitionKey: (params: GSIPartitionKeyParams) => string;
export declare const createGSISortKey: (params: GSISortKeyParams) => string;
export interface SortKeyParams {
id: string;
}
export declare const createSortKey: () => string;