@supernova-studio/model 1.37.5 → 1.37.6
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/index.d.mts +59 -20
- package/dist/index.d.ts +59 -20
- package/dist/index.js +11 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -307,6 +307,12 @@ var ForgeChatMessageSender = z14.discriminatedUnion("type", [
|
|
|
307
307
|
z14.object({ type: z14.literal(ForgeChatMessageSenderType.Values.FunctionCallInput) }),
|
|
308
308
|
z14.object({ type: z14.literal(ForgeChatMessageSenderType.Values.FunctionCallOutput) })
|
|
309
309
|
]);
|
|
310
|
+
var ForgeChatMessageUserScoreType = z14.enum(["Positive", "Negative"]);
|
|
311
|
+
var ForgeChatMessageUserScore = z14.object({
|
|
312
|
+
type: ForgeChatMessageUserScoreType,
|
|
313
|
+
tags: z14.string().array(),
|
|
314
|
+
comment: z14.string().optional()
|
|
315
|
+
});
|
|
310
316
|
var ForgeChatMessage = z14.object({
|
|
311
317
|
id: z14.string(),
|
|
312
318
|
threadId: z14.string(),
|
|
@@ -314,7 +320,8 @@ var ForgeChatMessage = z14.object({
|
|
|
314
320
|
createdAt: z14.coerce.date(),
|
|
315
321
|
updatedAt: z14.coerce.date(),
|
|
316
322
|
opikTraceId: z14.string().optional(),
|
|
317
|
-
sender: ForgeChatMessageSender
|
|
323
|
+
sender: ForgeChatMessageSender,
|
|
324
|
+
userScore: ForgeChatMessageUserScore.optional()
|
|
318
325
|
});
|
|
319
326
|
|
|
320
327
|
// src/chat-threads/chat-thread.ts
|
|
@@ -7020,6 +7027,8 @@ export {
|
|
|
7020
7027
|
ForgeChatMessage,
|
|
7021
7028
|
ForgeChatMessageSender,
|
|
7022
7029
|
ForgeChatMessageSenderType,
|
|
7030
|
+
ForgeChatMessageUserScore,
|
|
7031
|
+
ForgeChatMessageUserScoreType,
|
|
7023
7032
|
ForgeChatThread,
|
|
7024
7033
|
ForgeFeatureRoom,
|
|
7025
7034
|
ForgeFigmaArtifact,
|