@rahdar/plugin-sdk 2026.10.57 → 2026.10.59
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/package.json +1 -1
- package/types/kernel/api/schema.d.ts +15 -0
- package/types/ui/notify.d.ts +8 -1
package/package.json
CHANGED
|
@@ -4918,6 +4918,12 @@ export interface components {
|
|
|
4918
4918
|
[key: string]: unknown;
|
|
4919
4919
|
};
|
|
4920
4920
|
};
|
|
4921
|
+
InDoubtView: {
|
|
4922
|
+
inDoubt: boolean;
|
|
4923
|
+
detail: string;
|
|
4924
|
+
/** Format: uuid */
|
|
4925
|
+
node: string;
|
|
4926
|
+
};
|
|
4921
4927
|
MessageActionRequest: {
|
|
4922
4928
|
positions?: string[];
|
|
4923
4929
|
filter?: string;
|
|
@@ -13511,6 +13517,15 @@ export interface operations {
|
|
|
13511
13517
|
"*/*": components["schemas"]["AffectedView"] | components["schemas"]["DryRunView"] | components["schemas"]["PartialView"];
|
|
13512
13518
|
};
|
|
13513
13519
|
};
|
|
13520
|
+
/** @description The message was sent, but the broker's confirmation never came back: it may or may not be on the broker. */
|
|
13521
|
+
202: {
|
|
13522
|
+
headers: {
|
|
13523
|
+
[name: string]: unknown;
|
|
13524
|
+
};
|
|
13525
|
+
content: {
|
|
13526
|
+
"*/*": components["schemas"]["InDoubtView"];
|
|
13527
|
+
};
|
|
13528
|
+
};
|
|
13514
13529
|
/** @description Too many requests. Wait for Retry-After seconds. */
|
|
13515
13530
|
429: {
|
|
13516
13531
|
headers: {
|
package/types/ui/notify.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ type Settles = Readonly<{
|
|
|
22
22
|
pendingId?: string;
|
|
23
23
|
}>;
|
|
24
24
|
/**
|
|
25
|
-
* One helper for the four outcomes of a mutation (pending, succeeded, failed, partial), over
|
|
25
|
+
* One helper for the four outcomes of a mutation (pending, succeeded, failed, partial), and in doubt, over
|
|
26
26
|
* Mantine's notifications, which must be mounted once at the root.
|
|
27
27
|
*
|
|
28
28
|
* <ul>
|
|
@@ -55,6 +55,13 @@ export declare const notify: {
|
|
|
55
55
|
reached: string;
|
|
56
56
|
next: string;
|
|
57
57
|
}>): string;
|
|
58
|
+
/**
|
|
59
|
+
* The action may or may not have happened: it left, and the broker's confirmation never came back. Neither a
|
|
60
|
+
* success nor a failure, so it stays until dismissed and says what to check before trying again.
|
|
61
|
+
*/
|
|
62
|
+
inDoubt({ action, subject, pendingId, detail }: Notice & Settles & Readonly<{
|
|
63
|
+
detail: string;
|
|
64
|
+
}>): string;
|
|
58
65
|
/**
|
|
59
66
|
* The action was sent for approval instead of running: it waits for a second person, and the toast links to
|
|
60
67
|
* its request. Announced politely, because nothing went wrong.
|