@mastra/clickhouse 1.29.0 → 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 +2 -2
package/dist/index.js
CHANGED
|
@@ -4462,7 +4462,7 @@ function scoreRecordToRow(score) {
|
|
|
4462
4462
|
function rowToFeedbackRecord(row) {
|
|
4463
4463
|
const hasNumber = row.valueNumber != null;
|
|
4464
4464
|
const feedbackSource = nullableString(row.feedbackSource);
|
|
4465
|
-
const feedbackUserId = nullableString(row.feedbackUserId)
|
|
4465
|
+
const feedbackUserId = row.feedbackUserId !== void 0 ? nullableString(row.feedbackUserId) : nullableString(row.userId);
|
|
4466
4466
|
return {
|
|
4467
4467
|
feedbackId: row.feedbackId,
|
|
4468
4468
|
timestamp: toDate(row.timestamp),
|
|
@@ -4506,7 +4506,7 @@ function rowToFeedbackRecord(row) {
|
|
|
4506
4506
|
function feedbackRecordToRow(feedback) {
|
|
4507
4507
|
const metadata = feedback.metadata ?? null;
|
|
4508
4508
|
const feedbackSource = feedback.feedbackSource ?? feedback.source ?? "";
|
|
4509
|
-
const feedbackUserId = feedback.feedbackUserId
|
|
4509
|
+
const feedbackUserId = feedback.feedbackUserId !== void 0 ? feedback.feedbackUserId : feedback.userId ?? null;
|
|
4510
4510
|
return {
|
|
4511
4511
|
feedbackId: feedback.feedbackId,
|
|
4512
4512
|
timestamp: toISOString(feedback.timestamp),
|
|
@@ -4525,7 +4525,7 @@ function feedbackRecordToRow(feedback) {
|
|
|
4525
4525
|
rootEntityType: feedback.rootEntityType ?? null,
|
|
4526
4526
|
rootEntityId: feedback.rootEntityId ?? null,
|
|
4527
4527
|
rootEntityName: feedback.rootEntityName ?? null,
|
|
4528
|
-
userId:
|
|
4528
|
+
userId: feedback.userId ?? null,
|
|
4529
4529
|
organizationId: feedback.organizationId ?? null,
|
|
4530
4530
|
resourceId: feedback.resourceId ?? null,
|
|
4531
4531
|
runId: feedback.runId ?? null,
|