dyno-table 2.5.2 → 2.6.0

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.
Files changed (58) hide show
  1. package/dist/builders/batch-builder.d.ts +249 -0
  2. package/dist/builders/builder-types.d.ts +123 -0
  3. package/dist/builders/condition-check-builder.d.ts +149 -0
  4. package/dist/builders/delete-builder.d.ts +208 -0
  5. package/dist/builders/entity-aware-builders.d.ts +127 -0
  6. package/dist/builders/filter-builder.d.ts +294 -0
  7. package/dist/builders/get-builder.d.ts +191 -0
  8. package/dist/builders/index.d.ts +14 -0
  9. package/dist/builders/paginator.d.ts +151 -0
  10. package/dist/builders/put-builder.d.ts +317 -0
  11. package/dist/builders/query-builder.d.ts +218 -0
  12. package/dist/builders/result-iterator.d.ts +55 -0
  13. package/dist/builders/scan-builder.d.ts +109 -0
  14. package/dist/builders/transaction-builder.d.ts +462 -0
  15. package/dist/builders/types.d.ts +25 -0
  16. package/dist/builders/update-builder.d.ts +372 -0
  17. package/dist/builders.d.ts +1 -4
  18. package/dist/conditions.d.ts +705 -3
  19. package/dist/entity/ddb-indexing.d.ts +45 -0
  20. package/dist/entity/entity.d.ts +188 -0
  21. package/dist/entity/index-utils.d.ts +24 -0
  22. package/dist/entity.cjs +4 -4
  23. package/dist/entity.d.ts +1 -261
  24. package/dist/entity.js +1 -1
  25. package/dist/errors.d.ts +212 -0
  26. package/dist/expression.d.ts +9 -0
  27. package/dist/index-definition.d.ts +10 -0
  28. package/dist/index.cjs +25 -25
  29. package/dist/index.d.ts +16 -273
  30. package/dist/index.js +1 -1
  31. package/dist/operation-types.d.ts +8 -0
  32. package/dist/standard-schema.d.ts +2 -4
  33. package/dist/table.d.ts +13 -8
  34. package/dist/types.d.ts +6 -9
  35. package/dist/utils/chunk-array.d.ts +9 -0
  36. package/dist/utils/debug-expression.d.ts +32 -0
  37. package/dist/utils/debug-transaction.d.ts +17 -0
  38. package/dist/utils/error-factory.d.ts +162 -0
  39. package/dist/utils/error-utils.d.ts +170 -0
  40. package/dist/utils/index.d.ts +7 -0
  41. package/dist/utils/partition-key-template.d.ts +30 -0
  42. package/dist/utils/sort-key-template.d.ts +33 -0
  43. package/dist/utils.d.ts +1 -66
  44. package/package.json +12 -10
  45. package/dist/builders.d.cts +0 -4
  46. package/dist/conditions-BSAcZswY.d.ts +0 -731
  47. package/dist/conditions-C8bM__Pn.d.cts +0 -731
  48. package/dist/conditions.d.cts +0 -3
  49. package/dist/entity.d.cts +0 -261
  50. package/dist/index-Bc-ra0im.d.ts +0 -3042
  51. package/dist/index-CPCmWsEv.d.cts +0 -3042
  52. package/dist/index.d.cts +0 -273
  53. package/dist/standard-schema.d.cts +0 -57
  54. package/dist/table.d.cts +0 -165
  55. package/dist/types.d.cts +0 -29
  56. package/dist/utils.d.cts +0 -66
  57. package/dist/{chunk-RNX2DAHA.js → chunk-JZB6TYST.js} +130 -130
  58. package/dist/{chunk-G5ERTQFX.cjs → chunk-Z334X72N.cjs} +130 -130
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dyno-table",
3
- "version": "2.5.2",
3
+ "version": "2.6.0",
4
4
  "description": "A TypeScript library to simplify working with DynamoDB",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
@@ -13,7 +13,7 @@
13
13
  "default": "./dist/index.js"
14
14
  },
15
15
  "require": {
16
- "types": "./dist/index.d.cts",
16
+ "types": "./dist/index.d.ts",
17
17
  "default": "./dist/index.cjs"
18
18
  }
19
19
  },
@@ -23,7 +23,7 @@
23
23
  "default": "./dist/table.js"
24
24
  },
25
25
  "require": {
26
- "types": "./dist/table.d.cts",
26
+ "types": "./dist/table.d.ts",
27
27
  "default": "./dist/table.cjs"
28
28
  }
29
29
  },
@@ -33,7 +33,7 @@
33
33
  "default": "./dist/entity.js"
34
34
  },
35
35
  "require": {
36
- "types": "./dist/entity.d.cts",
36
+ "types": "./dist/entity.d.ts",
37
37
  "default": "./dist/entity.cjs"
38
38
  }
39
39
  },
@@ -43,7 +43,7 @@
43
43
  "default": "./dist/conditions.js"
44
44
  },
45
45
  "require": {
46
- "types": "./dist/conditions.d.cts",
46
+ "types": "./dist/conditions.d.ts",
47
47
  "default": "./dist/conditions.cjs"
48
48
  }
49
49
  },
@@ -53,7 +53,7 @@
53
53
  "default": "./dist/types.js"
54
54
  },
55
55
  "require": {
56
- "types": "./dist/types.d.cts",
56
+ "types": "./dist/types.d.ts",
57
57
  "default": "./dist/types.cjs"
58
58
  }
59
59
  },
@@ -63,7 +63,7 @@
63
63
  "default": "./dist/standard-schema.js"
64
64
  },
65
65
  "require": {
66
- "types": "./dist/standard-schema.d.cts",
66
+ "types": "./dist/standard-schema.d.ts",
67
67
  "default": "./dist/standard-schema.cjs"
68
68
  }
69
69
  },
@@ -73,7 +73,7 @@
73
73
  "default": "./dist/utils.js"
74
74
  },
75
75
  "require": {
76
- "types": "./dist/utils.d.cts",
76
+ "types": "./dist/utils.d.ts",
77
77
  "default": "./dist/utils.cjs"
78
78
  }
79
79
  },
@@ -83,13 +83,15 @@
83
83
  "default": "./dist/builders.js"
84
84
  },
85
85
  "require": {
86
- "types": "./dist/builders.d.cts",
86
+ "types": "./dist/builders.d.ts",
87
87
  "default": "./dist/builders.cjs"
88
88
  }
89
89
  }
90
90
  },
91
91
  "scripts": {
92
- "build": "tsup --config tsup.config.ts",
92
+ "build": "pnpm run clean && pnpm run build:js && pnpm run build:types",
93
+ "build:js": "tsup --config tsup.config.ts",
94
+ "build:types": "tsc -p tsconfig.types.json",
93
95
  "clean": "rm -rf dist",
94
96
  "test": "vitest run",
95
97
  "test:w": "vitest watch",
@@ -1,4 +0,0 @@
1
- export { q as BaseBuilderInterface, B as BatchBuilder, C as ConditionCheckBuilder, r as ConditionCheckCommandParams, D as DeleteBuilder, s as DeleteCommandParams, F as FilterBuilder, t as FilterBuilderInterface, G as GetBuilder, u as PaginationResult, v as Paginator, P as PutBuilder, w as PutCommandParams, Q as QueryBuilder, x as QueryBuilderInterface, R as ResultIterator, S as ScanBuilder, y as ScanBuilderInterface, T as TransactionBuilder, z as TransactionItem, U as UpdateBuilder, p as UpdateCommandParams } from './index-CPCmWsEv.cjs';
2
- export { s as Path, t as PathType } from './conditions-C8bM__Pn.cjs';
3
- import './types.cjs';
4
- import '@aws-sdk/lib-dynamodb';