@typedorm/common
Advanced tools
Comparing version 1.15.3 to 1.15.4-beta.1
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -15,2 +19,2 @@ if (k2 === undefined) k2 = k; | ||
__exportStar(require("./private-api"), exports); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21tb24vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQUEsK0NBQTZCO0FBRTdCLGdEQUE4QiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG5cbmV4cG9ydCAqIGZyb20gJy4vcHJpdmF0ZS1hcGknO1xuIl19 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21tb24vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLCtDQUE2QjtBQUU3QixnREFBOEIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuXG5leHBvcnQgKiBmcm9tICcuL3ByaXZhdGUtYXBpJztcbiJdfQ== |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -19,2 +23,2 @@ if (k2 === undefined) k2 = k; | ||
__exportStar(require("./src/helpers/load-package"), exports); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJpdmF0ZS1hcGkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21tb24vcHJpdmF0ZS1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQUEsa0VBQWdEO0FBQ2hELGtFQUFnRDtBQUNoRCw0REFBMEM7QUFDMUMsOENBQTRCO0FBQzVCLHNEQUFvQztBQUNwQyw2REFBMkMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NyYy9tZXRhZGF0YS9tZXRhZGF0YS1tYW5hZ2VyJztcbmV4cG9ydCAqIGZyb20gJy4vc3JjL21ldGFkYXRhL21ldGFkYXRhLXN0b3JhZ2UnO1xuZXhwb3J0ICogZnJvbSAnLi9zcmMvbG9nZ2VyL2RlYnVnLWxvZ2dlcic7XG5leHBvcnQgKiBmcm9tICcuL3NyYy9lcnJvcic7XG5leHBvcnQgKiBmcm9tICcuL3NyYy9pbmRleC1vcHRpb25zJztcbmV4cG9ydCAqIGZyb20gJy4vc3JjL2hlbHBlcnMvbG9hZC1wYWNrYWdlJztcbiJdfQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJpdmF0ZS1hcGkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21tb24vcHJpdmF0ZS1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLGtFQUFnRDtBQUNoRCxrRUFBZ0Q7QUFDaEQsNERBQTBDO0FBQzFDLDhDQUE0QjtBQUM1QixzREFBb0M7QUFDcEMsNkRBQTJDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9zcmMvbWV0YWRhdGEvbWV0YWRhdGEtbWFuYWdlcic7XG5leHBvcnQgKiBmcm9tICcuL3NyYy9tZXRhZGF0YS9tZXRhZGF0YS1zdG9yYWdlJztcbmV4cG9ydCAqIGZyb20gJy4vc3JjL2xvZ2dlci9kZWJ1Zy1sb2dnZXInO1xuZXhwb3J0ICogZnJvbSAnLi9zcmMvZXJyb3InO1xuZXhwb3J0ICogZnJvbSAnLi9zcmMvaW5kZXgtb3B0aW9ucyc7XG5leHBvcnQgKiBmcm9tICcuL3NyYy9oZWxwZXJzL2xvYWQtcGFja2FnZSc7XG4iXX0= |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -40,2 +44,2 @@ if (k2 === undefined) k2 = k; | ||
__exportStar(require("./src/table"), exports); | ||
//# sourceMappingURL=data:application/json;base64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ICcuL3NyYy9oZWxwZXJzL3NjYWxhci10eXBlJztcbmV4cG9ydCAqIGZyb20gJy4vc3JjL2hlbHBlcnMvcmVwbGFjZS10eXBlJztcbmV4cG9ydCAqIGZyb20gJy4vc3JjL2hlbHBlcnMvaXMtcHJpbWFyeS1rZXknO1xuZXhwb3J0ICogZnJvbSAnLi9zcmMvaGVscGVycy9uZXN0ZWQtYXR0cmlidXRlcy10eXBlJztcbmV4cG9ydCAqIGZyb20gJy4vc3JjL3V0aWxzL2dldC1lbnRpdHktZGVmaW5pdGlvbic7XG5leHBvcnQgKiBmcm9tICcuL3NyYy9oZWxwZXJzL2ludmFsaWQtdHlwZSc7XG5leHBvcnQgKiBmcm9tICcuL3NyYy9oZWxwZXJzL3Jlc29sdmUtc2NhbGFyLXR5cGUnO1xuXG4vLyBjbGFzc2VzXG5leHBvcnQgKiBmcm9tICcuL3NyYy90YWJsZSc7XG4iXX0= |
import 'reflect-metadata'; | ||
import { ScalarType } from '../helpers/scalar-type'; | ||
import { PrimaryKey } from '../metadata/metadata-storage'; | ||
export declare type AttributeOptionsUniqueType<Entity = any> = boolean | PrimaryKey<Entity>; | ||
export type AttributeOptionsUniqueType<Entity = any> = boolean | PrimaryKey<Entity>; | ||
export interface AttributeOptions<Entity> { | ||
@@ -6,0 +6,0 @@ /** |
import { EntityRawMetadataOptions } from '../metadata/metadata-storage'; | ||
declare type Constructor = { | ||
type Constructor = { | ||
new (...args: any[]): {}; | ||
@@ -4,0 +4,0 @@ }; |
@@ -11,4 +11,4 @@ "use strict"; | ||
*/ | ||
exports.TransformFromDynamo = (transformFn) => { | ||
return class_transformer_1.Transform(transformFn, { | ||
const TransformFromDynamo = (transformFn) => { | ||
return (0, class_transformer_1.Transform)(transformFn, { | ||
// run only for when transforming object literals to class type | ||
@@ -18,2 +18,3 @@ toClassOnly: true, | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNmb3JtLWZyb20tZH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yIHRvIG9ubHkgcnVuIHdoZW4gdHJhbnNmb3JtaW5nIGl0ZW1zIGZyb20gRHluYW1vREJcbiAqIEBwYXJhbSB0cmFuc2Zvcm1GbiBUcmFuc2Zvcm0gZnVuY3Rpb24gdG8gcnVuLCB0aGlzIGlzIHBhc3NlZCB0byBjbGFzcy10cmFuc2Zvcm1lciB3aXRob3V0IGFueSBtb2RpZmljYXRpb25zXG4gKlxuICogQHNlZSBodHRwczovL2dpdGh1Yi5jb20vdHlwZXN0YWNrL2NsYXNzLXRyYW5zZm9ybWVyI2Jhc2ljLXVzYWdlIGZvciB1c2FnZSBleGFtcGxlc1xuICovXG5leHBvcnQgY29uc3QgVHJhbnNmb3JtRnJvbUR5bmFtbyA9IChcbiAgdHJhbnNmb3JtRm46IEhlYWRUeXBlPFBhcmFtZXRlcnM8dHlwZW9mIFRyYW5zZm9ybT4+XG4pID0+IHtcbiAgcmV0dXJuIFRyYW5zZm9ybSh0cmFuc2Zvcm1Gbiwge1xuICAgIC8vIHJ1biBvbmx5IGZvciB3aGVuIHRyYW5zZm9ybWluZyBvYmplY3QgbGl0ZXJhbHMgdG8gY2xhc3MgdHlwZVxuICAgIHRvQ2xhc3NPbmx5OiB0cnVlLFxuICB9KTtcbn07XG4iXX0= |
@@ -11,4 +11,4 @@ "use strict"; | ||
*/ | ||
exports.TransformToDynamo = (transformFn) => { | ||
return class_transformer_1.Transform(transformFn, { | ||
const TransformToDynamo = (transformFn) => { | ||
return (0, class_transformer_1.Transform)(transformFn, { | ||
// run only for when transforming class instance to object literal | ||
@@ -18,2 +18,3 @@ toPlainOnly: true, | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNmb3JtLXRvLWR5bmFtby5kZWNvcmF0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21tb24vc3JjL2RlY29yYX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aXMgaXMgcGFzc2VkIHRvIGNsYXNzLXRyYW5zZm9ybWVyIHdpdGhvdXQgYW55IG1vZGlmaWNhdGlvbnNcbiAqXG4gKiBAc2VlIGh0dHBzOi8vZ2l0aHViLmNvbS90eXBlc3RhY2svY2xhc3MtdHJhbnNmb3JtZXIjYmFzaWMtdXNhZ2UgZm9yIHVzYWdlIGV4YW1wbGVzXG4gKi9cbmV4cG9ydCBjb25zdCBUcmFuc2Zvcm1Ub0R5bmFtbyA9IChcbiAgdHJhbnNmb3JtRm46IEhlYWRUeXBlPFBhcmFtZXRlcnM8dHlwZW9mIFRyYW5zZm9ybT4+XG4pID0+IHtcbiAgcmV0dXJuIFRyYW5zZm9ybSh0cmFuc2Zvcm1Gbiwge1xuICAgIC8vIHJ1biBvbmx5IGZvciB3aGVuIHRyYW5zZm9ybWluZyBjbGFzcyBpbnN0YW5jZSB0byBvYmplY3QgbGl0ZXJhbFxuICAgIHRvUGxhaW5Pbmx5OiB0cnVlLFxuICB9KTtcbn07XG4iXX0= |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -36,2 +40,2 @@ if (k2 === undefined) k2 = k; | ||
__exportStar(require("./conflicting-attribute-name-error"), exports); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21tb24vc3JjL2Vycm9yL2luZGV4LnRzIl0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gKiBmcm9tICcuL2ludmFsaWQtZHluYW1pYy11cGRhdGUtYXR0cmlidXRlLXZhbHVlJztcbmV4cG9ydCAqIGZyb20gJy4vdW5rbm93bi1hdHRyaWJ1dGUtdmFsdWUtZ2VuZXJhdGlvbi1zdHJhdGVneS1lcnJvcic7XG5leHBvcnQgKiBmcm9tICcuL2NvbmZsaWN0aW5nLWF0dHJpYnV0ZS1uYW1lLWVycm9yJztcbiJdfQ== |
import { ObjectType } from './object-type'; | ||
export declare type EntityTarget<Entity> = ObjectType<Entity>; | ||
export type EntityTarget<Entity> = ObjectType<Entity>; | ||
export interface EntityInstance extends Object { | ||
constructor: Function; | ||
} | ||
export declare type EntityAttributes<Entity> = { | ||
export type EntityAttributes<Entity> = { | ||
[key in keyof Entity]: Entity[key]; | ||
}; | ||
export declare const IsEntityInstance: (variable: unknown) => variable is EntityInstance; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.IsEntityInstance = void 0; | ||
exports.IsEntityInstance = (variable) => variable.constructor instanceof Function && | ||
const IsEntityInstance = (variable) => variable.constructor instanceof Function && | ||
variable.constructor.name !== 'Object'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9uLXR5cGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29tbW9uL3NyYy9oZWxwZXJzL2NvbW1vbi10eXBlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFZYSxRQUFBLGdCQUFnQixHQUFHLENBQzlCLFFBQWlCLEVBQ1csRUFBRSxDQUM3QixRQUEyQixDQUFDLFdBQVcsWUFBWSxRQUFRO0lBQzNELFFBQTJCLENBQUMsV0FBVyxDQUFDLElBQUksS0FBSyxRQUFRLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge09iamVjdFR5cGV9IGZyb20gJy4vb2JqZWN0LXR5cGUnO1xuXG5leHBvcnQgdHlwZSBFbnRpdHlUYXJnZXQ8RW50aXR5PiA9IE9iamVjdFR5cGU8RW50aXR5PjtcblxuZXhwb3J0IGludGVyZmFjZSBFbnRpdHlJbnN0YW5jZSBleHRlbmRzIE9iamVjdCB7XG4gIGNvbnN0cnVjdG9yOiBGdW5jdGlvbjtcbn1cblxuZXhwb3J0IHR5cGUgRW50aXR5QXR0cmlidXRlczxFbnRpdHk+ID0ge1xuICBba2V5IGluIGtleW9mIEVudGl0eV06IEVudGl0eVtrZXldO1xufTtcblxuZXhwb3J0IGNvbnN0IElzRW50aXR5SW5zdGFuY2UgPSAoXG4gIHZhcmlhYmxlOiB1bmtub3duXG4pOiB2YXJpYWJsZSBpcyBFbnRpdHlJbnN0YW5jZSA9PlxuICAodmFyaWFibGUgYXMgRW50aXR5SW5zdGFuY2UpLmNvbnN0cnVjdG9yIGluc3RhbmNlb2YgRnVuY3Rpb24gJiZcbiAgKHZhcmlhYmxlIGFzIEVudGl0eUluc3RhbmNlKS5jb25zdHJ1Y3Rvci5uYW1lICE9PSAnT2JqZWN0JztcbiJdfQ== | ||
exports.IsEntityInstance = IsEntityInstance; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9uLXR5cGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29tbW9uL3NyYy9oZWxwZXJzL2NvbW1vbi10eXBlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFZTyxNQUFNLGdCQUFnQixHQUFHLENBQzlCLFFBQWlCLEVBQ1csRUFBRSxDQUM3QixRQUEyQixDQUFDLFdBQVcsWUFBWSxRQUFRO0lBQzNELFFBQTJCLENBQUMsV0FBVyxDQUFDLElBQUksS0FBSyxRQUFRLENBQUM7QUFKaEQsUUFBQSxnQkFBZ0Isb0JBSWdDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtPYmplY3RUeXBlfSBmcm9tICcuL29iamVjdC10eXBlJztcblxuZXhwb3J0IHR5cGUgRW50aXR5VGFyZ2V0PEVudGl0eT4gPSBPYmplY3RUeXBlPEVudGl0eT47XG5cbmV4cG9ydCBpbnRlcmZhY2UgRW50aXR5SW5zdGFuY2UgZXh0ZW5kcyBPYmplY3Qge1xuICBjb25zdHJ1Y3RvcjogRnVuY3Rpb247XG59XG5cbmV4cG9ydCB0eXBlIEVudGl0eUF0dHJpYnV0ZXM8RW50aXR5PiA9IHtcbiAgW2tleSBpbiBrZXlvZiBFbnRpdHldOiBFbnRpdHlba2V5XTtcbn07XG5cbmV4cG9ydCBjb25zdCBJc0VudGl0eUluc3RhbmNlID0gKFxuICB2YXJpYWJsZTogdW5rbm93blxuKTogdmFyaWFibGUgaXMgRW50aXR5SW5zdGFuY2UgPT5cbiAgKHZhcmlhYmxlIGFzIEVudGl0eUluc3RhbmNlKS5jb25zdHJ1Y3RvciBpbnN0YW5jZW9mIEZ1bmN0aW9uICYmXG4gICh2YXJpYWJsZSBhcyBFbnRpdHlJbnN0YW5jZSkuY29uc3RydWN0b3IubmFtZSAhPT0gJ09iamVjdCc7XG4iXX0= |
@@ -1,3 +0,3 @@ | ||
export declare type DynamoEntity<Entity> = Entity | { | ||
export type DynamoEntity<Entity> = Entity | { | ||
[key: string]: unknown; | ||
}; |
@@ -1,1 +0,1 @@ | ||
export declare type HeadType<T extends any[]> = T extends [any, ...any[]] ? T[0] : never; | ||
export type HeadType<T extends any[]> = T extends [any, ...any[]] ? T[0] : never; |
@@ -5,6 +5,5 @@ "use strict"; | ||
function IsPrimaryKey(key) { | ||
var _a; | ||
return !!((_a = key) === null || _a === void 0 ? void 0 : _a.partitionKey); | ||
return !!(key === null || key === void 0 ? void 0 : key.partitionKey); | ||
} | ||
exports.IsPrimaryKey = IsPrimaryKey; | ||
//# sourceMappingURL=data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1wb3J0IHtQcmltYXJ5S2V5fSBmcm9tICcuLy4uL21ldGFkYXRhL21ldGFkYXRhLXN0b3JhZ2UnO1xuZXhwb3J0IGZ1bmN0aW9uIElzUHJpbWFyeUtleShrZXk6IGFueSk6IGtleSBpcyBQcmltYXJ5S2V5IHtcbiAgcmV0dXJuICEhKGtleSBhcyBQcmltYXJ5S2V5KT8ucGFydGl0aW9uS2V5O1xufVxuIl19 |
@@ -1,3 +0,3 @@ | ||
export declare type NestedAttributes<Entity, ValueType> = { | ||
export type NestedAttributes<Entity, ValueType> = { | ||
[key in keyof Entity]?: ValueType; | ||
}; |
@@ -1,3 +0,3 @@ | ||
export declare type NonKeyAttributesWithReturnType<Entity, PrimaryKey, ReturnType> = { | ||
export type NonKeyAttributesWithReturnType<Entity, PrimaryKey, ReturnType> = { | ||
[key in keyof Omit<Entity, keyof PrimaryKey>]?: ReturnType | Entity[key]; | ||
}; |
@@ -1,3 +0,3 @@ | ||
export declare type NonKeyAttributes<Entity, PrimaryKey> = { | ||
export type NonKeyAttributes<Entity, PrimaryKey> = { | ||
[key in keyof Omit<Entity, keyof PrimaryKey>]?: Entity[key]; | ||
}; |
@@ -1,1 +0,1 @@ | ||
export declare type ObjectType<T> = (new () => T) | Function; | ||
export type ObjectType<T> = (new () => T) | Function; |
@@ -1,1 +0,1 @@ | ||
export declare type PropType<Entity, Key extends keyof Entity> = Entity[Key]; | ||
export type PropType<Entity, Key extends keyof Entity> = Entity[Key]; |
@@ -1,1 +0,1 @@ | ||
export declare type Replace<T, K extends keyof T, R> = Omit<T, K> & R; | ||
export type Replace<T, K extends keyof T, R> = Omit<T, K> & R; |
@@ -1,3 +0,3 @@ | ||
export declare type RequireAtLeastOne<T, Keys extends keyof T = keyof T> = Omit<T, Keys> & { | ||
export type RequireAtLeastOne<T, Keys extends keyof T = keyof T> = Omit<T, Keys> & { | ||
[K in Keys]-?: Required<Pick<T, K>> & Partial<Pick<T, Exclude<Keys, K>>>; | ||
}[Keys]; |
@@ -1,2 +0,2 @@ | ||
export declare type RequireAtLeastTwo<T, Keys extends keyof T = keyof T> = Omit<T, Keys> & { | ||
export type RequireAtLeastTwo<T, Keys extends keyof T = keyof T> = Omit<T, Keys> & { | ||
[K in Keys]-?: Required<Pick<T, K>> & Partial<Pick<T, Exclude<Keys, K>>>; | ||
@@ -3,0 +3,0 @@ }[Keys] & { |
import { InvalidType } from './invalid-type'; | ||
declare type InternalPickOne<T, Keys extends keyof T> = { | ||
type InternalPickOne<T, Keys extends keyof T> = { | ||
[K in Keys]: Required<Pick<T, K>> & Partial<Record<Exclude<Keys, K>, InvalidType<T>>>; | ||
}[Keys]; | ||
export declare type RequireOnlyOne<T, Keys extends keyof T = keyof T> = Omit<T, Keys> & InternalPickOne<T, Keys>; | ||
export type RequireOnlyOne<T, Keys extends keyof T = keyof T> = Omit<T, Keys> & InternalPickOne<T, Keys>; | ||
export {}; |
import { InvalidType } from './invalid-type'; | ||
import { ScalarType } from './scalar-type'; | ||
export declare type ResolveScalarType<T extends any> = T extends ScalarType ? T : T extends any[] ? T[0] extends ScalarType ? T[0] : InvalidType<[T[0], 'can not be resolved to a scalar type']> : InvalidType<[T, 'can not be resolved to a scalar type']>; | ||
export type ResolveScalarType<T> = T extends ScalarType ? T : T extends any[] ? T[0] extends ScalarType ? T[0] : InvalidType<[T[0], 'can not be resolved to a scalar type']> : InvalidType<[T, 'can not be resolved to a scalar type']>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS1zY2FsYXItdHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbW1vbi9zcmMvaGVscGVycy9yZXNvbHZlLXNjYWxhci10eXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2Vz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BdXG4gICAgOiBJbnZhbGlkVHlwZTxbVFswXSwgJ2NhbiBub3QgYmUgcmVzb2x2ZWQgdG8gYSBzY2FsYXIgdHlwZSddPlxuICA6IEludmFsaWRUeXBlPFtULCAnY2FuIG5vdCBiZSByZXNvbHZlZCB0byBhIHNjYWxhciB0eXBlJ10+O1xuIl19 |
@@ -1,1 +0,1 @@ | ||
export declare type ScalarType = string | number | boolean; | ||
export type ScalarType = string | number | boolean; |
@@ -8,3 +8,3 @@ "use strict"; | ||
try { | ||
return load_package_1.loadPackage(packageName); | ||
return (0, load_package_1.loadPackage)(packageName); | ||
} | ||
@@ -21,2 +21,2 @@ catch (err) { | ||
exports.tryLoadPackage = tryLoadPackage; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJ5LWxvYWQtcGFja2FnZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbW1vbi9zcmMvaGVscGVycy90cnktbG9hZC1wYWNrYWdlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHdFQUE2RTtBQUM3RSxpREFBMkM7QUFFM0MsU0FBZ0IsY0FBYyxDQUFDLFdBQW1CO0lBQ2hELElBQUk7UUFDRixPQUFPLDBCQUFXLENBQUMsV0FBVyxDQUFDLENBQUM7S0FDakM7SUFBQyxPQUFPLEdBQUcsRUFBRTtRQUNaLElBQUksR0FBRyxZQUFZLHFEQUE4QixFQUFFO1lBQ2pELE9BQU8sSUFBSSxDQUFDO1NBQ2I7YUFBTTtZQUNMLE1BQU0sR0FBRyxDQUFDO1NBQ1g7S0FDRjtBQUNILENBQUM7QUFWRCx3Q0FVQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7TWlzc2luZ1JlcXVpcmVkRGVwZW5kZW5jeUVycm9yfSBmcm9tICcuLi9lcnJvci9taXNzaW5nLX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XJyb3J9IGZyb20gJy4uL2Vycm9yL21pc3NpbmctcmVxdWlyZWQtZGVwJztcbmltcG9ydCB7bG9hZFBhY2thZ2V9IGZyb20gJy4vbG9hZC1wYWNrYWdlJztcblxuZXhwb3J0IGZ1bmN0aW9uIHRyeUxvYWRQYWNrYWdlKHBhY2thZ2VOYW1lOiBzdHJpbmcpIHtcbiAgdHJ5IHtcbiAgICByZXR1cm4gbG9hZFBhY2thZ2UocGFja2FnZU5hbWUpO1xuICB9IGNhdGNoIChlcnIpIHtcbiAgICBpZiAoZXJyIGluc3RhbmNlb2YgTWlzc2luZ1JlcXVpcmVkRGVwZW5kZW5jeUVycm9yKSB7XG4gICAgICByZXR1cm4gbnVsbDtcbiAgICB9IGVsc2Uge1xuICAgICAgdGhyb3cgZXJyO1xuICAgIH1cbiAgfVxufVxuIl19 |
@@ -1,5 +0,5 @@ | ||
declare type Without<T> = { | ||
type Without<T> = { | ||
[P in keyof T]?: undefined; | ||
}; | ||
export declare type XOR<T, U> = (Without<T> & U) | (Without<U> & T); | ||
export type XOR<T, U> = (Without<T> & U) | (Without<U> & T); | ||
export {}; |
@@ -20,8 +20,8 @@ import { INDEX_TYPE } from './enums'; | ||
} | ||
export declare type IndexOptions = GSIIndexOptions | LSIIndexOptions; | ||
export declare type KeyAliasSchema<Entity> = { | ||
export type IndexOptions = GSIIndexOptions | LSIIndexOptions; | ||
export type KeyAliasSchema<Entity> = { | ||
alias: keyof Entity extends infer R ? R : never; | ||
}; | ||
export declare type EntityAliasOrString<Entity> = string | KeyAliasSchema<Entity>; | ||
export declare type IndexOptionsWithAlias<Entity> = Replace<GSIIndexOptions, 'partitionKey' | 'sortKey', { | ||
export type EntityAliasOrString<Entity> = string | KeyAliasSchema<Entity>; | ||
export type IndexOptionsWithAlias<Entity> = Replace<GSIIndexOptions, 'partitionKey' | 'sortKey', { | ||
partitionKey: EntityAliasOrString<Entity>; | ||
@@ -28,0 +28,0 @@ sortKey: EntityAliasOrString<Entity>; |
@@ -48,15 +48,15 @@ "use strict"; | ||
// log | ||
this.debugTransformLog = debug_1.default('typedorm:transform:log'); | ||
this.debugTransformLog = (0, debug_1.default)('typedorm:transform:log'); | ||
// batch transform logger | ||
this.debugTransformBatchLog = debug_1.default('typedorm:transform:batch:log'); | ||
this.debugTransformBatchLog = (0, debug_1.default)('typedorm:transform:batch:log'); | ||
// transaction transform logger | ||
this.debugTransformTransactionLog = debug_1.default('typedorm:transform:transaction:log'); | ||
this.debugTransformTransactionLog = (0, debug_1.default)('typedorm:transform:transaction:log'); | ||
// scan transform logger | ||
this.debugTransformScanLog = debug_1.default('typedorm:transform:scan:log'); | ||
this.debugTransformScanLog = (0, debug_1.default)('typedorm:transform:scan:log'); | ||
// info logger | ||
this.debugInfoLog = debug_1.default('typedorm:info:log'); | ||
this.debugWarnLog = debug_1.default('typedorm:warn:log'); | ||
this.debugErrorLog = debug_1.default('typedorm:error:log'); | ||
this.debugInfoLog = (0, debug_1.default)('typedorm:info:log'); | ||
this.debugWarnLog = (0, debug_1.default)('typedorm:warn:log'); | ||
this.debugErrorLog = (0, debug_1.default)('typedorm:error:log'); | ||
// stats logger | ||
this.debugStatsLog = debug_1.default('typedorm:stats:log'); | ||
this.debugStatsLog = (0, debug_1.default)('typedorm:stats:log'); | ||
} | ||
@@ -69,3 +69,3 @@ /** | ||
getRequestId() { | ||
return uuid_1.v4(); | ||
return (0, uuid_1.v4)(); | ||
} | ||
@@ -167,2 +167,2 @@ logTransform({ requestId, operation, prefix, entityName, primaryKey, body, options, }) { | ||
exports.DebugLogger = DebugLogger; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVidWctbG9nZ2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29tbW9uL3NyYy9sb2dnZXIvZGVidWctbG9nZ2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGlu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say5tYWdlbnRhKHByZWZpeCl9OmAsXG4gICAgICAgIC4uLihwcmltYXJ5S2V5XG4gICAgICAgICAgPyBbXG4gICAgICAgICAgICAgIGNoYWxrLmJsdWVCcmlnaHQoJ1xcblByaW1hcnkga2V5OiAnKSxcbiAgICAgICAgICAgICAgY2hhbGsud2hpdGUodGhpcy5lbnN1cmVQcmludGFibGUocHJpbWFyeUtleSkpLFxuICAgICAgICAgICAgXVxuICAgICAgICAgIDogW10pLFxuICAgICAgICAuLi4oYm9keVxuICAgICAgICAgID8gW1xuICAgICAgICAgICAgICBjaGFsay5ibHVlQnJpZ2h0KCdcXG5Cb2R5OiAnKSxcbiAgICAgICAgICAgICAgY2hhbGsud2hpdGUodGhpcy5lbnN1cmVQcmludGFibGUoYm9keSkpLFxuICAgICAgICAgICAgXVxuICAgICAgICAgIDogW10pLFxuICAgICAgICAuLi4ob3B0aW9uc1xuICAgICAgICAgID8gW1xuICAgICAgICAgICAgICBjaGFsay5ibHVlQnJpZ2h0KCdcXG5PcHRpb25zOiAnKSxcbiAgICAgICAgICAgICAgY2hhbGsud2hpdGUodGhpcy5lbnN1cmVQcmludGFibGUob3B0aW9ucykpLFxuICAgICAgICAgICAgXVxuICAgICAgICAgIDogW10pXG4gICAgICApO1xuICAgIH1cbiAgfVxuXG4gIGxvZ1RyYW5zZm9ybUJhdGNoKHtcbiAgICByZXF1ZXN0SWQsXG4gICAgb3BlcmF0aW9uLFxuICAgIHByZWZpeCxcbiAgICBib2R5LFxuICAgIG9wdGlvbnMsXG4gIH06IHtcbiAgICByZXF1ZXN0SWQ/OiBzdHJpbmc7XG4gICAgb3BlcmF0aW9uOiBUUkFOU0ZPUk1fQkFUQ0hfVFlQRTtcbiAgICBwcmVmaXg6IHN0cmluZztcbiAgICBib2R5PzogYW55O1xuICAgIG9wdGlvbnM/OiBhbnk7XG4gIH0pIHtcbiAgICBpZiAodGhpcy5kZWJ1Z1RyYW5zZm9ybUJhdGNoTG9nLmVuYWJsZWQpIHtcbiAgICAgIHRoaXMuZGVidWdUcmFuc2Zvcm1CYXRjaExvZyhcbiAgICAgICAgYCR7Y2hhbGsuYm9sZC5iZ0N5YW5CcmlnaHQocmVxdWVzdElkKX0gJHtjaGFsay5ncmVlbihcbiAgICAgICAgICBvcGVyYXRpb25cbiAgICAgICAgKX0gJHtjaGFsay5tYWdlbnRhKHByZWZpeCl9OmAsXG4gICAgICAgIC4uLihib2R5XG4gICAgICAgICAgPyBbXG4gICAgICAgICAgICAgIGNoYWxrLmJsdWVCcmlnaHQoJ1xcbkJvZHk6ICcpLFxuICAgICAgICAgICAgICBjaGFsay53aGl0ZSh0aGlzLmVuc3VyZVByaW50YWJsZShib2R5KSksXG4gICAgICAgICAgICBdXG4gICAgICAgICAgOiBbXSksXG4gICAgICAgIC4uLihvcHRpb25zXG4gICAgICAgICAgPyBbXG4gICAgICAgICAgICAgIGNoYWxrLmJsdWVCcmlnaHQoJ1xcbk9wdGlvbnM6ICcpLFxuICAgICAgICAgICAgICBjaGFsay53aGl0ZSh0aGlzLmVuc3VyZVByaW50YWJsZShvcHRpb25zKSksXG4gICAgICAgICAgICBdXG4gICAgICAgICAgOiBbXSlcbiAgICAgICk7XG4gICAgfVxuICB9XG5cbiAgbG9nVHJhbnNmb3JtVHJhbnNhY3Rpb24oe1xuICAgIHJlcXVlc3RJZCxcbiAgICBvcGVyYXRpb24sXG4gICAgcHJlZml4LFxuICAgIGJvZHksXG4gICAgb3B0aW9ucyxcbiAgfToge1xuICAgIHJlcXVlc3RJZD86IHN0cmluZztcbiAgICBvcGVyYXRpb246IFRSQU5TRk9STV9UUkFOU0FDVElPTl9UWVBFO1xuICAgIHByZWZpeDogc3RyaW5nO1xuICAgIGJvZHk/OiBhbnk7XG4gICAgb3B0aW9ucz86IGFueTtcbiAgfSkge1xuICAgIGlmICh0aGlzLmRlYnVnVHJhbnNmb3JtVHJhbnNhY3Rpb25Mb2cuZW5hYmxlZCkge1xuICAgICAgdGhpcy5kZWJ1Z1RyYW5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biAgfSkge1xuICAgIGlmICh0aGlzLmRlYnVnV2FybkxvZy5lbmFibGVkKSB7XG4gICAgICB0aGlzLmRlYnVnV2FybkxvZyhcbiAgICAgICAgYCR7Y2hhbGsuYm9sZC5iZ0N5YW5CcmlnaHQocmVxdWVzdElkKX0gJHtjaGFsay5ncmVlbihzY29wZSl9OmAsXG4gICAgICAgIGNoYWxrLnllbGxvdyh0aGlzLmVuc3VyZVByaW50YWJsZShsb2cpKVxuICAgICAgKTtcbiAgICB9XG4gIH1cblxuICBsb2dFcnJvcih7XG4gICAgcmVxdWVzdElkLFxuICAgIHNjb3BlLFxuICAgIGxvZyxcbiAgfToge1xuICAgIHJlcXVlc3RJZD86IHN0cmluZztcbiAgICBzY29wZTogTUFOQUdFUl9OQU1FO1xuICAgIGxvZzogYW55O1xuICB9KSB7XG4gICAgaWYgKHRoaXMuZGVidWdFcnJvckxvZy5lbmFibGVkKSB7XG4gICAgICB0aGlzLmRlYnVnRXJyb3JMb2coXG4gICAgICAgIGAke2NoYWxrLmJvbGQuYmdDeWFuQnJpZ2h0KHJlcXVlc3RJZCl9ICR7Y2hhbGsuZ3JlZW4oc2NvcGUpfTpgLFxuICAgICAgICBjaGFsay5yZWQodGhpcy5lbnN1cmVQcmludGFibGUobG9nKSlcbiAgICAgICk7XG4gICAgfVxuICB9XG5cbiAgcHJpdmF0ZSBlbnN1cmVQcmludGFibGUobG9nOiBhbnkpIHtcbiAgICBpZiAodHlwZW9mIGxvZyA9PT0gJ29iamVjdCcgJiYgbG9nICE9PSBudWxsKSB7XG4gICAgICByZXR1cm4gYFxcbiR7SlNPTi5zdHJpbmdpZnkobG9nLCBudWxsLCAyKX1cXG5gO1xuICAgIH0gZWxzZSByZXR1cm4gbG9nO1xuICB9XG59XG4iXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVidWctbG9nZ2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4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2NoYWxrLmJvbGQuYmdDeWFuQnJpZ2h0KHJlcXVlc3RJZCl9ICR7Y2hhbGsuZ3JlZW4oXG4gICAgICAgICAgb3BlcmF0aW9uXG4gICAgICAgICl9ICR7Y2hhbGsuYmx1ZShlbnRpdHlOYW1lKX0gJHtjaGFsay5tYWdlbnRhKHByZWZpeCl9OmAsXG4gICAgICAgIC4uLihwcmltYXJ5S2V5XG4gICAgICAgICAgPyBbXG4gICAgICAgICAgICAgIGNoYWxrLmJsdWVCcmlnaHQoJ1xcblByaW1hcnkga2V5OiAnKSxcbiAgICAgICAgICAgICAgY2hhbGsud2hpdGUodGhpcy5lbnN1cmVQcmludGFibGUocHJpbWFyeUtleSkpLFxuICAgICAgICAgICAgXVxuICAgICAgICAgIDogW10pLFxuICAgICAgICAuLi4oYm9keVxuICAgICAgICAgID8gW1xuICAgICAgICAgICAgICBjaGFsay5ibHVlQnJpZ2h0KCdcXG5Cb2R5OiAnKSxcbiAgICAgICAgICAgICAgY2hhbGsud2hpdGUodGhpcy5lbnN1cmVQcmludGFibGUoYm9keSkpLFxuICAgICAgICAgICAgXVxuICAgICAgICAgIDogW10pLFxuICAgICAgICAuLi4ob3B0aW9uc1xuICAgICAgICAgID8gW1xuICAgICAgICAgICAgICBjaGFsay5ibHVlQnJpZ2h0KCdcXG5PcHRpb25zOiAnKSxcbiAgICAgICAgICAgICAgY2hhbGsud2hpdGUodGhpcy5lbnN1cmVQcmludGFibGUob3B0aW9ucykpLFxuICAgICAgICAgICAgXVxuICAgICAgICAgIDogW10pXG4gICAgICApO1xuICAgIH1cbiAgfVxuXG4gIGxvZ1RyYW5zZm9ybUJhdGNoKHtcbiAgICByZXF1ZXN0SWQsXG4gICAgb3BlcmF0aW9uLFxuICAgIHByZWZpeCxcbiAgICBib2R5LFxuICAgIG9wdGlvbnMsXG4gIH06IHtcbiAgICByZXF1ZXN0SWQ/OiBzdHJpbmc7XG4gICAgb3BlcmF0aW9uOiBUUkFOU0ZPUk1fQkFUQ0hfVFlQRTtcbiAgICBwcmVmaXg6IHN0cmluZztcbiAgICBib2R5PzogYW55O1xuICAgIG9wdGlvbnM/OiBhbnk7XG4gIH0pIHtcbiAgICBpZiAodGhpcy5kZWJ1Z1RyYW5zZm9ybUJhdGNoTG9nLmVuYWJsZWQpIHtcbiAgICAgIHRoaXMuZGVidWdUcmFuc2Zvcm1CYXRjaExvZyhcbiAgICAgICAgYCR7Y2hhbGsuYm9sZC5iZ0N5YW5CcmlnaHQocmVxdWVzdElkKX0gJHtjaGFsay5ncmVlbihcbiAgICAgICAgICBvcGVyYXRpb25cbiAgICAgICAgKX0gJHtjaGFsay5tYWdlbnRhKHByZWZpeCl9OmAsXG4gICAgICAgIC4uLihib2R5XG4gICAgICAgICAgPyBbXG4gICAgICAgICAgICAgIGNoYWxrLmJsdWVCcmlnaHQoJ1xcbkJvZHk6ICcpLFxuICAgICAgICAgICAgICBjaGFsay53aGl0ZSh0aGlzLmVuc3VyZVByaW50YWJsZShib2R5KSksXG4gICAgICAgICAgICBdXG4gICAgICAgICAgOiBbXSksXG4gICAgICAgIC4uLihvcHRpb25zXG4gICAgICAgICAgPyBbXG4gICAgICAgICAgICAgIGNoYWxrLmJsdWVCcmlnaHQoJ1xcbk9wdGlvbnM6ICcpLFxuICAgICAgICAgICAgICBjaGFsay53aGl0ZSh0aGlzLmVuc3VyZVByaW50YWJsZShvcHRpb25zKSksXG4gICAgICAgICAgICBdXG4gICAgICAgICAgOiBbXSlcbiAgICAgICk7XG4gICAgfVxuICB9XG5cbiAgbG9nVHJhbnNmb3JtVHJhbnNhY3Rpb24oe1xuICAgIHJlcXVlc3RJZCxcbiAgICBvcGVyYXRpb24sXG4gICAgcHJlZml4LFxuICAgIGJvZHksXG4gICAgb3B0aW9ucyxcbiAgfToge1xuICAgIHJlcXVlc3RJZD86IHN0cmluZztcbiAgICBvcGVyYXRpb246IFRSQU5TRk9STV9UUkFOU0FDVElPTl9UWVBFO1xuICAgIHByZWZpeDogc3RyaW5nO1xu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IH0gZWxzZSByZXR1cm4gbG9nO1xuICB9XG59XG4iXX0= |
import { MetadataStorage } from './metadata-storage'; | ||
declare const metadataKey: unique symbol; | ||
declare global { | ||
namespace NodeJS { | ||
interface Global { | ||
[metadataKey]: MetadataStorage; | ||
} | ||
} | ||
} | ||
export declare class MetadataManager { | ||
@@ -16,2 +8,1 @@ private constructor(); | ||
} | ||
export {}; |
@@ -25,2 +25,2 @@ "use strict"; | ||
exports.MetadataManager = MetadataManager; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWV0YWRhdGEtbWFuYWdlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbW1vbi9zcmMvbWV0YWRhdGEvbWV0YWRhdGEtbWFuYWdlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSx5REFBbUQ7QUFDbkQsTUFBTSxXQUFXLEdBQUcsTUFBTSxDQUFDLEdBQUcsQ0FBQyw0QkFBNEIsQ0FBQyxDQUFDO0FBVzdELE1BQWEsZUFBZTtJQUMxQixnQkFBdUIsQ0FBQztJQUVqQixNQUFNLENBQUMscUJBQXFCO1FBQ2pDLElBQUksQ0FBQyxNQUFNLENBQUMsV0FBVyxDQUFDLEVBQUU7WUFDeEIsTUFBTSxDQUFDLFdBQVcsQ0FBQyxHQUFHLElBQUksa0NBQWUsRUFBRSxDQUFDO1NBQzdDO1FBQ0QsT0FBTyxNQUFNLENBQUMsV0FBVyxDQUFDLENBQUM7SUFDN0IsQ0FBQztJQUVNLE1BQU0sS0FBSyxlQUFlO1FBQy9CLElBQUksQ0FBQyxNQUFNLENBQUMsV0FBVyxDQUFDLEVBQUU7WUFDeEIsT0FBTyxlQUFlLENBQUMscUJBQXFCLEVBQUUsQ0FBQztTQUNoRDtRQUNELE9BQU8sTUFBTSxDQUFDLFdBQVcsQ0FBQ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dXJjZXNDb250ZW50IjpbImltcG9ydCB7TWV0YWRhdGFTdG9yYWdlfSBmcm9tICcuL21ldGFkYXRhLXN0b3JhZ2UnO1xuY29uc3QgbWV0YWRhdGFLZXkgPSBTeW1ib2wuZm9yKCdEeW5hbW9EQk1ldGFkYXRhU3RvcmFnZUtleScpO1xuXG5leHBvcnQgY2xhc3MgTWV0YWRhdGFNYW5hZ2VyIHtcbiAgcHJpdmF0ZSBjb25zdHJ1Y3RvcigpIHt9XG5cbiAgcHVibGljIHN0YXRpYyBjcmVhdGVNZXRhZGF0YVN0b3JhZ2UoKTogTWV0YWRhdGFTdG9yYWdlIHtcbiAgICBpZiAoIShnbG9iYWwgYXMgYW55KVttZXRhZGF0YUtleV0pIHtcbiAgICAgIChnbG9iYWwgYXMgYW55KVttZXRhZGF0YUtleV0gPSBuZXcgTWV0YWRhdGFTdG9yYWdlKCk7XG4gICAgfVxuICAgIHJldHVybiAoZ2xvYmFsIGFzIGFueSlbbWV0YWRhdGFLZXldO1xuICB9XG5cbiAgcHVibGljIHN0YXRpYyBnZXQgbWV0YWRhdGFTdG9yYWdlKCk6IE1ldGFkYXRhU3RvcmFnZSB7XG4gICAgaWYgKCEoZ2xvYmFsIGFzIGFueSlbbWV0YWRhdGFLZXldKSB7XG4gICAgICByZXR1cm4gTWV0YWRhdGFNYW5hZ2VyLmNyZWF0ZU1ldGFkYXRhU3RvcmFnZSgpO1xuICAgIH1cbiAgICByZXR1cm4gKGdsb2JhbCBhcyBhbnkpW21ldGFkYXRhS2V5XTtcbiAgfVxuXG4gIHN0YXRpYyByZXNldE1ldGFkYXRhKCkge1xuICAgIChnbG9iYWwgYXMgYW55KVttZXRhZGF0YUtleV07XG4gIH1cbn1cbiJdfQ== |
@@ -7,11 +7,11 @@ import { AUTO_GENERATE_ATTRIBUTE_STRATEGY, EntityTarget } from '@typedorm/common'; | ||
export declare const IsAutoGenerateAttributeRawMetadataOptions: (attr: any) => attr is AutoGenerateAttributeRawMetadataOptions; | ||
export declare type PrimaryKey<Entity = any> = SimplePrimaryKey<Entity> | CompositePrimaryKey<Entity>; | ||
export declare type SimplePrimaryKey<Entity = any> = { | ||
export type PrimaryKey<Entity = any> = SimplePrimaryKey<Entity> | CompositePrimaryKey<Entity>; | ||
export type SimplePrimaryKey<Entity = any> = { | ||
partitionKey: EntityAliasOrString<Entity>; | ||
}; | ||
export declare type CompositePrimaryKey<Entity = any> = { | ||
export type CompositePrimaryKey<Entity = any> = { | ||
partitionKey: EntityAliasOrString<Entity>; | ||
sortKey: EntityAliasOrString<Entity>; | ||
}; | ||
export declare type Indexes<Entity = any> = { | ||
export type Indexes<Entity = any> = { | ||
[key: string]: IndexOptionsWithAlias<Entity>; | ||
@@ -18,0 +18,0 @@ }; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.MetadataStorage = exports.IsAutoGenerateAttributeRawMetadataOptions = void 0; | ||
exports.IsAutoGenerateAttributeRawMetadataOptions = (attr) => !!attr.strategy; | ||
const IsAutoGenerateAttributeRawMetadataOptions = (attr) => !!attr.strategy; | ||
exports.IsAutoGenerateAttributeRawMetadataOptions = IsAutoGenerateAttributeRawMetadataOptions; | ||
class MetadataStorage { | ||
@@ -59,2 +60,2 @@ constructor() { | ||
exports.MetadataStorage = MetadataStorage; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWV0YWRhdGEtc3RvcmFnZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbW1vbi9zcmMvbWV0YWRhdGEvbWV0YWRhdGEtc3RvcmFnZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFNYSxRQUFBLHlDQUF5QyxHQUFHLENBQ3ZELElBQVMsRUFDd0MsRUFBRSxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUMsUUFBUSxDQUFDO0FBNEN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AgICAgQXJyYXkuZnJvbShhdHRyLnZhbHVlcygpKVxuICAgICk7XG4gIH1cbn1cbiJdfQ== |
@@ -41,3 +41,3 @@ export declare enum ATTRIBUTE_TYPE { | ||
} | ||
export declare type SimpleOperator = KeyConditionType.SimpleOperator | ConditionType.SimpleOperator | FilterType.SimpleOperator; | ||
export declare type RangeOperator = KeyConditionType.RangeOperator | ConditionType.RangeOperator | FilterType.RangeOperator; | ||
export type SimpleOperator = KeyConditionType.SimpleOperator | ConditionType.SimpleOperator | FilterType.SimpleOperator; | ||
export type RangeOperator = KeyConditionType.RangeOperator | ConditionType.RangeOperator | FilterType.RangeOperator; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Table = exports.IsCompositePrimaryKey = void 0; | ||
exports.IsCompositePrimaryKey = (key) => !!(key.partitionKey && | ||
const IsCompositePrimaryKey = (key) => !!(key.partitionKey && | ||
key.sortKey); | ||
exports.IsCompositePrimaryKey = IsCompositePrimaryKey; | ||
class Table { | ||
@@ -20,3 +21,3 @@ constructor(options) { | ||
get sortKey() { | ||
if (!exports.IsCompositePrimaryKey(this.options)) { | ||
if (!(0, exports.IsCompositePrimaryKey)(this.options)) { | ||
throw new Error('Only Tables using composite keys can have sort keys'); | ||
@@ -35,2 +36,2 @@ } | ||
exports.Table = Table; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21tb24vc3JjL3RhYmxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUdhLFFBQUEscUJBQXFCLEdBQUcsQ0FDbkMsR0FBWSxFQUNnQixFQUFFLENBQzlCLENBQUMsQ0FBQyxDQUNDLEdBQTJCLENBQUMsWUFBWTtJQUN4QyxHQUEyQixDQUFDLE9BQU8sQ0FDckMsQ0FBQzt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iAgfVxuXG4gIGdldEluZGV4QnlLZXkoa2V5OiBzdHJpbmcpIHtcbiAgICBjb25zdCB7aW5kZXhlcyA9IHt9fSA9IHRoaXMub3B0aW9ucztcbiAgICByZXR1cm4gaW5kZXhlc1trZXldO1xuICB9XG59XG4iXX0= |
import 'reflect-metadata'; | ||
import { ScalarType } from '../helpers/scalar-type'; | ||
import { PrimaryKey } from '../metadata/metadata-storage'; | ||
export declare type AttributeOptionsUniqueType<Entity = any> = boolean | PrimaryKey<Entity>; | ||
export type AttributeOptionsUniqueType<Entity = any> = boolean | PrimaryKey<Entity>; | ||
export interface AttributeOptions<Entity> { | ||
@@ -6,0 +6,0 @@ /** |
import { EntityRawMetadataOptions } from '../metadata/metadata-storage'; | ||
declare type Constructor = { | ||
type Constructor = { | ||
new (...args: any[]): {}; | ||
@@ -4,0 +4,0 @@ }; |
export class AttributeMetadataUnsupportedDefaultValueError extends Error { | ||
name = 'AttributeMetadataUnsupportedDefaultValueError'; | ||
constructor(attrName, value) { | ||
super(); | ||
this.name = 'AttributeMetadataUnsupportedDefaultValueError'; | ||
this.message = `Default value for attribute "${attrName}" can not be of type "${typeof value}", | ||
@@ -9,2 +9,2 @@ currently only scalar type and function returning scalar type are supported.`; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXR0cmlidXRlLW1ldGFkYXRhLXVuc3VwcG9ydGVkLWRlZmF1bHQtdmFsdWUtZXJyb3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21tb24vc3JjL2Vycm9yL2F0dHJpYnV0ZS1tZXRhZGF0YS11bnN1cHBvcnRlZC1kZWZhdWx0LXZhbHVlLWVycm9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sT0FBTyw2Q0FBOEMsU0FBUSxLQUFLO0lBR3RFLFlBQVksUU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Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sT0FBTyw2Q0FBOEMsU0FBUSxLQUFLO0lBQ3RFLElBQUksR0FBRywrQ0FBK0MsQ0FBQztJQUV2RCxZQUFZLFFBQWdCLEVBQUUsS0FBVTtRQUN0QyxLQUFLLEVBQUUsQ0FBQztRQUNSLElBQUksQ0FBQyxPQUFPLEdBQUcsZ0NBQWdDLFFBQVEseUJBQXlCLE9BQU8sS0FBSztpRkFDZixDQUFDO0lBQ2hGLENBQUM7Q0FDRiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBBdHRyaWJ1dGVNZXRhZGF0YVVuc3VwcG9ydGVkRGVmYXVsdFZhbHVlRXJyb3IgZXh0ZW5kcyBFcnJvciB7XG4gIG5hbWUgPSAnQXR0cmlidXRlTWV0YWRhdGFVbnN1cHBvcnRlZERlZmF1bHRWYWx1ZUVycm9yJztcblxuICBjb25zdHJ1Y3RvcihhdHRyTmFtZTogc3RyaW5nLCB2YWx1ZTogYW55KSB7XG4gICAgc3VwZXIoKTtcbiAgICB0aGlzLm1lc3NhZ2UgPSBgRGVmYXVsdCB2YWx1ZSBmb3IgYXR0cmlidXRlIFwiJHthdHRyTmFtZX1cIiBjYW4gbm90IGJlIG9mIHR5cGUgXCIke3R5cGVvZiB2YWx1ZX1cIiwgXG4gICAgY3VycmVudGx5IG9ubHkgc2NhbGFyIHR5cGUgYW5kIGZ1bmN0aW9uIHJldHVybmluZyBzY2FsYXIgdHlwZSBhcmUgc3VwcG9ydGVkLmA7XG4gIH1cbn1cbiJdfQ== |
export class ConflictingAttributeNameError extends Error { | ||
name = 'ConflictingAttributeNameError'; | ||
constructor({ attributeName, entity, tableName, }) { | ||
super(); | ||
this.name = 'ConflictingAttributeNameError'; | ||
this.message = `Attribute name "${attributeName}" can not be used for other entity "${entity}". | ||
@@ -9,2 +9,2 @@ The table "${tableName}" has a partition key or sort key with the same name.`; | ||
} | ||
//# sourceMappingUR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c3RyaW5nO1xuICB9KSB7XG4gICAgc3VwZXIoKTtcblxuICAgIHRoaXMubWVzc2FnZSA9IGBBdHRyaWJ1dGUgbmFtZSBcIiR7YXR0cmlidXRlTmFtZX1cIiBjYW4gbm90IGJlIHVzZWQgZm9yIG90aGVyIGVudGl0eSBcIiR7ZW50aXR5fVwiLiAgICBcbiAgICBUaGUgdGFibGUgXCIke3RhYmxlTmFtZX1cIiBoYXMgYSBwYXJ0aXRpb24ga2V5IG9yIHNvcnQga2V5IHdpdGggdGhlIHNhbWUgbmFtZS5gO1xuICB9XG59XG4iXX0= |
export class DuplicateEntityPhysicalNameError extends Error { | ||
name = 'DuplicateEntityPhysicalNameError'; | ||
constructor(physicalName) { | ||
super(); | ||
this.name = 'DuplicateEntityPhysicalNameError'; | ||
this.message = `Entity physical name must be unique for all entities. | ||
@@ -9,2 +9,2 @@ Physical name "${physicalName}" already exists.`; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHVwbGljYXRlLWVudGl0eS1waHlzaWNhbC1uYW1lLWVycm9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29tbW9uL3NyYy9lcnJvci9kdXBsaWNhdGUtZW50aXR5LXBoeXNpY2FsLW5hbWUtZXJyb3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLGdDQUFpQyxTQUFRLEtBQUs7SUFHekQsWUFBWSxZQUFvQjtRQUM5QixLQUFLLEVBQUUsQ0FBQztRQUhWLFNBQUksR0FBRyxrQ0FBa0MsQ0FBQztRQUl4QyxJQUFJLENBQUMsT0FBTyxHQUFHO3FCQUNFLFlBQVksbUJBQW1CLENBQUM7SUFDbkQsQ0FBQztDQUNGIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIER1cGxpY2F0ZUVudGl0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1Y3RvcihwaHlzaWNhbE5hbWU6IHN0cmluZykge1xuICAgIHN1cGVyKCk7XG4gICAgdGhpcy5tZXNzYWdlID0gYEVudGl0eSBwaHlzaWNhbCBuYW1lIG11c3QgYmUgdW5pcXVlIGZvciBhbGwgZW50aXRpZXMuIFxuICAgIFBoeXNpY2FsIG5hbWUgXCIke3BoeXNpY2FsTmFtZX1cIiBhbHJlYWR5IGV4aXN0cy5gO1xuICB9XG59XG4iXX0= |
export class InvalidAttributeAliasSchemaError extends Error { | ||
name = 'InvalidAttributeAliasSchemaError'; | ||
constructor(attributeName) { | ||
super(); | ||
this.name = 'InvalidAttributeAliasSchemaError'; | ||
this.message = `Attribute "${JSON.stringify(attributeName)}" did not satisfy alias attribute type constraint. | ||
@@ -9,2 +9,2 @@ Attribute alias must always be of type string.`; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52YWxpZC1hdHRyaWJ1dGUtYWxpYXMtc2NoZW1hLWVycm9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29tbW9uL3NyYy9lcnJvci9pbnZhbGlkLWF0dHJpYnV0ZS1hbGlhcy1zY2hlbWEtZXJyb3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLGdDQUFpQyxTQUFRLEtBQUs7SUFHekQsWUFBWSxhQUFrQjtRQUM1QixLQUFLLEVBQUUsQ0FBQztRQUhWLFNBQUksR0FBRyxrQ0FBa0MsQ0FBQztRQUl4QyxJQUFJLENBQUMsT0FBTyxHQUFHLGNBQWMsSUFBSSxDQUFDLFNBQVMsQ0FDekMsYUFBYSxDQUNkO21EQUM4QyxDQUFDO0lBQ2xELENBQUM7Q0FDRiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBJbnZhbGlkQXR0cmlidXRlQWxpY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nJvciBleHRlbmRzIEVycm9yIHtcbiAgbmFtZSA9ICdJbnZhbGlkQXR0cmlidXRlQWxpYXNTY2hlbWFFcnJvcic7XG5cbiAgY29uc3RydWN0b3IoYXR0cmlidXRlTmFtZTogYW55KSB7XG4gICAgc3VwZXIoKTtcbiAgICB0aGlzLm1lc3NhZ2UgPSBgQXR0cmlidXRlIFwiJHtKU09OLnN0cmluZ2lmeShcbiAgICAgIGF0dHJpYnV0ZU5hbWVcbiAgICApfVwiIGRpZCBub3Qgc2F0aXNmeSBhbGlhcyBhdHRyaWJ1dGUgdHlwZSBjb25zdHJhaW50LlxuICAgIEF0dHJpYnV0ZSBhbGlhcyBtdXN0IGFsd2F5cyBiZSBvZiB0eXBlIHN0cmluZy5gO1xuICB9XG59XG4iXX0= |
export class InvalidBatchWriteItemError extends Error { | ||
name = 'InvalidBatchWriteItemError'; | ||
constructor(input) { | ||
super(); | ||
this.name = 'InvalidBatchWriteItemError'; | ||
this.message = `Invalid input ${JSON.stringify(input)} provided for batch write operation, only "create" and "delete" are supported. `; | ||
} | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52YWxpZC1iYXRjaC13cml0ZS1pdGVtLWVycm9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29tbW9uL3NyYy9lcnJvci9pbnZhbGlkLWJhdGNoLXdyaXRlLWl0ZW0tZXJyb3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLDBCQUEyQixTQUFRLEtBQUs7SUFHbkQsWUFBWSxLQUFVO1FBQ3BCLEtBQUssRUFBRSxDQUFDO1FBSFYsU0FBSSxHQUFHLDRCQUE0QixDQUFDO1FBSWxDLElBQUksQ0FBQyxPQUFPLEdBQUcsaUJBQWlCLElBQUksQ0FBQyxTQUFTLENBQzVDLEtBQUssQ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WxpZEJhdGNoV3JpdGVJdGVtRXJyb3IgZXh0ZW5kcyBFcnJvciB7XG4gIG5hbWUgPSAnSW52YWxpZEJhdGNoV3JpdGVJdGVtRXJyb3InO1xuXG4gIGNvbnN0cnVjdG9yKGlucHV0OiBhbnkpIHtcbiAgICBzdXBlcigpO1xuICAgIHRoaXMubWVzc2FnZSA9IGBJbnZhbGlkIGlucHV0ICR7SlNPTi5zdHJpbmdpZnkoXG4gICAgICBpbnB1dFxuICAgICl9IHByb3ZpZGVkIGZvciBiYXRjaCB3cml0ZSBvcGVyYXRpb24sIG9ubHkgXCJjcmVhdGVcIiBhbmQgXCJkZWxldGVcIiBhcmUgc3VwcG9ydGVkLiBgO1xuICB9XG59XG4iXX0= |
export class InvalidDynamicUpdateAttributeValueError extends Error { | ||
name = 'InvalidDynamicUpdateAttributeValueError'; | ||
constructor(attributeName, attributeValue) { | ||
super(); | ||
this.name = 'InvalidDynamicUpdateAttributeValueError'; | ||
this.message = `Invalid dynamic value "${JSON.stringify(attributeValue)}" received for attribute "${attributeName}". | ||
@@ -14,2 +14,2 @@ Any value that can not be statically recognized is considered a dynamic value, | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52YWxpZC1keW5hbWljLXVwZGF0ZS1hdHRyaWJ1dGUtdmFsdWUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21tb24vc3JjL2Vycm9yL2ludmFsaWQtZHluYW1pYy11cGRhdGUtYXR0cmlidXRlLXZhbHVlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sT0FBTyx1Q0FBd0MsU0FBUSxLQUFLO0lBR2hFLFlBQVksYUFBcUIsRUFBRSxjQUFtQjtRQUNwRCxLQUFLLEVBQUUsQ0FBQztRQUhWLFNBQUksR0FBRyx5Q0FBeUMsQ0FBQztR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ZSBcIiR7YXR0cmlidXRlTmFtZX1cIi5cbiAgICBBbnkgdmFsdWUgdGhhdCBjYW4gbm90IGJlIHN0YXRpY2FsbHkgcmVjb2duaXplZCBpcyBjb25zaWRlcmVkIGEgZHluYW1pYyB2YWx1ZSwgXG4gICAgdGhpcyBjb3VsZCBlaXRoZXIgYmUgXCJTRVRcIiBhY3Rpb24gd2l0aCArLC0sWzxpbmRleD5dIG9wZXJhdG9ycyBvciBBREQsIERFTEVURSwgUkVNT1ZFLlxuXG4gICAgV2hlbiBhdHRyaWJ1dGUgaXMgcmVmZXJlbmNlZCBpbiBvbmUgbW9yZSBcImluZGV4ZXNcIiwgXCJwcmltYXJ5IGtleVwiIHVwZGF0ZXMgb3IgbWFya2VkIGFzIFwidW5pcXVlXCIsXG4gICAgZHluYW1pYyBhY3Rpb25zIGNhbiBub3QgYmUgcGVyZm9ybWVkLlxuICAgIGA7XG4gIH1cbn1cbiJdfQ== |
export class InvalidExpressionInputError extends Error { | ||
name = 'InvalidExpressionInputError'; | ||
constructor(key, options) { | ||
super(); | ||
this.name = 'InvalidExpressionInputError'; | ||
this.message = `Invalid expression input found for key "${key}". Received input: ${JSON.stringify(options)}`; | ||
} | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52YWxpZC1leHByZXNzaW9uLWlucHV0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29tbW9uL3NyYy9lcnJvci9pbnZhbGlkLWV4cHJlc3Npb24taW5wdXQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLDJCQUE0QixTQUFRLEtBQUs7SUFHcEQsWUFBWSxHQUFXLEVBQUUsT0FBZ0I7UUFDdkMsS0FBSyxFQUFFLENBQUM7UUFIVixTQUFJLEdBQUcsNkJBQTZCLENBQUM7UUFJbkMsSUF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UUsQ0FBQztJQUNOLENBQUM7Q0FDRiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBJbnZhbGlkRXhwcmVzc2lvbklucHV0RXJyb3IgZXh0ZW5kcyBFcnJvciB7XG4gIG5hbWUgPSAnSW52YWxpZEV4cHJlc3Npb25JbnB1dEVycm9yJztcblxuICBjb25zdHJ1Y3RvcihrZXk6IHN0cmluZywgb3B0aW9uczogdW5rbm93bikge1xuICAgIHN1cGVyKCk7XG4gICAgdGhpcy5tZXNzYWdlID0gYEludmFsaWQgZXhwcmVzc2lvbiBpbnB1dCBmb3VuZCBmb3Iga2V5IFwiJHtrZXl9XCIuIFJlY2VpdmVkIGlucHV0OiAke0pTT04uc3RyaW5naWZ5KFxuICAgICAgb3B0aW9uc1xuICAgICl9YDtcbiAgfVxufVxuIl19 |
export class InvalidFilterInputError extends Error { | ||
name = 'InvalidFilterInputError'; | ||
constructor(input) { | ||
super(); | ||
this.name = 'InvalidFilterInputError'; | ||
this.message = `Failed to build filter expression for input: ${JSON.stringify(input)}.`; | ||
} | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52YWxpZC1maWx0ZXItaW5wdXQtZXJyb3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21tb24vc3JjL2Vycm9yL2ludmFsaWQtZmlsdGVyLWlucHV0LWVycm9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sT0FBTyx1QkFBd0IsU0FBUSxLQUFLO0lBR2hELFlBQVksS0FBVTtRQUNwQixLQUFLLEVBQUUsQ0FBQztRQUhWLFNBQUksR0FBRyx5QkFBeUIsQ0FBQztRQUkvQixJQUFJLENBQUMsT0FBTyxHQUFHLGdEQUFnRCxJQUFJLENBQUMsU0FBUyxDQUMzRSxLQUFLLENBQ04sR0FB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1Y3RvcihpbnB1dDogYW55KSB7XG4gICAgc3VwZXIoKTtcbiAgICB0aGlzLm1lc3NhZ2UgPSBgRmFpbGVkIHRvIGJ1aWxkIGZpbHRlciBleHByZXNzaW9uIGZvciBpbnB1dDogJHtKU09OLnN0cmluZ2lmeShcbiAgICAgIGlucHV0XG4gICAgKX0uYDtcbiAgfVxufVxuIl19 |
export class InvalidParallelScanLimitOptionError extends Error { | ||
name = 'InvalidParallelScanLimitOptionError'; | ||
constructor(limit, limitPerSegment) { | ||
super(); | ||
this.name = 'InvalidParallelScanLimitOptionError'; | ||
this.message = `Invalid scan option "limit", when using parallel scan, value for "limitPerSegment" cannot be greater than "limit". Consider using a scan operation instead. | ||
@@ -11,2 +11,2 @@ limit: ${limit} | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52YWxpZC1wYXJhbGxlbC1zY2FuLWxpbWl0LW9wdGlvbi1lcnJvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbW1vbi9zcmMvZXJyb3IvaW52YWxpZC1wYXJhbGxlbC1zY2FuLWxpbWl0LW9wdGlvbi1lcnJvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLE9BQU8sbUNBQW9DLFNBQVEsS0FBSztJQUU1RCxZQUFZLEtBQWEsRUFBRSxlQUF1QjtRQUNoRCxLQUFLLEVBQUUsQ0FBQztRQUZWLFNBQUksR0FBRyxxQ0FBcUMsQ0FBQztRQUczQyxJQUFJLENBQUMsT0FBTyxHQUFHO2FBQ04sS0FBSzt1QkFDSyxlQUFlO0tBQ2pDLENBQUM7SUFDSixDQUFDO0NBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY2xhc3MgSW52YWxpZFBhcmFsbGVsU2NhbkxpbWl0T3B0aW9uRXJyb3IgZXh0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FDSixDQUFDO0NBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY2xhc3MgSW52YWxpZFBhcmFsbGVsU2NhbkxpbWl0T3B0aW9uRXJyb3IgZXh0ZW5kcyBFcnJvciB7XG4gIG5hbWUgPSAnSW52YWxpZFBhcmFsbGVsU2NhbkxpbWl0T3B0aW9uRXJyb3InO1xuICBjb25zdHJ1Y3RvcihsaW1pdDogbnVtYmVyLCBsaW1pdFBlclNlZ21lbnQ6IG51bWJlcikge1xuICAgIHN1cGVyKCk7XG4gICAgdGhpcy5tZXNzYWdlID0gYEludmFsaWQgc2NhbiBvcHRpb24gXCJsaW1pdFwiLCB3aGVuIHVzaW5nIHBhcmFsbGVsIHNjYW4sIHZhbHVlIGZvciBcImxpbWl0UGVyU2VnbWVudFwiIGNhbm5vdCBiZSBncmVhdGVyIHRoYW4gXCJsaW1pdFwiLiBDb25zaWRlciB1c2luZyBhIHNjYW4gb3BlcmF0aW9uIGluc3RlYWQuICAgIFxuICAgIGxpbWl0OiAke2xpbWl0fVxuICAgIGxpbWl0UGVyU2VnbWVudDogJHtsaW1pdFBlclNlZ21lbnR9XG4gICAgYDtcbiAgfVxufVxuIl19 |
export class InvalidSelectInputError extends Error { | ||
name = 'InvalidSelectInputError'; | ||
constructor(input) { | ||
super(); | ||
this.name = 'InvalidSelectInputError'; | ||
this.message = `Failed to build projection expression for input: ${JSON.stringify(input)}.`; | ||
} | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52YWxpZC1zZWxlY3QtaW5wdXQtZXJyb3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21tb24vc3JjL2Vycm9yL2ludmFsaWQtc2VsZWN0LWlucHV0LWVycm9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sT0FBTyx1Qk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xLQUFLLENBQ04sR0FBRyxDQUFDO0lBQ1AsQ0FBQztDQUNGIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIEludmFsaWRTZWxlY3RJbnB1dEVycm9yIGV4dGVuZHMgRXJyb3Ige1xuICBuYW1lID0gJ0ludmFsaWRTZWxlY3RJbnB1dEVycm9yJztcblxuICBjb25zdHJ1Y3RvcihpbnB1dDogYW55KSB7XG4gICAgc3VwZXIoKTtcbiAgICB0aGlzLm1lc3NhZ2UgPSBgRmFpbGVkIHRvIGJ1aWxkIHByb2plY3Rpb24gZXhwcmVzc2lvbiBmb3IgaW5wdXQ6ICR7SlNPTi5zdHJpbmdpZnkoXG4gICAgICBpbnB1dFxuICAgICl9LmA7XG4gIH1cbn1cbiJdfQ== |
export class InvalidTransactionReadItemError extends Error { | ||
name = 'InvalidTransactionReadItemError'; | ||
constructor(input) { | ||
super(); | ||
this.name = 'InvalidTransactionReadItemError'; | ||
this.message = `Invalid input ${JSON.stringify(input)} provided for transaction get operation, only "get" is supported.`; | ||
} | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52YWxpZC10cmFuc2FjdGlvbi1yZWFkLWl0ZW0tZXJyb3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21tb24vc3JjL2Vycm9yL2ludmFsaWQtdHJhbnNhY3Rpb24tcmVhZC1pdGVtLWVycm9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sT0FBTywrQkFBZ0MsU0FBUSxLQUFLO0lBR3hELFlBQVksS0FBVTtRQUNwQixLQUFLLEVBQUUsQ0FBQztRQUhWLFNBQUksR0FBRyxpQ0FBaUMsQ0FBQztRQUl2QyxJQUFJLENBQUMsT0FBTyxHQUFHLGlCQUFpQixJQUFJLENBQUMsU0FBUyxDQUM1Q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sYXNzIEludmFsaWRUcmFuc2FjdGlvblJlYWRJdGVtRXJyb3IgZXh0ZW5kcyBFcnJvciB7XG4gIG5hbWUgPSAnSW52YWxpZFRyYW5zYWN0aW9uUmVhZEl0ZW1FcnJvcic7XG5cbiAgY29uc3RydWN0b3IoaW5wdXQ6IGFueSkge1xuICAgIHN1cGVyKCk7XG4gICAgdGhpcy5tZXNzYWdlID0gYEludmFsaWQgaW5wdXQgJHtKU09OLnN0cmluZ2lmeShcbiAgICAgIGlucHV0XG4gICAgKX0gcHJvdmlkZWQgZm9yIHRyYW5zYWN0aW9uIGdldCBvcGVyYXRpb24sIG9ubHkgXCJnZXRcIiBpcyBzdXBwb3J0ZWQuYDtcbiAgfVxufVxuIl19 |
export class InvalidTransactionWriteItemError extends Error { | ||
name = 'InvalidTransactionWriteItemError'; | ||
constructor(input) { | ||
super(); | ||
this.name = 'InvalidTransactionWriteItemError'; | ||
this.message = `Invalid input ${JSON.stringify(input)} provided for transaction write operation, only "create", "update" and "delete" are supported.`; | ||
} | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52YWxpZC10cmFuc2FjdGlvbi13cml0ZS1pdGVtLWVycm9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29tbW9uL3NyYy9lcnJvci9pbnZhbGlkLXRyYW5zYWN0aW9uLXdyaXRlLWl0ZW0tZXJyb3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLGdDQUFpQyxTQUFRLEtBQUs7SUFHekQsWUFBWSxLQUFVO1FBQ3BCLEtBQUssRUFBRSxDQUFDO1FBSFYsU0FBSSxHQUFHLGtDQUFrQyxDQUFDO1FBSXhDLElBQUksQ0FBQyxPQUFPLEdBQUcsaUJBQWlCLElBQUksQ0FBQyxTQUFTLENBQzVDLEtBQUssQ0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DQUFDO0NBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY2xhc3MgSW52YWxpZFRyYW5zYWN0aW9uV3JpdGVJdGVtRXJyb3IgZXh0ZW5kcyBFcnJvciB7XG4gIG5hbWUgPSAnSW52YWxpZFRyYW5zYWN0aW9uV3JpdGVJdGVtRXJyb3InO1xuXG4gIGNvbnN0cnVjdG9yKGlucHV0OiBhbnkpIHtcbiAgICBzdXBlcigpO1xuICAgIHRoaXMubWVzc2FnZSA9IGBJbnZhbGlkIGlucHV0ICR7SlNPTi5zdHJpbmdpZnkoXG4gICAgICBpbnB1dFxuICAgICl9IHByb3ZpZGVkIGZvciB0cmFuc2FjdGlvbiB3cml0ZSBvcGVyYXRpb24sIG9ubHkgXCJjcmVhdGVcIiwgXCJ1cGRhdGVcIiBhbmQgXCJkZWxldGVcIiBhcmUgc3VwcG9ydGVkLmA7XG4gIH1cbn1cbiJdfQ== |
export class InvalidUniqueAttributeUpdateError extends Error { | ||
name = 'InvalidUniqueAttributeUpdateError'; | ||
constructor(primaryKey, attributes) { | ||
super(); | ||
this.name = 'InvalidUniqueAttributeUpdateError'; | ||
this.message = `Updates on a unique attributes is not supported when it is also referenced by | ||
@@ -12,2 +12,2 @@ primary key. | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52YWxpZC11bmlxdWUtYXR0cmlidXRlLXVwZGF0ZS1lcnJvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbW1vbi9zcmMvZXJyb3IvaW52YWxpZC11bmlxdWUtYXR0cmlidXRlLXVwZGF0ZS1lcnJvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLE9BQU8saUNBQWtDLFNBQVEsS0FBSztJQUcxRCxZQUFZLFVBQWtDLEVBQUUsVUFBb0I7UUFDbE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cnkga2V5OiAke0pTT04uc3RyaW5naWZ5KHByaW1hcnlLZXkpfS5cbiAgICBcXG4gVW5pcXVlIEF0dHJpYnV0ZXMgdHJpZWQgdG8gdXBkYXRlOiAke0pTT04uc3RyaW5naWZ5KGF0dHJpYnV0ZXMpfS5cbiAgICBcXG4gSWYgdGhpcyBpcyBzb21ldGhpbmcgeW91IHdvdWxkIGxpa2UgdG8gaGF2ZSBpbXBsZW1lbnRlZCwgcGxlYXNlIGZpbGUgYSBuZXcgaXNzdWUuYDtcbiAgfVxufVxuIl19 |
export class MissingReflectMetadataError extends Error { | ||
name = 'MissingReflectMetadata'; | ||
constructor(tsMetadataType) { | ||
super(); | ||
this.name = 'MissingReflectMetadata'; | ||
this.message = `Could not reflect metadata of type ${tsMetadataType}, did you forget to enable "emitDecoratorMetadata" on compiler options?`; | ||
} | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlzc2luZy1yZWZsZWN0LW1ldGFkYXRhLWVycm9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29tbW9uL3NyYy9lcnJvci9taXNzaW5nLXJlZmxlY3QtbWV0YWRhdGEtZXJyb3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLDJCQUE0QixTQUFRLEtBQUs7SUFHcEQsWUFBWSxjQUFzQjtRQUNoQyxLQUFLLEVBQUUsQ0FBQztRQUhWLFNBQUksR0FBRyx3QkFBd0IsQ0FBQztRQUk5QixJQUFJLENBQUMsT0FBTyxHQUFHLHNDQUFzQyxjQUFjLHlFQUF5RSxDQUFDO0lBQy9JLENBQUM7Q0FDRiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBNaXNzaW5nUmVmbGVjdE1ldGFkYXRhRXJyb3IgZXh0ZW5kcyBFcnJvciB7XG4gIG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pcy5tZXNzYWdlID0gYENvdWxkIG5vdCByZWZsZWN0IG1ldGFkYXRhIG9mIHR5cGUgJHt0c01ldGFkYXRhVHlwZX0sIGRpZCB5b3UgZm9yZ2V0IHRvIGVuYWJsZSBcImVtaXREZWNvcmF0b3JNZXRhZGF0YVwiIG9uIGNvbXBpbGVyIG9wdGlvbnM/YDtcbiAgfVxufVxuIl19 |
export class MissingRequiredDependencyError extends Error { | ||
name = 'MissingRequiredDependencyError'; | ||
constructor(packageName) { | ||
super(); | ||
this.name = 'MissingRequiredDependencyError'; | ||
this.message = `The "${packageName}" package is missing. | ||
@@ -9,2 +9,2 @@ Please, make sure to install this library ($ npm install ${packageName}).`; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlzc2luZy1yZXF1aXJlZC1kZXAuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21tb24vc3JjL2Vycm9yL21pc3NpbmctcmVxdWlyZWQtZGVwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sT0FBTyw4QkFBK0IsU0FBUSxLQUFLO0lBR3ZELFlBQVksV0FBbUI7UUFDN0IsS0FBSyxFQUFFLENBQUM7UUFIVixTQUFJLEdBQUcsZ0NBQWdDLENBQUM7UUFLdEMsSUFBSSxDQUFDLE9BQU8sR0FBRyxRQUFRLFdBQVc7K0RBQ3lCLFdBQVcsSUFBSSxDQUFDO0lBQzdFLENBQUM7Q0FDRiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBNaXNzaW5nUmVxdWlyZWREZXBlbmRlbmN5RXJyb3IgZXh0ZW5kcyBFcnJvciB7XG4gIG5hbWUgPSAnTWlzc2luZ1JlcXVpcmVkRGVwZW5kZW5jeUVycm9yJztcblxuICBjb25zdHJ1Y3RvcihwYWNrYWdlTmFtZTogc3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AgUGxlYXNlLCBtYWtlIHN1cmUgdG8gaW5zdGFsbCB0aGlzIGxpYnJhcnkgKCQgbnBtIGluc3RhbGwgJHtwYWNrYWdlTmFtZX0pLmA7XG4gIH1cbn1cbiJdfQ== |
export class MissingRequiredEntityPhysicalNameError extends Error { | ||
name = 'MissingRequiredEntityPhysicalNameError'; | ||
constructor(className) { | ||
super(); | ||
this.name = 'MissingRequiredEntityPhysicalNameError'; | ||
this.message = `Missing required entity physical name for entity "${className}". Physical names must be non empty and unique.`; | ||
} | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlzc2luZy1yZXF1aXJlZC1lbnRpdHktcGh5c2ljYWwtbmFtZS1lcnJvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbW1vbi9zcmMvZXJyb3IvbWlzc2luZy1yZXF1aXJlZC1lbnRpdHktcGh5c2ljYWwtbmFtZS1lcnJvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLE9BQU8sc0NBQXVDLFNBQVEsS0FBSztJQUcvRCxZQUFZLFNBQWlCO1FBQzNCLEtBQUssRUFBRSxDQUFDO1FBSFYsU0FBSSxHQUFHLHdDQUF3QyxDQUFDO1FBSTlDLElBQUksQ0FBQyxPQUFPLEdBQUcscURBQXFELFNBQVMsaURBQWlELENBQUM7SUFDakksQ0FBQztDQUNGIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIE1pc3NpbmdSZXF1aXJlZEVudGl0eVBoeXNpY2FsTmFtZUVycm9yIGV4dGVuZHMgRXJyb3Ige1xuICBuYW1lID0gJ01pc3NpbmdSZXF1aXJlZEVudGl0eVBoeXNpY2FsTmFtZUVycm9yJztcblxuICBjb25zdHJ1Y3RvcihjbGFzc05hbWU6IHN0cmluZykge1xuICAgIHN1cGVyKC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UgZm9yIGVudGl0eSBcIiR7Y2xhc3NOYW1lfVwiLiBQaHlzaWNhbCBuYW1lcyBtdXN0IGJlIG5vbiBlbXB0eSBhbmQgdW5pcXVlLmA7XG4gIH1cbn1cbiJdfQ== |
@@ -5,5 +5,5 @@ /** | ||
export class MissingRequiredTableConfig extends Error { | ||
name = 'MissingRequiredTableConfig'; | ||
constructor(entityName) { | ||
super(); | ||
this.name = 'MissingRequiredTableConfig'; | ||
this.message = `No table config could be resolved for entity "${entityName}", entity must have at least | ||
@@ -13,2 +13,2 @@ one of "connection table" or "entity table" configured.`; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlzc2luZy1yZXF1aXJlZC10YWJsZS1jb25maWcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21tb24vc3JjL2Vycm9yL21pc3NpbmctcmVxdWlyZWQtdGFibGUtY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxPQUFPLDBCQUEyQixTQUFRLEtBQUs7SUFFbkQsWUFBWSxVQUFrQjtRQUM1QixLQUFLLEVBQUUsQ0FBQztRQUZWLFNBQUksR0FBRyw0QkFBNEIsQ0FBQztRQUdsQyxJQUFJLENBQUMsT0FBTyxHQUFHLGlEQUFpRCxVQUFVOzREQUNsQixDQUFDO0lBQzNELENBQUM7Q0FDRiIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogVGhyb3duIHdoZW4gbm9uZSBvZiBnbG9iYWwgb3IgcGVyIGVudGl0eSB0YWJsZSBleGlzdHNcbiAqL1xuZXhwb3J0IGNsYXNzIE1pc3NpbmdSZXF1aXJlZFRhYmxlQ29uZmlnIGV4dGVuZHMgRXJyb3Ige1xuICBuYW1lID0gJ01pc3NpbmdSZXF1aXJlZFRhYmxlQ29uZml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ZmlnJztcbiAgY29uc3RydWN0b3IoZW50aXR5TmFtZTogc3RyaW5nKSB7XG4gICAgc3VwZXIoKTtcbiAgICB0aGlzLm1lc3NhZ2UgPSBgTm8gdGFibGUgY29uZmlnIGNvdWxkIGJlIHJlc29sdmVkIGZvciBlbnRpdHkgXCIke2VudGl0eU5hbWV9XCIsIGVudGl0eSBtdXN0IGhhdmUgYXQgbGVhc3RcbiAgICBvbmUgb2YgXCJjb25uZWN0aW9uIHRhYmxlXCIgb3IgXCJlbnRpdHkgdGFibGVcIiBjb25maWd1cmVkLmA7XG4gIH1cbn1cbiJdfQ== |
export class NoSuchAttributeExistsError extends Error { | ||
name = 'NoSuchAttributeExistsError'; | ||
constructor(attributeName, entityName) { | ||
super(); | ||
this.name = 'NoSuchAttributeExistsError'; | ||
this.message = `No such attribute "${attributeName}" exists on entity${entityName ? ` ${entityName}.` : '.'}`; | ||
} | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm8tc3VjaC1hdHRyaWJ1dGUtZXhpc3RzLWVycm9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29tbW9uL3NyYy9lcnJvci9uby1zdWNoLWF0dHJpYnV0ZS1leGlzdHMtZXJyb3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLDBCQUEyQixTQUFRLEtBQUs7SUFHbkQsWUFBWSxhQUFxQixFQUFFLFVBQW1CO1FBQ3BELEtBQUssRUFBRSxDQUFDO1FBSFYsU0FBSSxHQUFHLDRCQUE0QixDQUFDO1FBSWxDLElBQUksQ0FBQyxPQUFPLEdBQUcsc0JBQXNCLGFBQWEscUJBQ2hELFVBQVUsQ0FBQyxDQUFDLENBQUMsSUFBSSxVQUFVLEdBQUcsQ0FBQyxDQUFDLENBQUMsR0FDbkMsRUFBRSxDQUFD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QztDQUNGIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIE5vU3VjaEF0dHJpYnV0ZUV4aXN0c0Vycm9yIGV4dGVuZHMgRXJyb3Ige1xuICBuYW1lID0gJ05vU3VjaEF0dHJpYnV0ZUV4aXN0c0Vycm9yJztcblxuICBjb25zdHJ1Y3RvcihhdHRyaWJ1dGVOYW1lOiBzdHJpbmcsIGVudGl0eU5hbWU/OiBzdHJpbmcpIHtcbiAgICBzdXBlcigpO1xuICAgIHRoaXMubWVzc2FnZSA9IGBObyBzdWNoIGF0dHJpYnV0ZSBcIiR7YXR0cmlidXRlTmFtZX1cIiBleGlzdHMgb24gZW50aXR5JHtcbiAgICAgIGVudGl0eU5hbWUgPyBgICR7ZW50aXR5TmFtZX0uYCA6ICcuJ1xuICAgIH1gO1xuICB9XG59XG4iXX0= |
export class NoSuchEntityExistsError extends Error { | ||
name = 'NoSuchEntityExistsError'; | ||
constructor(entityName) { | ||
super(); | ||
this.name = 'NoSuchEntityExistsError'; | ||
this.message = `No such entity named "${entityName}" is known to TypeDORM. If such entity exists, | ||
@@ -9,2 +9,2 @@ please make sure it is registered to current connection.`; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm8tc3VjaC1lbnRpdHktZXhpc3RzLWVycm9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29tbW9uL3NyYy9lcnJvci9uby1zdWNoLWVudGl0eS1leGlzdHMtZXJyb3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLHVCQUF3QixTQUFRLEtBQUs7SUFFaEQsWUFBWSxVQUFrQjtRQUM1QixLQUFLLEVBQUUsQ0FBQztRQUZWLFNBQUksR0FBRyx5QkFBeUIsQ0FBQztRQUcvQixJQUFJLENBQUMsT0FBTyxHQUFHLHl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dGVuZHMgRXJyb3Ige1xuICBuYW1lID0gJ05vU3VjaEVudGl0eUV4aXN0c0Vycm9yJztcbiAgY29uc3RydWN0b3IoZW50aXR5TmFtZTogc3RyaW5nKSB7XG4gICAgc3VwZXIoKTtcbiAgICB0aGlzLm1lc3NhZ2UgPSBgTm8gc3VjaCBlbnRpdHkgbmFtZWQgXCIke2VudGl0eU5hbWV9XCIgaXMga25vd24gdG8gVHlwZURPUk0uIElmIHN1Y2ggZW50aXR5IGV4aXN0cywgXG4gICAgcGxlYXNlIG1ha2Ugc3VyZSBpdCBpcyByZWdpc3RlcmVkIHRvIGN1cnJlbnQgY29ubmVjdGlvbi5gO1xuICB9XG59XG4iXX0= |
export class NoSuchIndexFoundError extends Error { | ||
name = 'NoSuchIndexFoundError'; | ||
constructor(tableName, indexName) { | ||
super(); | ||
this.name = 'NoSuchIndexFoundError'; | ||
this.message = `No such index "${indexName}" was found on table "${tableName}," | ||
@@ -9,2 +9,2 @@ Please check if you have provided correct index option and it was configured correctly.`; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm8tc3VjaC1pbmRleC1mb3VuZC1lcnJvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbW1vbi9zcmMvZXJyb3Ivbm8tc3VjaC1pbmRleC1mb3VuZC1lcnJvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLE9BQU8scUJBQXNCLFNBQVEsS0FBSztJQUc5QyxZQUFZLFNBQWlCLEVBQUUsU0FBaUI7UUFDOUMsS0FBSyxFQUFFLENBQUM7UUFIVixTQUFJLEdBQUcsdUJBQXVCLENBQUM7UUFJN0IsSUFBSSxDQUFDLE9BQU8sR0FBRyxrQkFBa0IsU0FBUyx5QkFBeUIsU0FBUzs0RkFDWSxDQUFDO0lBQzNGLENBQUM7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FzcyBOb1N1Y2hJbmRleEZvdW5kRXJyb3IgZXh0ZW5kcyBFcnJvciB7XG4gIG5hbWUgPSAnTm9TdWNoSW5kZXhGb3VuZEVycm9yJztcblxuICBjb25zdHJ1Y3Rvcih0YWJsZU5hbWU6IHN0cmluZywgaW5kZXhOYW1lOiBzdHJpbmcpIHtcbiAgICBzdXBlcigpO1xuICAgIHRoaXMubWVzc2FnZSA9IGBObyBzdWNoIGluZGV4IFwiJHtpbmRleE5hbWV9XCIgd2FzIGZvdW5kIG9uIHRhYmxlIFwiJHt0YWJsZU5hbWV9LFwiXG4gICAgUGxlYXNlIGNoZWNrIGlmIHlvdSBoYXZlIHByb3ZpZGVkIGNvcnJlY3QgaW5kZXggb3B0aW9uIGFuZCBpdCB3YXMgY29uZmlndXJlZCBjb3JyZWN0bHkuYDtcbiAgfVxufVxuIl19 |
export class SparseIndexParseError extends Error { | ||
name = 'SparseIndexParseError'; | ||
constructor(key) { | ||
super(); | ||
this.name = 'SparseIndexParseError'; | ||
this.message = `Failed to parse "${key}"`; | ||
} | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyc2UtZXJyb3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21tb24vc3JjL2Vycm9yL3BhcnNlLWVycm9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sT0FBTyxxQkFBc0IsU0FBUSxLQUFLO0lBRzlDLFlBQVksR0FBVztRQUNyQixLQUFLLEVBQUUsQ0FBQztRQUhWLFNBQUksR0FBRyx1QkFBdUIsQ0FBQztRQUk3QixJQUFJLENBQUMsT0FBTyxHQUFHLG9CQUFvQixHQUFHLEdBQUcsQ0FBQztJQUM1QyxDQUFDO0NBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY2xhc3MgU3BhcnNlSW5kZXhQYXJzZUVycm9yIGV4dGVuZHMgRXJyb3Ige1xuICBuYW1lID0gJ1NwYXJzZUluZGV4UGFyc2VFcnJvcic7XG5cbiAgY29uc3RydWN0b3Ioa2V5OiBzdHJpbmcpIHtcbiAgICBzdXBlcigpO1xuICAgIHRoaXMubWVzc2FnZSA9IGBGYWlsZWQgdG8gcGFyc2UgXCIke2tleX1cImA7XG4gIH1cbn1cbiJdfQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyc2UtZXJyb3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21tb24vc3JjL2Vycm9yL3BhcnNlLWVycm9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sT0FBTyxxQkFBc0IsU0FBUSxLQUFLO0lBQzlDLElBQUksR0FBRyx1QkFBdUIsQ0FBQztJQUUvQixZQUFZLEdBQVc7UUFDckIsS0FBSyxFQUFFLENBQUM7UUFDUixJQUFJLENBQUMsT0FBTyxHQUFHLG9CQUFvQixHQUFHLEdBQUcsQ0FBQztJQUM1QyxDQUFDO0NBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY2xhc3MgU3BhcnNlSW5kZXhQYXJzZUVycm9yIGV4dGVuZHMgRXJyb3Ige1xuICBuYW1lID0gJ1NwYXJzZUluZGV4UGFyc2VFcnJvcic7XG5cbiAgY29uc3RydWN0b3Ioa2V5OiBzdHJpbmcpIHtcbiAgICBzdXBlcigpO1xuICAgIHRoaXMubWVzc2FnZSA9IGBGYWlsZWQgdG8gcGFyc2UgXCIke2tleX1cImA7XG4gIH1cbn1cbiJdfQ== |
import { TRANSACTION_READ_ITEMS_LIMIT } from '../constants'; | ||
export class ReadTransactionItemLimitExceededError extends Error { | ||
name = 'ReadTransactionItemLimitExceededError'; | ||
constructor(itemsCount) { | ||
super(); | ||
this.name = 'ReadTransactionItemLimitExceededError'; | ||
this.message = `Transaction read limit exceeded. Tried to write total "${itemsCount}" items in a single transaction, | ||
@@ -10,2 +10,2 @@ current transaction write limit is "${TRANSACTION_READ_ITEMS_LIMIT}".`; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZC10cmFuc2FjdGlvbi1pdGVtLWxpbWl0LWV4Y2VlZGVkLWVycm9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29tbW9uL3NyYy9lcnJvci9yZWFkLXRyYW5zYWN0aW9uLWl0ZW0tbGltaXQtZXhjZWVkZWQtZXJyb3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLDRCQUE0QixFQUFDLE1BQU0sY0FBYyxDQUFDO0FBRTFELE1BQU0sT0FBTyxxQ0FBc0MsU0FBUSxLQUFLO0lBRzlELFlBQVksVUFBa0I7UUFDNUIsS0FBSyxFQUFFLENBQUM7UUFIVixTQUFJLEdBQUcsdUNBQXVDLENBQUM7UUFJN0MsSUFBSSxDQUFDLE9BQU8sR0FBRywwREFBMEQsVUFBVTswQ0FDN0MsNEJBQTRCLElBQUksQ0FBQztJQUN6RSxDQUFDO0NBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1RSQU5TQUNUSU9OX1JFQURfSVRFTVNfTElNSVR9IGZyb20gJy4uL2NvbnN0YW50cyc7XG5cbmV4cG9ydCBjbGFzcyBSZWFkVHJhbnNhY3Rpb25JdGVtTGltaXRFeGNlZWRlZEVycm9yIGV4dGVuZHMgRXJyb3Ige1xuICBuYW1lID0gJ1JlYWRUcmFuc2FjdGlvbkl0ZW1MaW1pdEV4Y2VlZGVkRXJyb3InO1xuXG4gIGNvbnN0cnVjdG9yKGl0ZW1zQ291bnQ6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VHJhbnNhY3Rpb25JdGVtTGltaXRFeGNlZWRlZEVycm9yIGV4dGVuZHMgRXJyb3Ige1xuICBuYW1lID0gJ1JlYWRUcmFuc2FjdGlvbkl0ZW1MaW1pdEV4Y2VlZGVkRXJyb3InO1xuXG4gIGNvbnN0cnVjdG9yKGl0ZW1zQ291bnQ6IG51bWJlcikge1xuICAgIHN1cGVyKCk7XG4gICAgdGhpcy5tZXNzYWdlID0gYFRyYW5zYWN0aW9uIHJlYWQgbGltaXQgZXhjZWVkZWQuIFRyaWVkIHRvIHdyaXRlIHRvdGFsIFwiJHtpdGVtc0NvdW50fVwiIGl0ZW1zIGluIGEgc2luZ2xlIHRyYW5zYWN0aW9uLCBcbiAgICBjdXJyZW50IHRyYW5zYWN0aW9uIHdyaXRlIGxpbWl0IGlzIFwiJHtUUkFOU0FDVElPTl9SRUFEX0lURU1TX0xJTUlUfVwiLmA7XG4gIH1cbn1cbiJdfQ== |
import { AUTO_GENERATE_ATTRIBUTE_STRATEGY } from '../enums'; | ||
export class UnknownAttributeValueGenerationStrategyError extends Error { | ||
name = 'UnknownAttributeValueGenerationStrategyError'; | ||
constructor(strategy) { | ||
super(); | ||
this.name = 'UnknownAttributeValueGenerationStrategyError'; | ||
this.message = `Unknown attribute value generation strategy provided: "${strategy}". | ||
@@ -12,2 +12,2 @@ Valid attribute value generation strategies are: ${Object.keys(AUTO_GENERATE_ATTRIBUTE_STRATEGY) | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5rbm93bi1hdHRyaWJ1dGUtdmFsdWUtZ2VuZXJhdGlvbi1zdHJhdGVneS1lcnJvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbW1vbi9zcmMvZXJyb3IvdW5rbm93bi1hdHRyaWJ1dGUtdmFsdWUtZ2VuZXJhdGlvbi1zdHJhdGVneS1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mVyYXRpb25TdHJhdGVneUVycm9yIGV4dGVuZHMgRXJyb3Ige1xuICBuYW1lID0gJ1Vua25vd25BdHRyaWJ1dGVWYWx1ZUdlbmVyYXRpb25TdHJhdGVneUVycm9yJztcblxuICBjb25zdHJ1Y3RvcihzdHJhdGVneTogc3RyaW5nKSB7XG4gICAgc3VwZXIoKTtcbiAgICB0aGlzLm1lc3NhZ2UgPSBgVW5rbm93biBhdHRyaWJ1dGUgdmFsdWUgZ2VuZXJhdGlvbiBzdHJhdGVneSBwcm92aWRlZDogXCIke3N0cmF0ZWd5fVwiLlxuICAgIFZhbGlkIGF0dHJpYnV0ZSB2YWx1ZSBnZW5lcmF0aW9uIHN0cmF0ZWdpZXMgYXJlOiAke09iamVjdC5rZXlzKFxuICAgICAgQVVUT19HRU5FUkFURV9BVFRSSUJVVEVfU1RSQVRFR1lcbiAgICApXG4gICAgICAubWFwKGtleSA9PiBgXCIke2tleX1cImApXG4gICAgICAuam9pbignLCAnKX1gO1xuICB9XG59XG4iXX0= |
import { TRANSACTION_WRITE_ITEMS_LIMIT } from '../constants'; | ||
export class WriteTransactionItemLimitExceededError extends Error { | ||
name = 'WriteTransactionItemLimitExceededError'; | ||
constructor(originalItemsCount, generatedItemsCount) { | ||
super(); | ||
this.name = 'WriteTransactionItemLimitExceededError'; | ||
this.message = `Transaction write limit exceeded. Tried to write total "${originalItemsCount}" items in a single transaction, | ||
@@ -18,2 +18,2 @@ current transaction write limit is "${TRANSACTION_WRITE_ITEMS_LIMIT}".`; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3JpdGUtdHJhbnNhY3Rpb24taXRlbS1saW1pdC1leGNlZWRlZC1lcnJvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbW1vbi9zcmMvZXJyb3Ivd3JpdGUtdHJhbnNhY3Rpb24ta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2UgPSBgVHJhbnNhY3Rpb24gd3JpdGUgbGltaXQgZXhjZWVkZWQuIFRyaWVkIHRvIHdyaXRlIHRvdGFsIFwiJHtvcmlnaW5hbEl0ZW1zQ291bnR9XCIgaXRlbXMgaW4gYSBzaW5nbGUgdHJhbnNhY3Rpb24sIFxuICAgIGN1cnJlbnQgdHJhbnNhY3Rpb24gd3JpdGUgbGltaXQgaXMgXCIke1RSQU5TQUNUSU9OX1dSSVRFX0lURU1TX0xJTUlUfVwiLmA7XG5cbiAgICBpZiAoZ2VuZXJhdGVkSXRlbXNDb3VudCAmJiBnZW5lcmF0ZWRJdGVtc0NvdW50ID4gb3JpZ2luYWxJdGVtc0NvdW50KSB7XG4gICAgICB0aGlzLm1lc3NhZ2UgKz0gYFxcblxuICAgICAgVGhpcyBjb3VsZCBiZSBiZWNhdXNlLCBob3cgdW5pcXVlIGVudGl0aWVzIGFyZSBoYW5kbGVkLiBcbiAgICAgIEluaXRpYWxseSwgXCIke29yaWdpbmFsSXRlbXNDb3VudH1cIiBpdGVtcyB3ZXJlIHJlcXVlc3RlZCB0byBiZSBwcm9jZXNzZWQgaW4gYSB0cmFuc2FjdGlvbixcbiAgICAgIGJ1dCBhZnRlciB0aGUgdW5pcXVlIGVudGl0aWVzIHRyYW5zZm9ybSwgdHJhbnNhY3Rpb24gd3JpdGUgaXRlbXMgd2VyZSBhdCBcIiR7Z2VuZXJhdGVkSXRlbXNDb3VudH1cIlxuICAgICAgd2hpY2ggaXMgbGFyZ2VyIGFtb3VudCB0aGFuIHRoZSBudW1iZXIgb2YgaXRlbXMgdGhhdCBkeW5hbW9kYiBjYW4gcHJvY2VlZCBpbiBhIHNpbmdsZSB0cmFuc2FjdGlvbi5cbiAgICAgICR7Z2VuZXJhdGVkSXRlbXNDb3VudH1gO1xuICAgIH1cbiAgfVxufVxuIl19 |
import { ObjectType } from './object-type'; | ||
export declare type EntityTarget<Entity> = ObjectType<Entity>; | ||
export type EntityTarget<Entity> = ObjectType<Entity>; | ||
export interface EntityInstance extends Object { | ||
constructor: Function; | ||
} | ||
export declare type EntityAttributes<Entity> = { | ||
export type EntityAttributes<Entity> = { | ||
[key in keyof Entity]: Entity[key]; | ||
}; | ||
export declare const IsEntityInstance: (variable: unknown) => variable is EntityInstance; |
@@ -1,3 +0,3 @@ | ||
export declare type DynamoEntity<Entity> = Entity | { | ||
export type DynamoEntity<Entity> = Entity | { | ||
[key: string]: unknown; | ||
}; |
@@ -1,1 +0,1 @@ | ||
export declare type HeadType<T extends any[]> = T extends [any, ...any[]] ? T[0] : never; | ||
export type HeadType<T extends any[]> = T extends [any, ...any[]] ? T[0] : never; |
@@ -1,3 +0,3 @@ | ||
export declare type NestedAttributes<Entity, ValueType> = { | ||
export type NestedAttributes<Entity, ValueType> = { | ||
[key in keyof Entity]?: ValueType; | ||
}; |
@@ -1,3 +0,3 @@ | ||
export declare type NonKeyAttributesWithReturnType<Entity, PrimaryKey, ReturnType> = { | ||
export type NonKeyAttributesWithReturnType<Entity, PrimaryKey, ReturnType> = { | ||
[key in keyof Omit<Entity, keyof PrimaryKey>]?: ReturnType | Entity[key]; | ||
}; |
@@ -1,3 +0,3 @@ | ||
export declare type NonKeyAttributes<Entity, PrimaryKey> = { | ||
export type NonKeyAttributes<Entity, PrimaryKey> = { | ||
[key in keyof Omit<Entity, keyof PrimaryKey>]?: Entity[key]; | ||
}; |
@@ -1,1 +0,1 @@ | ||
export declare type ObjectType<T> = (new () => T) | Function; | ||
export type ObjectType<T> = (new () => T) | Function; |
@@ -1,1 +0,1 @@ | ||
export declare type PropType<Entity, Key extends keyof Entity> = Entity[Key]; | ||
export type PropType<Entity, Key extends keyof Entity> = Entity[Key]; |
@@ -1,1 +0,1 @@ | ||
export declare type Replace<T, K extends keyof T, R> = Omit<T, K> & R; | ||
export type Replace<T, K extends keyof T, R> = Omit<T, K> & R; |
@@ -1,3 +0,3 @@ | ||
export declare type RequireAtLeastOne<T, Keys extends keyof T = keyof T> = Omit<T, Keys> & { | ||
export type RequireAtLeastOne<T, Keys extends keyof T = keyof T> = Omit<T, Keys> & { | ||
[K in Keys]-?: Required<Pick<T, K>> & Partial<Pick<T, Exclude<Keys, K>>>; | ||
}[Keys]; |
@@ -1,2 +0,2 @@ | ||
export declare type RequireAtLeastTwo<T, Keys extends keyof T = keyof T> = Omit<T, Keys> & { | ||
export type RequireAtLeastTwo<T, Keys extends keyof T = keyof T> = Omit<T, Keys> & { | ||
[K in Keys]-?: Required<Pick<T, K>> & Partial<Pick<T, Exclude<Keys, K>>>; | ||
@@ -3,0 +3,0 @@ }[Keys] & { |
import { InvalidType } from './invalid-type'; | ||
declare type InternalPickOne<T, Keys extends keyof T> = { | ||
type InternalPickOne<T, Keys extends keyof T> = { | ||
[K in Keys]: Required<Pick<T, K>> & Partial<Record<Exclude<Keys, K>, InvalidType<T>>>; | ||
}[Keys]; | ||
export declare type RequireOnlyOne<T, Keys extends keyof T = keyof T> = Omit<T, Keys> & InternalPickOne<T, Keys>; | ||
export type RequireOnlyOne<T, Keys extends keyof T = keyof T> = Omit<T, Keys> & InternalPickOne<T, Keys>; | ||
export {}; |
import { InvalidType } from './invalid-type'; | ||
import { ScalarType } from './scalar-type'; | ||
export declare type ResolveScalarType<T extends any> = T extends ScalarType ? T : T extends any[] ? T[0] extends ScalarType ? T[0] : InvalidType<[T[0], 'can not be resolved to a scalar type']> : InvalidType<[T, 'can not be resolved to a scalar type']>; | ||
export type ResolveScalarType<T> = T extends ScalarType ? T : T extends any[] ? T[0] extends ScalarType ? T[0] : InvalidType<[T[0], 'can not be resolved to a scalar type']> : InvalidType<[T, 'can not be resolved to a scalar type']>; |
export {}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS1zY2FsYXItdHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbW1vbi9zcmMvaGVscGV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ICA6IFQgZXh0ZW5kcyBhbnlbXVxuICA/IFRbMF0gZXh0ZW5kcyBTY2FsYXJUeXBlXG4gICAgPyBUWzBdXG4gICAgOiBJbnZhbGlkVHlwZTxbVFswXSwgJ2NhbiBub3QgYmUgcmVzb2x2ZWQgdG8gYSBzY2FsYXIgdHlwZSddPlxuICA6IEludmFsaWRUeXBlPFtULCAnY2FuIG5vdCBiZSByZXNvbHZlZCB0byBhIHNjYWxhciB0eXBlJ10+O1xuIl19 |
@@ -1,1 +0,1 @@ | ||
export declare type ScalarType = string | number | boolean; | ||
export type ScalarType = string | number | boolean; |
@@ -1,5 +0,5 @@ | ||
declare type Without<T> = { | ||
type Without<T> = { | ||
[P in keyof T]?: undefined; | ||
}; | ||
export declare type XOR<T, U> = (Without<T> & U) | (Without<U> & T); | ||
export type XOR<T, U> = (Without<T> & U) | (Without<U> & T); | ||
export {}; |
@@ -20,8 +20,8 @@ import { INDEX_TYPE } from './enums'; | ||
} | ||
export declare type IndexOptions = GSIIndexOptions | LSIIndexOptions; | ||
export declare type KeyAliasSchema<Entity> = { | ||
export type IndexOptions = GSIIndexOptions | LSIIndexOptions; | ||
export type KeyAliasSchema<Entity> = { | ||
alias: keyof Entity extends infer R ? R : never; | ||
}; | ||
export declare type EntityAliasOrString<Entity> = string | KeyAliasSchema<Entity>; | ||
export declare type IndexOptionsWithAlias<Entity> = Replace<GSIIndexOptions, 'partitionKey' | 'sortKey', { | ||
export type EntityAliasOrString<Entity> = string | KeyAliasSchema<Entity>; | ||
export type IndexOptionsWithAlias<Entity> = Replace<GSIIndexOptions, 'partitionKey' | 'sortKey', { | ||
partitionKey: EntityAliasOrString<Entity>; | ||
@@ -28,0 +28,0 @@ sortKey: EntityAliasOrString<Entity>; |
@@ -40,18 +40,16 @@ import debug from 'debug'; | ||
export class DebugLogger { | ||
constructor() { | ||
// log | ||
this.debugTransformLog = debug('typedorm:transform:log'); | ||
// batch transform logger | ||
this.debugTransformBatchLog = debug('typedorm:transform:batch:log'); | ||
// transaction transform logger | ||
this.debugTransformTransactionLog = debug('typedorm:transform:transaction:log'); | ||
// scan transform logger | ||
this.debugTransformScanLog = debug('typedorm:transform:scan:log'); | ||
// info logger | ||
this.debugInfoLog = debug('typedorm:info:log'); | ||
this.debugWarnLog = debug('typedorm:warn:log'); | ||
this.debugErrorLog = debug('typedorm:error:log'); | ||
// stats logger | ||
this.debugStatsLog = debug('typedorm:stats:log'); | ||
} | ||
// log | ||
debugTransformLog = debug('typedorm:transform:log'); | ||
// batch transform logger | ||
debugTransformBatchLog = debug('typedorm:transform:batch:log'); | ||
// transaction transform logger | ||
debugTransformTransactionLog = debug('typedorm:transform:transaction:log'); | ||
// scan transform logger | ||
debugTransformScanLog = debug('typedorm:transform:scan:log'); | ||
// info logger | ||
debugInfoLog = debug('typedorm:info:log'); | ||
debugWarnLog = debug('typedorm:warn:log'); | ||
debugErrorLog = debug('typedorm:error:log'); | ||
// stats logger | ||
debugStatsLog = debug('typedorm:stats:log'); | ||
/** | ||
@@ -159,2 +157,2 @@ * Get unique request id for each request, and include it in each log | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVidWctbG9nZ2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29tbW9uL3NyYy9sb2dnZXIvZGVidWctbG9nZ2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxNQUFNLE9BQU8sQ0FBQztBQUMxQixPQUFPLEtBQUssTUFBTSxPQUFPLENBQUM7QUFDMUIsT0FBTyxFQUFDLEVBQUUsRUFBQyxNQUFNLE1BQU0sQ0FBQztBQUV4QixNQUFNLENBQU4sSUFBWSxjQU9YO0FBUEQsV0FBWSxjQUFjO0lBQ3hCLDZCQUFXLENBQUE7SUFDWCw2QkFBVyxDQUFBO0lBQ1gsbUNBQ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aW50YWJsZShwcmltYXJ5S2V5KSksXG4gICAgICAgICAgICBdXG4gICAgICAgICAgOiBbXSksXG4gICAgICAgIC4uLihib2R5XG4gICAgICAgICAgPyBbXG4gICAgICAgICAgICAgIGNoYWxrLmJsdWVCcmlnaHQoJ1xcbkJvZHk6ICcpLFxuICAgICAgICAgICAgICBjaGFsay53aGl0ZSh0aGlzLmVuc3VyZVByaW50YWJsZShib2R5KSksXG4gICAgICAgICAgICBdXG4gICAgICAgICAgOiBbXSksXG4gICAgICAgIC4uLihvcHRpb25zXG4gICAgICAgICAgPyBbXG4gICAgICAgICAgICAgIGNoYWxrLmJsdWVCcmlnaHQoJ1xcbk9wdGlvbnM6ICcpLFxuICAgICAgICAgICAgICBjaGFsay53aGl0ZSh0aGlzLmVuc3VyZVByaW50YWJsZShvcHRpb25zKSksXG4gICAgICAgICAgICBdXG4gICAgICAgICAgOiBbXSlcbiAgICAgICk7XG4gICAgfVxuICB9XG5cbiAgbG9nVHJhbnNmb3JtQmF0Y2goe1xuICAgIHJlcXVlc3RJZCxcbiAgICBvcGVyYXRpb24sXG4gICAgcHJlZml4LFxuICAgIGJvZHksXG4gICAgb3B0aW9ucyxcbiAgfToge1xuICAgIHJlcXVlc3RJZD86IHN0cmluZztcbiAgICBvcGVyYXRpb246IFRSQU5TRk9STV9CQVRDSF9UWVBFO1xuICAgIHByZWZpeDogc3RyaW5nO1xuICAgIGJvZHk/OiBhbnk7XG4gICAgb3B0aW9ucz86IGFueTtcbiAgfSkge1xuICAgIGlmICh0aGlzLmRlYnVnVHJhbnNmb3JtQmF0Y2hMb2cuZW5hYmxlZCkge1xuICAgICAgdGhpcy5kZWJ1Z1RyYW5zZm9ybUJhdGNoTG9nKFxuICAgICAgICBgJHtjaGFsay5ib2xkLmJnQ3lhbkJyaWdodChyZXF1ZXN0SWQpfSAke2NoYWxrLmdyZWVuKFxuICAgICAgICAgIG9wZXJhdGlvblxuICAgICAgICApfSAke2NoYWxrLm1hZ2VudGEocHJlZml4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xuICAgICAgICAuLi4oYm9keVxuICAgICAgICAgID8gW1xuICAgICAgICAgICAgICBjaGFsay5ibHVlQnJpZ2h0KCdcXG5Cb2R5OiAnKSxcbiAgICAgICAgICAgICAgY2hhbGsud2hpdGUodGhpcy5lbnN1cmVQcmludGFibGUoYm9keSkpLFxuICAgICAgICAgICAgXVxuICAgICAgICAgIDogW10pLFxuICAgICAgICAuLi4ob3B0aW9uc1xuICAgICAgICAgID8gW1xuICAgICAgICAgICAgICBjaGFsay5ibHVlQnJpZ2h0KCdcXG5PcHRpb25zOiAnKSxcbiAgICAgICAgICAgICAgY2hhbGsud2hpdGUodGhpcy5lbnN1cmVQcmludGFibGUob3B0aW9ucykpLFxuICAgICAgICAgICAgXVxuICAgICAgICAgIDogW10pXG4gICAgICApO1xuICAgIH1cbiAgfVxuXG4gIGxvZ1RyYW5zZm9ybVNjYW4oe1xuICAgIHJlcXVlc3RJZCxcbiAgICBwcmVmaXgsXG4gICAgb3BlcmF0aW9uLFxuICAgIGJvZHksXG4gICAgb3B0aW9ucyxcbiAgfToge1xuICAgIHJlcXVlc3RJZD86IHN0cmluZztcbiAgICBvcGVyYXRpb246IFRSQU5TRk9STV9TQ0FOX1RZUEU7XG4gICAgcHJlZml4OiBzdHJpbmc7XG4gICAgYm9keT86IGFueTtcbiAgICBvcHRpb25zPzogYW55O1xuICB9KSB7XG4gICAgaWYgKHRoaXMuZGVidWdUcmFuc2Zvcm1TY2FuTG9nLmVuYWJsZWQpIHtcbiAgICAgIHRoaXMuZGVidWdUcmFuc2Zvcm1TY2FuTG9nKFxuICAgICAgICBgJHtjaGFsay5ib2xkLmJnQ3lhbkJyaWdodChyZXF1ZXN0SWQpfSAke2NoYWxrLmdyZWVuKFxuICAgICAgICAgIG9wZXJhdGlvblxuICAgICAgICApfSAke2NoYWxrLm1hZ2VudGEocHJlZml4KX06YCxcbiAgICAgICAgLi4uKGJvZHlcbiAgICAgICAgICA/IFtcbiAgICAgICAgICAgICAgY2hhbGsuYmx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gICAgICAgICA/IFtcbiAgICAgICAgICAgICAgY2hhbGsuYmx1ZUJyaWdodCgnXFxuUHJpbWFyeSBrZXk6ICcpLFxuICAgICAgICAgICAgICBjaGFsay53aGl0ZSh0aGlzLmVuc3VyZVByaW50YWJsZShwcmltYXJ5S2V5KSksXG4gICAgICAgICAgICBdXG4gICAgICAgICAgOiBbXSksXG4gICAgICAgIC4uLihib2R5XG4gICAgICAgICAgPyBbXG4gICAgICAgICAgICAgIGNoYWxrLmJsdWVCcmlnaHQoJ1xcbkJvZHk6ICcpLFxuICAgICAgICAgICAgICBjaGFsay53aGl0ZSh0aGlzLmVuc3VyZVByaW50YWJsZShib2R5KSksXG4gICAgICAgICAgICBdXG4gICAgICAgICAgOiBbXSksXG4gICAgICAgIC4uLihvcHRpb25zXG4gICAgICAgICAgPyBbXG4gICAgICAgICAgICAgIGNoYWxrLmJsdWVCcmlnaHQoJ1xcbk9wdGlvbnM6ICcpLFxuICAgICAgICAgICAgICBjaGFsay53aGl0ZSh0aGlzLmVuc3VyZVByaW50YWJsZShvcHRpb25zKSksXG4gICAgICAgICAgICBdXG4gICAgICAgICAgOiBbXSlcbiAgICAgICk7XG4gICAgfVxuICB9XG5cbiAgbG9nVHJhbnNmb3JtQmF0Y2goe1xuICAgIHJlcXVlc3RJZCxcbiAgICBvcGVyYXRpb24sXG4gICAgcHJlZml4LFxuICAgIGJvZHksXG4gICAgb3B0aW9ucyxcbiAgfToge1xuICAgIHJlcXVlc3RJZD86IHN0cmluZztcbiAgICBvcGVyYXRpb246IFRSQU5TRk9STV9CQVRDSF9UWVBFO1xuICAgIHByZWZpeDogc3RyaW5nO1xuICAgIGJvZHk/OiBhbnk7XG4gICAgb3B0aW9ucz86IGFueTtcbiAgfSkge1xuICAgIGlmICh0aGlzLmRlYnVnVHJhbnNmb3JtQmF0Y2hMb2cuZW5hYmxlZCkge1xuICAgICAgdGhpcy5kZWJ1Z1RyYW5zZm9ybUJhdGNoTG9nKFxuICAgICAgICBgJHtj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dDeWFuQnJpZ2h0KHJlcXVlc3RJZCl9ICR7Y2hhbGsuZ3JlZW4oXG4gICAgICAgICAgb3BlcmF0aW9uXG4gICAgICAgICl9ICR7Y2hhbGsubWFnZW50YShwcmVmaXgpfTpgLFxuICAgICAgICAuLi4oYm9keVxuICAgICAgICAgID8gW1xuICAgICAgICAgICAgICBjaGFsay5ibHVlQnJpZ2h0KCdcXG5Cb2R5OiAnKSxcbiAgICAgICAgICAgICAgY2hhbGsud2hpdGUodGhpcy5lbnN1cmVQcmludGFibGUoYm9keSkpLFxuICAgICAgICAgICAgXVxuICAgICAgICAgIDogW10pLFxuICAgICAgICAuLi4ob3B0aW9uc1xuICAgICAgICAgID8gW1xuICAgICAgICAgICAgICBjaGFsay5ibHVlQnJpZ2h0KCdcXG5PcHRpb25zOiAnKSxcbiAgICAgICAgICAgICAgY2hhbGsud2hpdGUodGhpcy5lbnN1cmVQcmludGFibGUob3B0aW9ucykpLFxuICAgICAgICAgICAgXVxuICAgICAgICAgIDogW10pXG4gICAgICApO1xuICAgIH1cbiAgfVxuXG4gIGxvZ1RyYW5zZm9ybVNjYW4oe1xuICAgIHJlcXVlc3RJZCxcbiAgICBwcmVmaXgsXG4gICAgb3BlcmF0aW9uLFxuICAgIGJvZHksXG4gICAgb3B0aW9ucyxcbiAgfToge1xuICAgIHJlcXVlc3RJZD86IHN0cmluZztcbiAgICBvcGVyYXRpb246IFRSQU5TRk9STV9TQ0FOX1RZUEU7XG4gICAgcHJlZml4OiBzdHJpbmc7XG4gICAgYm9keT86IGFueTtcbiAgICBvcHRpb25zPzogYW55O1xuICB9KSB7XG4gICAgaWYgKHRoaXMuZGVidWdUcmFuc2Zvcm1TY2FuTG9nLmVuYWJsZWQpIHtcbiAgICAgIHRoaXMuZGVidWdUcmFuc2Zvcm1TY2FuTG9nKFxuICAgICAgICBgJHtjaGFsay5ib2xkLmJnQ3lhbkJyaWdodChyZXF1ZXN0SWQpfSAke2NoYWxrLmdyZWVuKFxuICAgICAgIC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idWdXYXJuTG9nKFxuICAgICAgICBgJHtjaGFsay5ib2xkLmJnQ3lhbkJyaWdodChyZXF1ZXN0SWQpfSAke2NoYWxrLmdyZWVuKHNjb3BlKX06YCxcbiAgICAgICAgY2hhbGsueWVsbG93KHRoaXMuZW5zdXJlUHJpbnRhYmxlKGxvZykpXG4gICAgICApO1xuICAgIH1cbiAgfVxuXG4gIGxvZ0Vycm9yKHtcbiAgICByZXF1ZXN0SWQsXG4gICAgc2NvcGUsXG4gICAgbG9nLFxuICB9OiB7XG4gICAgcmVxdWVzdElkPzogc3RyaW5nO1xuICAgIHNjb3BlOiBNQU5BR0VSX05BTUU7XG4gICAgbG9nOiBhbnk7XG4gIH0pIHtcbiAgICBpZiAodGhpcy5kZWJ1Z0Vycm9yTG9nLmVuYWJsZWQpIHtcbiAgICAgIHRoaXMuZGVidWdFcnJvckxvZyhcbiAgICAgICAgYCR7Y2hhbGsuYm9sZC5iZ0N5YW5CcmlnaHQocmVxdWVzdElkKX0gJHtjaGFsay5ncmVlbihzY29wZSl9OmAsXG4gICAgICAgIGNoYWxrLnJlZCh0aGlzLmVuc3VyZVByaW50YWJsZShsb2cpKVxuICAgICAgKTtcbiAgICB9XG4gIH1cblxuICBwcml2YXRlIGVuc3VyZVByaW50YWJsZShsb2c6IGFueSkge1xuICAgIGlmICh0eXBlb2YgbG9nID09PSAnb2JqZWN0JyAmJiBsb2cgIT09IG51bGwpIHtcbiAgICAgIHJldHVybiBgXFxuJHtKU09OLnN0cmluZ2lmeShsb2csIG51bGwsIDIpfVxcbmA7XG4gICAgfSBlbHNlIHJldHVybiBsb2c7XG4gIH1cbn1cbiJdfQ== |
import { MetadataStorage } from './metadata-storage'; | ||
declare const metadataKey: unique symbol; | ||
declare global { | ||
namespace NodeJS { | ||
interface Global { | ||
[metadataKey]: MetadataStorage; | ||
} | ||
} | ||
} | ||
export declare class MetadataManager { | ||
@@ -16,2 +8,1 @@ private constructor(); | ||
} | ||
export {}; |
@@ -21,2 +21,2 @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hU3RvcmFnZUtleScpO1xuXG5leHBvcnQgY2xhc3MgTWV0YWRhdGFNYW5hZ2VyIHtcbiAgcHJpdmF0ZSBjb25zdHJ1Y3RvcigpIHt9XG5cbiAgcHVibGljIHN0YXRpYyBjcmVhdGVNZXRhZGF0YVN0b3JhZ2UoKTogTWV0YWRhdGFTdG9yYWdlIHtcbiAgICBpZiAoIShnbG9iYWwgYXMgYW55KVttZXRhZGF0YUtleV0pIHtcbiAgICAgIChnbG9iYWwgYXMgYW55KVttZXRhZGF0YUtleV0gPSBuZXcgTWV0YWRhdGFTdG9yYWdlKCk7XG4gICAgfVxuICAgIHJldHVybiAoZ2xvYmFsIGFzIGFueSlbbWV0YWRhdGFLZXldO1xuICB9XG5cbiAgcHVibGljIHN0YXRpYyBnZXQgbWV0YWRhdGFTdG9yYWdlKCk6IE1ldGFkYXRhU3RvcmFnZSB7XG4gICAgaWYgKCEoZ2xvYmFsIGFzIGFueSlbbWV0YWRhdGFLZXldKSB7XG4gICAgICByZXR1cm4gTWV0YWRhdGFNYW5hZ2VyLmNyZWF0ZU1ldGFkYXRhU3RvcmFnZSgpO1xuICAgIH1cbiAgICByZXR1cm4gKGdsb2JhbCBhcyBhbnkpW21ldGFkYXRhS2V5XTtcbiAgfVxuXG4gIHN0YXRpYyByZXNldE1ldGFkYXRhKCkge1xuICAgIChnbG9iYWwgYXMgYW55KVttZXRhZGF0YUtleV07XG4gIH1cbn1cbiJdfQ== |
@@ -7,11 +7,11 @@ import { AUTO_GENERATE_ATTRIBUTE_STRATEGY, EntityTarget } from '@typedorm/common'; | ||
export declare const IsAutoGenerateAttributeRawMetadataOptions: (attr: any) => attr is AutoGenerateAttributeRawMetadataOptions; | ||
export declare type PrimaryKey<Entity = any> = SimplePrimaryKey<Entity> | CompositePrimaryKey<Entity>; | ||
export declare type SimplePrimaryKey<Entity = any> = { | ||
export type PrimaryKey<Entity = any> = SimplePrimaryKey<Entity> | CompositePrimaryKey<Entity>; | ||
export type SimplePrimaryKey<Entity = any> = { | ||
partitionKey: EntityAliasOrString<Entity>; | ||
}; | ||
export declare type CompositePrimaryKey<Entity = any> = { | ||
export type CompositePrimaryKey<Entity = any> = { | ||
partitionKey: EntityAliasOrString<Entity>; | ||
sortKey: EntityAliasOrString<Entity>; | ||
}; | ||
export declare type Indexes<Entity = any> = { | ||
export type Indexes<Entity = any> = { | ||
[key: string]: IndexOptionsWithAlias<Entity>; | ||
@@ -18,0 +18,0 @@ }; |
export const IsAutoGenerateAttributeRawMetadataOptions = (attr) => !!attr.strategy; | ||
export class MetadataStorage { | ||
_entities; | ||
_attributes; | ||
constructor() { | ||
@@ -54,2 +56,2 @@ this._entities = new Map(); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWV0YWRhdGEtc3RvcmFnZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbW1vbi9zcmMvbWV0YWRhdGEvbWV0YWRhdGEtc3RvcmFnZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNQSxNQUFNLENBQUMsTUFBTSx5Q0FBeUMsR0FBRyxDQUN2RCxJQUFTLEVBQ3dDLEVBQUUsQ0FBQyxDQUFDLENBQUMsSUFBSSxDQUFDLFFBQVEsQ0FBQztBQTRDdEUsTUFBTSxPQUFPLGVBQWU7SUFVMUI7UUFDRSxJQUFJLENBQUMsU0FBUyxHQUFHLElBQUksR0FBRyxFQUFFLENBQUM7UUFDM0IsSUFBSSxDQUFDLFdBQVcsR0FBRyxJQUFJLEdBQUcsRUFBRSxDQUFDO0lBQy9CLENBQUM7SUFFRDs7OztPQUlHO0lBQ0gsZUFBZSxDQUFDLElBQVk7UUFDMUIsT0FBTyxJQUFJLENBQUMsUUFBUSxDQUFDLElBQUksQ0FBQyxFQUFFLENBQUMsRUFBRSxDQUFDLEVBQUUsQ0FBQyxJQU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9uc1xuICApIHtcbiAgICBsZXQgYXR0cmlidXRlc0ZvckVudGl0eSA9IHRoaXMuX2F0dHJpYnV0ZXMuZ2V0KGVudGl0eUNsYXNzKTtcblxuICAgIGlmICghYXR0cmlidXRlc0ZvckVudGl0eSkge1xuICAgICAgYXR0cmlidXRlc0ZvckVudGl0eSA9IG5ldyBNYXAoKTtcbiAgICB9XG5cbiAgICBhdHRyaWJ1dGVzRm9yRW50aXR5LnNldChhdHRyaWJ1dGUubmFtZSwgYXR0cmlidXRlKTtcbiAgICB0aGlzLl9hdHRyaWJ1dGVzLnNldChlbnRpdHlDbGFzcywgYXR0cmlidXRlc0ZvckVudGl0eSk7XG4gIH1cblxuICBhZGRSYXdFbnRpdHkoZW50aXR5OiBFbnRpdHlSYXdNZXRhZGF0YU9wdGlvbnMpIHtcbiAgICB0aGlzLl9lbnRpdGllcy5zZXQoZW50aXR5LnRhcmdldCwgZW50aXR5KTtcbiAgfVxuXG4gIGdldCBlbnRpdGllcygpIHtcbiAgICByZXR1cm4gQXJyYXkuZnJvbSh0aGlzLl9lbnRpdGllcy52YWx1ZXMoKSk7XG4gIH1cblxuICBnZXQgYXR0cmlidXRlcygpIHtcbiAgICByZXR1cm4gQXJyYXkuZnJvbSh0aGlzLl9hdHRyaWJ1dGVzLnZhbHVlcygpKS5tYXAoYXR0ciA9PlxuICAgICAgQXJyYXkuZnJvbShhdHRyLnZhbHVlcygpKVxuICAgICk7XG4gIH1cbn1cbiJdfQ== |
@@ -41,3 +41,3 @@ export declare enum ATTRIBUTE_TYPE { | ||
} | ||
export declare type SimpleOperator = KeyConditionType.SimpleOperator | ConditionType.SimpleOperator | FilterType.SimpleOperator; | ||
export declare type RangeOperator = KeyConditionType.RangeOperator | ConditionType.RangeOperator | FilterType.RangeOperator; | ||
export type SimpleOperator = KeyConditionType.SimpleOperator | ConditionType.SimpleOperator | FilterType.SimpleOperator; | ||
export type RangeOperator = KeyConditionType.RangeOperator | ConditionType.RangeOperator | FilterType.RangeOperator; |
export const IsCompositePrimaryKey = (key) => !!(key.partitionKey && | ||
key.sortKey); | ||
export class Table { | ||
options; | ||
constructor(options) { | ||
@@ -30,2 +31,2 @@ this.options = options; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21tb24vc3JjL3RhYmxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBLE1BQU0sQ0FBQyxNQUFNLHFCQUFxQixHQUFHLENBQ25DLEdBQVksRUFDZ0IsRUFBRSxDQUM5QixDQUFDLENBQUMsQ0FDQyxHQUEyQixDQUFDLFlBQVk7SUFDeEMsR0FBMkIsQ0FBQyxPQUFPLENBQ3JDLENBQUM7QUFXSixNQUFNLE9BQU8sS0FBSztJQUNoQixZQUFvQixPQUFxQjtRQUFyQixZQUFPLEdBQVAsT0FBTyxDQUFjO0lBQUcsQ0FBQztJQUU3QyxJQUFJLElBQUksQ0FBQyxLQUFhO1FBQ3BCLElBQUksQ0FBQyxPQUFPLENBQUMsSUFBSSxHQUFHLEtBQUssQ0FBQztJQUM1QixDQUFDO0lBRUQsSUFBSSxJQUFJO1FBQ04sT0FBTyxJQUFJLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQztJQUMzQixDQUFDO0lBRUQsSUFBSSxZQUFZO1FBQ2QsT0FBTyxJQUFJLENBQUMsT0FBTyxDQUFDLFlBQVksQ0FBQztJQUNuQyxDQUFDO0lBRUQsSUFBSSxPQUFPO1FBQ1QsSUFBSSxDQUFDLHFCQUFxQixDQUFDLElBQUksQ0FBQyxPQUFPLENBQUMsRUFBRTtZQUN4QyxNQUFNLElBQUksS0FBSyxDQUFDLHFEQUFxRCxDQUFDLENBQUM7U0FDeEU7UUFDRCxPQUFPLElBQUksQ0FBQyxPQUFPLENBQUMsT0FBTyxD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cbiAgICByZXR1cm4gdGhpcy5vcHRpb25zLnBhcnRpdGlvbktleTtcbiAgfVxuXG4gIGdldCBzb3J0S2V5KCkge1xuICAgIGlmICghSXNDb21wb3NpdGVQcmltYXJ5S2V5KHRoaXMub3B0aW9ucykpIHtcbiAgICAgIHRocm93IG5ldyBFcnJvcignT25seSBUYWJsZXMgdXNpbmcgY29tcG9zaXRlIGtleXMgY2FuIGhhdmUgc29ydCBrZXlzJyk7XG4gICAgfVxuICAgIHJldHVybiB0aGlzLm9wdGlvbnMuc29ydEtleTtcbiAgfVxuXG4gIHVzZXNDb21wb3NpdGVLZXkoKSB7XG4gICAgcmV0dXJuICEhKHRoaXMub3B0aW9ucy5wYXJ0aXRpb25LZXkgJiYgdGhpcy5vcHRpb25zLnNvcnRLZXkpO1xuICB9XG5cbiAgZ2V0SW5kZXhCeUtleShrZXk6IHN0cmluZykge1xuICAgIGNvbnN0IHtpbmRleGVzID0ge319ID0gdGhpcy5vcHRpb25zO1xuICAgIHJldHVybiBpbmRleGVzW2tleV07XG4gIH1cbn1cbiJdfQ== |
{ | ||
"name": "@typedorm/common", | ||
"version": "1.15.3", | ||
"version": "1.15.4-beta.1", | ||
"type": "commonjs", | ||
@@ -30,3 +30,3 @@ "main": "cjs/index.js", | ||
"publishConfig": { | ||
"tag": "latest", | ||
"tag": "beta", | ||
"access": "public" | ||
@@ -33,0 +33,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3061
325322
2