dinah 0.4.0 → 0.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.
- package/dist/cdk.cjs +1 -1
- package/dist/cdk.d.cts +1 -1
- package/dist/cdk.d.mts +1 -1
- package/dist/cdk.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +400 -5
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +400 -5
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/streams.cjs +1 -1
- package/dist/table-BAEqBNk3.d.mts +128 -0
- package/dist/table-BAEqBNk3.d.mts.map +1 -0
- package/dist/table-Bx001Rxj.d.cts +128 -0
- package/dist/table-Bx001Rxj.d.cts.map +1 -0
- package/dist/{util-CduXXDLh.cjs → util-Bv6LQIfO.cjs} +5 -5
- package/dist/util-Bv6LQIfO.cjs.map +1 -0
- package/dist/{util-B4dDuxlC.mjs → util-eVkLszT-.mjs} +5 -5
- package/dist/util-eVkLszT-.mjs.map +1 -0
- package/package.json +1 -1
- package/dist/table-DHIwU2MI.d.mts +0 -513
- package/dist/table-DHIwU2MI.d.mts.map +0 -1
- package/dist/table-dYCEZk4c.d.cts +0 -513
- package/dist/table-dYCEZk4c.d.cts.map +0 -1
- package/dist/util-B4dDuxlC.mjs.map +0 -1
- package/dist/util-CduXXDLh.cjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,12 +1,407 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CreateTableCommandInput } from "@aws-sdk/client-dynamodb";
|
|
3
|
-
import
|
|
1
|
+
import { C as ValidTtlKeys, S as ValidPrimaryKeys, _ as TableDesc, a as ExtractKey, b as ToUnion, c as ExtractTableSchema, d as Obj, f as PartialSome, g as TableDef, h as SortKeyQuery, i as DistPartialSome, l as Func, m as ResolvedAttrType, n as AllKeys, o as ExtractKeys, p as PickTypeOf, r as Condition, s as ExtractTableDef, t as Table, u as Gsi, v as TableGsi, x as ValidGsiKeys, y as TableKey } from "./table-BAEqBNk3.mjs";
|
|
2
|
+
import { CreateTableCommandInput, DynamoDB, DynamoDBClient, DynamoDBClientConfig } from "@aws-sdk/client-dynamodb";
|
|
3
|
+
import * as Lib from "@aws-sdk/lib-dynamodb";
|
|
4
|
+
import { TEnumValue, TSchema } from "typebox";
|
|
4
5
|
|
|
6
|
+
//#region src/db.types.d.ts
|
|
7
|
+
interface DbConfig {
|
|
8
|
+
tableNamePrefix?: string;
|
|
9
|
+
}
|
|
10
|
+
interface DbListTables {
|
|
11
|
+
limit?: number;
|
|
12
|
+
}
|
|
13
|
+
interface DbGet<T = Obj> {
|
|
14
|
+
table: string;
|
|
15
|
+
key: Partial<T>;
|
|
16
|
+
consistent?: boolean;
|
|
17
|
+
projection?: AllKeys<T>[];
|
|
18
|
+
filter?: (item: T) => boolean;
|
|
19
|
+
}
|
|
20
|
+
interface DbPut<T = Obj> {
|
|
21
|
+
table: string;
|
|
22
|
+
item: T;
|
|
23
|
+
returnOld?: boolean;
|
|
24
|
+
condition?: Condition<T>;
|
|
25
|
+
}
|
|
26
|
+
interface DbCreate<T = Obj> {
|
|
27
|
+
table: string;
|
|
28
|
+
partitionKeyName: string;
|
|
29
|
+
item: T;
|
|
30
|
+
condition?: Condition<T>;
|
|
31
|
+
}
|
|
32
|
+
interface DbUpdate<T = Obj> {
|
|
33
|
+
table: string;
|
|
34
|
+
key: Partial<T>;
|
|
35
|
+
update: Obj;
|
|
36
|
+
condition?: Condition<T>;
|
|
37
|
+
}
|
|
38
|
+
interface DbUpsert<T = Obj> {
|
|
39
|
+
table: string;
|
|
40
|
+
key: Partial<T>;
|
|
41
|
+
update: Obj;
|
|
42
|
+
item: T;
|
|
43
|
+
condition?: Condition<T>;
|
|
44
|
+
}
|
|
45
|
+
interface DbDelete<T = Obj> {
|
|
46
|
+
table: string;
|
|
47
|
+
key: Partial<T>;
|
|
48
|
+
condition?: Condition<T>;
|
|
49
|
+
}
|
|
50
|
+
interface DbQuery<T = Obj> {
|
|
51
|
+
table: string;
|
|
52
|
+
query: Condition<T>;
|
|
53
|
+
startKey?: Partial<T>;
|
|
54
|
+
filter?: Condition<T>;
|
|
55
|
+
projection?: AllKeys<T>[];
|
|
56
|
+
limit?: number;
|
|
57
|
+
index?: string;
|
|
58
|
+
consistent?: boolean;
|
|
59
|
+
sort?: "ASC" | "DESC";
|
|
60
|
+
}
|
|
61
|
+
interface DbScan<T = Obj> {
|
|
62
|
+
table: string;
|
|
63
|
+
startKey?: Partial<T>;
|
|
64
|
+
filter?: Condition<T>;
|
|
65
|
+
projection?: AllKeys<T>[];
|
|
66
|
+
limit?: number;
|
|
67
|
+
index?: string;
|
|
68
|
+
consistent?: boolean;
|
|
69
|
+
parallel?: number;
|
|
70
|
+
}
|
|
71
|
+
interface DbExists<T = Obj> {
|
|
72
|
+
table: string;
|
|
73
|
+
query?: Condition<T>;
|
|
74
|
+
filter?: Condition<T>;
|
|
75
|
+
index?: string;
|
|
76
|
+
projection?: AllKeys<T>[];
|
|
77
|
+
consistent?: boolean;
|
|
78
|
+
}
|
|
79
|
+
interface DbBatchGetRequest<T = Obj> {
|
|
80
|
+
keys: Partial<T>[];
|
|
81
|
+
consistent?: boolean;
|
|
82
|
+
projection?: AllKeys<T>[];
|
|
83
|
+
filter?: (item: T) => boolean;
|
|
84
|
+
}
|
|
85
|
+
type DbBatchGet = Obj<DbBatchGetRequest>;
|
|
86
|
+
interface DbBatchGetResponse {
|
|
87
|
+
items: Obj<Obj[]>;
|
|
88
|
+
unprocessed?: DbBatchGet;
|
|
89
|
+
}
|
|
90
|
+
interface DbBatchDeleteRequest {
|
|
91
|
+
type: "DELETE";
|
|
92
|
+
key: Obj;
|
|
93
|
+
}
|
|
94
|
+
interface DbBatchPutRequest {
|
|
95
|
+
type: "PUT";
|
|
96
|
+
item: Obj;
|
|
97
|
+
}
|
|
98
|
+
type DbBatchWrite = Obj<(DbBatchDeleteRequest | DbBatchPutRequest)[]>;
|
|
99
|
+
interface DbBatchWriteResponse {
|
|
100
|
+
items: Obj<Obj[]>;
|
|
101
|
+
unprocessed?: DbBatchWrite;
|
|
102
|
+
}
|
|
103
|
+
interface DbTrxGetRequest<T = Obj> {
|
|
104
|
+
table: string;
|
|
105
|
+
key: Partial<T>;
|
|
106
|
+
projection?: AllKeys<T>[];
|
|
107
|
+
filter?: (item: T) => boolean;
|
|
108
|
+
}
|
|
109
|
+
type DbTrxGetResult<R extends DbTrxGetRequest[]> = { [K in keyof R]: R[K] extends DbTrxGetRequest<infer T> ? T | undefined : Obj | undefined };
|
|
110
|
+
type DbTrxGetOrThrowResult<R extends DbTrxGetRequest[]> = { [K in keyof R]: R[K] extends DbTrxGetRequest<infer T> ? (T extends Obj ? T : Obj) : Obj };
|
|
111
|
+
interface DbTrxDeleteRequest<T = Obj> {
|
|
112
|
+
table: string;
|
|
113
|
+
type: "DELETE";
|
|
114
|
+
key: Partial<T>;
|
|
115
|
+
condition?: Condition<T>;
|
|
116
|
+
}
|
|
117
|
+
interface DbTrxPutRequest<T = Obj> {
|
|
118
|
+
table: string;
|
|
119
|
+
type: "PUT";
|
|
120
|
+
item: T;
|
|
121
|
+
condition?: Condition<T>;
|
|
122
|
+
}
|
|
123
|
+
interface DbTrxUpdateRequest<T = Obj> {
|
|
124
|
+
table: string;
|
|
125
|
+
type: "UPDATE";
|
|
126
|
+
key: Partial<T>;
|
|
127
|
+
update: Obj;
|
|
128
|
+
condition?: Condition<T>;
|
|
129
|
+
}
|
|
130
|
+
interface DbTrxConditionRequest<T = Obj> {
|
|
131
|
+
table: string;
|
|
132
|
+
type: "CONDITION";
|
|
133
|
+
key: Partial<T>;
|
|
134
|
+
condition: Condition<T>;
|
|
135
|
+
}
|
|
136
|
+
type DbTrxWriteRequest<T = Obj> = DbTrxDeleteRequest<T> | DbTrxPutRequest<T> | DbTrxUpdateRequest<T> | DbTrxConditionRequest<T>;
|
|
137
|
+
interface DbEnableEventStreams {
|
|
138
|
+
tables?: string[];
|
|
139
|
+
startTime?: number;
|
|
140
|
+
}
|
|
141
|
+
interface DbDisableEventStreams {
|
|
142
|
+
tables?: string[];
|
|
143
|
+
}
|
|
144
|
+
interface DbStreamEvent {
|
|
145
|
+
id: string;
|
|
146
|
+
time: number;
|
|
147
|
+
table: string;
|
|
148
|
+
key: Obj;
|
|
149
|
+
type: "INSERT" | "MODIFY" | "REMOVE";
|
|
150
|
+
oldItem?: Obj;
|
|
151
|
+
newItem?: Obj;
|
|
152
|
+
}
|
|
153
|
+
type DbStreamEventListener = (event: DbStreamEvent) => void;
|
|
154
|
+
//#endregion
|
|
155
|
+
//#region src/repo.types.d.ts
|
|
156
|
+
type RepoKey<R extends AbstractRepo<any>> = Partial<R["$schema"]> & ExtractKey<R["$schema"], R["$def"]>;
|
|
157
|
+
type RepoPutItem<R extends AbstractRepo<any>> = DistPartialSome<R["$schema"], keyof R["defaultPutData"]>;
|
|
158
|
+
type RepoUpdateItem<R extends AbstractRepo<any>> = DistPartialSome<R["$schema"], keyof R["defaultUpdateData"]>;
|
|
159
|
+
type GsiNames<R extends AbstractRepo<any>> = keyof R["table"]["def"]["gsis"] & string;
|
|
160
|
+
type TableGsiNames<T extends Table> = keyof NonNullable<ExtractTableDef<T>["gsis"]> & string;
|
|
161
|
+
type GsiKey<R extends AbstractRepo<any>, G extends GsiNames<R>> = ExtractKey<R["$schema"], GsiDef<R, G>>;
|
|
162
|
+
type Projection<R extends AbstractRepo<any>> = AllKeys<R["$schema"]>[];
|
|
163
|
+
type RepoOutput<R extends AbstractRepo<any>> = ReturnType<R["transformItem"]>;
|
|
164
|
+
type ApplyProjection<R extends AbstractRepo<any>, O> = O extends {
|
|
165
|
+
projection: Array<infer P extends AllKeys<R["$schema"]>>;
|
|
166
|
+
} ? Pick<R["$schema"], P> : RepoOutput<R>;
|
|
167
|
+
type GsiProjectionType<R extends AbstractRepo<any>, G extends string> = GsiDef<R, G> extends {
|
|
168
|
+
projection: infer P;
|
|
169
|
+
} ? P : undefined;
|
|
170
|
+
type GsiDef<R extends AbstractRepo<any>, G extends string> = NonNullable<R["table"]["def"]["gsis"]>[G];
|
|
171
|
+
type TableKeyAttributes<R extends AbstractRepo<any>> = R["table"]["def"]["partitionKey"] | (R["table"]["def"]["sortKey"] & string);
|
|
172
|
+
type GsiOwnKeyAttributes<R extends AbstractRepo<any>, G extends string> = (ToUnion<GsiDef<R, G>["partitionKey"]> & string) | (ToUnion<GsiDef<R, G>["sortKey"]> & string);
|
|
173
|
+
type GsiAllKeyAttributes<R extends AbstractRepo<any>, G extends string> = TableKeyAttributes<R> | GsiOwnKeyAttributes<R, G>;
|
|
174
|
+
type GsiIncludedAttributes<R extends AbstractRepo<any>, G extends string> = Extract<GsiDef<R, G>["projection"], readonly any[]>[number];
|
|
175
|
+
type ApplyGsiProjection<R extends AbstractRepo<any>, O, G extends string> = O extends {
|
|
176
|
+
projection: Array<infer P extends AllKeys<R["$schema"]>>;
|
|
177
|
+
} ? Pick<R["$schema"], P | Extract<GsiAllKeyAttributes<R, G>, keyof R["$schema"]>> : GsiProjectionType<R, G> extends "ALL" | undefined ? RepoOutput<R> : Pick<R["$schema"], Extract<GsiAllKeyAttributes<R, G> | GsiIncludedAttributes<R, G>, keyof R["$schema"]>>;
|
|
178
|
+
interface RepoGetOptions<R extends AbstractRepo<any>> {
|
|
179
|
+
consistent?: boolean;
|
|
180
|
+
projection?: Projection<R>;
|
|
181
|
+
filter?: (item: R["$schema"]) => boolean;
|
|
182
|
+
}
|
|
183
|
+
type RepoGetResult<R extends AbstractRepo<any>, O extends RepoGetOptions<R>> = undefined | ApplyProjection<R, O>;
|
|
184
|
+
type RepoGetOrThrowResult<R extends AbstractRepo<any>, O extends RepoGetOptions<R>> = ApplyProjection<R, O>;
|
|
185
|
+
interface RepoPutOptions<R extends AbstractRepo<any>> {
|
|
186
|
+
condition?: Condition<R["$schema"]>;
|
|
187
|
+
}
|
|
188
|
+
type RepoPutResult<R extends AbstractRepo<any>> = RepoOutput<R>;
|
|
189
|
+
type RepoCreateItem<R extends AbstractRepo<any>> = RepoPutItem<R>;
|
|
190
|
+
interface RepoCreateOptions<R extends AbstractRepo<any>> {
|
|
191
|
+
condition?: Condition<R["$schema"]>;
|
|
192
|
+
}
|
|
193
|
+
type RepoCreateResult<R extends AbstractRepo<any>> = RepoOutput<R>;
|
|
194
|
+
type RepoUpdateData = Obj;
|
|
195
|
+
interface RepoUpdateOptions<R extends AbstractRepo<any>> {
|
|
196
|
+
condition?: Condition<R["$schema"]>;
|
|
197
|
+
}
|
|
198
|
+
type RepoUpdateResult<R extends AbstractRepo<any>> = RepoOutput<R>;
|
|
199
|
+
interface RepoDeleteOptions<R extends AbstractRepo<any>> {
|
|
200
|
+
condition?: Condition<R["$schema"]>;
|
|
201
|
+
}
|
|
202
|
+
type RepoDeleteResult<R extends AbstractRepo<any>> = RepoOutput<R> | undefined;
|
|
203
|
+
type RepoDeleteOrThrowResult<R extends AbstractRepo<any>> = RepoOutput<R>;
|
|
204
|
+
type RepoQueryQuery<R extends AbstractRepo<any>> = Pick<R["$schema"], R["table"]["def"]["partitionKey"]> & SortKeyQuery<R["$schema"], R["table"]["def"]["sortKey"]>;
|
|
205
|
+
interface RepoQueryOptions<R extends AbstractRepo<any>> {
|
|
206
|
+
startKey?: RepoKey<R>;
|
|
207
|
+
filter?: Condition<R["$schema"]>;
|
|
208
|
+
projection?: Projection<R>;
|
|
209
|
+
limit?: number;
|
|
210
|
+
consistent?: boolean;
|
|
211
|
+
sort?: "ASC" | "DESC";
|
|
212
|
+
}
|
|
213
|
+
type RepoQueryResult<R extends AbstractRepo<any>, O extends RepoQueryOptions<R>> = ApplyProjection<R, O>[];
|
|
214
|
+
type RepoQueryPagedResult<R extends AbstractRepo<any>, O extends RepoQueryOptions<R>> = AsyncGenerator<ApplyProjection<R, O>[]>;
|
|
215
|
+
type RepoQueryGsiQuery<T extends Table, G extends string> = Pick<ExtractTableSchema<T>, ToUnion<NonNullable<ExtractTableDef<T>["gsis"]>[G]["partitionKey"]> & string> & SortKeyQuery<ExtractTableSchema<T>, NonNullable<ExtractTableDef<T>["gsis"]>[G]["sortKey"]>;
|
|
216
|
+
type GsiSortKeyOf<T extends Table, G extends string> = ToUnion<NonNullable<ExtractTableDef<T>["gsis"]>[G] extends {
|
|
217
|
+
sortKey: infer SK;
|
|
218
|
+
} ? SK : never> & string;
|
|
219
|
+
type TableSortKeyOf<T extends Table> = ExtractTableDef<T> extends {
|
|
220
|
+
sortKey: infer SK extends string;
|
|
221
|
+
} ? SK : never;
|
|
222
|
+
type RepoGsiStartKey<T extends Table, G extends string> = Pick<ExtractTableSchema<T>, ExtractTableDef<T>["partitionKey"] | TableSortKeyOf<T> | (ToUnion<NonNullable<ExtractTableDef<T>["gsis"]>[G]["partitionKey"]> & string) | GsiSortKeyOf<T, G>>;
|
|
223
|
+
interface RepoQueryGsiOptions<R extends AbstractRepo<any>, T extends Table = Table, G extends string = string> {
|
|
224
|
+
startKey?: RepoGsiStartKey<T, G>;
|
|
225
|
+
filter?: Condition<R["$schema"]>;
|
|
226
|
+
projection?: Projection<R>;
|
|
227
|
+
limit?: number;
|
|
228
|
+
sort?: "ASC" | "DESC";
|
|
229
|
+
}
|
|
230
|
+
type RepoQueryGsiResult<R extends AbstractRepo<any>, O extends RepoQueryGsiOptions<R>, G extends string = string> = ApplyGsiProjection<R, O, G>[];
|
|
231
|
+
type RepoQueryGsiPagedResult<R extends AbstractRepo<any>, O extends RepoQueryGsiOptions<R>, G extends string = string> = AsyncGenerator<ApplyGsiProjection<R, O, G>[]>;
|
|
232
|
+
interface RepoScanOptions<R extends AbstractRepo<any>> {
|
|
233
|
+
startKey?: RepoKey<R>;
|
|
234
|
+
filter?: Condition<R["$schema"]>;
|
|
235
|
+
projection?: Projection<R>;
|
|
236
|
+
limit?: number;
|
|
237
|
+
consistent?: boolean;
|
|
238
|
+
parallel?: number;
|
|
239
|
+
}
|
|
240
|
+
type RepoScanResult<R extends AbstractRepo<any>, O extends RepoScanOptions<R>> = ApplyProjection<R, O>[];
|
|
241
|
+
type RepoScanPagedResult<R extends AbstractRepo<any>, O extends RepoScanOptions<R>> = AsyncGenerator<ApplyProjection<R, O>[]>;
|
|
242
|
+
interface RepoScanGsiOptions<R extends AbstractRepo<any>, T extends Table = Table, G extends string = string> {
|
|
243
|
+
startKey?: RepoGsiStartKey<T, G>;
|
|
244
|
+
filter?: Condition<R["$schema"]>;
|
|
245
|
+
projection?: Projection<R>;
|
|
246
|
+
limit?: number;
|
|
247
|
+
parallel?: number;
|
|
248
|
+
}
|
|
249
|
+
type RepoScanGsiResult<R extends AbstractRepo<any>, O extends RepoScanGsiOptions<R>, G extends string = string> = ApplyGsiProjection<R, O, G>[];
|
|
250
|
+
type RepoScanGsiPagedResult<R extends AbstractRepo<any>, O extends RepoScanGsiOptions<R>, G extends string = string> = AsyncGenerator<ApplyGsiProjection<R, O, G>[]>;
|
|
251
|
+
interface RepoExistsOptions<R extends AbstractRepo<any>> {
|
|
252
|
+
query?: Obj;
|
|
253
|
+
filter?: Condition<R["$schema"]>;
|
|
254
|
+
consistent?: boolean;
|
|
255
|
+
}
|
|
256
|
+
interface RepoTrxGetOptions<R extends AbstractRepo<any>> {
|
|
257
|
+
projection?: Projection<R>;
|
|
258
|
+
filter?: (item: R["$schema"]) => boolean;
|
|
259
|
+
}
|
|
260
|
+
type RepoTrxGetResult<R extends AbstractRepo<any>, O extends RepoTrxGetOptions<R>> = (ApplyProjection<R, O> | undefined)[];
|
|
261
|
+
type RepoTrxGetOrThrowResult<R extends AbstractRepo<any>, O extends RepoTrxGetOptions<R>> = ApplyProjection<R, O>[];
|
|
262
|
+
type RepoTrxGetRequestResult = {
|
|
263
|
+
table: string;
|
|
264
|
+
};
|
|
265
|
+
interface RepoTrxDeleteRequest<R extends AbstractRepo<any>> {
|
|
266
|
+
type: "DELETE";
|
|
267
|
+
key: RepoKey<R>;
|
|
268
|
+
condition?: Condition<R["$schema"]>;
|
|
269
|
+
}
|
|
270
|
+
interface RepoTrxPutRequest<R extends AbstractRepo<any>> {
|
|
271
|
+
type: "PUT";
|
|
272
|
+
item: RepoPutItem<R>;
|
|
273
|
+
condition?: Condition<R["$schema"]>;
|
|
274
|
+
}
|
|
275
|
+
interface RepoTrxUpdateRequest<R extends AbstractRepo<any>> {
|
|
276
|
+
table: string;
|
|
277
|
+
type: "UPDATE";
|
|
278
|
+
key: RepoKey<R>;
|
|
279
|
+
update: RepoUpdateData;
|
|
280
|
+
condition?: Condition<R["$schema"]>;
|
|
281
|
+
}
|
|
282
|
+
interface RepoTrxConditionRequest<R extends AbstractRepo<any>> {
|
|
283
|
+
type: "CONDITION";
|
|
284
|
+
key: RepoKey<R>;
|
|
285
|
+
condition: Condition<R["$schema"]>;
|
|
286
|
+
}
|
|
287
|
+
type RepoTrxWriteRequest<R extends AbstractRepo<any>> = RepoTrxDeleteRequest<R> | RepoTrxPutRequest<R> | RepoTrxUpdateRequest<R> | RepoTrxConditionRequest<R>;
|
|
288
|
+
interface RepoBatchGetOptions<R extends AbstractRepo<any>> {
|
|
289
|
+
consistent?: boolean;
|
|
290
|
+
projection?: Projection<R>;
|
|
291
|
+
filter?: (item: R["$schema"]) => boolean;
|
|
292
|
+
}
|
|
293
|
+
type RepoBatchGetResult<R extends AbstractRepo<any>, O extends RepoBatchGetOptions<R>> = {
|
|
294
|
+
items: ApplyProjection<R, O>[];
|
|
295
|
+
unprocessed?: RepoKey<R>[];
|
|
296
|
+
};
|
|
297
|
+
type RepoBatchGetOrThrowResult<R extends AbstractRepo<any>, O extends RepoBatchGetOptions<R>> = ApplyProjection<R, O>[];
|
|
298
|
+
type RepoBatchWritePutRequest<R extends AbstractRepo<any>> = {
|
|
299
|
+
type: "PUT";
|
|
300
|
+
item: RepoPutItem<R>;
|
|
301
|
+
};
|
|
302
|
+
type RepoBatchWriteDeleteRequest<R extends AbstractRepo<any>> = {
|
|
303
|
+
type: "DELETE";
|
|
304
|
+
key: RepoKey<R>;
|
|
305
|
+
};
|
|
306
|
+
type RepoBatchWrite<R extends AbstractRepo<any>> = (RepoBatchWritePutRequest<R> | RepoBatchWriteDeleteRequest<R>)[];
|
|
307
|
+
type RepoBatchWriteResult<R extends AbstractRepo<any>> = {
|
|
308
|
+
items: RepoPutItem<R>[];
|
|
309
|
+
unprocessed?: RepoBatchWrite<R>;
|
|
310
|
+
};
|
|
311
|
+
type RepoBatchPutRequest<R extends AbstractRepo<any>> = RepoPutItem<R>[];
|
|
312
|
+
type RepoBatchPutResult<R extends AbstractRepo<any>> = {
|
|
313
|
+
items: RepoPutItem<R>[];
|
|
314
|
+
unprocessed?: RepoBatchPutRequest<R>;
|
|
315
|
+
};
|
|
316
|
+
type RepoBatchDeleteRequest<R extends AbstractRepo<any>> = RepoKey<R>[];
|
|
317
|
+
type RepoBatchDeleteResponse<R extends AbstractRepo<any>> = RepoBatchDeleteRequest<R> | undefined;
|
|
318
|
+
//#endregion
|
|
319
|
+
//#region src/repo.d.ts
|
|
320
|
+
declare abstract class AbstractRepo<T extends Table> {
|
|
321
|
+
readonly $schema: ExtractTableSchema<T>;
|
|
322
|
+
readonly $def: ExtractTableDef<T>;
|
|
323
|
+
abstract readonly table: T;
|
|
324
|
+
readonly db: Db;
|
|
325
|
+
constructor(db: Db);
|
|
326
|
+
get tableName(): string;
|
|
327
|
+
get defaultPutData(): Partial<ExtractTableSchema<T>>;
|
|
328
|
+
get defaultUpdateData(): Partial<ExtractTableSchema<T>>;
|
|
329
|
+
transformItem(item: ExtractTableSchema<T>): ExtractTableSchema<T>;
|
|
330
|
+
extractKey(item: RepoKey<this>): RepoKey<this>;
|
|
331
|
+
get<O extends RepoGetOptions<this>>(key: RepoKey<this>, options?: O): Promise<RepoGetResult<this, O>>;
|
|
332
|
+
getOrThrow<O extends RepoGetOptions<this>>(key: RepoKey<this>, options?: O): Promise<RepoGetOrThrowResult<this, O>>;
|
|
333
|
+
put(item: RepoPutItem<this>, options?: RepoPutOptions<this>): Promise<RepoPutResult<this>>;
|
|
334
|
+
update(key: RepoKey<this>, update: RepoUpdateData, options?: RepoUpdateOptions<this>): Promise<RepoUpdateResult<this>>;
|
|
335
|
+
create(item: RepoPutItem<this>, options?: RepoCreateOptions<this>): Promise<RepoCreateResult<this>>;
|
|
336
|
+
delete(key: RepoKey<this>, options?: RepoDeleteOptions<this>): Promise<RepoDeleteResult<this>>;
|
|
337
|
+
deleteOrThrow(key: RepoKey<this>, options?: Omit<RepoDeleteOptions<this>, "return">): Promise<RepoDeleteOrThrowResult<this>>;
|
|
338
|
+
query<O extends RepoQueryOptions<this>>(query: RepoQueryQuery<this>, options?: O): Promise<RepoQueryResult<this, O>>;
|
|
339
|
+
queryPaged<O extends RepoQueryOptions<this>>(query: RepoQueryQuery<this>, options?: O): RepoQueryPagedResult<this, O>;
|
|
340
|
+
queryGsi<G extends TableGsiNames<T>, O extends RepoQueryGsiOptions<this, T, G>>(gsi: G, query: RepoQueryGsiQuery<T, G>, options?: O): Promise<RepoQueryGsiResult<this, O, G>>;
|
|
341
|
+
queryGsiPaged<G extends TableGsiNames<T>, O extends RepoQueryGsiOptions<this, T, G>>(gsi: G, query: RepoQueryGsiQuery<T, G>, options?: O): RepoQueryGsiPagedResult<this, O, G>;
|
|
342
|
+
scan<O extends RepoScanOptions<this>>(options?: O): Promise<RepoScanResult<this, O>>;
|
|
343
|
+
scanPaged<O extends RepoScanOptions<this>>(options?: O): RepoScanPagedResult<this, O>;
|
|
344
|
+
scanGsi<G extends TableGsiNames<T>, O extends RepoScanGsiOptions<this, T, G>>(gsi: G, options?: O): Promise<RepoScanGsiResult<this, O, G>>;
|
|
345
|
+
scanGsiPaged<G extends TableGsiNames<T>, O extends RepoScanGsiOptions<this, T, G>>(gsi: G, options?: O): RepoScanGsiPagedResult<this, O, G>;
|
|
346
|
+
exists(options?: RepoExistsOptions<this>): Promise<boolean>;
|
|
347
|
+
existsGsi(gsi: TableGsiNames<T>, options?: RepoExistsOptions<this>): Promise<boolean>;
|
|
348
|
+
batchGet<O extends RepoBatchGetOptions<this>>(keys: RepoKey<this>[], options?: O): Promise<RepoBatchGetResult<this, O>>;
|
|
349
|
+
batchGetOrThrow<O extends RepoBatchGetOptions<this>>(keys: RepoKey<this>[], options?: O): Promise<RepoBatchGetOrThrowResult<this, O>>;
|
|
350
|
+
batchWrite(requests: RepoBatchWrite<this>): Promise<RepoBatchWriteResult<this>>;
|
|
351
|
+
trxGet<O extends RepoTrxGetOptions<this>>(keys: RepoKey<this>[], options?: O): Promise<RepoTrxGetResult<this, O>>;
|
|
352
|
+
trxGetOrThrow<O extends RepoTrxGetOptions<this>>(keys: RepoKey<this>[], options?: O): Promise<RepoTrxGetOrThrowResult<this, O>>;
|
|
353
|
+
trxWrite(...requests: RepoTrxWriteRequest<this>[]): Promise<void>;
|
|
354
|
+
trxDelete(keys: RepoKey<this>[], options?: Omit<RepoDeleteOptions<this>, "return">): Promise<void>;
|
|
355
|
+
trxPut(items: RepoPutItem<this>[], options?: Omit<RepoPutOptions<this>, "return">): Promise<void>;
|
|
356
|
+
trxUpdate(keys: RepoKey<this>[], update: RepoUpdateData, options?: Omit<RepoUpdateOptions<this>, "return">): Promise<void>;
|
|
357
|
+
trxCreate(items: RepoCreateItem<this>[], options?: RepoCreateOptions<this>): Promise<void>;
|
|
358
|
+
trxGetRequest<O extends RepoGetOptions<this>>(key: RepoKey<this>, options?: O): DbTrxGetRequest<RepoGetOrThrowResult<this, O>>;
|
|
359
|
+
trxDeleteRequest(key: RepoKey<this>, options?: Omit<RepoDeleteOptions<this>, "return">): DbTrxWriteRequest;
|
|
360
|
+
trxConditionRequest(key: RepoKey<this>, condition: Condition<ExtractTableSchema<T>>, options?: Omit<RepoDeleteOptions<this>, "return" | "condition">): DbTrxWriteRequest;
|
|
361
|
+
trxPutRequest(item: RepoPutItem<this>, options?: Omit<RepoPutOptions<this>, "return">): DbTrxWriteRequest;
|
|
362
|
+
trxUpdateRequest(key: RepoKey<this>, update: RepoUpdateData, options?: Omit<RepoUpdateOptions<this>, "return">): DbTrxWriteRequest;
|
|
363
|
+
trxCreateRequest(item: RepoCreateItem<this>, options?: RepoCreateOptions<this>): DbTrxWriteRequest;
|
|
364
|
+
private applyTransformsIfNeeded;
|
|
365
|
+
private applyTransformIfNeeded;
|
|
366
|
+
}
|
|
367
|
+
declare class Repo<T extends Table<any, any>> extends AbstractRepo<T> {
|
|
368
|
+
readonly table: T;
|
|
369
|
+
constructor(db: Db, table: T);
|
|
370
|
+
}
|
|
371
|
+
//#endregion
|
|
372
|
+
//#region src/db.d.ts
|
|
373
|
+
declare class Db {
|
|
374
|
+
readonly client: Lib.DynamoDBDocumentClient;
|
|
375
|
+
readonly config: DbConfig | undefined;
|
|
376
|
+
constructor(clientOrConfig: DynamoDBClient | DynamoDB | DynamoDBClientConfig, dbConfig?: DbConfig);
|
|
377
|
+
createRepo<T extends Table>(table: T): Repo<T>;
|
|
378
|
+
createTable(table: Table): Promise<void>;
|
|
379
|
+
deleteTable(tableName: string): Promise<void>;
|
|
380
|
+
listTables(data?: DbListTables): Promise<string[]>;
|
|
381
|
+
get<T = Obj>(data: DbGet<T>): Promise<T | undefined>;
|
|
382
|
+
getOrThrow<T = Obj>(data: DbGet<T>): Promise<T>;
|
|
383
|
+
put<T = Obj>(data: DbPut<T>): Promise<T>;
|
|
384
|
+
update<T = Obj>(data: DbUpdate<T>): Promise<T>;
|
|
385
|
+
delete<T = Obj>(data: DbDelete<T>): Promise<T | undefined>;
|
|
386
|
+
deleteOrThrow<T = Obj>(data: DbDelete<T>): Promise<T>;
|
|
387
|
+
queryPaged<T = Obj>(data: DbQuery<T>): AsyncGenerator<T[]>;
|
|
388
|
+
query<T = Obj>(data: DbQuery<T>): Promise<T[]>;
|
|
389
|
+
scanPaged<T = Obj>(data: DbScan<T>): AsyncGenerator<T[]>;
|
|
390
|
+
scan<T = Obj>(data: DbScan<T>): Promise<T[]>;
|
|
391
|
+
exists<T = Obj>(data: DbExists<T>): Promise<boolean>;
|
|
392
|
+
batchGet(data: DbBatchGet): Promise<DbBatchGetResponse>;
|
|
393
|
+
batchGetOrThrow(data: DbBatchGet): Promise<DbBatchGetResponse["items"]>;
|
|
394
|
+
batchWrite(data: DbBatchWrite): Promise<DbBatchWriteResponse>;
|
|
395
|
+
trxGet<R extends DbTrxGetRequest[]>(...requests: R): Promise<DbTrxGetResult<R>>;
|
|
396
|
+
trxGetOrThrow<R extends DbTrxGetRequest[]>(...requests: R): Promise<DbTrxGetOrThrowResult<R>>;
|
|
397
|
+
trxWrite(...requests: DbTrxWriteRequest[]): Promise<void>;
|
|
398
|
+
}
|
|
399
|
+
//#endregion
|
|
5
400
|
//#region src/util.d.ts
|
|
6
|
-
declare const resolveAttrType: (schema: TSchema, attrName: string) => "S" | "N";
|
|
401
|
+
declare const resolveAttrType: (schema: TSchema | TEnumValue, attrName: string) => "S" | "N";
|
|
7
402
|
declare const extractTableDesc: (table: Table) => CreateTableCommandInput;
|
|
8
403
|
declare const chunk: <T = unknown>(arr: T[], chunkSize: number) => T[][];
|
|
9
404
|
declare const removeUndefined: (obj: Obj) => Obj;
|
|
10
405
|
//#endregion
|
|
11
|
-
export { AbstractRepo, AllKeys, ApplyGsiProjection, ApplyProjection, Condition, Db, DbBatchDeleteRequest, DbBatchGet, DbBatchGetRequest, DbBatchGetResponse, DbBatchPutRequest, DbBatchWrite, DbBatchWriteResponse, DbConfig, DbCreate, DbDelete, DbDisableEventStreams, DbEnableEventStreams, DbExists, DbGet, DbListTables, DbPut, DbQuery, DbScan, DbStreamEvent, DbStreamEventListener, DbTrxConditionRequest, DbTrxDeleteRequest, DbTrxGetOrThrowResult, DbTrxGetRequest, DbTrxGetResult, DbTrxPutRequest, DbTrxUpdateRequest, DbTrxWriteRequest, DbUpdate, DistPartialSome, ExtractKey, ExtractKeys, ExtractTableDef, ExtractTableSchema, Func, Gsi, GsiKey, GsiNames, GsiProjectionType, Obj, PartialSome, PickTypeOf, Projection, Repo, RepoBatchDeleteRequest, RepoBatchDeleteResponse, RepoBatchGetOptions, RepoBatchGetOrThrowResult, RepoBatchGetResult, RepoBatchPutRequest, RepoBatchPutResult, RepoBatchWrite, RepoBatchWriteResult, RepoCreateItem, RepoCreateOptions, RepoCreateResult, RepoDeleteOptions, RepoDeleteOrThrowResult, RepoDeleteResult, RepoExistsOptions, RepoGetOptions, RepoGetOrThrowResult, RepoGetResult, RepoGsiStartKey, RepoKey, RepoOutput, RepoPutItem, RepoPutOptions, RepoPutResult, RepoQueryGsiOptions, RepoQueryGsiPagedResult, RepoQueryGsiQuery, RepoQueryGsiResult, RepoQueryOptions, RepoQueryPagedResult, RepoQueryQuery, RepoQueryResult, RepoScanGsiOptions, RepoScanGsiPagedResult, RepoScanGsiResult, RepoScanOptions, RepoScanPagedResult, RepoScanResult, RepoTrxConditionRequest, RepoTrxDeleteRequest, RepoTrxGetOptions, RepoTrxGetOrThrowResult, RepoTrxGetRequestResult, RepoTrxGetResult, RepoTrxPutRequest, RepoTrxUpdateRequest, RepoTrxWriteRequest, RepoUpdateData, RepoUpdateItem, RepoUpdateOptions, RepoUpdateResult, ResolvedAttrType, Table, TableDef, TableDesc, TableGsi, TableGsiNames, TableKey, ValidGsiKeys, ValidPrimaryKeys, ValidTtlKeys, chunk, extractTableDesc, removeUndefined, resolveAttrType };
|
|
406
|
+
export { AbstractRepo, AllKeys, ApplyGsiProjection, ApplyProjection, Condition, Db, DbBatchDeleteRequest, DbBatchGet, DbBatchGetRequest, DbBatchGetResponse, DbBatchPutRequest, DbBatchWrite, DbBatchWriteResponse, DbConfig, DbCreate, DbDelete, DbDisableEventStreams, DbEnableEventStreams, DbExists, DbGet, DbListTables, DbPut, DbQuery, DbScan, DbStreamEvent, DbStreamEventListener, DbTrxConditionRequest, DbTrxDeleteRequest, DbTrxGetOrThrowResult, DbTrxGetRequest, DbTrxGetResult, DbTrxPutRequest, DbTrxUpdateRequest, DbTrxWriteRequest, DbUpdate, DbUpsert, DistPartialSome, ExtractKey, ExtractKeys, ExtractTableDef, ExtractTableSchema, Func, Gsi, GsiKey, GsiNames, GsiProjectionType, Obj, PartialSome, PickTypeOf, Projection, Repo, RepoBatchDeleteRequest, RepoBatchDeleteResponse, RepoBatchGetOptions, RepoBatchGetOrThrowResult, RepoBatchGetResult, RepoBatchPutRequest, RepoBatchPutResult, RepoBatchWrite, RepoBatchWriteResult, RepoCreateItem, RepoCreateOptions, RepoCreateResult, RepoDeleteOptions, RepoDeleteOrThrowResult, RepoDeleteResult, RepoExistsOptions, RepoGetOptions, RepoGetOrThrowResult, RepoGetResult, RepoGsiStartKey, RepoKey, RepoOutput, RepoPutItem, RepoPutOptions, RepoPutResult, RepoQueryGsiOptions, RepoQueryGsiPagedResult, RepoQueryGsiQuery, RepoQueryGsiResult, RepoQueryOptions, RepoQueryPagedResult, RepoQueryQuery, RepoQueryResult, RepoScanGsiOptions, RepoScanGsiPagedResult, RepoScanGsiResult, RepoScanOptions, RepoScanPagedResult, RepoScanResult, RepoTrxConditionRequest, RepoTrxDeleteRequest, RepoTrxGetOptions, RepoTrxGetOrThrowResult, RepoTrxGetRequestResult, RepoTrxGetResult, RepoTrxPutRequest, RepoTrxUpdateRequest, RepoTrxWriteRequest, RepoUpdateData, RepoUpdateItem, RepoUpdateOptions, RepoUpdateResult, ResolvedAttrType, SortKeyQuery, Table, TableDef, TableDesc, TableGsi, TableGsiNames, TableKey, ToUnion, ValidGsiKeys, ValidPrimaryKeys, ValidTtlKeys, chunk, extractTableDesc, removeUndefined, resolveAttrType };
|
|
12
407
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/util.ts"],"mappings":";;;;;cAUa,eAAA,GAAe,MAAA,EAAY,OAAA,EAAO,QAAA;AAAA,cA8BlC,gBAAA,GAAgB,KAAA,EAAW,KAAA,KAAQ,uBAAA;AAAA,cAqDnC,KAAA,gBAAoB,GAAA,EAAO,CAAA,IAAG,SAAA,aAAsB,CAAA;AAAA,cAapD,eAAA,GAAe,GAAA,EAAS,GAAA,KAAG,GAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/db.types.ts","../src/repo.types.ts","../src/repo.ts","../src/db.ts","../src/util.ts"],"mappings":";;;;;;UAEiB,QAAA;EACf,eAAA;AAAA;AAAA,UAGe,YAAA;EACf,KAAA;AAAA;AAAA,UAGe,KAAA,KAAU,GAAA;EACzB,KAAA;EACA,GAAA,EAAK,OAAA,CAAQ,CAAA;EACb,UAAA;EACA,UAAA,GAAa,OAAA,CAAQ,CAAA;EACrB,MAAA,IAAU,IAAA,EAAM,CAAA;AAAA;AAAA,UAGD,KAAA,KAAU,GAAA;EACzB,KAAA;EACA,IAAA,EAAM,CAAA;EACN,SAAA;EACA,SAAA,GAAY,SAAA,CAAU,CAAA;AAAA;AAAA,UAGP,QAAA,KAAa,GAAA;EAC5B,KAAA;EACA,gBAAA;EACA,IAAA,EAAM,CAAA;EACN,SAAA,GAAY,SAAA,CAAU,CAAA;AAAA;AAAA,UAGP,QAAA,KAAa,GAAA;EAC5B,KAAA;EACA,GAAA,EAAK,OAAA,CAAQ,CAAA;EACb,MAAA,EAAQ,GAAA;EACR,SAAA,GAAY,SAAA,CAAU,CAAA;AAAA;AAAA,UAGP,QAAA,KAAa,GAAA;EAC5B,KAAA;EACA,GAAA,EAAK,OAAA,CAAQ,CAAA;EACb,MAAA,EAAQ,GAAA;EACR,IAAA,EAAM,CAAA;EACN,SAAA,GAAY,SAAA,CAAU,CAAA;AAAA;AAAA,UAGP,QAAA,KAAa,GAAA;EAC5B,KAAA;EACA,GAAA,EAAK,OAAA,CAAQ,CAAA;EACb,SAAA,GAAY,SAAA,CAAU,CAAA;AAAA;AAAA,UAGP,OAAA,KAAY,GAAA;EAC3B,KAAA;EACA,KAAA,EAAO,SAAA,CAAU,CAAA;EACjB,QAAA,GAAW,OAAA,CAAQ,CAAA;EACnB,MAAA,GAAS,SAAA,CAAU,CAA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A;AAAA,cAapD,eAAA,GAAe,GAAA,EAAS,GAAA,KAAG,GAAA"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as resolveAttrType, n as extractTableDesc, r as removeUndefined, t as chunk } from "./util-
|
|
1
|
+
import { i as resolveAttrType, n as extractTableDesc, r as removeUndefined, t as chunk } from "./util-eVkLszT-.mjs";
|
|
2
2
|
import { CreateTableCommand, DeleteTableCommand, DynamoDB, DynamoDBClient, ListTablesCommand } from "@aws-sdk/client-dynamodb";
|
|
3
3
|
import * as Lib from "@aws-sdk/lib-dynamodb";
|
|
4
4
|
//#region src/expression-builder.ts
|