@nivaro/react 0.1.289 → 0.1.291
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/full.css +1 -1
- package/dist/index.d.ts +24 -7
- package/dist/index.js +23325 -23057
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -352,6 +352,13 @@ export declare interface BannerLine {
|
|
|
352
352
|
text: string;
|
|
353
353
|
obligation_id: number;
|
|
354
354
|
outcome: string;
|
|
355
|
+
/** The submission this obligation tracks (null for a `missing` row). */
|
|
356
|
+
submission_id: number | null;
|
|
357
|
+
/** The transition that owns a transition-triggered obligation — the
|
|
358
|
+
* actionable fix is to run it again (after fixing what the partner
|
|
359
|
+
* rejected). Null for hook / flow / cron obligations. */
|
|
360
|
+
transition_id: string | null;
|
|
361
|
+
transition_label: string | null;
|
|
355
362
|
}
|
|
356
363
|
|
|
357
364
|
/** Newest obligation per partner, in the words the record's reader needs:
|
|
@@ -1480,12 +1487,17 @@ export declare type ExprNode = {
|
|
|
1480
1487
|
export declare type ExprValue = number | string | boolean | null;
|
|
1481
1488
|
|
|
1482
1489
|
/**
|
|
1483
|
-
* Item-header chip
|
|
1484
|
-
*
|
|
1485
|
-
*
|
|
1486
|
-
*
|
|
1487
|
-
*
|
|
1488
|
-
*
|
|
1490
|
+
* Item-header "Integrations" chip: one dot per partner (was it told —
|
|
1491
|
+
* obligations — else the newest request's outcome), a green badge for
|
|
1492
|
+
* partners told OK and a red badge for what a person must act on (a partner
|
|
1493
|
+
* not told, a failed send). Click for the popup: the partner-status lines
|
|
1494
|
+
* (told / never told / send now — the rows the record body used to carry
|
|
1495
|
+
* as a banner; Rob 2026-09-24: "move the integration slot into the
|
|
1496
|
+
* Integrations button popup") above the full request/response log (each
|
|
1497
|
+
* request drills into every attempt). Always renders: a skeleton while
|
|
1498
|
+
* loading, a quiet 'No external requests' when there is nothing to say.
|
|
1499
|
+
* Shares the ['erp-submissions', …] and ['integration-obligations','record',…]
|
|
1500
|
+
* caches, so transition writebacks and retries refresh it.
|
|
1489
1501
|
*/
|
|
1490
1502
|
export declare function ExternalRequestsChip({ collection, itemId }: {
|
|
1491
1503
|
collection: string;
|
|
@@ -5019,6 +5031,9 @@ declare interface Row {
|
|
|
5019
5031
|
/** The kind's human label from the registry ("Fusion — transfer order
|
|
5020
5032
|
* submitted"); null when the server no longer knows the kind. */
|
|
5021
5033
|
label?: string | null;
|
|
5034
|
+
submission_id?: number | null;
|
|
5035
|
+
transition_id?: string | null;
|
|
5036
|
+
transition_label?: string | null;
|
|
5022
5037
|
}
|
|
5023
5038
|
|
|
5024
5039
|
export declare const ROW_HIGHLIGHT_TINTS: Record<string, {
|
|
@@ -5403,13 +5418,15 @@ export declare function startRum(opts?: {
|
|
|
5403
5418
|
apiBase?: string;
|
|
5404
5419
|
}): void;
|
|
5405
5420
|
|
|
5406
|
-
export declare function SubmissionRow({ sub, onRetry, retrying, onShowPath }: {
|
|
5421
|
+
export declare function SubmissionRow({ sub, onRetry, retrying, onShowPath, initialOpen }: {
|
|
5407
5422
|
sub: ErpSubmission;
|
|
5408
5423
|
onRetry: (id: number) => void;
|
|
5409
5424
|
retrying: boolean;
|
|
5410
5425
|
/** Opens the full integration path (write → transition → push → reply)
|
|
5411
5426
|
* behind this submission. Absent = no "Show path" action. */
|
|
5412
5427
|
onShowPath?: (id: number) => void;
|
|
5428
|
+
/** Start expanded — a partner line's "View error" lands on this row open. */
|
|
5429
|
+
initialOpen?: boolean;
|
|
5413
5430
|
}): JSX.Element;
|
|
5414
5431
|
|
|
5415
5432
|
/** A submission / attempt status, as a small tinted chip. */
|