@aws/dynamodb-data-mapper
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Schema, ZeroArgumentsConstructor } from '@aws/dynamodb-data-marshaller'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=BatchState.js.map |
@@ -0,0 +0,0 @@ export declare const VERSION = "0.4.0"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -1,2 +0,2 @@ | ||
import { StringToAnyObjectMap, SyncOrAsyncIterable, WriteType } from "./constants"; | ||
import { StringToAnyObjectMap, SyncOrAsyncIterable, WriteType } from './constants'; | ||
import { BaseScanOptions, BatchGetOptions, CreateTableOptions, DataMapperConfiguration, DeleteOptions, DeleteParameters, GetOptions, GetParameters, ParallelScanParameters, ParallelScanWorkerOptions, ParallelScanWorkerParameters, PutOptions, PutParameters, QueryOptions, QueryParameters, ScanOptions, ScanParameters, UpdateOptions, UpdateParameters } from './namedParameters'; | ||
@@ -3,0 +3,0 @@ import { ZeroArgumentsConstructor } from "@aws/dynamodb-data-marshaller"; |
@@ -0,0 +0,0 @@ import { DocumentType, ZeroArgumentsConstructor } from '@aws/dynamodb-data-marshaller'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export * from './constants'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -9,3 +9,4 @@ import { GetItemInput } from "aws-sdk/clients/dynamodb"; | ||
readonly itemSought: GetItemInput; | ||
readonly name: string; | ||
constructor(itemSought: GetItemInput, message?: string); | ||
} |
@@ -14,2 +14,3 @@ "use strict"; | ||
_this.itemSought = itemSought; | ||
_this.name = 'ItemNotFoundException'; | ||
return _this; | ||
@@ -16,0 +17,0 @@ } |
@@ -0,0 +0,0 @@ import { GetOptions } from './GetOptions'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=BatchGetOptions.js.map |
@@ -0,0 +0,0 @@ import { ProvisionedThroughput } from './ProvisionedThroughput'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=CreateTableOptions.js.map |
@@ -0,0 +0,0 @@ import DynamoDB = require("aws-sdk/clients/dynamodb"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=DataMapperConfiguration.js.map |
@@ -0,0 +0,0 @@ import { StringToAnyObjectMap } from '../constants'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=DeleteOptions.js.map |
@@ -0,0 +0,0 @@ import { ReadConsistencyConfiguration } from './ReadConsistencyConfiguration'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=GetOptions.js.map |
@@ -0,0 +0,0 @@ export * from './BatchGetOptions'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=index.js.map |
@@ -0,0 +0,0 @@ export interface ProvisionedThroughput { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=ProvisionedThroughput.js.map |
@@ -0,0 +0,0 @@ import { StringToAnyObjectMap } from '../constants'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=PutOptions.js.map |
@@ -0,0 +0,0 @@ import { ReadConsistencyConfiguration } from './ReadConsistencyConfiguration'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=QueryOptions.js.map |
@@ -0,0 +0,0 @@ import { ReadConsistency } from '../constants'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=ReadConsistencyConfiguration.js.map |
@@ -0,0 +0,0 @@ import { ReadConsistencyConfiguration } from './ReadConsistencyConfiguration'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=ScanOptions.js.map |
@@ -0,0 +0,0 @@ import { ProvisionedThroughput } from './ProvisionedThroughput'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=SecondaryIndexOptions.js.map |
@@ -0,0 +0,0 @@ import { OnMissingStrategy, StringToAnyObjectMap } from '../constants'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=UpdateOptions.js.map |
@@ -31,3 +31,3 @@ import { Schema } from '@aws/dynamodb-data-marshaller'; | ||
*/ | ||
export declare const DynamoDbSchema: symbol; | ||
export declare const DynamoDbSchema: unique symbol; | ||
export declare function getSchema(item: any): Schema; | ||
@@ -53,3 +53,3 @@ /** | ||
*/ | ||
export declare const DynamoDbTable: symbol; | ||
export declare const DynamoDbTable: unique symbol; | ||
export declare function getTableName(item: any, tableNamePrefix?: string): string; | ||
@@ -83,2 +83,2 @@ /** | ||
*/ | ||
export declare const DynamoDbDirtyFields: symbol; | ||
export declare const DynamoDbDirtyFields: unique symbol; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -7,2 +7,6 @@ # Changelog | ||
## [0.4.1] | ||
### Fixed | ||
- Ensure `query` returns instances of the provided model class. | ||
## [0.4.0] | ||
@@ -9,0 +13,0 @@ ### Added |
@@ -0,0 +0,0 @@ module.exports = { |
{ | ||
"name": "@aws/dynamodb-data-mapper", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "A schema-based data mapper for Amazon DynamoDB", | ||
@@ -37,9 +37,9 @@ "keywords": [ | ||
"jest": "^21", | ||
"typedoc": "^0.9.0", | ||
"typescript": "^2.6" | ||
"typedoc": "^0.11.0", | ||
"typescript": "^2.7" | ||
}, | ||
"dependencies": { | ||
"@aws/dynamodb-batch-iterator": "^0.4.0", | ||
"@aws/dynamodb-data-marshaller": "^0.4.0", | ||
"@aws/dynamodb-expressions": "^0.4.0", | ||
"@aws/dynamodb-batch-iterator": "^0.4.1", | ||
"@aws/dynamodb-data-marshaller": "^0.4.1", | ||
"@aws/dynamodb-expressions": "^0.4.1", | ||
"tslib": "^1.8.1" | ||
@@ -46,0 +46,0 @@ }, |
@@ -77,3 +77,3 @@ # Amazon DynamoDB DataMapper | ||
DynamoDbTable, | ||
} from '@aws/dynamo-data-mapper'; | ||
} from '@aws/dynamodb-data-mapper'; | ||
import DynamoDB = require('aws-sdk/clients/dynamodb'); | ||
@@ -80,0 +80,0 @@ |
@@ -5,3 +5,2 @@ { | ||
"lib": [ | ||
"dom", | ||
"es5", | ||
@@ -8,0 +7,0 @@ "es2015.iterable", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
2330
181244