web: use API as dedicated module

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-03-16 21:32:39 +01:00
parent db99225c65
commit 5f024eb1f7
68 changed files with 91 additions and 110 deletions

View File

@ -27,7 +27,7 @@ import { CaptchaChallenge } from "./stages/captcha/CaptchaStage";
import { COMMON_STYLES } from "../common/styles";
import { SpinnerSize } from "../elements/Spinner";
import { StageHost } from "./stages/base";
import { Challenge, ChallengeTypeEnum, FlowsApi } from "../api";
import { Challenge, ChallengeTypeEnum, FlowsApi } from "authentik-api";
import { DEFAULT_CONFIG } from "../api/Config";
@customElement("ak-flow-executor")

View File

@ -1,6 +1,6 @@
import { gettext } from "django";
import { CSSResult, customElement, html, property, TemplateResult } from "lit-element";
import { Challenge } from "../../../api";
import { Challenge } from "authentik-api";
import { COMMON_STYLES } from "../../../common/styles";
import { BaseStage } from "../base";
import "../../../elements/utils/LoadingState";