default: {
provide: string;
useFactory: () => {
aws: AWS;
Condition: typeof Condition;
Instance: typeof Instance;
logger: () => Promise<any>;
model: <T extends Item = AnyItem>(
name: string,
schema?: Schema | SchemaDefinition | (Schema | SchemaDefinition)[],
options?: ModelTableOptions,
) => ModelType<T>;
Schema: typeof Schema;
Table: PrimaryTableInterface & { defaults: TableOptionsAccessor };
transaction: {
(transactions: Transactions): any;
(transactions: Transactions, settings: TransactionSettings): any;
(transactions: Transactions, callback: TransactionCallback): any;
(
transaction: Transactions,
settings: TransactionSettings,
callback: TransactionCallback,
): any;
};
type: {
ANY: symbol;
COMBINE: (
attributes: string[],
separator?: string,
) => {
settings: { attributes: string[]; separator?: string };
value: string;
};
CONSTANT: (
value: string | number | boolean,
) => { settings: { value: string | number | boolean }; value: string };
NULL: symbol;
THIS: symbol;
UNDEFINED: symbol;
};
};
}
Type declaration
provide: string
useFactory: () => {
aws: AWS;
Condition: typeof Condition;
Instance: typeof Instance;
logger: () => Promise<any>;
model: <T extends Item = AnyItem>(
name: string,
schema?: Schema | SchemaDefinition | (Schema | SchemaDefinition)[],
options?: ModelTableOptions,
) => ModelType<T>;
Schema: typeof Schema;
Table: PrimaryTableInterface & { defaults: TableOptionsAccessor };
transaction: {
(transactions: Transactions): any;
(transactions: Transactions, settings: TransactionSettings): any;
(transactions: Transactions, callback: TransactionCallback): any;
(
transaction: Transactions,
settings: TransactionSettings,
callback: TransactionCallback,
): any;
};
type: {
ANY: symbol;
COMBINE: (
attributes: string[],
separator?: string,
) => {
settings: { attributes: string[]; separator?: string };
value: string;
};
CONSTANT: (
value: string | number | boolean,
) => { settings: { value: string | number | boolean }; value: string };
NULL: symbol;
THIS: symbol;
UNDEFINED: symbol;
};
}