@mirantes-micro/foundation-design-system 1.2.60 → 1.2.63
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.
|
@@ -3,6 +3,7 @@ import React__default, { ReactNode, ChangeEvent, KeyboardEvent, FocusEvent, JSX
|
|
|
3
3
|
import { QueryClient } from '@tanstack/react-query';
|
|
4
4
|
import { AxiosInstance } from 'axios';
|
|
5
5
|
import * as zustand from 'zustand';
|
|
6
|
+
export { useAssetVersions, useBestAssetVersion, useSignedUrl, useUploadAsset } from '../../mirantes-utils/index.js';
|
|
6
7
|
|
|
7
8
|
declare function Spinner({ className }: {
|
|
8
9
|
className?: string;
|
|
@@ -34,6 +35,7 @@ interface IMirantesFoundationProviderProps {
|
|
|
34
35
|
environment?: string;
|
|
35
36
|
profileApiUrl?: string;
|
|
36
37
|
billingApiUrl?: string;
|
|
38
|
+
assetsApiUrl?: string;
|
|
37
39
|
multicaixaExpressUrl?: string;
|
|
38
40
|
stripeKey?: string;
|
|
39
41
|
socketApiUrl?: string;
|
|
@@ -62,6 +64,7 @@ interface IMirantesFoundationContext {
|
|
|
62
64
|
profileApiUrl?: string;
|
|
63
65
|
chatApiUrl?: string;
|
|
64
66
|
billingApiUrl?: string;
|
|
67
|
+
assetsApiUrl?: string;
|
|
65
68
|
multicaixaExpressUrl?: string;
|
|
66
69
|
stripeKey?: string;
|
|
67
70
|
chatForPage?: boolean;
|
|
@@ -120,7 +123,7 @@ type User$2 = {
|
|
|
120
123
|
type LinkComponent = (props: CommonLinkProps) => any;
|
|
121
124
|
type UsePathname = () => string;
|
|
122
125
|
|
|
123
|
-
declare function MirantesFoundationProvider({ children, Notification, queryClient, onOpenCreatePostModal, values: { chatApiUrl, chatForPage, locale, Link, usePathname, user, isGettingUser, mirantesDomain, environment, feedApi, searchApi, widgetsApi, hostUrl, isDev, profileApiUrl, isGettingStats, openCageApiKey, pageId, authedApi, authApiUrl, socketApiUrl, uploadFilesApi, page, ocpSubscriptionKey, billingApiUrl, multicaixaExpressUrl, stripeKey }, }: IMirantesFoundationProviderProps): React__default.JSX.Element;
|
|
126
|
+
declare function MirantesFoundationProvider({ children, Notification, queryClient, onOpenCreatePostModal, values: { chatApiUrl, chatForPage, locale, Link, usePathname, user, isGettingUser, mirantesDomain, environment, feedApi, searchApi, widgetsApi, hostUrl, assetsApiUrl, isDev, profileApiUrl, isGettingStats, openCageApiKey, pageId, authedApi, authApiUrl, socketApiUrl, uploadFilesApi, page, ocpSubscriptionKey, billingApiUrl, multicaixaExpressUrl, stripeKey }, }: IMirantesFoundationProviderProps): React__default.JSX.Element;
|
|
124
127
|
|
|
125
128
|
declare function WorkspacePanel(): React__default.JSX.Element;
|
|
126
129
|
|