@pelatform/starter 0.1.7 → 0.1.9
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/{chunk-2ZAZ77F6.js → chunk-7Y52PHJN.js} +51 -44
- package/dist/extend.d.ts +2 -7
- package/dist/extend.js +4 -39
- package/dist/index.d.ts +136 -164
- package/dist/index.js +1812 -330
- package/dist/{ui-DxCTGGLe.d.ts → workspace-CcGHPtq0.d.ts} +74 -218
- package/package.json +34 -13
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { C as Config, g as AuthClient, A as AuthQueryOptions, e as AnyAuthClient, N as NonThrowableResult, T as ThrowableResult, B as BetterFetchRequest,
|
|
1
|
+
import { C as Config, g as AuthClient, A as AuthQueryOptions, e as AnyAuthClient, N as NonThrowableResult, T as ThrowableResult, B as BetterFetchRequest, h as Session, i as User, W as Workspace, y as DialogComponentProps, z as CardComponentProps, m as ImageOptions, l as FieldType, r as PasswordValidation, R as Refetch, v as CardClassNames, p as ApiKey, P as PathConfig, o as Provider, s as Profile, w as AvatarProps, x as ViewProps } from './workspace-CcGHPtq0.js';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import { ReactNode, CSSProperties, ComponentProps, PropsWithChildren } from 'react';
|
|
5
|
-
import * as
|
|
5
|
+
import * as better_auth_react from 'better-auth/react';
|
|
6
|
+
import { BetterFetchOption } from 'better-auth/react';
|
|
6
7
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
7
8
|
import { AnyUseQueryOptions, QueryKey } from '@tanstack/react-query';
|
|
8
9
|
import * as better_auth from 'better-auth';
|
|
9
10
|
import { Account } from 'better-auth';
|
|
10
|
-
import { BetterFetchOption } from 'better-auth/react';
|
|
11
11
|
import * as _tanstack_query_core from '@tanstack/query-core';
|
|
12
12
|
import * as better_auth_plugins_organization from 'better-auth/plugins/organization';
|
|
13
13
|
import { Badge, Toaster, Button, Input } from 'pelatform-ui/default';
|
|
@@ -15,7 +15,6 @@ import { MenuItem } from 'pelatform-ui';
|
|
|
15
15
|
import { NavItem, LanguageSwitcherProps } from 'pelatform-ui/components';
|
|
16
16
|
import { LucideIcon } from 'lucide-react';
|
|
17
17
|
import 'better-auth/client/plugins';
|
|
18
|
-
import '@simplewebauthn/server';
|
|
19
18
|
|
|
20
19
|
/**
|
|
21
20
|
* Hook to access configuration in client components
|
|
@@ -138,7 +137,7 @@ declare function useUnlinkAccount(options?: Partial<AuthQueryOptions>): {
|
|
|
138
137
|
accountId?: string | undefined;
|
|
139
138
|
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
140
139
|
}>, "fetchOptions"> & {
|
|
141
|
-
fetchOptions?:
|
|
140
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
142
141
|
}): Promise<NonThrowableResult>;
|
|
143
142
|
};
|
|
144
143
|
isPending: boolean;
|
|
@@ -192,7 +191,7 @@ declare function useUnlinkAccount(options?: Partial<AuthQueryOptions>): {
|
|
|
192
191
|
accountId?: string | undefined;
|
|
193
192
|
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
194
193
|
}>, "fetchOptions"> & {
|
|
195
|
-
fetchOptions?:
|
|
194
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
196
195
|
}): Promise<NonThrowableResult>;
|
|
197
196
|
};
|
|
198
197
|
isPending: boolean;
|
|
@@ -254,7 +253,7 @@ declare function useUnlinkAccount(options?: Partial<AuthQueryOptions>): {
|
|
|
254
253
|
accountId?: string | undefined;
|
|
255
254
|
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
256
255
|
}>, "fetchOptions"> & {
|
|
257
|
-
fetchOptions?:
|
|
256
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
258
257
|
}): Promise<NonThrowableResult>;
|
|
259
258
|
};
|
|
260
259
|
isPending: boolean;
|
|
@@ -316,7 +315,7 @@ declare function useUnlinkAccount(options?: Partial<AuthQueryOptions>): {
|
|
|
316
315
|
accountId?: string | undefined;
|
|
317
316
|
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
318
317
|
}>, "fetchOptions"> & {
|
|
319
|
-
fetchOptions?:
|
|
318
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
320
319
|
}): Promise<NonThrowableResult>;
|
|
321
320
|
};
|
|
322
321
|
isPending: boolean;
|
|
@@ -440,7 +439,7 @@ declare function useCreateApiKey(options?: Partial<AuthQueryOptions>): {
|
|
|
440
439
|
permissions?: Record<string, string[]> | undefined;
|
|
441
440
|
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
442
441
|
}> | undefined, "fetchOptions"> & {
|
|
443
|
-
fetchOptions?:
|
|
442
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
444
443
|
}): Promise<NonThrowableResult>;
|
|
445
444
|
};
|
|
446
445
|
isPending: boolean;
|
|
@@ -554,7 +553,7 @@ declare function useCreateApiKey(options?: Partial<AuthQueryOptions>): {
|
|
|
554
553
|
permissions?: Record<string, string[]> | undefined;
|
|
555
554
|
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
556
555
|
}> | undefined, "fetchOptions"> & {
|
|
557
|
-
fetchOptions?:
|
|
556
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
558
557
|
}): Promise<NonThrowableResult>;
|
|
559
558
|
};
|
|
560
559
|
isPending: boolean;
|
|
@@ -696,7 +695,7 @@ declare function useCreateApiKey(options?: Partial<AuthQueryOptions>): {
|
|
|
696
695
|
permissions?: Record<string, string[]> | undefined;
|
|
697
696
|
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
698
697
|
}> | undefined, "fetchOptions"> & {
|
|
699
|
-
fetchOptions?:
|
|
698
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
700
699
|
}): Promise<NonThrowableResult>;
|
|
701
700
|
};
|
|
702
701
|
isPending: boolean;
|
|
@@ -838,7 +837,7 @@ declare function useCreateApiKey(options?: Partial<AuthQueryOptions>): {
|
|
|
838
837
|
permissions?: Record<string, string[]> | undefined;
|
|
839
838
|
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
840
839
|
}> | undefined, "fetchOptions"> & {
|
|
841
|
-
fetchOptions?:
|
|
840
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
842
841
|
}): Promise<NonThrowableResult>;
|
|
843
842
|
};
|
|
844
843
|
isPending: boolean;
|
|
@@ -915,7 +914,7 @@ declare function useDeleteApiKey(options?: Partial<AuthQueryOptions>): {
|
|
|
915
914
|
keyId: string;
|
|
916
915
|
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
917
916
|
}>, "fetchOptions"> & {
|
|
918
|
-
fetchOptions?:
|
|
917
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
919
918
|
}): Promise<NonThrowableResult>;
|
|
920
919
|
};
|
|
921
920
|
isPending: boolean;
|
|
@@ -963,7 +962,7 @@ declare function useDeleteApiKey(options?: Partial<AuthQueryOptions>): {
|
|
|
963
962
|
keyId: string;
|
|
964
963
|
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
965
964
|
}>, "fetchOptions"> & {
|
|
966
|
-
fetchOptions?:
|
|
965
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
967
966
|
}): Promise<NonThrowableResult>;
|
|
968
967
|
};
|
|
969
968
|
isPending: boolean;
|
|
@@ -1017,7 +1016,7 @@ declare function useDeleteApiKey(options?: Partial<AuthQueryOptions>): {
|
|
|
1017
1016
|
keyId: string;
|
|
1018
1017
|
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
1019
1018
|
}>, "fetchOptions"> & {
|
|
1020
|
-
fetchOptions?:
|
|
1019
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
1021
1020
|
}): Promise<NonThrowableResult>;
|
|
1022
1021
|
};
|
|
1023
1022
|
isPending: boolean;
|
|
@@ -1071,7 +1070,7 @@ declare function useDeleteApiKey(options?: Partial<AuthQueryOptions>): {
|
|
|
1071
1070
|
keyId: string;
|
|
1072
1071
|
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
1073
1072
|
}>, "fetchOptions"> & {
|
|
1074
|
-
fetchOptions?:
|
|
1073
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
1075
1074
|
}): Promise<NonThrowableResult>;
|
|
1076
1075
|
};
|
|
1077
1076
|
isPending: boolean;
|
|
@@ -1295,7 +1294,7 @@ declare function useRevokeDeviceSession(options?: Partial<AuthQueryOptions>): {
|
|
|
1295
1294
|
sessionToken: string;
|
|
1296
1295
|
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
1297
1296
|
}>, "fetchOptions"> & {
|
|
1298
|
-
fetchOptions?:
|
|
1297
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
1299
1298
|
}): Promise<NonThrowableResult>;
|
|
1300
1299
|
};
|
|
1301
1300
|
isPending: boolean;
|
|
@@ -1343,7 +1342,7 @@ declare function useRevokeDeviceSession(options?: Partial<AuthQueryOptions>): {
|
|
|
1343
1342
|
sessionToken: string;
|
|
1344
1343
|
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
1345
1344
|
}>, "fetchOptions"> & {
|
|
1346
|
-
fetchOptions?:
|
|
1345
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
1347
1346
|
}): Promise<NonThrowableResult>;
|
|
1348
1347
|
};
|
|
1349
1348
|
isPending: boolean;
|
|
@@ -1397,7 +1396,7 @@ declare function useRevokeDeviceSession(options?: Partial<AuthQueryOptions>): {
|
|
|
1397
1396
|
sessionToken: string;
|
|
1398
1397
|
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
1399
1398
|
}>, "fetchOptions"> & {
|
|
1400
|
-
fetchOptions?:
|
|
1399
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
1401
1400
|
}): Promise<NonThrowableResult>;
|
|
1402
1401
|
};
|
|
1403
1402
|
isPending: boolean;
|
|
@@ -1451,7 +1450,7 @@ declare function useRevokeDeviceSession(options?: Partial<AuthQueryOptions>): {
|
|
|
1451
1450
|
sessionToken: string;
|
|
1452
1451
|
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
1453
1452
|
}>, "fetchOptions"> & {
|
|
1454
|
-
fetchOptions?:
|
|
1453
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
1455
1454
|
}): Promise<NonThrowableResult>;
|
|
1456
1455
|
};
|
|
1457
1456
|
isPending: boolean;
|
|
@@ -1916,35 +1915,17 @@ declare function useSetActiveSession(): {
|
|
|
1916
1915
|
};
|
|
1917
1916
|
|
|
1918
1917
|
declare function useDeletePasskey(options?: Partial<AuthQueryOptions>): {
|
|
1919
|
-
mutate: _tanstack_react_query.UseMutateFunction<NonThrowableResult | ThrowableResult, Error,
|
|
1920
|
-
id: string;
|
|
1921
|
-
} & {
|
|
1922
|
-
fetchOptions?: better_auth.ClientFetchOption<Partial<{
|
|
1923
|
-
id: string;
|
|
1924
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
1925
|
-
}>, {
|
|
1918
|
+
mutate: _tanstack_react_query.UseMutateFunction<NonThrowableResult | ThrowableResult, Error, any, {
|
|
1926
1919
|
previousData: {};
|
|
1927
1920
|
} | undefined>;
|
|
1928
1921
|
mutateAsync: {
|
|
1929
|
-
(params: Omit<
|
|
1930
|
-
id: string;
|
|
1931
|
-
} & {
|
|
1932
|
-
fetchOptions?: better_auth.ClientFetchOption<Partial<{
|
|
1933
|
-
id: string;
|
|
1934
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
1935
|
-
}>, "fetchOptions"> & {
|
|
1922
|
+
(params: Omit<any, "fetchOptions"> & {
|
|
1936
1923
|
fetchOptions?: {
|
|
1937
1924
|
throw?: true;
|
|
1938
1925
|
} | undefined;
|
|
1939
1926
|
}): Promise<ThrowableResult>;
|
|
1940
|
-
(params: Omit<
|
|
1941
|
-
|
|
1942
|
-
} & {
|
|
1943
|
-
fetchOptions?: better_auth.ClientFetchOption<Partial<{
|
|
1944
|
-
id: string;
|
|
1945
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
1946
|
-
}>, "fetchOptions"> & {
|
|
1947
|
-
fetchOptions?: _better_fetch_fetch.BetterFetchOption;
|
|
1927
|
+
(params: Omit<any, "fetchOptions"> & {
|
|
1928
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
1948
1929
|
}): Promise<NonThrowableResult>;
|
|
1949
1930
|
};
|
|
1950
1931
|
isPending: boolean;
|
|
@@ -1964,47 +1945,23 @@ declare function useDeletePasskey(options?: Partial<AuthQueryOptions>): {
|
|
|
1964
1945
|
isPaused: boolean;
|
|
1965
1946
|
submittedAt: number;
|
|
1966
1947
|
} | {
|
|
1967
|
-
mutate: _tanstack_react_query.UseMutateFunction<NonThrowableResult | ThrowableResult, Error,
|
|
1968
|
-
id: string;
|
|
1969
|
-
} & {
|
|
1970
|
-
fetchOptions?: better_auth.ClientFetchOption<Partial<{
|
|
1971
|
-
id: string;
|
|
1972
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
1973
|
-
}>, {
|
|
1948
|
+
mutate: _tanstack_react_query.UseMutateFunction<NonThrowableResult | ThrowableResult, Error, any, {
|
|
1974
1949
|
previousData: {};
|
|
1975
1950
|
} | undefined>;
|
|
1976
1951
|
mutateAsync: {
|
|
1977
|
-
(params: Omit<
|
|
1978
|
-
id: string;
|
|
1979
|
-
} & {
|
|
1980
|
-
fetchOptions?: better_auth.ClientFetchOption<Partial<{
|
|
1981
|
-
id: string;
|
|
1982
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
1983
|
-
}>, "fetchOptions"> & {
|
|
1952
|
+
(params: Omit<any, "fetchOptions"> & {
|
|
1984
1953
|
fetchOptions?: {
|
|
1985
1954
|
throw?: true;
|
|
1986
1955
|
} | undefined;
|
|
1987
1956
|
}): Promise<ThrowableResult>;
|
|
1988
|
-
(params: Omit<
|
|
1989
|
-
|
|
1990
|
-
} & {
|
|
1991
|
-
fetchOptions?: better_auth.ClientFetchOption<Partial<{
|
|
1992
|
-
id: string;
|
|
1993
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
1994
|
-
}>, "fetchOptions"> & {
|
|
1995
|
-
fetchOptions?: _better_fetch_fetch.BetterFetchOption;
|
|
1957
|
+
(params: Omit<any, "fetchOptions"> & {
|
|
1958
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
1996
1959
|
}): Promise<NonThrowableResult>;
|
|
1997
1960
|
};
|
|
1998
1961
|
isPending: boolean;
|
|
1999
1962
|
error: Error | null;
|
|
2000
1963
|
data: undefined;
|
|
2001
|
-
variables:
|
|
2002
|
-
id: string;
|
|
2003
|
-
} & {
|
|
2004
|
-
fetchOptions?: better_auth.ClientFetchOption<Partial<{
|
|
2005
|
-
id: string;
|
|
2006
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
2007
|
-
}>;
|
|
1964
|
+
variables: any;
|
|
2008
1965
|
isError: false;
|
|
2009
1966
|
isIdle: false;
|
|
2010
1967
|
isSuccess: false;
|
|
@@ -2018,47 +1975,23 @@ declare function useDeletePasskey(options?: Partial<AuthQueryOptions>): {
|
|
|
2018
1975
|
isPaused: boolean;
|
|
2019
1976
|
submittedAt: number;
|
|
2020
1977
|
} | {
|
|
2021
|
-
mutate: _tanstack_react_query.UseMutateFunction<NonThrowableResult | ThrowableResult, Error,
|
|
2022
|
-
id: string;
|
|
2023
|
-
} & {
|
|
2024
|
-
fetchOptions?: better_auth.ClientFetchOption<Partial<{
|
|
2025
|
-
id: string;
|
|
2026
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
2027
|
-
}>, {
|
|
1978
|
+
mutate: _tanstack_react_query.UseMutateFunction<NonThrowableResult | ThrowableResult, Error, any, {
|
|
2028
1979
|
previousData: {};
|
|
2029
1980
|
} | undefined>;
|
|
2030
1981
|
mutateAsync: {
|
|
2031
|
-
(params: Omit<
|
|
2032
|
-
id: string;
|
|
2033
|
-
} & {
|
|
2034
|
-
fetchOptions?: better_auth.ClientFetchOption<Partial<{
|
|
2035
|
-
id: string;
|
|
2036
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
2037
|
-
}>, "fetchOptions"> & {
|
|
1982
|
+
(params: Omit<any, "fetchOptions"> & {
|
|
2038
1983
|
fetchOptions?: {
|
|
2039
1984
|
throw?: true;
|
|
2040
1985
|
} | undefined;
|
|
2041
1986
|
}): Promise<ThrowableResult>;
|
|
2042
|
-
(params: Omit<
|
|
2043
|
-
|
|
2044
|
-
} & {
|
|
2045
|
-
fetchOptions?: better_auth.ClientFetchOption<Partial<{
|
|
2046
|
-
id: string;
|
|
2047
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
2048
|
-
}>, "fetchOptions"> & {
|
|
2049
|
-
fetchOptions?: _better_fetch_fetch.BetterFetchOption;
|
|
1987
|
+
(params: Omit<any, "fetchOptions"> & {
|
|
1988
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
2050
1989
|
}): Promise<NonThrowableResult>;
|
|
2051
1990
|
};
|
|
2052
1991
|
isPending: boolean;
|
|
2053
1992
|
error: Error | null;
|
|
2054
1993
|
data: undefined;
|
|
2055
|
-
variables:
|
|
2056
|
-
id: string;
|
|
2057
|
-
} & {
|
|
2058
|
-
fetchOptions?: better_auth.ClientFetchOption<Partial<{
|
|
2059
|
-
id: string;
|
|
2060
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
2061
|
-
}>;
|
|
1994
|
+
variables: any;
|
|
2062
1995
|
isError: true;
|
|
2063
1996
|
isIdle: false;
|
|
2064
1997
|
isSuccess: false;
|
|
@@ -2072,47 +2005,23 @@ declare function useDeletePasskey(options?: Partial<AuthQueryOptions>): {
|
|
|
2072
2005
|
isPaused: boolean;
|
|
2073
2006
|
submittedAt: number;
|
|
2074
2007
|
} | {
|
|
2075
|
-
mutate: _tanstack_react_query.UseMutateFunction<NonThrowableResult | ThrowableResult, Error,
|
|
2076
|
-
id: string;
|
|
2077
|
-
} & {
|
|
2078
|
-
fetchOptions?: better_auth.ClientFetchOption<Partial<{
|
|
2079
|
-
id: string;
|
|
2080
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
2081
|
-
}>, {
|
|
2008
|
+
mutate: _tanstack_react_query.UseMutateFunction<NonThrowableResult | ThrowableResult, Error, any, {
|
|
2082
2009
|
previousData: {};
|
|
2083
2010
|
} | undefined>;
|
|
2084
2011
|
mutateAsync: {
|
|
2085
|
-
(params: Omit<
|
|
2086
|
-
id: string;
|
|
2087
|
-
} & {
|
|
2088
|
-
fetchOptions?: better_auth.ClientFetchOption<Partial<{
|
|
2089
|
-
id: string;
|
|
2090
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
2091
|
-
}>, "fetchOptions"> & {
|
|
2012
|
+
(params: Omit<any, "fetchOptions"> & {
|
|
2092
2013
|
fetchOptions?: {
|
|
2093
2014
|
throw?: true;
|
|
2094
2015
|
} | undefined;
|
|
2095
2016
|
}): Promise<ThrowableResult>;
|
|
2096
|
-
(params: Omit<
|
|
2097
|
-
|
|
2098
|
-
} & {
|
|
2099
|
-
fetchOptions?: better_auth.ClientFetchOption<Partial<{
|
|
2100
|
-
id: string;
|
|
2101
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
2102
|
-
}>, "fetchOptions"> & {
|
|
2103
|
-
fetchOptions?: _better_fetch_fetch.BetterFetchOption;
|
|
2017
|
+
(params: Omit<any, "fetchOptions"> & {
|
|
2018
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
2104
2019
|
}): Promise<NonThrowableResult>;
|
|
2105
2020
|
};
|
|
2106
2021
|
isPending: boolean;
|
|
2107
2022
|
error: Error | null;
|
|
2108
2023
|
data: NonThrowableResult | ThrowableResult;
|
|
2109
|
-
variables:
|
|
2110
|
-
id: string;
|
|
2111
|
-
} & {
|
|
2112
|
-
fetchOptions?: better_auth.ClientFetchOption<Partial<{
|
|
2113
|
-
id: string;
|
|
2114
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
2115
|
-
}>;
|
|
2024
|
+
variables: any;
|
|
2116
2025
|
isError: false;
|
|
2117
2026
|
isIdle: false;
|
|
2118
2027
|
isSuccess: true;
|
|
@@ -2126,7 +2035,7 @@ declare function useDeletePasskey(options?: Partial<AuthQueryOptions>): {
|
|
|
2126
2035
|
isPaused: boolean;
|
|
2127
2036
|
submittedAt: number;
|
|
2128
2037
|
};
|
|
2129
|
-
declare function useListPasskeys(options?: Partial<AnyUseQueryOptions>): _tanstack_react_query.UseQueryResult<
|
|
2038
|
+
declare function useListPasskeys(options?: Partial<AnyUseQueryOptions>): _tanstack_react_query.UseQueryResult<unknown, Error>;
|
|
2130
2039
|
|
|
2131
2040
|
declare function useListSessions(options?: Partial<AnyUseQueryOptions>): _tanstack_react_query.UseQueryResult<better_auth.Prettify<{
|
|
2132
2041
|
id: string;
|
|
@@ -2158,7 +2067,7 @@ declare function useRevokeOtherSessions(options?: Partial<AuthQueryOptions>): {
|
|
|
2158
2067
|
query?: Record<string, any> | undefined;
|
|
2159
2068
|
fetchOptions?: better_auth.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
2160
2069
|
}> | undefined, "fetchOptions"> & {
|
|
2161
|
-
fetchOptions?:
|
|
2070
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
2162
2071
|
}): Promise<NonThrowableResult>;
|
|
2163
2072
|
};
|
|
2164
2073
|
isPending: boolean;
|
|
@@ -2197,7 +2106,7 @@ declare function useRevokeOtherSessions(options?: Partial<AuthQueryOptions>): {
|
|
|
2197
2106
|
query?: Record<string, any> | undefined;
|
|
2198
2107
|
fetchOptions?: better_auth.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
2199
2108
|
}> | undefined, "fetchOptions"> & {
|
|
2200
|
-
fetchOptions?:
|
|
2109
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
2201
2110
|
}): Promise<NonThrowableResult>;
|
|
2202
2111
|
};
|
|
2203
2112
|
isPending: boolean;
|
|
@@ -2239,7 +2148,7 @@ declare function useRevokeOtherSessions(options?: Partial<AuthQueryOptions>): {
|
|
|
2239
2148
|
query?: Record<string, any> | undefined;
|
|
2240
2149
|
fetchOptions?: better_auth.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
2241
2150
|
}> | undefined, "fetchOptions"> & {
|
|
2242
|
-
fetchOptions?:
|
|
2151
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
2243
2152
|
}): Promise<NonThrowableResult>;
|
|
2244
2153
|
};
|
|
2245
2154
|
isPending: boolean;
|
|
@@ -2281,7 +2190,7 @@ declare function useRevokeOtherSessions(options?: Partial<AuthQueryOptions>): {
|
|
|
2281
2190
|
query?: Record<string, any> | undefined;
|
|
2282
2191
|
fetchOptions?: better_auth.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
2283
2192
|
}> | undefined, "fetchOptions"> & {
|
|
2284
|
-
fetchOptions?:
|
|
2193
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
2285
2194
|
}): Promise<NonThrowableResult>;
|
|
2286
2195
|
};
|
|
2287
2196
|
isPending: boolean;
|
|
@@ -2333,7 +2242,7 @@ declare function useRevokeSession(options?: Partial<AuthQueryOptions>): {
|
|
|
2333
2242
|
token: string;
|
|
2334
2243
|
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
2335
2244
|
}>, "fetchOptions"> & {
|
|
2336
|
-
fetchOptions?:
|
|
2245
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
2337
2246
|
}): Promise<NonThrowableResult>;
|
|
2338
2247
|
};
|
|
2339
2248
|
isPending: boolean;
|
|
@@ -2381,7 +2290,7 @@ declare function useRevokeSession(options?: Partial<AuthQueryOptions>): {
|
|
|
2381
2290
|
token: string;
|
|
2382
2291
|
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
2383
2292
|
}>, "fetchOptions"> & {
|
|
2384
|
-
fetchOptions?:
|
|
2293
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
2385
2294
|
}): Promise<NonThrowableResult>;
|
|
2386
2295
|
};
|
|
2387
2296
|
isPending: boolean;
|
|
@@ -2435,7 +2344,7 @@ declare function useRevokeSession(options?: Partial<AuthQueryOptions>): {
|
|
|
2435
2344
|
token: string;
|
|
2436
2345
|
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
2437
2346
|
}>, "fetchOptions"> & {
|
|
2438
|
-
fetchOptions?:
|
|
2347
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
2439
2348
|
}): Promise<NonThrowableResult>;
|
|
2440
2349
|
};
|
|
2441
2350
|
isPending: boolean;
|
|
@@ -2489,7 +2398,7 @@ declare function useRevokeSession(options?: Partial<AuthQueryOptions>): {
|
|
|
2489
2398
|
token: string;
|
|
2490
2399
|
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
2491
2400
|
}>, "fetchOptions"> & {
|
|
2492
|
-
fetchOptions?:
|
|
2401
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
2493
2402
|
}): Promise<NonThrowableResult>;
|
|
2494
2403
|
};
|
|
2495
2404
|
isPending: boolean;
|
|
@@ -2535,7 +2444,7 @@ declare function useRevokeSessions(options?: Partial<AuthQueryOptions>): {
|
|
|
2535
2444
|
query?: Record<string, any> | undefined;
|
|
2536
2445
|
fetchOptions?: better_auth.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
2537
2446
|
}> | undefined, "fetchOptions"> & {
|
|
2538
|
-
fetchOptions?:
|
|
2447
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
2539
2448
|
}): Promise<NonThrowableResult>;
|
|
2540
2449
|
};
|
|
2541
2450
|
isPending: boolean;
|
|
@@ -2574,7 +2483,7 @@ declare function useRevokeSessions(options?: Partial<AuthQueryOptions>): {
|
|
|
2574
2483
|
query?: Record<string, any> | undefined;
|
|
2575
2484
|
fetchOptions?: better_auth.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
2576
2485
|
}> | undefined, "fetchOptions"> & {
|
|
2577
|
-
fetchOptions?:
|
|
2486
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
2578
2487
|
}): Promise<NonThrowableResult>;
|
|
2579
2488
|
};
|
|
2580
2489
|
isPending: boolean;
|
|
@@ -2616,7 +2525,7 @@ declare function useRevokeSessions(options?: Partial<AuthQueryOptions>): {
|
|
|
2616
2525
|
query?: Record<string, any> | undefined;
|
|
2617
2526
|
fetchOptions?: better_auth.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
2618
2527
|
}> | undefined, "fetchOptions"> & {
|
|
2619
|
-
fetchOptions?:
|
|
2528
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
2620
2529
|
}): Promise<NonThrowableResult>;
|
|
2621
2530
|
};
|
|
2622
2531
|
isPending: boolean;
|
|
@@ -2658,7 +2567,7 @@ declare function useRevokeSessions(options?: Partial<AuthQueryOptions>): {
|
|
|
2658
2567
|
query?: Record<string, any> | undefined;
|
|
2659
2568
|
fetchOptions?: better_auth.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined> | undefined;
|
|
2660
2569
|
}> | undefined, "fetchOptions"> & {
|
|
2661
|
-
fetchOptions?:
|
|
2570
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
2662
2571
|
}): Promise<NonThrowableResult>;
|
|
2663
2572
|
};
|
|
2664
2573
|
isPending: boolean;
|
|
@@ -2682,6 +2591,21 @@ declare function useRevokeSessions(options?: Partial<AuthQueryOptions>): {
|
|
|
2682
2591
|
submittedAt: number;
|
|
2683
2592
|
};
|
|
2684
2593
|
|
|
2594
|
+
declare function useInvitation(params: Parameters<AuthClient["organization"]["getInvitation"]>[0], options?: Partial<AnyUseQueryOptions>): _tanstack_react_query.UseQueryResult<NonNullable<{
|
|
2595
|
+
id: string;
|
|
2596
|
+
organizationId: string;
|
|
2597
|
+
email: string;
|
|
2598
|
+
role: "admin" | "member" | "owner";
|
|
2599
|
+
status: better_auth_plugins_organization.InvitationStatus;
|
|
2600
|
+
inviterId: string;
|
|
2601
|
+
expiresAt: Date;
|
|
2602
|
+
createdAt: Date;
|
|
2603
|
+
} & {
|
|
2604
|
+
organizationName: string;
|
|
2605
|
+
organizationSlug: string;
|
|
2606
|
+
inviterEmail: string;
|
|
2607
|
+
}>, Error>;
|
|
2608
|
+
|
|
2685
2609
|
type LayoutContextType = {
|
|
2686
2610
|
style: CSSProperties;
|
|
2687
2611
|
bodyClassName: string;
|
|
@@ -3402,7 +3326,7 @@ declare function useUpdateUser(options?: Partial<AuthQueryOptions>): {
|
|
|
3402
3326
|
username?: string | null | undefined;
|
|
3403
3327
|
displayUsername?: string | null | undefined;
|
|
3404
3328
|
} & {} & {}>> | undefined, "fetchOptions"> & {
|
|
3405
|
-
fetchOptions?:
|
|
3329
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
3406
3330
|
}): Promise<NonThrowableResult>;
|
|
3407
3331
|
};
|
|
3408
3332
|
isPending: boolean;
|
|
@@ -3468,7 +3392,7 @@ declare function useUpdateUser(options?: Partial<AuthQueryOptions>): {
|
|
|
3468
3392
|
username?: string | null | undefined;
|
|
3469
3393
|
displayUsername?: string | null | undefined;
|
|
3470
3394
|
} & {} & {}>> | undefined, "fetchOptions"> & {
|
|
3471
|
-
fetchOptions?:
|
|
3395
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
3472
3396
|
}): Promise<NonThrowableResult>;
|
|
3473
3397
|
};
|
|
3474
3398
|
isPending: boolean;
|
|
@@ -3546,7 +3470,7 @@ declare function useUpdateUser(options?: Partial<AuthQueryOptions>): {
|
|
|
3546
3470
|
username?: string | null | undefined;
|
|
3547
3471
|
displayUsername?: string | null | undefined;
|
|
3548
3472
|
} & {} & {}>> | undefined, "fetchOptions"> & {
|
|
3549
|
-
fetchOptions?:
|
|
3473
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
3550
3474
|
}): Promise<NonThrowableResult>;
|
|
3551
3475
|
};
|
|
3552
3476
|
isPending: boolean;
|
|
@@ -3624,7 +3548,7 @@ declare function useUpdateUser(options?: Partial<AuthQueryOptions>): {
|
|
|
3624
3548
|
username?: string | null | undefined;
|
|
3625
3549
|
displayUsername?: string | null | undefined;
|
|
3626
3550
|
} & {} & {}>> | undefined, "fetchOptions"> & {
|
|
3627
|
-
fetchOptions?:
|
|
3551
|
+
fetchOptions?: better_auth_react.BetterFetchOption;
|
|
3628
3552
|
}): Promise<NonThrowableResult>;
|
|
3629
3553
|
};
|
|
3630
3554
|
isPending: boolean;
|
|
@@ -3657,20 +3581,18 @@ declare function useUpdateUser(options?: Partial<AuthQueryOptions>): {
|
|
|
3657
3581
|
submittedAt: number;
|
|
3658
3582
|
};
|
|
3659
3583
|
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
}
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
inviterEmail: string;
|
|
3673
|
-
}>, Error>;
|
|
3584
|
+
type WorkspaceContextType = {
|
|
3585
|
+
activeWorkspace: Workspace | null;
|
|
3586
|
+
workspaceList: Workspace[] | null;
|
|
3587
|
+
isFetchingWorkspace: boolean;
|
|
3588
|
+
isOwner: boolean;
|
|
3589
|
+
isAdmin: boolean;
|
|
3590
|
+
isMember: boolean;
|
|
3591
|
+
currentUserRole: string | null;
|
|
3592
|
+
updateActiveWorkspace: (workspace: Partial<Workspace>) => Promise<void>;
|
|
3593
|
+
};
|
|
3594
|
+
declare const WorkspaceContext: react.Context<WorkspaceContextType | undefined>;
|
|
3595
|
+
declare function useWorkspace(): WorkspaceContextType;
|
|
3674
3596
|
|
|
3675
3597
|
declare function BackupCodesDialog({ classNames, onOpenChange, title, description, backupCodes, ...props }: DialogComponentProps & {
|
|
3676
3598
|
backupCodes: string[];
|
|
@@ -3874,9 +3796,12 @@ declare function TwoFactorForm({ className, classNames, isSubmitting, otpSeparat
|
|
|
3874
3796
|
declare function AuthView({ className, classNames, cardHeader, enableAcceptInvitation: enableAcceptInvitationProp, otpSeparators, path: pathProp, pathname, redirectTo, socialLayout: socialLayoutProp, view: viewProp, }: AuthViewProps): react_jsx_runtime.JSX.Element;
|
|
3875
3797
|
declare function AuthForm({ className, classNames, isSubmitting, otpSeparators, pathname, redirectTo, setIsSubmitting, view: viewProp, }: AuthFormProps): react_jsx_runtime.JSX.Element | null;
|
|
3876
3798
|
|
|
3877
|
-
declare function AuthLayout({ children, logo, }: {
|
|
3799
|
+
declare function AuthLayout({ children, logo, disableFooter, signInHint, signInHref, }: {
|
|
3878
3800
|
children: ReactNode;
|
|
3879
3801
|
logo?: ReactNode;
|
|
3802
|
+
disableFooter?: boolean;
|
|
3803
|
+
signInHint?: boolean;
|
|
3804
|
+
signInHref?: string;
|
|
3880
3805
|
}): react_jsx_runtime.JSX.Element;
|
|
3881
3806
|
|
|
3882
3807
|
declare function Header({ children }: {
|
|
@@ -3902,6 +3827,7 @@ declare function SidebarHeaderBack({ linkHref, admin, }: {
|
|
|
3902
3827
|
linkHref?: string;
|
|
3903
3828
|
admin?: boolean;
|
|
3904
3829
|
}): react_jsx_runtime.JSX.Element;
|
|
3830
|
+
declare function SidebarHeaderWorkspaces(): react_jsx_runtime.JSX.Element;
|
|
3905
3831
|
declare function SidebarContent({ children }: {
|
|
3906
3832
|
children: ReactNode;
|
|
3907
3833
|
}): react_jsx_runtime.JSX.Element;
|
|
@@ -3944,7 +3870,24 @@ interface AcceptInvitationProps {
|
|
|
3944
3870
|
classNames?: CardClassNames;
|
|
3945
3871
|
redirectTo?: string;
|
|
3946
3872
|
}
|
|
3947
|
-
declare function AcceptInvitation({ className, classNames, redirectTo
|
|
3873
|
+
declare function AcceptInvitation({ className, classNames, redirectTo, }: AcceptInvitationProps): react_jsx_runtime.JSX.Element;
|
|
3874
|
+
|
|
3875
|
+
interface NewWorkspaceProps {
|
|
3876
|
+
className?: string;
|
|
3877
|
+
classNames?: CardClassNames;
|
|
3878
|
+
}
|
|
3879
|
+
declare function NewWorkspace({ className, classNames }: NewWorkspaceProps): react_jsx_runtime.JSX.Element;
|
|
3880
|
+
declare function NewWorkspaceForm({ hasWorkspaces }: {
|
|
3881
|
+
hasWorkspaces?: boolean;
|
|
3882
|
+
}): react_jsx_runtime.JSX.Element;
|
|
3883
|
+
|
|
3884
|
+
interface VerifyEmailProps {
|
|
3885
|
+
className?: string;
|
|
3886
|
+
classNames?: CardClassNames;
|
|
3887
|
+
callbackUrl: string;
|
|
3888
|
+
email: string;
|
|
3889
|
+
}
|
|
3890
|
+
declare function VerifyEmail({ className, classNames, callbackUrl, email }: VerifyEmailProps): react_jsx_runtime.JSX.Element;
|
|
3948
3891
|
|
|
3949
3892
|
interface LayoutProviderProps {
|
|
3950
3893
|
children: ReactNode;
|
|
@@ -3964,6 +3907,15 @@ interface SharedProvidersProps {
|
|
|
3964
3907
|
}
|
|
3965
3908
|
declare function SharedProviders({ children, locale, messages, timeZone, sonnerPosition, }: SharedProvidersProps): react_jsx_runtime.JSX.Element;
|
|
3966
3909
|
|
|
3910
|
+
type WorkspaceProviderProps = {
|
|
3911
|
+
children: ReactNode;
|
|
3912
|
+
initialWorkspace: Workspace | null;
|
|
3913
|
+
workspaceSlug: string;
|
|
3914
|
+
fetchWorkspaceList?: string;
|
|
3915
|
+
fetchWorkspaceBySlug?: string;
|
|
3916
|
+
};
|
|
3917
|
+
declare function WorkspaceProvider({ children, initialWorkspace, workspaceSlug, fetchWorkspaceList: fetchWorkspaceListProp, fetchWorkspaceBySlug: fetchWorkspaceBySlugProp, }: WorkspaceProviderProps): react_jsx_runtime.JSX.Element;
|
|
3918
|
+
|
|
3967
3919
|
declare function CardComponent({ children, className, classNames, title, description, instructions, actionLabel, action, disabled, isDestructive, isPending, isSubmitting, ...props }: CardComponentProps): react_jsx_runtime.JSX.Element;
|
|
3968
3920
|
declare function CardHeaderComponent({ className, classNames, title, description, isPending, }: CardComponentProps): react_jsx_runtime.JSX.Element;
|
|
3969
3921
|
declare function CardFooterComponent({ className, classNames, instructions, actionLabel, action, disabled, isDestructive, isPending, isSubmitting, }: CardComponentProps): react_jsx_runtime.JSX.Element;
|
|
@@ -3981,7 +3933,9 @@ declare function SkeletonInputComponent({ classNames }: {
|
|
|
3981
3933
|
|
|
3982
3934
|
declare function getUserName(user: Profile | null | undefined): string | null | undefined;
|
|
3983
3935
|
declare function UserAvatar({ className, classNames, isPending, size, user, ...props }: AvatarProps): react_jsx_runtime.JSX.Element;
|
|
3984
|
-
declare function WorkspaceLogo({ className, classNames, isPending, size, workspace, ...props }: AvatarProps
|
|
3936
|
+
declare function WorkspaceLogo({ className, classNames, isPending, size, workspace, image, ...props }: AvatarProps & {
|
|
3937
|
+
image?: string;
|
|
3938
|
+
}): react_jsx_runtime.JSX.Element;
|
|
3985
3939
|
|
|
3986
3940
|
declare function DisplayIdCard({ className, classNames, isPending, id, title, description, ...props }: CardComponentProps & {
|
|
3987
3941
|
id: string | undefined;
|
|
@@ -4023,4 +3977,22 @@ declare function ApiKeyView({ className, classNames, apiKey }: ViewProps & {
|
|
|
4023
3977
|
}): react_jsx_runtime.JSX.Element;
|
|
4024
3978
|
declare function WorkspaceView({ className, classNames, isPending, size, workspace }: ViewProps): react_jsx_runtime.JSX.Element;
|
|
4025
3979
|
|
|
4026
|
-
|
|
3980
|
+
declare function WorkspaceDeleteCard({ className, classNames, ...props }: CardComponentProps): react_jsx_runtime.JSX.Element | null;
|
|
3981
|
+
|
|
3982
|
+
declare function WorkspaceLogoCard({ className, classNames, logo, ...props }: CardComponentProps & {
|
|
3983
|
+
logo?: ImageOptions;
|
|
3984
|
+
}): react_jsx_runtime.JSX.Element;
|
|
3985
|
+
|
|
3986
|
+
declare function WorkspaceNameCard({ className, classNames, ...props }: CardComponentProps): react_jsx_runtime.JSX.Element;
|
|
3987
|
+
|
|
3988
|
+
declare function WorkspaceSlugCard({ className, classNames, ...props }: CardComponentProps): react_jsx_runtime.JSX.Element;
|
|
3989
|
+
|
|
3990
|
+
declare function WorkspaceSettingsCards({ className, classNames, logo, }: {
|
|
3991
|
+
className?: string;
|
|
3992
|
+
classNames?: CardClassNames;
|
|
3993
|
+
logo?: ImageOptions;
|
|
3994
|
+
}): react_jsx_runtime.JSX.Element;
|
|
3995
|
+
|
|
3996
|
+
declare function WorkspaceSwitcher(): react_jsx_runtime.JSX.Element;
|
|
3997
|
+
|
|
3998
|
+
export { AcceptInvitation, ApiKeyDeleteDialog, ApiKeyDisplayDialog, ApiKeyView, ApiKeysCard, type AuthButtonProps, AuthCallback, AuthForm, type AuthFormClassNames, type AuthFormProps, AuthLayout, AuthView, type AuthViewClassNames, type AuthViewProps, BackupCodesDialog, CardActionComponent, CardComponent, CardFooterComponent, CardHeaderComponent, ConfigContext, ConfigProvider, type ConfigProviderProps, CreateApiKeyDialog, DeleteAccountCard, DeleteAccountDialog, DialogComponent, DialogFooterComponent, DisplayIdCard, EmailOTPButton, EmailOTPForm, EmptyState, type EmptyStateProps, ForgotPasswordForm, FormAvatarCard, FormEmailCard, FormFieldsCard, FormNameCard, FormPasswordCard, FormUsernameCard, Header, HeaderLeft, HeaderRight, HeaderSidebarMobile, LanguageSwitcher, LastUsedButton, LayoutContext, type LayoutContextType, LayoutLoader, LayoutProvider, type LayoutProviderProps, LayoutWrapper, MagicLinkButton, MagicLinkForm, MultiAccountCard, NewWorkspace, NewWorkspaceForm, OTPInputGroup, OneTap, PasskeyButton, PasskeysCard, PasswordInput, ProviderButton, ProvidersCard, QueryContext, RecoverAccountForm, ResetPasswordForm, SecurityCards, SessionFreshnessDialog, SessionsCard, SettingsCards, SharedProviders, type SharedProvidersProps, Sidebar, SidebarContent, SidebarContentMenu, SidebarHeaderBack, SidebarHeaderWorkspaces, SignInForm, SignOut, SignUpForm, SignedInHint, SiteFooter, SiteHeader, SiteHeaderSecondary, SkeletonInputComponent, SkeletonViewComponent, Toolbar, TwoFactorCard, TwoFactorForm, TwoFactorPasswordDialog, UserAvatar, UserMenu, UserView, VerifyEmail, WorkspaceContext, type WorkspaceContextType, WorkspaceDeleteCard, WorkspaceLogo, WorkspaceLogoCard, WorkspaceNameCard, WorkspaceProvider, WorkspaceSettingsCards, WorkspaceSlugCard, WorkspaceSwitcher, WorkspaceView, getUserName, useAccountInfo, useAuthMutation, useAuthQuery, useConfig, useCreateApiKey, useDeleteApiKey, useDeletePasskey, useInvitation, useLayout, useListAccounts, useListApiKeys, useListDeviceSessions, useListPasskeys, useListSessions, useOnMutateError, useOnSuccessTransition, useRevokeDeviceSession, useRevokeOtherSessions, useRevokeSession, useRevokeSessions, useSession, useSetActiveSession, useUnlinkAccount, useUpdateUser, useWorkspace };
|