mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-21 13:23:14 +01:00
fix: borked doc param
This commit is contained in:
@@ -33,7 +33,7 @@ tasks:
|
|||||||
desc: Generates typescript types from swagger definition
|
desc: Generates typescript types from swagger definition
|
||||||
cmds:
|
cmds:
|
||||||
- |
|
- |
|
||||||
npx swagger-typescript-api \
|
pnpm dlx swagger-typescript-api generate \
|
||||||
--no-client \
|
--no-client \
|
||||||
--modular \
|
--modular \
|
||||||
--path ./backend/app/api/static/docs/swagger.json \
|
--path ./backend/app/api/static/docs/swagger.json \
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ aside: false
|
|||||||
| HBOX_MAILER_FROM | | email from address to use |
|
| HBOX_MAILER_FROM | | email from address to use |
|
||||||
| HBOX_SWAGGER_HOST | 7745 | swagger host to use, if not set swagger will be disabled |
|
| HBOX_SWAGGER_HOST | 7745 | swagger host to use, if not set swagger will be disabled |
|
||||||
| HBOX_SWAGGER_SCHEMA | `http` | swagger schema to use, can be one of: `http`, `https` |
|
| HBOX_SWAGGER_SCHEMA | `http` | swagger schema to use, can be one of: `http`, `https` |
|
||||||
| HBOX_DATABASE_TYPE | sqlite3 | sets the correct database type (`sqlite3` or `postgres`) |
|
| HBOX_DATABASE_DRIVER | sqlite3 | sets the correct database type (`sqlite3` or `postgres`) |
|
||||||
| HBOX_DATABASE_SQLITE_PATH | ./.data/homebox.db?_pragma=busy_timeout=999&_pragma=journal_mode=WAL&_fk=1 | sets the directory path for Sqlite |
|
| HBOX_DATABASE_SQLITE_PATH | ./.data/homebox.db?_pragma=busy_timeout=999&_pragma=journal_mode=WAL&_fk=1 | sets the directory path for Sqlite |
|
||||||
| HBOX_DATABASE_HOST | | sets the hostname for a postgres database |
|
| HBOX_DATABASE_HOST | | sets the hostname for a postgres database |
|
||||||
| HBOX_DATABASE_PORT | | sets the port for a postgres database |
|
| HBOX_DATABASE_PORT | | sets the port for a postgres database |
|
||||||
@@ -87,7 +87,7 @@ OPTIONS
|
|||||||
--demo/$HBOX_DEMO <bool>
|
--demo/$HBOX_DEMO <bool>
|
||||||
--debug-enabled/$HBOX_DEBUG_ENABLED <bool> (default: false)
|
--debug-enabled/$HBOX_DEBUG_ENABLED <bool> (default: false)
|
||||||
--debug-port/$HBOX_DEBUG_PORT <string> (default: 4000)
|
--debug-port/$HBOX_DEBUG_PORT <string> (default: 4000)
|
||||||
--database-type/$HBOX_DATABASE_TYPE <string> (default: sqlite3)
|
--database-driver/$HBOX_DATABASE_DRIVER <string> (default: sqlite3)
|
||||||
--database-sqlite-path/$HBOX_DATABASE_SQLITE_PATH <string> (default: ./.data/homebox.db?_pragma=busy_timeout=999&_pragma=journal_mode=WAL&_fk=1)
|
--database-sqlite-path/$HBOX_DATABASE_SQLITE_PATH <string> (default: ./.data/homebox.db?_pragma=busy_timeout=999&_pragma=journal_mode=WAL&_fk=1)
|
||||||
--database-host/$HBOX_DATABASE_HOST <string>
|
--database-host/$HBOX_DATABASE_HOST <string>
|
||||||
--database-port/$HBOX_DATABASE_PORT <string>
|
--database-port/$HBOX_DATABASE_PORT <string>
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
/* post-processed by ./scripts/process-types.go */
|
/* post-processed by ./scripts/process-types.go */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
|
// @ts-nocheck
|
||||||
/*
|
/*
|
||||||
* ---------------------------------------------------------------
|
* ---------------------------------------------------------------
|
||||||
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
* ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
|
||||||
@@ -472,9 +473,3 @@ export interface ValidateErrorResponse {
|
|||||||
error: string;
|
error: string;
|
||||||
fields: string;
|
fields: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface PhotoPreview {
|
|
||||||
photoName: string;
|
|
||||||
file: File;
|
|
||||||
fileBase64: string,
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user