@bunnyapp/components 1.8.0-beta.41 → 1.8.0-beta.42
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/dist/cjs/index.js +12 -12
- package/dist/cjs/types/src/components/QuoteProvider/hooks/useQuoteCreate.d.ts +2 -2
- package/dist/cjs/types/src/components/Signup/hooks/useSignupQuoteQueryData.d.ts +2 -2
- package/dist/cjs/types/src/hooks/useCurrentUserData.d.ts +2 -2
- package/dist/cjs/types/src/hooks/usePaymentMethod.d.ts +2 -2
- package/dist/cjs/types/src/utils/readNullableFragment.d.ts +2 -0
- package/dist/esm/index.js +12 -12
- package/dist/esm/types/src/components/QuoteProvider/hooks/useQuoteCreate.d.ts +2 -2
- package/dist/esm/types/src/components/Signup/hooks/useSignupQuoteQueryData.d.ts +2 -2
- package/dist/esm/types/src/hooks/useCurrentUserData.d.ts +2 -2
- package/dist/esm/types/src/hooks/usePaymentMethod.d.ts +2 -2
- package/dist/esm/types/src/utils/readNullableFragment.d.ts +2 -0
- package/package.json +3 -3
|
@@ -16,7 +16,7 @@ export declare const useQuoteCreate: ({ maskedUpgradingSubscription, selectedPri
|
|
|
16
16
|
selectedPriceList?: PriceList;
|
|
17
17
|
token?: string;
|
|
18
18
|
}) => {
|
|
19
|
-
quote: {
|
|
19
|
+
quote: NoInfer<{
|
|
20
20
|
[$tada.fragmentRefs]: {
|
|
21
21
|
QuoteContext_QuoteFragment: "Quote";
|
|
22
22
|
};
|
|
@@ -26,6 +26,6 @@ export declare const useQuoteCreate: ({ maskedUpgradingSubscription, selectedPri
|
|
|
26
26
|
} & {
|
|
27
27
|
FormattedQuoteFields_QuoteFragment: "Quote";
|
|
28
28
|
};
|
|
29
|
-
} | null | undefined;
|
|
29
|
+
} | null> | undefined;
|
|
30
30
|
isQuotePending: boolean;
|
|
31
31
|
};
|
|
@@ -4,9 +4,9 @@ export declare const useSignupQuoteQueryData: ({ tokenOverride, }: {
|
|
|
4
4
|
tokenOverride?: string;
|
|
5
5
|
}) => {
|
|
6
6
|
data: ResultOf<typeof Signup_QuoteFragment> | undefined;
|
|
7
|
-
refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<{
|
|
7
|
+
refetch: (options?: import("@tanstack/query-core").RefetchOptions) => Promise<import("@tanstack/query-core").QueryObserverResult<NoInfer<{
|
|
8
8
|
[$tada.fragmentRefs]: {
|
|
9
9
|
Signup_QuoteFragment: "Quote";
|
|
10
10
|
};
|
|
11
|
-
} | undefined
|
|
11
|
+
} | undefined>, Error>>;
|
|
12
12
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import CurrentUser from '@/types/frontendTypes/currentUser';
|
|
2
2
|
declare const useCurrentUserData: (token: string | undefined) => {
|
|
3
|
-
currentUser: CurrentUser | {
|
|
3
|
+
currentUser: CurrentUser | NoInfer<{
|
|
4
4
|
authObjectName: string | null;
|
|
5
5
|
account: {
|
|
6
6
|
billingCountry: string | null;
|
|
@@ -12,7 +12,7 @@ declare const useCurrentUserData: (token: string | undefined) => {
|
|
|
12
12
|
privacyUrl: string | null;
|
|
13
13
|
termsUrl: string | null;
|
|
14
14
|
entityId: string | null;
|
|
15
|
-
}
|
|
15
|
+
}>;
|
|
16
16
|
isCurrentUserDataLoading: boolean;
|
|
17
17
|
};
|
|
18
18
|
export default useCurrentUserData;
|
|
@@ -2,7 +2,7 @@ export declare const usePaymentMethod: ({ accountId, enabled, }: {
|
|
|
2
2
|
accountId?: string;
|
|
3
3
|
enabled?: boolean;
|
|
4
4
|
}) => {
|
|
5
|
-
paymentMethods: {
|
|
5
|
+
paymentMethods: NoInfer<{
|
|
6
6
|
id: string;
|
|
7
7
|
pluginId: string | null;
|
|
8
8
|
accountId: string | null;
|
|
@@ -26,7 +26,7 @@ export declare const usePaymentMethod: ({ accountId, enabled, }: {
|
|
|
26
26
|
} & {
|
|
27
27
|
StoredPaymentMethods_PaymentMethodsFragment: "PaymentMethod";
|
|
28
28
|
};
|
|
29
|
-
}[] | undefined;
|
|
29
|
+
}[]> | undefined;
|
|
30
30
|
defaultPaymentMethod: {
|
|
31
31
|
id: string;
|
|
32
32
|
pluginId: string | null;
|