@mastra/dynamodb 0.13.3 → 0.14.0-alpha.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 (44) hide show
  1. package/dist/entities/eval.d.ts +102 -0
  2. package/dist/entities/eval.d.ts.map +1 -0
  3. package/dist/entities/index.d.ts +746 -0
  4. package/dist/entities/index.d.ts.map +1 -0
  5. package/dist/entities/message.d.ts +100 -0
  6. package/dist/entities/message.d.ts.map +1 -0
  7. package/dist/entities/resource.d.ts +54 -0
  8. package/dist/entities/resource.d.ts.map +1 -0
  9. package/dist/entities/score.d.ts +229 -0
  10. package/dist/entities/score.d.ts.map +1 -0
  11. package/dist/entities/thread.d.ts +69 -0
  12. package/dist/entities/thread.d.ts.map +1 -0
  13. package/dist/entities/trace.d.ts +127 -0
  14. package/dist/entities/trace.d.ts.map +1 -0
  15. package/dist/entities/utils.d.ts +21 -0
  16. package/dist/entities/utils.d.ts.map +1 -0
  17. package/dist/entities/workflow-snapshot.d.ts +74 -0
  18. package/dist/entities/workflow-snapshot.d.ts.map +1 -0
  19. package/dist/index.cjs +36 -2
  20. package/dist/index.cjs.map +1 -0
  21. package/dist/index.d.ts +2 -2
  22. package/dist/index.d.ts.map +1 -0
  23. package/dist/index.js +36 -2
  24. package/dist/index.js.map +1 -0
  25. package/dist/storage/domains/legacy-evals/index.d.ts +19 -0
  26. package/dist/storage/domains/legacy-evals/index.d.ts.map +1 -0
  27. package/dist/storage/domains/memory/index.d.ts +77 -0
  28. package/dist/storage/domains/memory/index.d.ts.map +1 -0
  29. package/dist/storage/domains/operations/index.d.ts +69 -0
  30. package/dist/storage/domains/operations/index.d.ts.map +1 -0
  31. package/dist/storage/domains/score/index.d.ts +42 -0
  32. package/dist/storage/domains/score/index.d.ts.map +1 -0
  33. package/dist/storage/domains/traces/index.d.ts +28 -0
  34. package/dist/storage/domains/traces/index.d.ts.map +1 -0
  35. package/dist/storage/domains/workflows/index.d.ts +32 -0
  36. package/dist/storage/domains/workflows/index.d.ts.map +1 -0
  37. package/dist/storage/index.d.ts +220 -0
  38. package/dist/storage/index.d.ts.map +1 -0
  39. package/package.json +6 -6
  40. package/src/entities/score.ts +32 -0
  41. package/src/storage/domains/score/index.ts +6 -3
  42. package/dist/_tsup-dts-rollup.d.cts +0 -1977
  43. package/dist/_tsup-dts-rollup.d.ts +0 -1977
  44. package/dist/index.d.cts +0 -2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AASpC,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,sBAAsB,EAAE,SAAS,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgBpF"}
@@ -0,0 +1,100 @@
1
+ import { Entity } from 'electrodb';
2
+ export declare const messageEntity: Entity<string, string, string, {
3
+ model: {
4
+ entity: string;
5
+ version: string;
6
+ service: string;
7
+ };
8
+ attributes: {
9
+ id: {
10
+ type: "string";
11
+ required: true;
12
+ };
13
+ threadId: {
14
+ type: "string";
15
+ required: true;
16
+ };
17
+ content: {
18
+ type: "string";
19
+ required: true;
20
+ set: (value?: string | void | undefined) => string | void;
21
+ get: (value?: string) => any;
22
+ };
23
+ role: {
24
+ type: "string";
25
+ required: true;
26
+ };
27
+ type: {
28
+ type: "string";
29
+ default: string;
30
+ };
31
+ resourceId: {
32
+ type: "string";
33
+ required: false;
34
+ };
35
+ toolCallIds: {
36
+ type: "string";
37
+ required: false;
38
+ set: (value?: string[] | string) => string | undefined;
39
+ get: (value?: string) => any;
40
+ };
41
+ toolCallArgs: {
42
+ type: "string";
43
+ required: false;
44
+ set: (value?: Record<string, unknown>[] | string) => string | undefined;
45
+ get: (value?: string) => any;
46
+ };
47
+ toolNames: {
48
+ type: "string";
49
+ required: false;
50
+ set: (value?: string[] | string) => string | undefined;
51
+ get: (value?: string) => any;
52
+ };
53
+ createdAt: {
54
+ readonly type: "string";
55
+ readonly required: true;
56
+ readonly readOnly: true;
57
+ readonly set: (value?: Date | string) => string;
58
+ readonly default: () => string;
59
+ };
60
+ updatedAt: {
61
+ readonly type: "string";
62
+ readonly required: true;
63
+ readonly set: (value?: Date | string) => string;
64
+ readonly default: () => string;
65
+ };
66
+ metadata: {
67
+ readonly type: "string";
68
+ readonly set: (value?: Record<string, unknown> | string) => string | undefined;
69
+ readonly get: (value?: string) => any;
70
+ };
71
+ entity: {
72
+ type: "string";
73
+ required: true;
74
+ };
75
+ };
76
+ indexes: {
77
+ primary: {
78
+ pk: {
79
+ field: string;
80
+ composite: ("entity" | "id")[];
81
+ };
82
+ sk: {
83
+ field: string;
84
+ composite: "entity"[];
85
+ };
86
+ };
87
+ byThread: {
88
+ index: string;
89
+ pk: {
90
+ field: string;
91
+ composite: ("entity" | "threadId")[];
92
+ };
93
+ sk: {
94
+ field: string;
95
+ composite: "createdAt"[];
96
+ };
97
+ };
98
+ };
99
+ }>;
100
+ //# sourceMappingURL=message.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../src/entities/message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAGnC,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;0BA+BN,MAAM;;;;;;;;;;;;;;;;;0BA8BN,MAAM,EAAE,GAAG,MAAM;0BAOjB,MAAM;;;;;0BAgBN,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,MAAM;0BAOlC,MAAM;;;;;0BAgBN,MAAM,EAAE,GAAG,MAAM;0BAOjB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBxB,CAAC"}
@@ -0,0 +1,54 @@
1
+ import { Entity } from 'electrodb';
2
+ export declare const resourceEntity: Entity<string, string, string, {
3
+ model: {
4
+ entity: string;
5
+ version: string;
6
+ service: string;
7
+ };
8
+ attributes: {
9
+ id: {
10
+ type: "string";
11
+ required: true;
12
+ };
13
+ workingMemory: {
14
+ type: "string";
15
+ required: false;
16
+ };
17
+ metadata: {
18
+ type: "string";
19
+ required: false;
20
+ set: (value?: string | void | undefined) => string | void;
21
+ get: (value?: string) => any;
22
+ };
23
+ createdAt: {
24
+ readonly type: "string";
25
+ readonly required: true;
26
+ readonly readOnly: true;
27
+ readonly set: (value?: Date | string) => string;
28
+ readonly default: () => string;
29
+ };
30
+ updatedAt: {
31
+ readonly type: "string";
32
+ readonly required: true;
33
+ readonly set: (value?: Date | string) => string;
34
+ readonly default: () => string;
35
+ };
36
+ entity: {
37
+ type: "string";
38
+ required: true;
39
+ };
40
+ };
41
+ indexes: {
42
+ primary: {
43
+ pk: {
44
+ field: string;
45
+ composite: ("entity" | "id")[];
46
+ };
47
+ sk: {
48
+ field: string;
49
+ composite: "entity"[];
50
+ };
51
+ };
52
+ };
53
+ }>;
54
+ //# sourceMappingURL=resource.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resource.d.ts","sourceRoot":"","sources":["../../src/entities/resource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAGnC,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;0BA+BP,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBxB,CAAC"}
@@ -0,0 +1,229 @@
1
+ import { Entity } from 'electrodb';
2
+ export declare const scoreEntity: Entity<string, string, string, {
3
+ model: {
4
+ entity: string;
5
+ version: string;
6
+ service: string;
7
+ };
8
+ attributes: {
9
+ id: {
10
+ type: "string";
11
+ required: true;
12
+ };
13
+ scorerId: {
14
+ type: "string";
15
+ required: true;
16
+ };
17
+ traceId: {
18
+ type: "string";
19
+ required: false;
20
+ };
21
+ runId: {
22
+ type: "string";
23
+ required: true;
24
+ };
25
+ scorer: {
26
+ type: "string";
27
+ required: true;
28
+ set: (value?: Record<string, unknown> | string) => string | undefined;
29
+ get: (value?: string) => any;
30
+ };
31
+ extractStepResult: {
32
+ type: "string";
33
+ required: false;
34
+ set: (value?: Record<string, unknown> | string) => string | undefined;
35
+ get: (value?: string) => any;
36
+ };
37
+ preprocessStepResult: {
38
+ type: "string";
39
+ required: false;
40
+ set: (value?: Record<string, unknown> | string) => string | undefined;
41
+ get: (value?: string) => any;
42
+ };
43
+ analyzeStepResult: {
44
+ type: "string";
45
+ required: false;
46
+ set: (value?: Record<string, unknown> | string) => string | undefined;
47
+ get: (value?: string) => any;
48
+ };
49
+ score: {
50
+ type: "number";
51
+ required: true;
52
+ };
53
+ reason: {
54
+ type: "string";
55
+ required: false;
56
+ };
57
+ extractPrompt: {
58
+ type: "string";
59
+ required: false;
60
+ };
61
+ analyzePrompt: {
62
+ type: "string";
63
+ required: false;
64
+ };
65
+ reasonPrompt: {
66
+ type: "string";
67
+ required: false;
68
+ };
69
+ generateScorePrompt: {
70
+ type: "string";
71
+ required: false;
72
+ };
73
+ generateReasonPrompt: {
74
+ type: "string";
75
+ required: false;
76
+ };
77
+ input: {
78
+ type: "string";
79
+ required: true;
80
+ set: (value?: Record<string, unknown> | string) => string | undefined;
81
+ get: (value?: string) => any;
82
+ };
83
+ output: {
84
+ type: "string";
85
+ required: true;
86
+ set: (value?: Record<string, unknown> | string) => string | undefined;
87
+ get: (value?: string) => any;
88
+ };
89
+ additionalContext: {
90
+ type: "string";
91
+ required: false;
92
+ set: (value?: Record<string, unknown> | string) => string | undefined;
93
+ get: (value?: string) => any;
94
+ };
95
+ runtimeContext: {
96
+ type: "string";
97
+ required: false;
98
+ set: (value?: Record<string, unknown> | string) => string | undefined;
99
+ get: (value?: string) => any;
100
+ };
101
+ entityType: {
102
+ type: "string";
103
+ required: false;
104
+ };
105
+ entityData: {
106
+ type: "string";
107
+ required: false;
108
+ set: (value?: Record<string, unknown> | string) => string | undefined;
109
+ get: (value?: string) => any;
110
+ };
111
+ entityId: {
112
+ type: "string";
113
+ required: false;
114
+ };
115
+ source: {
116
+ type: "string";
117
+ required: true;
118
+ };
119
+ resourceId: {
120
+ type: "string";
121
+ required: false;
122
+ };
123
+ threadId: {
124
+ type: "string";
125
+ required: false;
126
+ };
127
+ createdAt: {
128
+ readonly type: "string";
129
+ readonly required: true;
130
+ readonly readOnly: true;
131
+ readonly set: (value?: Date | string) => string;
132
+ readonly default: () => string;
133
+ };
134
+ updatedAt: {
135
+ readonly type: "string";
136
+ readonly required: true;
137
+ readonly set: (value?: Date | string) => string;
138
+ readonly default: () => string;
139
+ };
140
+ metadata: {
141
+ readonly type: "string";
142
+ readonly set: (value?: Record<string, unknown> | string) => string | undefined;
143
+ readonly get: (value?: string) => any;
144
+ };
145
+ entity: {
146
+ type: "string";
147
+ required: true;
148
+ };
149
+ };
150
+ indexes: {
151
+ primary: {
152
+ pk: {
153
+ field: string;
154
+ composite: ("entity" | "id")[];
155
+ };
156
+ sk: {
157
+ field: string;
158
+ composite: "entity"[];
159
+ };
160
+ };
161
+ byScorer: {
162
+ index: string;
163
+ pk: {
164
+ field: string;
165
+ composite: ("entity" | "scorerId")[];
166
+ };
167
+ sk: {
168
+ field: string;
169
+ composite: "createdAt"[];
170
+ };
171
+ };
172
+ byRun: {
173
+ index: string;
174
+ pk: {
175
+ field: string;
176
+ composite: ("entity" | "runId")[];
177
+ };
178
+ sk: {
179
+ field: string;
180
+ composite: "createdAt"[];
181
+ };
182
+ };
183
+ byTrace: {
184
+ index: string;
185
+ pk: {
186
+ field: string;
187
+ composite: ("entity" | "traceId")[];
188
+ };
189
+ sk: {
190
+ field: string;
191
+ composite: "createdAt"[];
192
+ };
193
+ };
194
+ byEntityData: {
195
+ index: string;
196
+ pk: {
197
+ field: string;
198
+ composite: ("entity" | "entityId")[];
199
+ };
200
+ sk: {
201
+ field: string;
202
+ composite: "createdAt"[];
203
+ };
204
+ };
205
+ byResource: {
206
+ index: string;
207
+ pk: {
208
+ field: string;
209
+ composite: ("entity" | "resourceId")[];
210
+ };
211
+ sk: {
212
+ field: string;
213
+ composite: "createdAt"[];
214
+ };
215
+ };
216
+ byThread: {
217
+ index: string;
218
+ pk: {
219
+ field: string;
220
+ composite: ("entity" | "threadId")[];
221
+ };
222
+ sk: {
223
+ field: string;
224
+ composite: "createdAt"[];
225
+ };
226
+ };
227
+ };
228
+ }>;
229
+ //# sourceMappingURL=score.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"score.d.ts","sourceRoot":"","sources":["../../src/entities/score.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAGnC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;0BA+BJ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM;0BAMhC,MAAM;;;;;0BAgBN,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM;0BAMhC,MAAM;;;;;0BAgBN,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM;0BAMhC,MAAM;;;;;0BAgBN,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM;0BAMhC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BA8CN,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM;0BAMhC,MAAM;;;;;0BAgBN,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM;0BAMhC,MAAM;;;;;0BAgBN,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM;0BAMhC,MAAM;;;;;0BAgBN,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM;0BAMhC,MAAM;;;;;;;;;0BAoBN,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM;0BAMhC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkExB,CAAC"}
@@ -0,0 +1,69 @@
1
+ import { Entity } from 'electrodb';
2
+ export declare const threadEntity: Entity<string, string, string, {
3
+ model: {
4
+ entity: string;
5
+ version: string;
6
+ service: string;
7
+ };
8
+ attributes: {
9
+ id: {
10
+ type: "string";
11
+ required: true;
12
+ };
13
+ resourceId: {
14
+ type: "string";
15
+ required: true;
16
+ };
17
+ title: {
18
+ type: "string";
19
+ required: true;
20
+ };
21
+ metadata: {
22
+ type: "string";
23
+ required: false;
24
+ set: (value?: Record<string, unknown> | string) => string | undefined;
25
+ get: (value?: string) => any;
26
+ };
27
+ createdAt: {
28
+ readonly type: "string";
29
+ readonly required: true;
30
+ readonly readOnly: true;
31
+ readonly set: (value?: Date | string) => string;
32
+ readonly default: () => string;
33
+ };
34
+ updatedAt: {
35
+ readonly type: "string";
36
+ readonly required: true;
37
+ readonly set: (value?: Date | string) => string;
38
+ readonly default: () => string;
39
+ };
40
+ entity: {
41
+ type: "string";
42
+ required: true;
43
+ };
44
+ };
45
+ indexes: {
46
+ primary: {
47
+ pk: {
48
+ field: string;
49
+ composite: ("entity" | "id")[];
50
+ };
51
+ sk: {
52
+ field: string;
53
+ composite: "id"[];
54
+ };
55
+ };
56
+ byResource: {
57
+ index: string;
58
+ pk: {
59
+ field: string;
60
+ composite: ("entity" | "resourceId")[];
61
+ };
62
+ sk: {
63
+ field: string;
64
+ composite: "createdAt"[];
65
+ };
66
+ };
67
+ };
68
+ }>;
69
+ //# sourceMappingURL=thread.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../src/entities/thread.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAGnC,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;0BA4BL,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM;0BAOhC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BxB,CAAC"}
@@ -0,0 +1,127 @@
1
+ import { Entity } from 'electrodb';
2
+ export declare const traceEntity: Entity<string, string, string, {
3
+ model: {
4
+ entity: string;
5
+ version: string;
6
+ service: string;
7
+ };
8
+ attributes: {
9
+ id: {
10
+ type: "string";
11
+ required: true;
12
+ };
13
+ parentSpanId: {
14
+ type: "string";
15
+ required: false;
16
+ };
17
+ name: {
18
+ type: "string";
19
+ required: true;
20
+ };
21
+ traceId: {
22
+ type: "string";
23
+ required: true;
24
+ };
25
+ scope: {
26
+ type: "string";
27
+ required: true;
28
+ };
29
+ kind: {
30
+ type: "number";
31
+ required: true;
32
+ };
33
+ attributes: {
34
+ type: "string";
35
+ required: false;
36
+ set: (value?: any) => any;
37
+ get: (value?: string) => any;
38
+ };
39
+ status: {
40
+ type: "string";
41
+ required: false;
42
+ set: (value?: any) => any;
43
+ get: (value?: string) => string | undefined;
44
+ };
45
+ events: {
46
+ type: "string";
47
+ required: false;
48
+ set: (value?: any) => any;
49
+ get: (value?: string) => string | undefined;
50
+ };
51
+ links: {
52
+ type: "string";
53
+ required: false;
54
+ set: (value?: any) => any;
55
+ get: (value?: string) => string | undefined;
56
+ };
57
+ other: {
58
+ type: "string";
59
+ required: false;
60
+ };
61
+ startTime: {
62
+ type: "number";
63
+ required: true;
64
+ };
65
+ endTime: {
66
+ type: "number";
67
+ required: true;
68
+ };
69
+ createdAt: {
70
+ readonly type: "string";
71
+ readonly required: true;
72
+ readonly readOnly: true;
73
+ readonly set: (value?: Date | string) => string;
74
+ readonly default: () => string;
75
+ };
76
+ updatedAt: {
77
+ readonly type: "string";
78
+ readonly required: true;
79
+ readonly set: (value?: Date | string) => string;
80
+ readonly default: () => string;
81
+ };
82
+ metadata: {
83
+ readonly type: "string";
84
+ readonly set: (value?: Record<string, unknown> | string) => string | undefined;
85
+ readonly get: (value?: string) => any;
86
+ };
87
+ entity: {
88
+ type: "string";
89
+ required: true;
90
+ };
91
+ };
92
+ indexes: {
93
+ primary: {
94
+ pk: {
95
+ field: string;
96
+ composite: ("entity" | "id")[];
97
+ };
98
+ sk: {
99
+ field: string;
100
+ composite: never[];
101
+ };
102
+ };
103
+ byName: {
104
+ index: string;
105
+ pk: {
106
+ field: string;
107
+ composite: ("entity" | "name")[];
108
+ };
109
+ sk: {
110
+ field: string;
111
+ composite: "startTime"[];
112
+ };
113
+ };
114
+ byScope: {
115
+ index: string;
116
+ pk: {
117
+ field: string;
118
+ composite: ("entity" | "scope")[];
119
+ };
120
+ sk: {
121
+ field: string;
122
+ composite: "startTime"[];
123
+ };
124
+ };
125
+ };
126
+ }>;
127
+ //# sourceMappingURL=trace.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trace.d.ts","sourceRoot":"","sources":["../../src/entities/trace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAGnC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAwCJ,GAAG;0BAOH,MAAM;;;;;0BAQN,GAAG;0BAOH,MAAM;;;;;0BAQN,GAAG;0BAOH,MAAM;;;;;0BAQN,GAAG;0BAOH,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiCxB,CAAC"}
@@ -0,0 +1,21 @@
1
+ export declare const baseAttributes: {
2
+ readonly createdAt: {
3
+ readonly type: "string";
4
+ readonly required: true;
5
+ readonly readOnly: true;
6
+ readonly set: (value?: Date | string) => string;
7
+ readonly default: () => string;
8
+ };
9
+ readonly updatedAt: {
10
+ readonly type: "string";
11
+ readonly required: true;
12
+ readonly set: (value?: Date | string) => string;
13
+ readonly default: () => string;
14
+ };
15
+ readonly metadata: {
16
+ readonly type: "string";
17
+ readonly set: (value?: Record<string, unknown> | string) => string | undefined;
18
+ readonly get: (value?: string) => any;
19
+ };
20
+ };
21
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/entities/utils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc;;;;;+BAMT,IAAI,GAAG,MAAM;;;;;;+BAab,IAAI,GAAG,MAAM;;;;;+BAYb,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM;+BAOhC,MAAM;;CAYd,CAAC"}