@vellumai/plugin-api 0.10.11-dev.202607222129.31c06e5 → 0.10.11-dev.202607222325.35fc367
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/index.d.ts +23 -28
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1658,37 +1658,30 @@ declare interface BaseSubscriberEntry {
|
|
|
1658
1658
|
connectionId: string;
|
|
1659
1659
|
}
|
|
1660
1660
|
|
|
1661
|
-
declare
|
|
1662
|
-
type: "bookmark.created";
|
|
1663
|
-
bookmark: BookmarkSummary;
|
|
1664
|
-
}
|
|
1661
|
+
declare type BookmarkCreatedEvent = z.infer<typeof BookmarkCreatedEventSchema>;
|
|
1665
1662
|
|
|
1666
|
-
declare
|
|
1667
|
-
type: "bookmark.
|
|
1668
|
-
|
|
1669
|
-
|
|
1663
|
+
declare const BookmarkCreatedEventSchema: z.ZodObject<{
|
|
1664
|
+
type: z.ZodLiteral<"bookmark.created">;
|
|
1665
|
+
bookmark: z.ZodObject<{
|
|
1666
|
+
id: z.ZodString;
|
|
1667
|
+
messageId: z.ZodString;
|
|
1668
|
+
conversationId: z.ZodString;
|
|
1669
|
+
conversationTitle: z.ZodNullable<z.ZodString>;
|
|
1670
|
+
messagePreview: z.ZodString;
|
|
1671
|
+
messageRole: z.ZodString;
|
|
1672
|
+
messageCreatedAt: z.ZodNumber;
|
|
1673
|
+
createdAt: z.ZodNumber;
|
|
1674
|
+
}, z.core.$strip>;
|
|
1675
|
+
}, z.core.$strip>;
|
|
1670
1676
|
|
|
1671
|
-
declare type
|
|
1677
|
+
declare type BookmarkDeletedEvent = z.infer<typeof BookmarkDeletedEventSchema>;
|
|
1672
1678
|
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
declare interface BookmarkSummary {
|
|
1680
|
-
id: string;
|
|
1681
|
-
messageId: string;
|
|
1682
|
-
conversationId: string;
|
|
1683
|
-
conversationTitle: string | null;
|
|
1684
|
-
messagePreview: string;
|
|
1685
|
-
/** "user" | "assistant" — kept as a free-form string so it round-trips raw. */
|
|
1686
|
-
messageRole: string;
|
|
1687
|
-
/** Unix milliseconds. */
|
|
1688
|
-
messageCreatedAt: number;
|
|
1689
|
-
/** Unix milliseconds. */
|
|
1690
|
-
createdAt: number;
|
|
1691
|
-
}
|
|
1679
|
+
declare const BookmarkDeletedEventSchema: z.ZodObject<{
|
|
1680
|
+
type: z.ZodLiteral<"bookmark.deleted">;
|
|
1681
|
+
messageId: z.ZodString;
|
|
1682
|
+
}, z.core.$strip>;
|
|
1683
|
+
|
|
1684
|
+
declare type _BookmarksServerMessages = BookmarkCreatedEvent | BookmarkDeletedEvent;
|
|
1692
1685
|
|
|
1693
1686
|
/**
|
|
1694
1687
|
* Build a model-facing excerpt of stored message content around a query,
|
|
@@ -2640,6 +2633,8 @@ declare const DocumentPreviewSurfaceDataSchema: z.ZodObject<{
|
|
|
2640
2633
|
title: z.ZodCatch<z.ZodString>;
|
|
2641
2634
|
surfaceId: z.ZodCatch<z.ZodString>;
|
|
2642
2635
|
subtitle: z.ZodCatch<z.ZodOptional<z.ZodString>>;
|
|
2636
|
+
content: z.ZodCatch<z.ZodOptional<z.ZodString>>;
|
|
2637
|
+
mimeType: z.ZodCatch<z.ZodOptional<z.ZodString>>;
|
|
2643
2638
|
}, z.core.$strip>;
|
|
2644
2639
|
|
|
2645
2640
|
declare interface DocumentSaveResponse {
|
package/package.json
CHANGED