Upgrade to latest openapi codegen

This commit is contained in:
2024-07-03 14:16:11 +02:00
parent 82524bac8c
commit c36b64cff1
43 changed files with 115 additions and 706 deletions

View File

@@ -1,4 +1,4 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
@@ -50,7 +50,7 @@ export class CancelablePromise<T> implements Promise<T> {
return;
}
this.#isResolved = true;
this.#resolve?.(value);
if (this.#resolve) this.#resolve(value);
};
const onReject = (reason?: any): void => {
@@ -58,7 +58,7 @@ export class CancelablePromise<T> implements Promise<T> {
return;
}
this.#isRejected = true;
this.#reject?.(reason);
if (this.#reject) this.#reject(reason);
};
const onCancel = (cancelHandler: () => void): void => {
@@ -121,7 +121,7 @@ export class CancelablePromise<T> implements Promise<T> {
}
}
this.#cancelHandlers.length = 0;
this.#reject?.(new CancelError("Request aborted"));
if (this.#reject) this.#reject(new CancelError("Request aborted"));
}
public get isCancelled(): boolean {