@sentry/junior-plugin-api 0.161.0 → 0.162.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/annotations.d.ts +3 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
- package/src/annotations.ts +3 -4
package/dist/annotations.d.ts
CHANGED
|
@@ -48,6 +48,7 @@ export declare const conversationSidebarIconSchema: z.ZodEnum<{
|
|
|
48
48
|
"circle-dashed": "circle-dashed";
|
|
49
49
|
"circle-x": "circle-x";
|
|
50
50
|
"git-merge": "git-merge";
|
|
51
|
+
"git-pull-request": "git-pull-request";
|
|
51
52
|
"triangle-alert": "triangle-alert";
|
|
52
53
|
}>;
|
|
53
54
|
export declare const conversationSidebarAnnotationSchema: z.ZodObject<{
|
|
@@ -56,6 +57,7 @@ export declare const conversationSidebarAnnotationSchema: z.ZodObject<{
|
|
|
56
57
|
"circle-dashed": "circle-dashed";
|
|
57
58
|
"circle-x": "circle-x";
|
|
58
59
|
"git-merge": "git-merge";
|
|
60
|
+
"git-pull-request": "git-pull-request";
|
|
59
61
|
"triangle-alert": "triangle-alert";
|
|
60
62
|
}>>;
|
|
61
63
|
key: z.ZodString;
|
|
@@ -68,5 +70,6 @@ export interface ConversationSidebarHookContext extends PluginContext {
|
|
|
68
70
|
conversationIds: string[];
|
|
69
71
|
}
|
|
70
72
|
export interface ConversationSidebarResult {
|
|
73
|
+
/** Sidebar annotations in display order. Put the newest annotation first. */
|
|
71
74
|
annotationsByConversationId: Record<string, ConversationSidebarAnnotation[]>;
|
|
72
75
|
}
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
package/src/annotations.ts
CHANGED
|
@@ -51,6 +51,7 @@ export const conversationSidebarIconSchema = z.enum([
|
|
|
51
51
|
"circle-dashed",
|
|
52
52
|
"circle-x",
|
|
53
53
|
"git-merge",
|
|
54
|
+
"git-pull-request",
|
|
54
55
|
"triangle-alert",
|
|
55
56
|
]);
|
|
56
57
|
|
|
@@ -72,8 +73,6 @@ export interface ConversationSidebarHookContext extends PluginContext {
|
|
|
72
73
|
}
|
|
73
74
|
|
|
74
75
|
export interface ConversationSidebarResult {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
ConversationSidebarAnnotation[]
|
|
78
|
-
>;
|
|
76
|
+
/** Sidebar annotations in display order. Put the newest annotation first. */
|
|
77
|
+
annotationsByConversationId: Record<string, ConversationSidebarAnnotation[]>;
|
|
79
78
|
}
|