@raystack/frontier 0.53.0 → 0.55.0
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/package.json +1 -1
- package/react/dist/index.d.ts +12 -1
- package/react/dist/index.js +104 -102
- package/react/dist/index.mjs +103 -102
package/package.json
CHANGED
package/react/dist/index.d.ts
CHANGED
|
@@ -4702,6 +4702,17 @@ declare const useBillingPermission: () => {
|
|
|
4702
4702
|
isAllowed: boolean;
|
|
4703
4703
|
};
|
|
4704
4704
|
|
|
4705
|
+
type Preferences = Record<string, V1Beta1Preference>;
|
|
4706
|
+
interface UsePreferences {
|
|
4707
|
+
preferences: Preferences;
|
|
4708
|
+
isLoading: boolean;
|
|
4709
|
+
isFetching: boolean;
|
|
4710
|
+
status: 'idle' | 'fetching' | 'loading';
|
|
4711
|
+
fetchPreferences: () => Promise<V1Beta1Preference[] | undefined>;
|
|
4712
|
+
updatePreferences: (preferences: V1Beta1Preference[]) => Promise<V1Beta1Preference[] | undefined>;
|
|
4713
|
+
}
|
|
4714
|
+
declare function usePreferences(): UsePreferences;
|
|
4715
|
+
|
|
4705
4716
|
interface LayoutProps {
|
|
4706
4717
|
title: string;
|
|
4707
4718
|
}
|
|
@@ -4711,4 +4722,4 @@ declare const PREFERENCE_OPTIONS: {
|
|
|
4711
4722
|
readonly NEWSLETTER: "newsletter";
|
|
4712
4723
|
};
|
|
4713
4724
|
|
|
4714
|
-
export { Amount, AvatarUpload, Container, CreateOrganization, FrontierClientBillingOptions, FrontierClientOptions, FrontierProvider, Header, Layout, MagicLink, MagicLinkVerify, OrganizationProfile, PREFERENCE_OPTIONS, SignIn, SignUp, Subscribe, Window, useBillingPermission, useFrontier, useTokens };
|
|
4725
|
+
export { Amount, AvatarUpload, Container, CreateOrganization, FrontierClientBillingOptions, FrontierClientOptions, FrontierProvider, Header, Layout, MagicLink, MagicLinkVerify, OrganizationProfile, PREFERENCE_OPTIONS, SignIn, SignUp, Subscribe, Window, useBillingPermission, useFrontier, usePreferences, useTokens };
|