@sentry/junior-plugin-api 0.191.0 → 0.192.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.
@@ -73,4 +73,8 @@ export interface PluginConversationEventStats {
73
73
  days: 7 | 30 | 90;
74
74
  eventName: string;
75
75
  }): Promise<PluginConversationEventCostDay[]>;
76
+ costsByHour(input: {
77
+ eventName: string;
78
+ hours?: number;
79
+ }): Promise<PluginConversationEventCostDay[]>;
76
80
  }
@@ -78,7 +78,7 @@ export interface PluginOperationalBarChartWidget {
78
78
  emptyText?: string;
79
79
  id: string;
80
80
  series: PluginOperationalChartSeries[];
81
- timeRangeDays?: Array<7 | 30 | 90>;
81
+ timeRangeDays?: Array<1 | 7 | 30 | 90>;
82
82
  title: string;
83
83
  type: "bar_chart";
84
84
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior-plugin-api",
3
- "version": "0.191.0",
3
+ "version": "0.192.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -129,4 +129,8 @@ export interface PluginConversationEventStats {
129
129
  days: 7 | 30 | 90;
130
130
  eventName: string;
131
131
  }): Promise<PluginConversationEventCostDay[]>;
132
+ costsByHour(input: {
133
+ eventName: string;
134
+ hours?: number;
135
+ }): Promise<PluginConversationEventCostDay[]>;
132
136
  }
package/src/operations.ts CHANGED
@@ -91,7 +91,7 @@ export interface PluginOperationalBarChartWidget {
91
91
  emptyText?: string;
92
92
  id: string;
93
93
  series: PluginOperationalChartSeries[];
94
- timeRangeDays?: Array<7 | 30 | 90>;
94
+ timeRangeDays?: Array<1 | 7 | 30 | 90>;
95
95
  title: string;
96
96
  type: "bar_chart";
97
97
  }