bump version

This commit is contained in:
Joseph Garrone
2021-02-23 15:32:37 +01:00
parent c08c70dbd8
commit da5efb67e0
7 changed files with 39 additions and 20 deletions

1
src/lib/index.ts Normal file
View File

@ -0,0 +1 @@
export * from "./keycloakFtlValues";

View File

@ -1,3 +0,0 @@
export { };

View File

@ -0,0 +1,19 @@
import { ftlValuesGlobalName } from "../bin/build-keycloak-theme/generateKeycloakThemeResources";
import type { generateFtlFilesCodeFactory } from "../bin/build-keycloak-theme/generateFtl";
import { id } from "evt/tools/typeSafety/id";
export type KeycloakFtlValues = {
pageBasename: Parameters<ReturnType<typeof generateFtlFilesCodeFactory>["generateFtlFilesCode"]>[0]["pageBasename"];
url: {
loginAction: string,
resourcesPath: string
}
};
export const { keycloakPagesContext } =
{ [ftlValuesGlobalName]: id<KeycloakFtlValues | undefined>((window as any)[ftlValuesGlobalName]) };
;