infinity-forge 9.4.1 → 9.4.2
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.
|
@@ -8,6 +8,8 @@ export type InfinityForgeProvidersProps = {
|
|
|
8
8
|
queryClient?: any;
|
|
9
9
|
children: React.ReactNode;
|
|
10
10
|
theme: DefaultThemeInfinityForge;
|
|
11
|
+
useMutation?: any;
|
|
12
|
+
useQuery?: any;
|
|
11
13
|
} & InfraInjectionContextType & {
|
|
12
14
|
i18n: Partial<I18nContextProps>;
|
|
13
15
|
} & {
|
|
@@ -19,4 +21,4 @@ export type InfinityForgeProvidersProps = {
|
|
|
19
21
|
} & {
|
|
20
22
|
integrations?: ThirdPartyIntegrationContextType;
|
|
21
23
|
};
|
|
22
|
-
export declare function InfinityForgeProviders({ auth, i18n, theme, atena, shortly, children,
|
|
24
|
+
export declare function InfinityForgeProviders({ auth, i18n, theme, atena, shortly, useQuery, children, useMutation, queryClient, integrations, Configurations, InjectedRemotes, siteConfigurations, loaderOnRouteChange, }: InfinityForgeProvidersProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -20,7 +20,7 @@ var theme_1 = require("./theme/index.js");
|
|
|
20
20
|
var infra_injection_1 = require("./infra-injection/index.js");
|
|
21
21
|
var third_party_integration_context_1 = require("./third-party-integration-context/index.js");
|
|
22
22
|
function InfinityForgeProviders(_a) {
|
|
23
|
-
var auth = _a.auth, i18n = _a.i18n, theme = _a.theme, atena = _a.atena, shortly = _a.shortly, children = _a.children,
|
|
23
|
+
var auth = _a.auth, i18n = _a.i18n, theme = _a.theme, atena = _a.atena, shortly = _a.shortly, useQuery = _a.useQuery, children = _a.children, useMutation = _a.useMutation, queryClient = _a.queryClient, integrations = _a.integrations, Configurations = _a.Configurations, InjectedRemotes = _a.InjectedRemotes, siteConfigurations = _a.siteConfigurations, loaderOnRouteChange = _a.loaderOnRouteChange;
|
|
24
24
|
if (shortly) {
|
|
25
25
|
return (0, jsx_runtime_1.jsx)(ui_1.NextImage, { src: '/images/em-breve.jpg' });
|
|
26
26
|
}
|
|
@@ -37,6 +37,6 @@ function InfinityForgeProviders(_a) {
|
|
|
37
37
|
var I18N = i18n ? (0, jsx_runtime_1.jsx)(ui_1.I18nProvider, __assign({}, i18nProps, { children: Content })) : Content;
|
|
38
38
|
var Google = integrations ? ((0, jsx_runtime_1.jsx)(third_party_integration_context_1.ThirdPartyIntegrationProvider, __assign({}, integrations, { children: I18N }))) : (I18N);
|
|
39
39
|
var Atena = atena ? (0, jsx_runtime_1.jsx)(ui_1.AtenaProvider, __assign({}, atena, { children: Google })) : Google;
|
|
40
|
-
return ((0, jsx_runtime_1.jsx)(ui_1.QueryClientContextProvider, { queryClient: queryClient, useMutation:
|
|
40
|
+
return ((0, jsx_runtime_1.jsx)(ui_1.QueryClientContextProvider, { queryClient: queryClient, useMutation: useMutation, useQuery: useQuery, children: (0, jsx_runtime_1.jsx)(infra_injection_1.InfraInjectionProvider, { InjectedRemotes: InjectedRemotes, Configurations: Configurations, children: auth ? (0, jsx_runtime_1.jsx)(auth_1.AuthAdminProvider, __assign({}, auth, { children: Atena })) : Atena }) }));
|
|
41
41
|
}
|
|
42
42
|
//# sourceMappingURL=container.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container.js","sourceRoot":"","sources":["../../../src/system/context/container.tsx"],"names":[],"mappings":";;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"container.js","sourceRoot":"","sources":["../../../src/system/context/container.tsx"],"names":[],"mappings":";;;;;;;;;;;;;AAmCA,wDA+DC;;AAlGD,2BAYa;AAEb,+BAA4C;AAC5C,+BAAkE;AAClE,iCAAkE;AAClE,qDAAqF;AACrF,qFAAmH;AAiBnH,SAAgB,sBAAsB,CAAC,EAeT;QAd5B,IAAI,UAAA,EACJ,IAAI,UAAA,EACJ,KAAK,WAAA,EACL,KAAK,WAAA,EACL,OAAO,aAAA,EACP,QAAQ,cAAA,EACR,QAAQ,cAAA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