@mastra/clickhouse 1.29.0-alpha.1 → 1.30.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.
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +68 -2
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/storage/domains/observability/v-next/helpers.d.ts.map +1 -1
- package/package.json +8 -8
package/dist/docs/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: mastra-clickhouse
|
|
|
3
3
|
description: Documentation for @mastra/clickhouse. Use when working with @mastra/clickhouse APIs, configuration, or implementation.
|
|
4
4
|
metadata:
|
|
5
5
|
package: "@mastra/clickhouse"
|
|
6
|
-
version: "1.
|
|
6
|
+
version: "1.30.0-alpha.0"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## When to use
|
|
@@ -1,6 +1,72 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.30.0-alpha.0",
|
|
3
3
|
"package": "@mastra/clickhouse",
|
|
4
|
-
"exports": {
|
|
4
|
+
"exports": {
|
|
5
|
+
"COLUMN_TYPES": {
|
|
6
|
+
"types": "dist/storage/db/utils.d.ts",
|
|
7
|
+
"implementation": "dist/index.js",
|
|
8
|
+
"line": 286
|
|
9
|
+
},
|
|
10
|
+
"ClickhouseStore": {
|
|
11
|
+
"types": "dist/storage/index.d.ts",
|
|
12
|
+
"implementation": "dist/index.js",
|
|
13
|
+
"line": 11892
|
|
14
|
+
},
|
|
15
|
+
"ClickhouseStoreVNext": {
|
|
16
|
+
"types": "dist/storage/index.d.ts",
|
|
17
|
+
"implementation": "dist/index.js",
|
|
18
|
+
"line": 12008
|
|
19
|
+
},
|
|
20
|
+
"MemoryStorageClickhouse": {
|
|
21
|
+
"types": "dist/storage/domains/memory/index.d.ts",
|
|
22
|
+
"implementation": "dist/index.js",
|
|
23
|
+
"line": 890
|
|
24
|
+
},
|
|
25
|
+
"ObservabilityStorageClickhouse": {
|
|
26
|
+
"types": "dist/storage/domains/observability/index.d.ts",
|
|
27
|
+
"implementation": "dist/index.js",
|
|
28
|
+
"line": 1992
|
|
29
|
+
},
|
|
30
|
+
"ObservabilityStorageClickhouseVNext": {
|
|
31
|
+
"types": "dist/storage/domains/observability/v-next/index.d.ts",
|
|
32
|
+
"implementation": "dist/index.js",
|
|
33
|
+
"line": 10325
|
|
34
|
+
},
|
|
35
|
+
"ScoresStorageClickhouse": {
|
|
36
|
+
"types": "dist/storage/domains/scores/index.d.ts",
|
|
37
|
+
"implementation": "dist/index.js",
|
|
38
|
+
"line": 11196
|
|
39
|
+
},
|
|
40
|
+
"TABLE_DELETION_REQUESTS": {
|
|
41
|
+
"types": "dist/storage/domains/observability/v-next/ddl.d.ts",
|
|
42
|
+
"implementation": "dist/index.js",
|
|
43
|
+
"line": 2608
|
|
44
|
+
},
|
|
45
|
+
"TABLE_ENGINES": {
|
|
46
|
+
"types": "dist/storage/db/utils.d.ts",
|
|
47
|
+
"implementation": "dist/index.js",
|
|
48
|
+
"line": 212
|
|
49
|
+
},
|
|
50
|
+
"WorkflowsStorageClickhouse": {
|
|
51
|
+
"types": "dist/storage/domains/workflows/index.d.ts",
|
|
52
|
+
"implementation": "dist/index.js",
|
|
53
|
+
"line": 11597
|
|
54
|
+
},
|
|
55
|
+
"applyClickHouseRetention": {
|
|
56
|
+
"types": "dist/storage/domains/observability/v-next/index.d.ts",
|
|
57
|
+
"implementation": "dist/index.js",
|
|
58
|
+
"line": 10150
|
|
59
|
+
},
|
|
60
|
+
"markDeletionRequestApplied": {
|
|
61
|
+
"types": "dist/storage/domains/observability/v-next/deletion-requests.d.ts",
|
|
62
|
+
"implementation": "dist/index.js",
|
|
63
|
+
"line": 4578
|
|
64
|
+
},
|
|
65
|
+
"recordDeletionRequest": {
|
|
66
|
+
"types": "dist/storage/domains/observability/v-next/deletion-requests.d.ts",
|
|
67
|
+
"implementation": "dist/index.js",
|
|
68
|
+
"line": 4553
|
|
69
|
+
}
|
|
70
|
+
},
|
|
5
71
|
"modules": {}
|
|
6
72
|
}
|
package/dist/index.cjs
CHANGED
|
@@ -4484,7 +4484,7 @@ function scoreRecordToRow(score) {
|
|
|
4484
4484
|
function rowToFeedbackRecord(row) {
|
|
4485
4485
|
const hasNumber = row.valueNumber != null;
|
|
4486
4486
|
const feedbackSource = nullableString(row.feedbackSource);
|
|
4487
|
-
const feedbackUserId = nullableString(row.feedbackUserId)
|
|
4487
|
+
const feedbackUserId = row.feedbackUserId !== void 0 ? nullableString(row.feedbackUserId) : nullableString(row.userId);
|
|
4488
4488
|
return {
|
|
4489
4489
|
feedbackId: row.feedbackId,
|
|
4490
4490
|
timestamp: toDate(row.timestamp),
|
|
@@ -4528,7 +4528,7 @@ function rowToFeedbackRecord(row) {
|
|
|
4528
4528
|
function feedbackRecordToRow(feedback) {
|
|
4529
4529
|
const metadata = feedback.metadata ?? null;
|
|
4530
4530
|
const feedbackSource = feedback.feedbackSource ?? feedback.source ?? "";
|
|
4531
|
-
const feedbackUserId = feedback.feedbackUserId
|
|
4531
|
+
const feedbackUserId = feedback.feedbackUserId !== void 0 ? feedback.feedbackUserId : feedback.userId ?? null;
|
|
4532
4532
|
return {
|
|
4533
4533
|
feedbackId: feedback.feedbackId,
|
|
4534
4534
|
timestamp: toISOString(feedback.timestamp),
|
|
@@ -4547,7 +4547,7 @@ function feedbackRecordToRow(feedback) {
|
|
|
4547
4547
|
rootEntityType: feedback.rootEntityType ?? null,
|
|
4548
4548
|
rootEntityId: feedback.rootEntityId ?? null,
|
|
4549
4549
|
rootEntityName: feedback.rootEntityName ?? null,
|
|
4550
|
-
userId:
|
|
4550
|
+
userId: feedback.userId ?? null,
|
|
4551
4551
|
organizationId: feedback.organizationId ?? null,
|
|
4552
4552
|
resourceId: feedback.resourceId ?? null,
|
|
4553
4553
|
runId: feedback.runId ?? null,
|