Fix build
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
import type { TemplateProps, ClassKey } from "keycloakify/account/TemplateProps";
|
import type { TemplateProps, ClassKey } from "keycloakify/account/TemplateProps";
|
||||||
import type { LazyOrNot } from "keycloakify/tools/LazyOrNot";
|
import type { LazyOrNot } from "keycloakify/tools/LazyOrNot";
|
||||||
import type { I18n } from "../i18n";
|
import type { I18n } from "../i18n";
|
||||||
import type { KcContext } from "../kcContext";
|
import type { KcContext } from "../KcContext";
|
||||||
|
|
||||||
export type PageProps<NarrowedKcContext = KcContext, I18nExtended extends I18n = I18n> = {
|
export type PageProps<NarrowedKcContext = KcContext, I18nExtended extends I18n = I18n> = {
|
||||||
Template: LazyOrNot<(props: TemplateProps<any, any>) => JSX.Element | null>;
|
Template: LazyOrNot<(props: TemplateProps<any, any>) => JSX.Element | null>;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import type { I18n } from "keycloakify/login/i18n";
|
import type { I18n } from "keycloakify/login/i18n";
|
||||||
import { type TemplateProps, type ClassKey } from "keycloakify/login/TemplateProps";
|
import { type TemplateProps, type ClassKey } from "keycloakify/login/TemplateProps";
|
||||||
import type { LazyOrNot } from "keycloakify/tools/LazyOrNot";
|
import type { LazyOrNot } from "keycloakify/tools/LazyOrNot";
|
||||||
import type { KcContext } from "keycloakify/account/kcContext";
|
import type { KcContext } from "keycloakify/account/KcContext";
|
||||||
|
|
||||||
export type PageProps<NarowedKcContext = KcContext, I18nExtended extends I18n = I18n> = {
|
export type PageProps<NarowedKcContext = KcContext, I18nExtended extends I18n = I18n> = {
|
||||||
Template: LazyOrNot<(props: TemplateProps<any, any>) => JSX.Element | null>;
|
Template: LazyOrNot<(props: TemplateProps<any, any>) => JSX.Element | null>;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import Fallback from "../../dist/account/Fallback";
|
import Fallback from "../../dist/account/Fallback";
|
||||||
import type { KcContext } from "./kcContext";
|
import type { KcContext } from "./KcContext";
|
||||||
import { useI18n } from "./i18n";
|
import { useI18n } from "./i18n";
|
||||||
import Template from "../../dist/account/Template";
|
import Template from "../../dist/account/Template";
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import type { KcContext } from "./kcContext";
|
import type { KcContext } from "./KcContext";
|
||||||
import KcApp from "./KcApp";
|
import KcApp from "./KcApp";
|
||||||
import type { DeepPartial } from "../../dist/tools/DeepPartial";
|
import type { DeepPartial } from "../../dist/tools/DeepPartial";
|
||||||
import { createGetKcContextMock } from "../../dist/account";
|
import { createGetKcContextMock } from "../../dist/account";
|
||||||
import type { KcContextExtraProperties, KcContextExtraPropertiesPerPage } from "./kcContext";
|
import type { KcContextExtraProperties, KcContextExtraPropertiesPerPage } from "./KcContext";
|
||||||
|
|
||||||
const kcContextExtraProperties: KcContextExtraProperties = {};
|
const kcContextExtraProperties: KcContextExtraProperties = {};
|
||||||
const kcContextExtraPropertiesPerPage: KcContextExtraPropertiesPerPage = {};
|
const kcContextExtraPropertiesPerPage: KcContextExtraPropertiesPerPage = {};
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import Fallback from "../../dist/login/Fallback";
|
import Fallback from "../../dist/login/Fallback";
|
||||||
import type { KcContext } from "./kcContext";
|
import type { KcContext } from "./KcContext";
|
||||||
import { useI18n } from "./i18n";
|
import { useI18n } from "./i18n";
|
||||||
import { useDownloadTerms } from "../../dist/login/lib/useDownloadTerms";
|
import { useDownloadTerms } from "../../dist/login/lib/useDownloadTerms";
|
||||||
import Template from "../../dist/login/Template";
|
import Template from "../../dist/login/Template";
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import type { KcContext } from "./kcContext";
|
import type { KcContext } from "./KcContext";
|
||||||
import KcApp from "./KcApp";
|
import KcApp from "./KcApp";
|
||||||
import type { DeepPartial } from "../../dist/tools/DeepPartial";
|
import type { DeepPartial } from "../../dist/tools/DeepPartial";
|
||||||
import { createGetKcContextMock } from "../../dist/login";
|
import { createGetKcContextMock } from "../../dist/login";
|
||||||
import type { KcContextExtraProperties, KcContextExtraPropertiesPerPage } from "./kcContext";
|
import type { KcContextExtraProperties, KcContextExtraPropertiesPerPage } from "./KcContext";
|
||||||
|
|
||||||
const kcContextExtraProperties: KcContextExtraProperties = {};
|
const kcContextExtraProperties: KcContextExtraProperties = {};
|
||||||
const kcContextExtraPropertiesPerPage: KcContextExtraPropertiesPerPage = {};
|
const kcContextExtraPropertiesPerPage: KcContextExtraPropertiesPerPage = {};
|
||||||
|
Reference in New Issue
Block a user