Schema: outputType um bmp/tiff/gif ergaenzt
continuous-integration/drone/push Build is passing

Server akzeptiert jetzt jpeg, png, webp, bmp, tiff, gif; GIF wird wieder
gelesen (erstes Frame).
This commit is contained in:
apairon committed 2026-10-27 20:50:18 +00:00
1 parent dc7afc272b
commit 8ca80136f4
3 files changed
+20 -4

No files matched your search

Vendored
+14 -2
View File
@@ -406,7 +406,7 @@ declare global {
lossless?: boolean
skipLargerDimension?: boolean
skipLargerFilesize?: boolean
outputType?: "jpg" | "jpeg" | "png" | "webp"
outputType?: "jpg" | "jpeg" | "png" | "webp" | "bmp" | "tiff" | "gif"
removeBackground?: RemoveBackgroundParams
dropShadow?: DropShadowParams
flatten?: string
@@ -651,7 +651,7 @@ declare global {
group?: string
module: string | { eval: string }
permissions?: string[]
capabilities?: Array<"db" | "files" | "xlsx" | "ui" | "log" | "progress" | "state">
capabilities?: Array<"db" | "files" | "xlsx" | "ui" | "log" | "progress" | "state" | "action">
settings?: Record<string, any>
hidden?: boolean
}
@@ -727,6 +727,18 @@ declare global {
db: AdminToolDb
files: { get(input: File | Blob | string, name?: string): Promise<AdminToolFile> }
xlsx: any
/** Runs a project action (requires capability `action`); resolves with the final event/body. */
action(
name: string,
options?: {
method?: "get" | "post" | "put" | "delete"
query?: Record<string, any>
data?: Record<string, any>
onProgress?: (event: Record<string, any>) => void
onUploadProgress?: (loaded: number, total: number) => void
signal?: AbortSignal
}
): Promise<Record<string, any>>
state: Map<string, unknown>
lang: string
languages: string[]