root: fix build for static files during e2e
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
b1967b42e3
commit
3686cba6b4
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Reference in New Issue