@nivaro/react 0.2.46 → 0.2.48
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 +21 -2
- package/dist/index.js +21161 -21134
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1894,12 +1894,14 @@ export declare function defaultItemUrl(t: ItemLinkTarget): string;
|
|
|
1894
1894
|
* Definition registry (admin). Master-detail rather than a dialog: an operator
|
|
1895
1895
|
* comparing two imports' targets needs both the list and the editor on screen.
|
|
1896
1896
|
*/
|
|
1897
|
-
export declare function DefinitionsPanel({ definitions, runCounts, isLoading }: {
|
|
1897
|
+
export declare function DefinitionsPanel({ definitions, runCounts, isLoading, initialKey }: {
|
|
1898
1898
|
definitions: ImportDefinition[];
|
|
1899
1899
|
/** Runs per import key — a definition's history is the main thing that makes
|
|
1900
1900
|
* it recognisable, and the reason deactivating beats deleting. */
|
|
1901
1901
|
runCounts: Record<string, number>;
|
|
1902
1902
|
isLoading?: boolean;
|
|
1903
|
+
/** Opens this definition once the list has loaded (a deep link). */
|
|
1904
|
+
initialKey?: string | null;
|
|
1903
1905
|
}): JSX.Element;
|
|
1904
1906
|
|
|
1905
1907
|
export declare function DelegationCard({ user, onSaved, forUser, coversFor }: {
|
|
@@ -3486,7 +3488,7 @@ export declare function idleState(): {
|
|
|
3486
3488
|
last_active: string;
|
|
3487
3489
|
};
|
|
3488
3490
|
|
|
3489
|
-
export declare function ImportConsole({ realtime, defaultTab, initialJobId, onJobOpen, initialRunId, onRunOpen }: ImportConsoleProps): JSX.Element;
|
|
3491
|
+
export declare function ImportConsole({ realtime, defaultTab, initialJobId, onJobOpen, initialRunId, onRunOpen, initialDefinitionKey }: ImportConsoleProps): JSX.Element;
|
|
3490
3492
|
|
|
3491
3493
|
export declare interface ImportConsoleProps {
|
|
3492
3494
|
/**
|
|
@@ -3505,6 +3507,8 @@ export declare interface ImportConsoleProps {
|
|
|
3505
3507
|
initialRunId?: number | null;
|
|
3506
3508
|
/** Fires when a staged run's detail opens or closes. */
|
|
3507
3509
|
onRunOpen?: (id: number | null) => void;
|
|
3510
|
+
/** Deep link into a definition by key (admin /imports?definition=import_workflows). */
|
|
3511
|
+
initialDefinitionKey?: string | null;
|
|
3508
3512
|
}
|
|
3509
3513
|
|
|
3510
3514
|
export declare type ImportConsoleTab = 'runs' | 'collection' | 'definitions';
|
|
@@ -7741,6 +7745,20 @@ declare interface RowSnooze {
|
|
|
7741
7745
|
/** Route-change timing: from the navigation to a settled double-rAF frame. */
|
|
7742
7746
|
export declare function rumRouteChange(pathname: string): void;
|
|
7743
7747
|
|
|
7748
|
+
/**
|
|
7749
|
+
* Per-widget timing (#1353): how long a dashboard widget took to get its data
|
|
7750
|
+
* (`fetchMs`, first fetch start to data settled) and to put it on screen
|
|
7751
|
+
* (`paintMs`, settled to the next painted frame). Carries the catalog key and
|
|
7752
|
+
* the viewer's role id only — no record data, no user input. A malformed key
|
|
7753
|
+
* is dropped here so the server never sees it.
|
|
7754
|
+
*/
|
|
7755
|
+
export declare function rumWidget(opts: {
|
|
7756
|
+
key: string;
|
|
7757
|
+
roleId?: string | null;
|
|
7758
|
+
fetchMs: number;
|
|
7759
|
+
paintMs: number;
|
|
7760
|
+
}): void;
|
|
7761
|
+
|
|
7744
7762
|
/** Convenience: run a resolved target (navigate, open the chat room, or open
|
|
7745
7763
|
* a foreign-app URL in a new tab). */
|
|
7746
7764
|
export declare function runNotificationTarget(target: NotificationTarget, navigate: (path: string) => void): boolean;
|
|
@@ -8184,6 +8202,7 @@ export declare function startRum(opts?: {
|
|
|
8184
8202
|
app?: string;
|
|
8185
8203
|
routePattern?: (path: string) => string;
|
|
8186
8204
|
apiBase?: string;
|
|
8205
|
+
getToken?: () => string | null | undefined;
|
|
8187
8206
|
}): void;
|
|
8188
8207
|
|
|
8189
8208
|
/** How every step badge looks (stored only when not STEP_STYLE_DEFAULTS). */
|