@crystaltech/hsms-shared-ui 0.7.12 → 0.7.13-alpha.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/dist/config/auth.d.ts +16 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +7526 -7389
- package/dist/index.js +78 -78
- package/dist/sw.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type AccountConsoleRoutes = {
|
|
2
|
+
profile?: string;
|
|
3
|
+
changePassword?: string;
|
|
4
|
+
};
|
|
5
|
+
export type AuthConfig = {
|
|
6
|
+
accountConsoleUrl?: string;
|
|
7
|
+
accountConsoleRoutes?: AccountConsoleRoutes;
|
|
8
|
+
postLogoutRedirectUri?: string;
|
|
9
|
+
};
|
|
10
|
+
export declare function configureAuthPackage(next: Partial<AuthConfig>): void;
|
|
11
|
+
export declare function getAuthConfig(): AuthConfig;
|
|
12
|
+
export declare function setAccountConsoleUrl(url?: string): void;
|
|
13
|
+
export declare function setPostLogoutRedirectUri(url?: string): void;
|
|
14
|
+
export declare function setAccountConsoleRoutes(routes?: AccountConsoleRoutes): void;
|
|
15
|
+
export declare function getAccountConsoleUrl(): string | null;
|
|
16
|
+
export declare function getPostLogoutRedirectUri(fallback?: string): string;
|
package/dist/index.d.ts
CHANGED
|
@@ -25,5 +25,6 @@ export { default as Loader } from './components/ui/Loader';
|
|
|
25
25
|
export { default as RoutesConfigLayout } from './routes/RoutesConfigLayout';
|
|
26
26
|
export { default as ThemeCustomization } from './theme/ThemeCustomization';
|
|
27
27
|
export { configureCommonPackage, getApiBaseUrl, getCommonConfig, setApiBaseUrl, } from './config/env';
|
|
28
|
+
export { configureAuthPackage, getAccountConsoleUrl, getAuthConfig, getPostLogoutRedirectUri, setAccountConsoleRoutes, setAccountConsoleUrl, setPostLogoutRedirectUri, } from './config/auth';
|
|
28
29
|
export { defaultTheme } from './theme/defaultTheme';
|
|
29
30
|
export type { ITheme, TypographyStyle } from './theme/defaultTheme';
|