simple-dynamo-ts 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,3 +15,4 @@ export declare function getPartitionKeyName(target: DynamoEntityTarget): string
15
15
  export declare function getSortKeyName(target: DynamoEntityTarget): string | undefined;
16
16
  export declare function getIndexPartitionKeyName(target: DynamoEntityTarget, indexName: string): string | undefined;
17
17
  export declare function getIndexSortKeyName(target: DynamoEntityTarget, indexName: string): string | undefined;
18
+ //# sourceMappingURL=decorators.d.ts.map
@@ -126,3 +126,4 @@ function getIndexSortKeyName(target, indexName) {
126
126
  const indexKeys = Reflect.getMetadata(exports.DYNAMO_INDEX_SORT_KEYS_KEY, prototype);
127
127
  return indexKeys?.[indexName];
128
128
  }
129
+ //# sourceMappingURL=decorators.js.map
@@ -10,3 +10,4 @@ export declare class DecoratorMissingError extends Error {
10
10
  export declare class DuplicateDecoratorError extends Error {
11
11
  constructor(message: string);
12
12
  }
13
+ //# sourceMappingURL=exceptions.d.ts.map
@@ -33,3 +33,4 @@ class DuplicateDecoratorError extends Error {
33
33
  }
34
34
  }
35
35
  exports.DuplicateDecoratorError = DuplicateDecoratorError;
36
+ //# sourceMappingURL=exceptions.js.map
package/dist/index.d.ts CHANGED
@@ -2,3 +2,4 @@ export { DynamoDBRepository } from "./simple-dynamodb-repository";
2
2
  export { DynamoTable, PartitionKey, SortKey, IndexPartitionKey, IndexSortKey, getDynamoTableName, getPartitionKeyName, getSortKeyName, getIndexPartitionKeyName, getIndexSortKeyName, } from "./decorators";
3
3
  export type { QueryOptions, DynamoKey, DynamoKeyMap } from "./types";
4
4
  export { ItemNotFoundError, InvalidParametersError, DecoratorMissingError, DuplicateDecoratorError, } from "./exceptions";
5
+ //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -19,3 +19,4 @@ Object.defineProperty(exports, "ItemNotFoundError", { enumerable: true, get: fun
19
19
  Object.defineProperty(exports, "InvalidParametersError", { enumerable: true, get: function () { return exceptions_1.InvalidParametersError; } });
20
20
  Object.defineProperty(exports, "DecoratorMissingError", { enumerable: true, get: function () { return exceptions_1.DecoratorMissingError; } });
21
21
  Object.defineProperty(exports, "DuplicateDecoratorError", { enumerable: true, get: function () { return exceptions_1.DuplicateDecoratorError; } });
22
+ //# sourceMappingURL=index.js.map
@@ -26,3 +26,4 @@ export declare abstract class DynamoDBRepository<T> {
26
26
  expressionAttributeValues: Record<string, string | number>;
27
27
  };
28
28
  }
29
+ //# sourceMappingURL=simple-dynamodb-repository.d.ts.map
@@ -188,3 +188,4 @@ class DynamoDBRepository {
188
188
  }
189
189
  }
190
190
  exports.DynamoDBRepository = DynamoDBRepository;
191
+ //# sourceMappingURL=simple-dynamodb-repository.js.map
package/dist/types.d.ts CHANGED
@@ -11,3 +11,4 @@ export type DynamoKeyMap = Record<string, DynamoKey>;
11
11
  export type DynamoEntityTarget = NewableFunction | {
12
12
  constructor: NewableFunction;
13
13
  };
14
+ //# sourceMappingURL=types.d.ts.map
package/dist/types.js CHANGED
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=types.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simple-dynamo-ts",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "A simple TypeScript library for working with DynamoDB using decorators and a repository pattern",
5
5
  "keywords": [
6
6
  "dynamodb",
@@ -25,7 +25,7 @@
25
25
  ".": {
26
26
  "types": "./dist/index.d.ts",
27
27
  "import": "./dist/index.js",
28
- "require": "./dist/index.cjs"
28
+ "require": "./dist/index.js"
29
29
  }
30
30
  },
31
31
  "main": "./dist/index.js",