Skip to content

Commit d355960

Browse files
author
sprasoon_sfemu
committed
Sync from monorepo
Template version: 1.1.0-dev Uses bundled workspace packages (not yet on NPM) Synced by: sprasoon_sfemu Monorepo SHA: 703b1421fdbc0cf7d2d46768c376f776f3a4717b Latest change: 703b1421f - @W-22658480: fail loud when --stories has no value (#1899)
1 parent d05667b commit d355960

10 files changed

Lines changed: 40 additions & 28 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_runtime1 from "react/jsx-runtime";
5-
import * as react_router10 from "react-router";
4+
import * as react_jsx_runtime0 from "react/jsx-runtime";
5+
import * as react_router0 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_router10.RouterContext<AppConfigShape>;
25+
declare const appConfigContext: react_router0.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_runtime1.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_router3 from "react-router";
1+
import * as react_router1 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_router3.RouterContext<DataStoreLogger | null>;
160+
declare const dataStoreLoggerContext: react_router1.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_router3.MiddlewareFunction<Response>[];
237+
declare const dataStoreMiddleware: react_router1.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.

packages/storefront-next-runtime/dist/design-react-core.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { i as FrameworkAdapter, n as ComponentModule } from "./types3.js";
33
import { g as IsomorphicConfiguration } from "./index.js";
44
import { r as RegionDecoratorProps, t as ComponentDecoratorProps } from "./component.types.js";
55
import React$1 from "react";
6-
import * as react_jsx_runtime0 from "react/jsx-runtime";
6+
import * as react_jsx_runtime1 from "react/jsx-runtime";
77

88
//#region src/design/react/core/PageDesignerProvider.d.ts
99
type PageDesignerContextType = {
@@ -49,7 +49,7 @@ declare function PageDesignerPageMetadataProvider({
4949
children
5050
}: React.PropsWithChildren<{
5151
page: ShopperExperience.schemas['Page'];
52-
}>): react_jsx_runtime0.JSX.Element;
52+
}>): react_jsx_runtime1.JSX.Element;
5353
//#endregion
5454
//#region src/design/react/core/RegionContext.d.ts
5555
interface RegionContextType {

packages/storefront-next-runtime/dist/events.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/scapi.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/site-context.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { n as Site$1, r as Url, t as Locale$1 } from "./types.js";
22
import { PropsWithChildren } from "react";
33
import * as react_jsx_runtime2 from "react/jsx-runtime";
4-
import * as react_router11 from "react-router";
4+
import * as react_router10 from "react-router";
55
import { Cookie, CookieOptions, MiddlewareFunction, RouterContextProvider } from "react-router";
66
import { RouteConfigEntry } from "@react-router/dev/routes";
77

@@ -198,7 +198,7 @@ declare function buildUrl({
198198
}): string;
199199
//#endregion
200200
//#region src/site-context/middleware.d.ts
201-
declare const siteContext: react_router11.RouterContext<SiteContext | null>;
201+
declare const siteContext: react_router10.RouterContext<SiteContext | null>;
202202
/**
203203
* Resolved site context result from {@link resolveSiteContext}.
204204
*/
@@ -246,9 +246,9 @@ declare function resolveSiteContext(request: Request, settings: SiteSettings): P
246246
* ```
247247
*/
248248
declare function getSiteContextCookies(context: Readonly<RouterContextProvider>): {
249-
siteCookie: react_router11.Cookie;
250-
localeCookie: react_router11.Cookie;
251-
currencyCookie: react_router11.Cookie;
249+
siteCookie: react_router10.Cookie;
250+
localeCookie: react_router10.Cookie;
251+
currencyCookie: react_router10.Cookie;
252252
} | null;
253253
/**
254254
* Creates a site context middleware that resolves the current site from

0 commit comments

Comments
 (0)