@nivaro/react 0.2.47 → 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 +15 -0
- package/dist/index.js +9151 -9133
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -7745,6 +7745,20 @@ declare interface RowSnooze {
|
|
|
7745
7745
|
/** Route-change timing: from the navigation to a settled double-rAF frame. */
|
|
7746
7746
|
export declare function rumRouteChange(pathname: string): void;
|
|
7747
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
|
+
|
|
7748
7762
|
/** Convenience: run a resolved target (navigate, open the chat room, or open
|
|
7749
7763
|
* a foreign-app URL in a new tab). */
|
|
7750
7764
|
export declare function runNotificationTarget(target: NotificationTarget, navigate: (path: string) => void): boolean;
|
|
@@ -8188,6 +8202,7 @@ export declare function startRum(opts?: {
|
|
|
8188
8202
|
app?: string;
|
|
8189
8203
|
routePattern?: (path: string) => string;
|
|
8190
8204
|
apiBase?: string;
|
|
8205
|
+
getToken?: () => string | null | undefined;
|
|
8191
8206
|
}): void;
|
|
8192
8207
|
|
|
8193
8208
|
/** How every step badge looks (stored only when not STEP_STYLE_DEFAULTS). */
|