web: fix enums

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-05-16 15:31:13 +02:00
parent ef9f08553c
commit 99be97206b
16 changed files with 103 additions and 103 deletions

View File

@ -1,4 +1,4 @@
import { ChallengeTypeEnum } from "authentik-api";
import { ChallengeChoices } from "authentik-api";
export interface Error {
code: string;
@ -10,7 +10,7 @@ export interface ErrorDict {
}
export interface Challenge {
type: ChallengeTypeEnum;
type: ChallengeChoices;
component?: string;
title?: string;
response_errors?: ErrorDict;