mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-31 04:12:10 +03:00
fix(build): unblock release build and settings state updates
Add targeted TypeScript annotations and module declarations to reduce type errors in open-sse services, executors, and shared utilities while temporarily disabling checking in legacy files that still need migration. Reset stale `.next/standalone` output before isolated builds so release artifacts are generated from a clean state. Update the dashboard proxy settings UI to bypass cached settings reads and immediately roll back debug mode when the PATCH request fails, which prevents stale data and inconsistent toggle state.
This commit is contained in:
9
src/types/global.d.ts
vendored
9
src/types/global.d.ts
vendored
@@ -109,3 +109,12 @@ declare module "chalk" {
|
||||
const chalk: ChalkInstance;
|
||||
export default chalk;
|
||||
}
|
||||
|
||||
declare module "yazl" {
|
||||
export class ZipFile {
|
||||
addFile(realPath: string, metadataPath: string): void;
|
||||
addBuffer(buffer: Buffer, metadataPath: string): void;
|
||||
end(options?: Record<string, unknown>, callback?: () => void): void;
|
||||
outputStream: NodeJS.ReadableStream;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user