@trackunit/react-core-contexts-test 0.1.217 → 0.1.219
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MockedResponse } from "@apollo/client/testing";
|
|
2
2
|
import { AnyRoute, RegisteredRouter, RouteIds } from "@tanstack/react-router";
|
|
3
3
|
import { RenderResult } from "@testing-library/react";
|
|
4
|
-
import { ConfirmationDialogContextValue, FilterBarValues, IAnalyticsContext,
|
|
4
|
+
import { AssetSortingContextValue, ConfirmationDialogContextValue, FilterBarValues, IAnalyticsContext, ICurrentUserContext, IEnvironmentContext, INavigationContext, IOemBrandingContext, IToastContext, ITokenContext, IUserPreferencesContext, IUserSubscriptionContext } from "@trackunit/react-core-contexts-api";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
export type MemoryRouterProps<T extends AnyRoute> = {
|
|
7
7
|
routeTree?: T;
|
|
@@ -30,7 +30,7 @@ export declare class TrackunitProvidersMockBuilder<T extends AnyRoute> {
|
|
|
30
30
|
protected selectedRootRoute: AnyRoute | null;
|
|
31
31
|
protected selectedToastContext: IToastContext;
|
|
32
32
|
protected selectedConfirmationDialogContext: ConfirmationDialogContextValue;
|
|
33
|
-
protected selectedAssetSortingContext:
|
|
33
|
+
protected selectedAssetSortingContext: AssetSortingContextValue;
|
|
34
34
|
protected selectedCurrentUserContext: ICurrentUserContext;
|
|
35
35
|
protected selectedCurrentUserPreferenceContext: IUserPreferencesContext;
|
|
36
36
|
protected selectedAnalyticsContext: IAnalyticsContext<{}>;
|
|
@@ -220,7 +220,7 @@ export declare class TrackunitProvidersMockBuilder<T extends AnyRoute> {
|
|
|
220
220
|
* @param assetSortingContext - Override the default context.
|
|
221
221
|
* @returns { TrackunitProvidersMockBuilder } - The builder.
|
|
222
222
|
*/
|
|
223
|
-
assetSorting(assetSortingContext: Partial<
|
|
223
|
+
assetSorting(assetSortingContext: Partial<AssetSortingContextValue>): this;
|
|
224
224
|
/**
|
|
225
225
|
* Set OEM Branding context.
|
|
226
226
|
* Defaults to mockOemBrandingContext.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const mockAssetSortingContext:
|
|
1
|
+
import { AssetSortingContextValue } from "@trackunit/react-core-contexts-api";
|
|
2
|
+
export declare const mockAssetSortingContext: AssetSortingContextValue;
|