@mastra/dynamodb 0.0.0-support-d1-client-20250701191943 → 0.0.0-suspendRuntimeContextTypeFix-20250930142630

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 (56) hide show
  1. package/CHANGELOG.md +948 -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 +2130 -489
  23. package/dist/index.cjs.map +1 -0
  24. package/dist/index.d.ts +2 -2
  25. package/dist/index.d.ts.map +1 -0
  26. package/dist/index.js +2131 -490
  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/traces/index.d.ts +28 -0
  37. package/dist/storage/domains/traces/index.d.ts.map +1 -0
  38. package/dist/storage/domains/workflows/index.d.ts +51 -0
  39. package/dist/storage/domains/workflows/index.d.ts.map +1 -0
  40. package/dist/storage/index.d.ts +259 -0
  41. package/dist/storage/index.d.ts.map +1 -0
  42. package/package.json +24 -14
  43. package/dist/_tsup-dts-rollup.d.cts +0 -1160
  44. package/dist/_tsup-dts-rollup.d.ts +0 -1160
  45. package/dist/index.d.cts +0 -2
  46. package/src/entities/eval.ts +0 -102
  47. package/src/entities/index.ts +0 -23
  48. package/src/entities/message.ts +0 -143
  49. package/src/entities/thread.ts +0 -66
  50. package/src/entities/trace.ts +0 -129
  51. package/src/entities/utils.ts +0 -51
  52. package/src/entities/workflow-snapshot.ts +0 -56
  53. package/src/index.ts +0 -1
  54. package/src/storage/docker-compose.yml +0 -16
  55. package/src/storage/index.test.ts +0 -1366
  56. package/src/storage/index.ts +0 -1383
@@ -0,0 +1,74 @@
1
+ import { Entity } from 'electrodb';
2
+ export declare const workflowSnapshotEntity: Entity<string, string, string, {
3
+ model: {
4
+ entity: string;
5
+ version: string;
6
+ service: string;
7
+ };
8
+ attributes: {
9
+ workflow_name: {
10
+ type: "string";
11
+ required: true;
12
+ };
13
+ run_id: {
14
+ type: "string";
15
+ required: true;
16
+ };
17
+ snapshot: {
18
+ type: "string";
19
+ required: true;
20
+ set: (value?: any) => any;
21
+ get: (value?: string) => any;
22
+ };
23
+ resourceId: {
24
+ type: "string";
25
+ required: false;
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
+ metadata: {
41
+ readonly type: "string";
42
+ readonly set: (value?: Record<string, unknown> | string) => string | undefined;
43
+ readonly get: (value?: string) => any;
44
+ };
45
+ entity: {
46
+ type: "string";
47
+ required: true;
48
+ };
49
+ };
50
+ indexes: {
51
+ primary: {
52
+ pk: {
53
+ field: string;
54
+ composite: ("entity" | "workflow_name")[];
55
+ };
56
+ sk: {
57
+ field: string;
58
+ composite: "run_id"[];
59
+ };
60
+ };
61
+ gsi2: {
62
+ index: string;
63
+ pk: {
64
+ field: string;
65
+ composite: ("entity" | "run_id")[];
66
+ };
67
+ sk: {
68
+ field: string;
69
+ composite: "workflow_name"[];
70
+ };
71
+ };
72
+ };
73
+ }>;
74
+ //# sourceMappingURL=workflow-snapshot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-snapshot.d.ts","sourceRoot":"","sources":["../../src/entities/workflow-snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAGnC,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;0BAwBf,GAAG;0BAOH,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBxB,CAAC"}