@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.
@@ -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
@@ -24,6 +24,7 @@ var conversationSidebarIconSchema = z.enum([
24
24
  "circle-dashed",
25
25
  "circle-x",
26
26
  "git-merge",
27
+ "git-pull-request",
27
28
  "triangle-alert"
28
29
  ]);
29
30
  var conversationSidebarAnnotationSchema = z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior-plugin-api",
3
- "version": "0.161.0",
3
+ "version": "0.162.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -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
- annotationsByConversationId: Record<
76
- string,
77
- ConversationSidebarAnnotation[]
78
- >;
76
+ /** Sidebar annotations in display order. Put the newest annotation first. */
77
+ annotationsByConversationId: Record<string, ConversationSidebarAnnotation[]>;
79
78
  }