bump version
This commit is contained in:
1
src/lib/index.ts
Normal file
1
src/lib/index.ts
Normal file
@ -0,0 +1 @@
|
||||
export * from "./keycloakFtlValues";
|
@ -1,3 +0,0 @@
|
||||
|
||||
|
||||
export { };
|
19
src/lib/keycloakFtlValues.ts
Normal file
19
src/lib/keycloakFtlValues.ts
Normal 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]) };
|
||||
;
|
Reference in New Issue
Block a user