dyno-table 2.5.0 → 2.5.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/dist/builders.d.cts +1 -1
- package/dist/builders.d.ts +1 -1
- package/dist/{chunk-ZXM6LPRV.cjs → chunk-G5ERTQFX.cjs} +3 -6
- package/dist/{chunk-U6MQGB6Y.js → chunk-RNX2DAHA.js} +3 -6
- package/dist/entity.cjs +4 -4
- package/dist/entity.d.cts +1 -1
- package/dist/entity.d.ts +1 -1
- package/dist/entity.js +1 -1
- package/dist/{index-C9KOQdSC.d.ts → index-Bc-ra0im.d.ts} +1 -1
- package/dist/{index-Ca76PpXj.d.cts → index-CPCmWsEv.d.cts} +1 -1
- package/dist/index.cjs +25 -25
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/table.d.cts +1 -1
- package/dist/table.d.ts +1 -1
- package/package.json +5 -5
package/dist/builders.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
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
2
|
export { s as Path, t as PathType } from './conditions-C8bM__Pn.cjs';
|
|
3
3
|
import './types.cjs';
|
|
4
4
|
import '@aws-sdk/lib-dynamodb';
|
package/dist/builders.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
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-Bc-ra0im.js';
|
|
2
2
|
export { s as Path, t as PathType } from './conditions-BSAcZswY.js';
|
|
3
3
|
import './types.js';
|
|
4
4
|
import '@aws-sdk/lib-dynamodb';
|
|
@@ -657,12 +657,9 @@ function defineEntity(config) {
|
|
|
657
657
|
};
|
|
658
658
|
const originalExecute = builder.execute;
|
|
659
659
|
builder.execute = async () => {
|
|
660
|
-
await prepareValidatedItemAsync();
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
throw chunkELULXDSB_cjs.OperationErrors.putFailed(config.name, {}, void 0);
|
|
664
|
-
}
|
|
665
|
-
return result;
|
|
660
|
+
const validatedItem = await prepareValidatedItemAsync();
|
|
661
|
+
await originalExecute.call(builder);
|
|
662
|
+
return validatedItem;
|
|
666
663
|
};
|
|
667
664
|
const originalWithTransaction = builder.withTransaction;
|
|
668
665
|
if (originalWithTransaction) {
|
|
@@ -655,12 +655,9 @@ function defineEntity(config) {
|
|
|
655
655
|
};
|
|
656
656
|
const originalExecute = builder.execute;
|
|
657
657
|
builder.execute = async () => {
|
|
658
|
-
await prepareValidatedItemAsync();
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
throw OperationErrors.putFailed(config.name, {}, void 0);
|
|
662
|
-
}
|
|
663
|
-
return result;
|
|
658
|
+
const validatedItem = await prepareValidatedItemAsync();
|
|
659
|
+
await originalExecute.call(builder);
|
|
660
|
+
return validatedItem;
|
|
664
661
|
};
|
|
665
662
|
const originalWithTransaction = builder.withTransaction;
|
|
666
663
|
if (originalWithTransaction) {
|
package/dist/entity.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkG5ERTQFX_cjs = require('./chunk-G5ERTQFX.cjs');
|
|
4
4
|
require('./chunk-ELULXDSB.cjs');
|
|
5
5
|
require('./chunk-7UJJ7JXM.cjs');
|
|
6
6
|
|
|
@@ -8,13 +8,13 @@ require('./chunk-7UJJ7JXM.cjs');
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "createIndex", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkG5ERTQFX_cjs.createIndex; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "createQueries", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkG5ERTQFX_cjs.createQueries; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "defineEntity", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkG5ERTQFX_cjs.defineEntity; }
|
|
20
20
|
});
|
package/dist/entity.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { s as Path, t as PathType, b as Condition, c as ConditionOperator, P as PrimaryKeyWithoutExpression, a as PrimaryKey } from './conditions-C8bM__Pn.cjs';
|
|
2
|
-
import { P as PutBuilder, G as GetBuilder, U as UpdateBuilder, p as UpdateCommandParams, T as TransactionBuilder, D as DeleteBuilder, S as ScanBuilder, Q as QueryBuilder } from './index-
|
|
2
|
+
import { P as PutBuilder, G as GetBuilder, U as UpdateBuilder, p as UpdateCommandParams, T as TransactionBuilder, D as DeleteBuilder, S as ScanBuilder, Q as QueryBuilder } from './index-CPCmWsEv.cjs';
|
|
3
3
|
import { StandardSchemaV1 } from './standard-schema.cjs';
|
|
4
4
|
import { Table } from './table.cjs';
|
|
5
5
|
import { DynamoItem, Index, TableConfig } from './types.cjs';
|
package/dist/entity.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { s as Path, t as PathType, b as Condition, c as ConditionOperator, P as PrimaryKeyWithoutExpression, a as PrimaryKey } from './conditions-BSAcZswY.js';
|
|
2
|
-
import { P as PutBuilder, G as GetBuilder, U as UpdateBuilder, p as UpdateCommandParams, T as TransactionBuilder, D as DeleteBuilder, S as ScanBuilder, Q as QueryBuilder } from './index-
|
|
2
|
+
import { P as PutBuilder, G as GetBuilder, U as UpdateBuilder, p as UpdateCommandParams, T as TransactionBuilder, D as DeleteBuilder, S as ScanBuilder, Q as QueryBuilder } from './index-Bc-ra0im.js';
|
|
3
3
|
import { StandardSchemaV1 } from './standard-schema.js';
|
|
4
4
|
import { Table } from './table.js';
|
|
5
5
|
import { DynamoItem, Index, TableConfig } from './types.js';
|
package/dist/entity.js
CHANGED
|
@@ -3039,4 +3039,4 @@ declare class ScanBuilder<T extends DynamoItem, TConfig extends TableConfig = Ta
|
|
|
3039
3039
|
execute(): Promise<ResultIterator<T, TConfig>>;
|
|
3040
3040
|
}
|
|
3041
3041
|
|
|
3042
|
-
export { BatchBuilder as B, ConditionCheckBuilder as C, DeleteBuilder as D, ExpressionError as E, FilterBuilder as F, GetBuilder as G, IndexGenerationError as I, KeyGenerationError as K, OperationError as O, PutBuilder as P, QueryBuilder as Q, ResultIterator as R, ScanBuilder as S, TransactionBuilder as T, UpdateBuilder as U, ValidationError as V, type TransactionOptions as a, type BatchWriteOperation as b, BatchError as c, ConfigurationError as d, EntityValidationError as e, TransactionError as f, DynoTableError as g, EntityError as h, type BatchResult as i, type DeleteOptions as j, type
|
|
3042
|
+
export { BatchBuilder as B, ConditionCheckBuilder as C, DeleteBuilder as D, ExpressionError as E, FilterBuilder as F, GetBuilder as G, IndexGenerationError as I, KeyGenerationError as K, OperationError as O, PutBuilder as P, QueryBuilder as Q, ResultIterator as R, ScanBuilder as S, TransactionBuilder as T, UpdateBuilder as U, ValidationError as V, type TransactionOptions as a, type BatchWriteOperation as b, BatchError as c, ConfigurationError as d, EntityValidationError as e, TransactionError as f, DynoTableError as g, EntityError as h, type BatchResult as i, type DeleteOptions as j, type ErrorCode as k, ErrorCodes as l, type PutOptions as m, type QueryOptions as n, type UpdateOptions as o, type UpdateCommandParams as p, type BaseBuilderInterface as q, type ConditionCheckCommandParams as r, type DeleteCommandParams as s, type FilterBuilderInterface as t, type PaginationResult as u, Paginator as v, type PutCommandParams as w, type QueryBuilderInterface as x, type ScanBuilderInterface as y, type TransactionItem as z };
|
|
@@ -3039,4 +3039,4 @@ declare class ScanBuilder<T extends DynamoItem, TConfig extends TableConfig = Ta
|
|
|
3039
3039
|
execute(): Promise<ResultIterator<T, TConfig>>;
|
|
3040
3040
|
}
|
|
3041
3041
|
|
|
3042
|
-
export { BatchBuilder as B, ConditionCheckBuilder as C, DeleteBuilder as D, ExpressionError as E, FilterBuilder as F, GetBuilder as G, IndexGenerationError as I, KeyGenerationError as K, OperationError as O, PutBuilder as P, QueryBuilder as Q, ResultIterator as R, ScanBuilder as S, TransactionBuilder as T, UpdateBuilder as U, ValidationError as V, type TransactionOptions as a, type BatchWriteOperation as b, BatchError as c, ConfigurationError as d, EntityValidationError as e, TransactionError as f, DynoTableError as g, EntityError as h, type BatchResult as i, type DeleteOptions as j, type
|
|
3042
|
+
export { BatchBuilder as B, ConditionCheckBuilder as C, DeleteBuilder as D, ExpressionError as E, FilterBuilder as F, GetBuilder as G, IndexGenerationError as I, KeyGenerationError as K, OperationError as O, PutBuilder as P, QueryBuilder as Q, ResultIterator as R, ScanBuilder as S, TransactionBuilder as T, UpdateBuilder as U, ValidationError as V, type TransactionOptions as a, type BatchWriteOperation as b, BatchError as c, ConfigurationError as d, EntityValidationError as e, TransactionError as f, DynoTableError as g, EntityError as h, type BatchResult as i, type DeleteOptions as j, type ErrorCode as k, ErrorCodes as l, type PutOptions as m, type QueryOptions as n, type UpdateOptions as o, type UpdateCommandParams as p, type BaseBuilderInterface as q, type ConditionCheckCommandParams as r, type DeleteCommandParams as s, type FilterBuilderInterface as t, type PaginationResult as u, Paginator as v, type PutCommandParams as w, type QueryBuilderInterface as x, type ScanBuilderInterface as y, type TransactionItem as z };
|
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkZUBCW3LA_cjs = require('./chunk-ZUBCW3LA.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkG5ERTQFX_cjs = require('./chunk-G5ERTQFX.cjs');
|
|
5
5
|
var chunkPB7BBCZO_cjs = require('./chunk-PB7BBCZO.cjs');
|
|
6
6
|
var chunk3DR6VOFW_cjs = require('./chunk-3DR6VOFW.cjs');
|
|
7
7
|
var chunkELULXDSB_cjs = require('./chunk-ELULXDSB.cjs');
|
|
@@ -15,99 +15,99 @@ Object.defineProperty(exports, "Table", {
|
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "createIndex", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkG5ERTQFX_cjs.createIndex; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "createQueries", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkG5ERTQFX_cjs.createQueries; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "defineEntity", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkG5ERTQFX_cjs.defineEntity; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "extractRequiredAttributes", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkG5ERTQFX_cjs.extractRequiredAttributes; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "formatErrorContext", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkG5ERTQFX_cjs.formatErrorContext; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "getAwsErrorCode", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkG5ERTQFX_cjs.getAwsErrorCode; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "getAwsErrorMessage", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkG5ERTQFX_cjs.getAwsErrorMessage; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "getErrorSummary", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkG5ERTQFX_cjs.getErrorSummary; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "isBatchError", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkG5ERTQFX_cjs.isBatchError; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "isConditionalCheckFailed", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkG5ERTQFX_cjs.isConditionalCheckFailed; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "isConfigurationError", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkG5ERTQFX_cjs.isConfigurationError; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "isDynoTableError", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkG5ERTQFX_cjs.isDynoTableError; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "isEntityError", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkG5ERTQFX_cjs.isEntityError; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "isEntityValidationError", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkG5ERTQFX_cjs.isEntityValidationError; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "isExpressionError", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkG5ERTQFX_cjs.isExpressionError; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "isIndexGenerationError", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkG5ERTQFX_cjs.isIndexGenerationError; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "isKeyGenerationError", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkG5ERTQFX_cjs.isKeyGenerationError; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "isOperationError", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkG5ERTQFX_cjs.isOperationError; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "isProvisionedThroughputExceeded", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkG5ERTQFX_cjs.isProvisionedThroughputExceeded; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "isRetryableError", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkG5ERTQFX_cjs.isRetryableError; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "isTransactionCanceled", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkG5ERTQFX_cjs.isTransactionCanceled; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "isTransactionError", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkG5ERTQFX_cjs.isTransactionError; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "isValidationError", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkG5ERTQFX_cjs.isValidationError; }
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(exports, "isValidationException", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkG5ERTQFX_cjs.isValidationException; }
|
|
111
111
|
});
|
|
112
112
|
Object.defineProperty(exports, "partitionKey", {
|
|
113
113
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as BatchError, d as ConfigurationError, E as ExpressionError, e as EntityValidationError, K as KeyGenerationError, I as IndexGenerationError, O as OperationError, f as TransactionError, V as ValidationError, g as DynoTableError, h as EntityError } from './index-
|
|
2
|
-
export { B as BatchBuilder, i as BatchResult, D as DeleteBuilder, j as DeleteOptions,
|
|
1
|
+
import { c as BatchError, d as ConfigurationError, E as ExpressionError, e as EntityValidationError, K as KeyGenerationError, I as IndexGenerationError, O as OperationError, f as TransactionError, V as ValidationError, g as DynoTableError, h as EntityError } from './index-CPCmWsEv.cjs';
|
|
2
|
+
export { B as BatchBuilder, i as BatchResult, D as DeleteBuilder, j as DeleteOptions, k as ErrorCode, l as ErrorCodes, P as PutBuilder, m as PutOptions, Q as QueryBuilder, n as QueryOptions, T as TransactionBuilder, a as TransactionOptions, U as UpdateBuilder, o as UpdateOptions } from './index-CPCmWsEv.cjs';
|
|
3
3
|
export { C as ComparisonOperator, b as Condition, c as ConditionOperator, E as ExpressionParams, K as KeyConditionOperator, L as LogicalOperator, a as PrimaryKey, P as PrimaryKeyWithoutExpression, d as and, e as attributeExists, f as attributeNotExists, g as beginsWith, h as between, i as contains, j as eq, k as gt, l as gte, m as inArray, n as lt, o as lte, p as ne, q as not, r as or } from './conditions-C8bM__Pn.cjs';
|
|
4
4
|
export { EntityConfig, EntityRepository, IndexDefinition, QueryEntity, QueryRecord, createIndex, createQueries, defineEntity } from './entity.cjs';
|
|
5
5
|
export { Table } from './table.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as BatchError, d as ConfigurationError, E as ExpressionError, e as EntityValidationError, K as KeyGenerationError, I as IndexGenerationError, O as OperationError, f as TransactionError, V as ValidationError, g as DynoTableError, h as EntityError } from './index-
|
|
2
|
-
export { B as BatchBuilder, i as BatchResult, D as DeleteBuilder, j as DeleteOptions,
|
|
1
|
+
import { c as BatchError, d as ConfigurationError, E as ExpressionError, e as EntityValidationError, K as KeyGenerationError, I as IndexGenerationError, O as OperationError, f as TransactionError, V as ValidationError, g as DynoTableError, h as EntityError } from './index-Bc-ra0im.js';
|
|
2
|
+
export { B as BatchBuilder, i as BatchResult, D as DeleteBuilder, j as DeleteOptions, k as ErrorCode, l as ErrorCodes, P as PutBuilder, m as PutOptions, Q as QueryBuilder, n as QueryOptions, T as TransactionBuilder, a as TransactionOptions, U as UpdateBuilder, o as UpdateOptions } from './index-Bc-ra0im.js';
|
|
3
3
|
export { C as ComparisonOperator, b as Condition, c as ConditionOperator, E as ExpressionParams, K as KeyConditionOperator, L as LogicalOperator, a as PrimaryKey, P as PrimaryKeyWithoutExpression, d as and, e as attributeExists, f as attributeNotExists, g as beginsWith, h as between, i as contains, j as eq, k as gt, l as gte, m as inArray, n as lt, o as lte, p as ne, q as not, r as or } from './conditions-BSAcZswY.js';
|
|
4
4
|
export { EntityConfig, EntityRepository, IndexDefinition, QueryEntity, QueryRecord, createIndex, createQueries, defineEntity } from './entity.js';
|
|
5
5
|
export { Table } from './table.js';
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Table } from './chunk-42LH2UEM.js';
|
|
2
|
-
export { createIndex, createQueries, defineEntity, extractRequiredAttributes, formatErrorContext, getAwsErrorCode, getAwsErrorMessage, getErrorSummary, isBatchError, isConditionalCheckFailed, isConfigurationError, isDynoTableError, isEntityError, isEntityValidationError, isExpressionError, isIndexGenerationError, isKeyGenerationError, isOperationError, isProvisionedThroughputExceeded, isRetryableError, isTransactionCanceled, isTransactionError, isValidationError, isValidationException } from './chunk-
|
|
2
|
+
export { createIndex, createQueries, defineEntity, extractRequiredAttributes, formatErrorContext, getAwsErrorCode, getAwsErrorMessage, getErrorSummary, isBatchError, isConditionalCheckFailed, isConfigurationError, isDynoTableError, isEntityError, isEntityValidationError, isExpressionError, isIndexGenerationError, isKeyGenerationError, isOperationError, isProvisionedThroughputExceeded, isRetryableError, isTransactionCanceled, isTransactionError, isValidationError, isValidationException } from './chunk-RNX2DAHA.js';
|
|
3
3
|
export { partitionKey, sortKey } from './chunk-QVRMYGC4.js';
|
|
4
4
|
export { BatchBuilder, DeleteBuilder, PutBuilder, QueryBuilder, TransactionBuilder, UpdateBuilder } from './chunk-NYJGW3XH.js';
|
|
5
5
|
export { BatchError, BatchErrors, ConfigurationError, ConfigurationErrors, DynoTableError, EntityError, EntityErrors, EntityValidationError, ErrorCodes, ExpressionError, ExpressionErrors, IndexErrors, IndexGenerationError, KeyGenerationError, OperationError, OperationErrors, TransactionError, TransactionErrors, ValidationError, ValidationErrors } from './chunk-FF7FYGDH.js';
|
package/dist/table.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PutBuilder, G as GetBuilder, Q as QueryBuilder, S as ScanBuilder, D as DeleteBuilder, U as UpdateBuilder, T as TransactionBuilder, B as BatchBuilder, a as TransactionOptions, C as ConditionCheckBuilder, b as BatchWriteOperation } from './index-
|
|
1
|
+
import { P as PutBuilder, G as GetBuilder, Q as QueryBuilder, S as ScanBuilder, D as DeleteBuilder, U as UpdateBuilder, T as TransactionBuilder, B as BatchBuilder, a as TransactionOptions, C as ConditionCheckBuilder, b as BatchWriteOperation } from './index-CPCmWsEv.cjs';
|
|
2
2
|
import { P as PrimaryKeyWithoutExpression, a as PrimaryKey } from './conditions-C8bM__Pn.cjs';
|
|
3
3
|
import { TableConfig, Index, DynamoItem } from './types.cjs';
|
|
4
4
|
import '@aws-sdk/lib-dynamodb';
|
package/dist/table.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PutBuilder, G as GetBuilder, Q as QueryBuilder, S as ScanBuilder, D as DeleteBuilder, U as UpdateBuilder, T as TransactionBuilder, B as BatchBuilder, a as TransactionOptions, C as ConditionCheckBuilder, b as BatchWriteOperation } from './index-
|
|
1
|
+
import { P as PutBuilder, G as GetBuilder, Q as QueryBuilder, S as ScanBuilder, D as DeleteBuilder, U as UpdateBuilder, T as TransactionBuilder, B as BatchBuilder, a as TransactionOptions, C as ConditionCheckBuilder, b as BatchWriteOperation } from './index-Bc-ra0im.js';
|
|
2
2
|
import { P as PrimaryKeyWithoutExpression, a as PrimaryKey } from './conditions-BSAcZswY.js';
|
|
3
3
|
import { TableConfig, Index, DynamoItem } from './types.js';
|
|
4
4
|
import '@aws-sdk/lib-dynamodb';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dyno-table",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.2",
|
|
4
4
|
"description": "A TypeScript library to simplify working with DynamoDB",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -118,16 +118,16 @@
|
|
|
118
118
|
"url": "git+https://github.com/Kysumi/dyno-table.git"
|
|
119
119
|
},
|
|
120
120
|
"devDependencies": {
|
|
121
|
-
"@babel/preset-typescript": "^7.
|
|
121
|
+
"@babel/preset-typescript": "^7.28.5",
|
|
122
122
|
"@biomejs/biome": "2.2.2",
|
|
123
123
|
"@semantic-release/changelog": "^6.0.3",
|
|
124
124
|
"@semantic-release/git": "^10.0.1",
|
|
125
|
-
"@types/node": "^20.
|
|
125
|
+
"@types/node": "^20.19.31",
|
|
126
126
|
"husky": "^9.1.7",
|
|
127
127
|
"rimraf": "^5.0.10",
|
|
128
128
|
"semantic-release": "24.2.3",
|
|
129
|
-
"tsup": "^8.
|
|
130
|
-
"typescript": "^5.
|
|
129
|
+
"tsup": "^8.5.1",
|
|
130
|
+
"typescript": "^5.9.3",
|
|
131
131
|
"vitest": "3.0.5"
|
|
132
132
|
},
|
|
133
133
|
"peerDependencies": {
|