mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
chore(server): update openapi (#2205)
This commit is contained in:
parent
91e27affeb
commit
983abf5e14
65 changed files with 756 additions and 1458 deletions
7
web/src/api/open-api/base.ts
generated
7
web/src/api/open-api/base.ts
generated
|
|
@ -13,10 +13,11 @@
|
|||
*/
|
||||
|
||||
|
||||
import { Configuration } from "./configuration";
|
||||
import type { Configuration } from './configuration';
|
||||
// Some imports not used depending on template conditions
|
||||
// @ts-ignore
|
||||
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
||||
import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
||||
import globalAxios from 'axios';
|
||||
|
||||
export const BASE_PATH = "/api".replace(/\/+$/, "");
|
||||
|
||||
|
|
@ -64,8 +65,8 @@ export class BaseAPI {
|
|||
* @extends {Error}
|
||||
*/
|
||||
export class RequiredError extends Error {
|
||||
name: "RequiredError" = "RequiredError";
|
||||
constructor(public field: string, msg?: string) {
|
||||
super(msg);
|
||||
this.name = "RequiredError"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue