@nivaro/react 0.1.290 → 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/index.d.ts +13 -1
- package/dist/index.js +21779 -21615
- 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:
|
|
@@ -5024,6 +5031,9 @@ declare interface Row {
|
|
|
5024
5031
|
/** The kind's human label from the registry ("Fusion — transfer order
|
|
5025
5032
|
* submitted"); null when the server no longer knows the kind. */
|
|
5026
5033
|
label?: string | null;
|
|
5034
|
+
submission_id?: number | null;
|
|
5035
|
+
transition_id?: string | null;
|
|
5036
|
+
transition_label?: string | null;
|
|
5027
5037
|
}
|
|
5028
5038
|
|
|
5029
5039
|
export declare const ROW_HIGHLIGHT_TINTS: Record<string, {
|
|
@@ -5408,13 +5418,15 @@ export declare function startRum(opts?: {
|
|
|
5408
5418
|
apiBase?: string;
|
|
5409
5419
|
}): void;
|
|
5410
5420
|
|
|
5411
|
-
export declare function SubmissionRow({ sub, onRetry, retrying, onShowPath }: {
|
|
5421
|
+
export declare function SubmissionRow({ sub, onRetry, retrying, onShowPath, initialOpen }: {
|
|
5412
5422
|
sub: ErpSubmission;
|
|
5413
5423
|
onRetry: (id: number) => void;
|
|
5414
5424
|
retrying: boolean;
|
|
5415
5425
|
/** Opens the full integration path (write → transition → push → reply)
|
|
5416
5426
|
* behind this submission. Absent = no "Show path" action. */
|
|
5417
5427
|
onShowPath?: (id: number) => void;
|
|
5428
|
+
/** Start expanded — a partner line's "View error" lands on this row open. */
|
|
5429
|
+
initialOpen?: boolean;
|
|
5418
5430
|
}): JSX.Element;
|
|
5419
5431
|
|
|
5420
5432
|
/** A submission / attempt status, as a small tinted chip. */
|