Include keycloakfiy version number in kcContext (for debug purpose)

This commit is contained in:
garronej
2023-04-04 01:40:55 +02:00
parent f6c2ccb0d6
commit 49e495dbbe
8 changed files with 22 additions and 6 deletions

View File

@ -36,6 +36,7 @@ export type KcContext =
export declare namespace KcContext {
export type Common = {
keycloakifyVersion: string;
url: {
loginAction: string;
resourcesPath: string;

View File

@ -101,6 +101,7 @@ const attributes: Attribute[] = [
const attributesByName = Object.fromEntries(attributes.map(attribute => [attribute.name, attribute])) as any;
export const kcContextCommonMock: KcContext.Common = {
"keycloakifyVersion": "0.0.0",
"url": {
"loginAction": "#",
"resourcesPath": pathJoin(PUBLIC_URL, mockTestingResourcesPath),