root: fix build for static files during e2e

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-03-30 13:35:34 +02:00
parent b1967b42e3
commit 3686cba6b4
2 changed files with 2 additions and 15 deletions

View File

@ -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

View File

@ -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;