From 3686cba6b4cdfe7aa3d6e2d229a23697eaa0ab0f Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 30 Mar 2021 13:35:34 +0200 Subject: [PATCH] root: fix build for static files during e2e Signed-off-by: Jens Langhammer --- azure-pipelines.yml | 4 ++-- web/src/api/Client.ts | 13 ------------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a36438ac2..54490ff0d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -285,9 +285,9 @@ stages: inputs: script: | docker run --rm -v $(pwd):/local openapitools/openapi-generator-cli generate -i /local/swagger.yaml -g typescript-fetch -o /local/web/api --additional-properties=typescriptThreePlus=true,supportsES6=true,npmName=authentik-api,npmVersion=1.0.0 - sudo chmod 777 -R api/ + sudo chmod 777 -R web/api/ cd web - sudo chmod 777 -R api/ + cd api && npm i && cd .. npm i npm run build - task: CmdLine@2 diff --git a/web/src/api/Client.ts b/web/src/api/Client.ts index 20a8efd22..e7b79a27e 100644 --- a/web/src/api/Client.ts +++ b/web/src/api/Client.ts @@ -1,16 +1,3 @@ -export interface QueryArguments { - page?: number; - page_size?: number; - [key: string]: number | string | boolean | undefined | null; -} - -export interface BaseInheritanceModel { - objectType: string; - - verboseName: string; - verboseNamePlural: string; -} - export interface AKPagination { next?: number; previous?: number;