@sentry/junior-plugin-api 0.156.0 → 0.157.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/operations.d.ts +10 -0
- package/package.json +1 -1
- package/src/operations.ts +10 -0
package/dist/operations.d.ts
CHANGED
|
@@ -26,8 +26,18 @@ export interface UnfinishedWorkResult {
|
|
|
26
26
|
/**
|
|
27
27
|
* Candidate conversations that have any associated plugin-owned work,
|
|
28
28
|
* finished or unfinished. Omit when the plugin cannot distinguish assignment.
|
|
29
|
+
*
|
|
30
|
+
* The host uses this with unfinished work and finish times to set feed
|
|
31
|
+
* `isPriority`. Finished assigned work stays out of Priority unless the
|
|
32
|
+
* conversation has activity after the finish time.
|
|
29
33
|
*/
|
|
30
34
|
assignedConversationIds?: string[];
|
|
35
|
+
/**
|
|
36
|
+
* Latest time when all known work finished, keyed by conversation id.
|
|
37
|
+
* ISO-8601 timestamps. Used with conversation activity to decide whether
|
|
38
|
+
* finished work still belongs in Priority.
|
|
39
|
+
*/
|
|
40
|
+
finishedWorkAtByConversationId?: Record<string, string>;
|
|
31
41
|
}
|
|
32
42
|
export type PluginOperationalTone = "danger" | "good" | "neutral" | "warning";
|
|
33
43
|
export interface PluginOperationalMetric {
|
package/package.json
CHANGED
package/src/operations.ts
CHANGED
|
@@ -31,8 +31,18 @@ export interface UnfinishedWorkResult {
|
|
|
31
31
|
/**
|
|
32
32
|
* Candidate conversations that have any associated plugin-owned work,
|
|
33
33
|
* finished or unfinished. Omit when the plugin cannot distinguish assignment.
|
|
34
|
+
*
|
|
35
|
+
* The host uses this with unfinished work and finish times to set feed
|
|
36
|
+
* `isPriority`. Finished assigned work stays out of Priority unless the
|
|
37
|
+
* conversation has activity after the finish time.
|
|
34
38
|
*/
|
|
35
39
|
assignedConversationIds?: string[];
|
|
40
|
+
/**
|
|
41
|
+
* Latest time when all known work finished, keyed by conversation id.
|
|
42
|
+
* ISO-8601 timestamps. Used with conversation activity to decide whether
|
|
43
|
+
* finished work still belongs in Priority.
|
|
44
|
+
*/
|
|
45
|
+
finishedWorkAtByConversationId?: Record<string, string>;
|
|
36
46
|
}
|
|
37
47
|
|
|
38
48
|
export type PluginOperationalTone = "danger" | "good" | "neutral" | "warning";
|