Fix type confusion

This commit is contained in:
Joseph Garrone 2024-05-11 16:32:21 +02:00
parent 064f3b2041
commit 754b5be768

View File

@ -40,7 +40,8 @@ export type KcContext =
| KcContext.Code | KcContext.Code
| KcContext.DeleteAccountConfirm | KcContext.DeleteAccountConfirm
| KcContext.FrontchannelLogout | KcContext.FrontchannelLogout
| KcContext.LoginRecoveryAuthnCodeConfig; | KcContext.LoginRecoveryAuthnCodeConfig
| KcContext.LoginRecoveryAuthnCodeInput;
assert<KcContext["themeType"] extends ThemeType ? true : false>(); assert<KcContext["themeType"] extends ThemeType ? true : false>();
@ -535,9 +536,13 @@ export declare namespace KcContext {
recoveryAuthnCodesConfigBean: { recoveryAuthnCodesConfigBean: {
generatedRecoveryAuthnCodesList: string[]; generatedRecoveryAuthnCodesList: string[];
generatedRecoveryAuthnCodesAsString: string; generatedRecoveryAuthnCodesAsString: string;
generatedAt: string; generatedAt: number;
}; };
}; };
export type LoginRecoveryAuthnCodeInput = Common & {
pageId: "login-recovery-authn-code-input.ftl";
};
} }
export type UserProfile = { export type UserProfile = {