@webiny/db-dynamodb 5.43.0-beta.0 → 5.43.0-beta.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/db-dynamodb",
3
- "version": "5.43.0-beta.0",
3
+ "version": "5.43.0-beta.2",
4
4
  "main": "index.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -10,12 +10,12 @@
10
10
  "author": "Webiny Ltd",
11
11
  "license": "MIT",
12
12
  "dependencies": {
13
- "@webiny/api": "5.43.0-beta.0",
14
- "@webiny/aws-sdk": "5.43.0-beta.0",
15
- "@webiny/db": "5.43.0-beta.0",
16
- "@webiny/error": "5.43.0-beta.0",
17
- "@webiny/plugins": "5.43.0-beta.0",
18
- "@webiny/utils": "5.43.0-beta.0",
13
+ "@webiny/api": "5.43.0-beta.2",
14
+ "@webiny/aws-sdk": "5.43.0-beta.2",
15
+ "@webiny/db": "5.43.0-beta.2",
16
+ "@webiny/error": "5.43.0-beta.2",
17
+ "@webiny/plugins": "5.43.0-beta.2",
18
+ "@webiny/utils": "5.43.0-beta.2",
19
19
  "date-fns": "2.29.3",
20
20
  "dot-prop": "6.0.1",
21
21
  "dynamodb-toolbox": "0.9.2",
@@ -24,12 +24,11 @@
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/is-number": "7.0.5",
27
- "@webiny/project-utils": "5.43.0-beta.0",
27
+ "@webiny/project-utils": "5.43.0-beta.2",
28
28
  "jest": "29.7.0",
29
29
  "jest-dynalite": "3.6.1",
30
30
  "rimraf": "6.0.1",
31
- "ttypescript": "1.5.15",
32
- "typescript": "4.9.5"
31
+ "typescript": "5.3.3"
33
32
  },
34
33
  "publishConfig": {
35
34
  "access": "public",
@@ -39,5 +38,5 @@
39
38
  "build": "node ../cli/bin.js run build",
40
39
  "watch": "node ../cli/bin.js run watch"
41
40
  },
42
- "gitHead": "abfb4ec7b4391f2414cd22f2c5539c84b6c8abbf"
41
+ "gitHead": "dbed8c263df662358aca18c3cf452cd280f2dfd9"
43
42
  }
package/store/entity.d.ts CHANGED
@@ -54,7 +54,7 @@ export declare const createEntity: ({ table }: ICreateEntityParams) => Entity<"W
54
54
  value: {
55
55
  type: "string";
56
56
  };
57
- }, true, "created", "modified", "entity", false, "created" | "modified" | "entity", "created" | "modified" | "entity", "PK", never, never, "SK", never, never, "PK" | "SK", "modified", "created" | "entity", "PK" | "SK" | "created" | "modified" | "entity" | "TYPE" | "key" | "value", never>, {
57
+ }, true, "created", "modified", "entity", false>, {
58
58
  TYPE?: string | undefined;
59
59
  key?: string | undefined;
60
60
  value?: string | undefined;
@@ -12,4 +12,4 @@ export interface BatchReadParams {
12
12
  * This helper function is meant to be used to batch read from one table.
13
13
  * It will fetch all results, as there is a next() method call built in.
14
14
  */
15
- export declare const batchReadAll: <T = GenericRecord<PropertyKey, any>>(params: BatchReadParams, maxChunk?: number) => Promise<T[]>;
15
+ export declare const batchReadAll: <T = GenericRecord>(params: BatchReadParams, maxChunk?: number) => Promise<T[]>;
package/utils/put.d.ts CHANGED
@@ -9,4 +9,4 @@ export interface IPutParams<T extends GenericRecord = GenericRecord> {
9
9
  entity: Entity;
10
10
  item: IPutParamsItem<T>;
11
11
  }
12
- export declare const put: <T extends GenericRecord<PropertyKey, any> = GenericRecord<PropertyKey, any>>(params: IPutParams<T>) => Promise<import("@aws-sdk/lib-dynamodb").PutCommandOutput>;
12
+ export declare const put: <T extends GenericRecord = GenericRecord>(params: IPutParams<T>) => Promise<import("@aws-sdk/lib-dynamodb").PutCommandOutput>;