Skip to content

Commit c7624b5

Browse files
author
jcesarpierre_sfemu
committed
Sync from monorepo
Template version: 1.1.0-dev Uses bundled workspace packages (not yet on NPM) Synced by: jcesarpierre_sfemu Monorepo SHA: b6c83fb6512fe8078c140d4ec81497ecb5f8570f Latest change: b6c83fb65 - chore(storybook): restore Header snapshot coverage by stubbing Await (#1884)
1 parent e999a7a commit c7624b5

12 files changed

Lines changed: 995 additions & 162 deletions

File tree

packages/storefront-next-runtime/dist/config.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { n as Site, r as Url, t as Locale } from "./types.js";
22
import { n as DefineConfigOptions, r as defineConfig, t as BaseConfig } from "./schema.js";
33
import { ReactNode } from "react";
4-
import * as react_jsx_runtime2 from "react/jsx-runtime";
5-
import * as react_router14 from "react-router";
4+
import * as react_jsx_runtime0 from "react/jsx-runtime";
5+
import * as react_router9 from "react-router";
66
import { RouterContextProvider } from "react-router";
77

88
//#region src/config/context.d.ts
@@ -22,7 +22,7 @@ interface AppConfigShape {
2222
* app-config middleware; read via `context.get(appConfigContext)` in loaders,
2323
* actions, and other middleware. Returns the augmented `AppConfigShape`.
2424
*/
25-
declare const appConfigContext: react_router14.RouterContext<AppConfigShape>;
25+
declare const appConfigContext: react_router9.RouterContext<AppConfigShape>;
2626
interface ConfigProviderProps {
2727
config: AppConfigShape;
2828
children: ReactNode;
@@ -36,7 +36,7 @@ interface ConfigProviderProps {
3636
declare function ConfigProvider({
3737
config,
3838
children
39-
}: ConfigProviderProps): react_jsx_runtime2.JSX.Element;
39+
}: ConfigProviderProps): react_jsx_runtime0.JSX.Element;
4040
//#endregion
4141
//#region src/config/get-config.d.ts
4242
declare global {

packages/storefront-next-runtime/dist/config.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/storefront-next-runtime/dist/data-store.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as react_router7 from "react-router";
1+
import * as react_router0 from "react-router";
22
import { MiddlewareFunction, RouterContextProvider, createContext } from "react-router";
33
import { DataStore, DataStoreNotFoundError, DataStoreServiceError, DataStoreUnavailableError } from "@salesforce/mrt-utilities/data-store";
44

@@ -157,7 +157,7 @@ interface DataStoreLogger {
157157
* Defaults to `null` (not `undefined`) because React Router's
158158
* `context.get()` throws when `defaultValue === undefined`.
159159
*/
160-
declare const dataStoreLoggerContext: react_router7.RouterContext<DataStoreLogger | null>;
160+
declare const dataStoreLoggerContext: react_router0.RouterContext<DataStoreLogger | null>;
161161
/**
162162
* Read the data-store logger from router context, falling back to a
163163
* console-based default when nothing has been injected.
@@ -234,7 +234,7 @@ type LoginPreferences = {
234234
declare function getLoginPreferences(context: Readonly<RouterContextProvider>): LoginPreferences;
235235
//#endregion
236236
//#region src/data-store/index.d.ts
237-
declare const dataStoreMiddleware: react_router7.MiddlewareFunction<Response>[];
237+
declare const dataStoreMiddleware: react_router0.MiddlewareFunction<Response>[];
238238
//#endregion
239239
export { type CustomGlobalPreferences, DataStore, type DataStoreContextKey, type DataStoreEntry, type DataStoreEntryKey, type DataStoreLogger, type DataStoreMiddlewareOptions, DataStoreNotFoundError, DataStoreServiceError, DataStoreUnavailableError, type GcpPreferences, type LoginPreferences, type SitePreferences, createDataStoreContext, createDataStoreMiddleware, createLazyDataStoreMiddleware, dataStoreLoggerContext, dataStoreMiddleware, getCustomGlobalPreferences, getDataStoreEntry, getDataStoreLogger, getGcpApiKey, getGcpPreferences, getLoginPreferences, getSitePreferences, readLazyDataStoreEntry };
240240
//# sourceMappingURL=data-store.d.ts.map

packages/storefront-next-runtime/dist/data-store.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)