@mastra/dynamodb 0.0.0-pass-headers-for-create-mastra-client-20250530010057 → 0.0.0-playground-studio-cloud-20251031080052

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 (51) hide show
  1. package/CHANGELOG.md +1074 -0
  2. package/LICENSE.md +11 -42
  3. package/README.md +0 -4
  4. package/dist/entities/eval.d.ts +102 -0
  5. package/dist/entities/eval.d.ts.map +1 -0
  6. package/dist/entities/index.d.ts +761 -0
  7. package/dist/entities/index.d.ts.map +1 -0
  8. package/dist/entities/message.d.ts +100 -0
  9. package/dist/entities/message.d.ts.map +1 -0
  10. package/dist/entities/resource.d.ts +54 -0
  11. package/dist/entities/resource.d.ts.map +1 -0
  12. package/dist/entities/score.d.ts +244 -0
  13. package/dist/entities/score.d.ts.map +1 -0
  14. package/dist/entities/thread.d.ts +69 -0
  15. package/dist/entities/thread.d.ts.map +1 -0
  16. package/dist/entities/trace.d.ts +127 -0
  17. package/dist/entities/trace.d.ts.map +1 -0
  18. package/dist/entities/utils.d.ts +21 -0
  19. package/dist/entities/utils.d.ts.map +1 -0
  20. package/dist/entities/workflow-snapshot.d.ts +74 -0
  21. package/dist/entities/workflow-snapshot.d.ts.map +1 -0
  22. package/dist/index.cjs +2182 -508
  23. package/dist/index.cjs.map +1 -0
  24. package/dist/index.d.ts +2 -0
  25. package/dist/index.d.ts.map +1 -0
  26. package/dist/index.js +2142 -468
  27. package/dist/index.js.map +1 -0
  28. package/dist/storage/domains/legacy-evals/index.d.ts +19 -0
  29. package/dist/storage/domains/legacy-evals/index.d.ts.map +1 -0
  30. package/dist/storage/domains/memory/index.d.ts +89 -0
  31. package/dist/storage/domains/memory/index.d.ts.map +1 -0
  32. package/dist/storage/domains/operations/index.d.ts +69 -0
  33. package/dist/storage/domains/operations/index.d.ts.map +1 -0
  34. package/dist/storage/domains/score/index.d.ts +51 -0
  35. package/dist/storage/domains/score/index.d.ts.map +1 -0
  36. package/dist/storage/domains/workflows/index.d.ts +51 -0
  37. package/dist/storage/domains/workflows/index.d.ts.map +1 -0
  38. package/dist/storage/index.d.ts +244 -0
  39. package/dist/storage/index.d.ts.map +1 -0
  40. package/package.json +43 -19
  41. package/src/entities/eval.ts +0 -102
  42. package/src/entities/index.ts +0 -23
  43. package/src/entities/message.ts +0 -143
  44. package/src/entities/thread.ts +0 -66
  45. package/src/entities/trace.ts +0 -129
  46. package/src/entities/utils.ts +0 -51
  47. package/src/entities/workflow-snapshot.ts +0 -56
  48. package/src/index.ts +0 -1
  49. package/src/storage/docker-compose.yml +0 -16
  50. package/src/storage/index.test.ts +0 -1053
  51. package/src/storage/index.ts +0 -1059
@@ -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,244 @@
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
+ spanId: {
22
+ type: "string";
23
+ required: false;
24
+ };
25
+ runId: {
26
+ type: "string";
27
+ required: true;
28
+ };
29
+ scorer: {
30
+ type: "string";
31
+ required: true;
32
+ set: (value?: Record<string, unknown> | string) => string | undefined;
33
+ get: (value?: string) => any;
34
+ };
35
+ extractStepResult: {
36
+ type: "string";
37
+ required: false;
38
+ set: (value?: Record<string, unknown> | string) => string | undefined;
39
+ get: (value?: string) => any;
40
+ };
41
+ preprocessStepResult: {
42
+ type: "string";
43
+ required: false;
44
+ set: (value?: Record<string, unknown> | string) => string | undefined;
45
+ get: (value?: string) => any;
46
+ };
47
+ analyzeStepResult: {
48
+ type: "string";
49
+ required: false;
50
+ set: (value?: Record<string, unknown> | string) => string | undefined;
51
+ get: (value?: string) => any;
52
+ };
53
+ score: {
54
+ type: "number";
55
+ required: true;
56
+ };
57
+ reason: {
58
+ type: "string";
59
+ required: false;
60
+ };
61
+ extractPrompt: {
62
+ type: "string";
63
+ required: false;
64
+ };
65
+ analyzePrompt: {
66
+ type: "string";
67
+ required: false;
68
+ };
69
+ reasonPrompt: {
70
+ type: "string";
71
+ required: false;
72
+ };
73
+ generateScorePrompt: {
74
+ type: "string";
75
+ required: false;
76
+ };
77
+ generateReasonPrompt: {
78
+ type: "string";
79
+ required: false;
80
+ };
81
+ input: {
82
+ type: "string";
83
+ required: true;
84
+ set: (value?: Record<string, unknown> | string) => string | undefined;
85
+ get: (value?: string) => any;
86
+ };
87
+ output: {
88
+ type: "string";
89
+ required: true;
90
+ set: (value?: Record<string, unknown> | string) => string | undefined;
91
+ get: (value?: string) => any;
92
+ };
93
+ additionalContext: {
94
+ type: "string";
95
+ required: false;
96
+ set: (value?: Record<string, unknown> | string) => string | undefined;
97
+ get: (value?: string) => any;
98
+ };
99
+ runtimeContext: {
100
+ type: "string";
101
+ required: false;
102
+ set: (value?: Record<string, unknown> | string) => string | undefined;
103
+ get: (value?: string) => any;
104
+ };
105
+ entityType: {
106
+ type: "string";
107
+ required: false;
108
+ };
109
+ entityData: {
110
+ type: "string";
111
+ required: false;
112
+ set: (value?: Record<string, unknown> | string) => string | undefined;
113
+ get: (value?: string) => any;
114
+ };
115
+ entityId: {
116
+ type: "string";
117
+ required: false;
118
+ };
119
+ source: {
120
+ type: "string";
121
+ required: true;
122
+ };
123
+ resourceId: {
124
+ type: "string";
125
+ required: false;
126
+ };
127
+ threadId: {
128
+ type: "string";
129
+ required: false;
130
+ };
131
+ createdAt: {
132
+ readonly type: "string";
133
+ readonly required: true;
134
+ readonly readOnly: true;
135
+ readonly set: (value?: Date | string) => string;
136
+ readonly default: () => string;
137
+ };
138
+ updatedAt: {
139
+ readonly type: "string";
140
+ readonly required: true;
141
+ readonly set: (value?: Date | string) => string;
142
+ readonly default: () => string;
143
+ };
144
+ metadata: {
145
+ readonly type: "string";
146
+ readonly set: (value?: Record<string, unknown> | string) => string | undefined;
147
+ readonly get: (value?: string) => any;
148
+ };
149
+ entity: {
150
+ type: "string";
151
+ required: true;
152
+ };
153
+ };
154
+ indexes: {
155
+ primary: {
156
+ pk: {
157
+ field: string;
158
+ composite: ("entity" | "id")[];
159
+ };
160
+ sk: {
161
+ field: string;
162
+ composite: "entity"[];
163
+ };
164
+ };
165
+ byScorer: {
166
+ index: string;
167
+ pk: {
168
+ field: string;
169
+ composite: ("entity" | "scorerId")[];
170
+ };
171
+ sk: {
172
+ field: string;
173
+ composite: "createdAt"[];
174
+ };
175
+ };
176
+ byRun: {
177
+ index: string;
178
+ pk: {
179
+ field: string;
180
+ composite: ("entity" | "runId")[];
181
+ };
182
+ sk: {
183
+ field: string;
184
+ composite: "createdAt"[];
185
+ };
186
+ };
187
+ byTrace: {
188
+ index: string;
189
+ pk: {
190
+ field: string;
191
+ composite: ("entity" | "traceId")[];
192
+ };
193
+ sk: {
194
+ field: string;
195
+ composite: "createdAt"[];
196
+ };
197
+ };
198
+ byEntityData: {
199
+ index: string;
200
+ pk: {
201
+ field: string;
202
+ composite: ("entity" | "entityId")[];
203
+ };
204
+ sk: {
205
+ field: string;
206
+ composite: "createdAt"[];
207
+ };
208
+ };
209
+ byResource: {
210
+ index: string;
211
+ pk: {
212
+ field: string;
213
+ composite: ("entity" | "resourceId")[];
214
+ };
215
+ sk: {
216
+ field: string;
217
+ composite: "createdAt"[];
218
+ };
219
+ };
220
+ byThread: {
221
+ index: string;
222
+ pk: {
223
+ field: string;
224
+ composite: ("entity" | "threadId")[];
225
+ };
226
+ sk: {
227
+ field: string;
228
+ composite: "createdAt"[];
229
+ };
230
+ };
231
+ bySpan: {
232
+ index: string;
233
+ pk: {
234
+ field: string;
235
+ composite: ("entity" | "traceId" | "spanId")[];
236
+ };
237
+ sk: {
238
+ field: string;
239
+ composite: "createdAt"[];
240
+ };
241
+ };
242
+ };
243
+ }>;
244
+ //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAmCJ,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuExB,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"}