@travetto/model-dynamodb 7.0.5 → 7.0.7
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.
- package/README.md +1 -1
- package/package.json +5 -5
- package/src/service.ts +4 -4
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ Out of the box, by installing the module, everything should be wired up by defau
|
|
|
26
26
|
```typescript
|
|
27
27
|
import { InjectableFactory } from '@travetto/di';
|
|
28
28
|
|
|
29
|
-
import { DynamoDBModelService, DynamoDBModelConfig } from '@travetto/model-dynamodb';
|
|
29
|
+
import { DynamoDBModelService, type DynamoDBModelConfig } from '@travetto/model-dynamodb';
|
|
30
30
|
|
|
31
31
|
export class Init {
|
|
32
32
|
@InjectableFactory({ primary: true })
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travetto/model-dynamodb",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "DynamoDB backing for the travetto model module.",
|
|
6
6
|
"keywords": [
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"directory": "module/model-dynamodb"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/client-dynamodb": "^3.
|
|
30
|
-
"@travetto/config": "^7.0.
|
|
31
|
-
"@travetto/model": "^7.0.
|
|
29
|
+
"@aws-sdk/client-dynamodb": "^3.966.0",
|
|
30
|
+
"@travetto/config": "^7.0.6",
|
|
31
|
+
"@travetto/model": "^7.0.6"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@travetto/cli": "^7.0.
|
|
34
|
+
"@travetto/cli": "^7.0.7"
|
|
35
35
|
},
|
|
36
36
|
"peerDependenciesMeta": {
|
|
37
37
|
"@travetto/cli": {
|
package/src/service.ts
CHANGED
|
@@ -3,13 +3,13 @@ import { type AttributeValue, DynamoDB, type PutItemCommandInput, type PutItemCo
|
|
|
3
3
|
import { ShutdownManager, TimeUtil, type Class, type DeepPartial } from '@travetto/runtime';
|
|
4
4
|
import { Injectable } from '@travetto/di';
|
|
5
5
|
import {
|
|
6
|
-
ModelCrudSupport, ModelExpirySupport, ModelRegistryIndex, ModelStorageSupport,
|
|
7
|
-
ModelIndexedSupport, ModelType, NotFoundError, ExistsError,
|
|
8
|
-
IndexNotSupported, OptionalId,
|
|
6
|
+
type ModelCrudSupport, type ModelExpirySupport, ModelRegistryIndex, type ModelStorageSupport,
|
|
7
|
+
type ModelIndexedSupport, type ModelType, NotFoundError, ExistsError,
|
|
8
|
+
IndexNotSupported, type OptionalId,
|
|
9
9
|
ModelCrudUtil, ModelExpiryUtil, ModelIndexedUtil, ModelStorageUtil
|
|
10
10
|
} from '@travetto/model';
|
|
11
11
|
|
|
12
|
-
import { DynamoDBModelConfig } from './config.ts';
|
|
12
|
+
import type { DynamoDBModelConfig } from './config.ts';
|
|
13
13
|
import { DynamoDBUtil } from './util.ts';
|
|
14
14
|
|
|
15
15
|
const EXP_ATTR = 'expires_at__';
|