2023-03-20 05:14:25 +01:00
|
|
|
import type { I18n } from "keycloakify/account/i18n";
|
2023-03-21 05:27:31 +01:00
|
|
|
import type { TemplateProps, ClassKey } from "keycloakify/account/TemplateProps";
|
2024-01-10 12:42:48 +01:00
|
|
|
import type { LazyOrNot } from "keycloakify/tools/LazyOrNot";
|
2024-02-12 13:27:07 +01:00
|
|
|
import type { KcContext } from "keycloakify/account/kcContext";
|
2023-03-20 05:14:25 +01:00
|
|
|
|
2024-02-12 13:27:07 +01:00
|
|
|
export type PageProps<NarowedKcContext = KcContext, I18nExtended extends I18n = I18n> = {
|
2024-01-10 12:42:48 +01:00
|
|
|
Template: LazyOrNot<(props: TemplateProps<any, any>) => JSX.Element | null>;
|
2024-02-12 13:27:07 +01:00
|
|
|
kcContext: NarowedKcContext;
|
2023-03-20 05:14:25 +01:00
|
|
|
i18n: I18nExtended;
|
|
|
|
doUseDefaultCss: boolean;
|
|
|
|
classes?: Partial<Record<ClassKey, string>>;
|
|
|
|
};
|