UNPKG

@webiny/api-apw-scheduler-so-ddb

Version:

The DynamoDB storage operations for scheduler action feature in the Webiny APW API.

14 lines (13 loc) 433 B
import { AttributeDefinition } from "@webiny/db-dynamodb/toolbox"; import { DynamoDBDocument } from "@webiny/aws-sdk/client-dynamodb"; export type Attributes = Record<string, AttributeDefinition>; export interface PartitionKeyOptions { tenant: string; locale: string; id?: string; } export interface CreateStorageOperationsParams { documentClient: DynamoDBDocument; table?: string; attributes?: Attributes; }