Feature update-user-profile.ftl #164

This commit is contained in:
garronej
2022-09-09 02:07:29 +02:00
parent d8b00da3a1
commit 4159883791
8 changed files with 381 additions and 258 deletions

View File

@ -25,7 +25,8 @@ export type KcContextBase =
| KcContextBase.LoginIdpLinkEmail
| KcContextBase.LoginPageExpired
| KcContextBase.LoginConfigTotp
| KcContextBase.LogoutConfirm;
| KcContextBase.LogoutConfirm
| KcContextBase.UpdateUserProfile;
export declare namespace KcContextBase {
export type Common = {
@ -270,6 +271,15 @@ export declare namespace KcContextBase {
skipLink?: boolean;
};
};
export type UpdateUserProfile = Common & {
pageId: "update-user-profile.ftl";
profile: {
context: "REGISTRATION_PROFILE";
attributes: Attribute[];
attributesByName: Record<string, Attribute>;
};
};
}
export type Attribute = {