@webiny/api-page-builder-import-export-so-ddb
Version:
The DynamoDB storage operations for import export feature in the Webiny Page Builder API.
116 lines (115 loc) • 2.21 kB
TypeScript
import { Entity, Table } from "@webiny/db-dynamodb/toolbox";
import { Attributes } from "../types";
interface Params {
entityName: string;
table: Table<string, string, string>;
attributes?: Attributes;
}
export declare const createImportExportTaskEntity: ({ entityName, table, attributes }: Params) => Entity<string, import("dynamodb-toolbox/dist/cjs/classes/Entity").Overlay, import("dynamodb-toolbox/dist/cjs/classes/Entity").Overlay, Table<string, string, string>, boolean, boolean, boolean, string, string, string, boolean, {
PK: {
partitionKey: true;
};
SK: {
sortKey: true;
};
GSI1_PK: {
type: "string";
};
GSI1_SK: {
type: "string";
};
TYPE: {
type: "string";
};
id: {
type: "string";
};
parent: {
type: "string";
};
status: {
type: "string";
};
data: {
type: "map";
};
input: {
type: "map";
};
stats: {
type: "map";
};
error: {
type: "map";
};
createdOn: {
type: "string";
};
createdBy: {
type: "map";
};
tenant: {
type: "string";
};
locale: {
type: "string";
};
}, {
PK: {
partitionKey: true;
};
SK: {
sortKey: true;
};
GSI1_PK: {
type: "string";
};
GSI1_SK: {
type: "string";
};
TYPE: {
type: "string";
};
id: {
type: "string";
};
parent: {
type: "string";
};
status: {
type: "string";
};
data: {
type: "map";
};
input: {
type: "map";
};
stats: {
type: "map";
};
error: {
type: "map";
};
createdOn: {
type: "string";
};
createdBy: {
type: "map";
};
tenant: {
type: "string";
};
locale: {
type: "string";
};
}, import("dynamodb-toolbox/dist/cjs/classes/Entity").ParsedAttributes<import("ts-toolbelt/out/Any/Key").Key>, any, {
[x: string]: any;
[x: number]: any;
[x: symbol]: any;
}, {
[x: string]: any;
[x: number]: any;
[x: symbol]: any;
}>;
export {};