Flow Run Health Check updates stats and queues

This commit is contained in:
HaveAGitGat 2024-05-22 09:10:10 +01:00
parent e142db1892
commit 80563106dd
2 changed files with 14 additions and 1 deletions

View file

@ -100,6 +100,7 @@ export interface Ivariables {
ffmpegCommand: IffmpegCommand,
flowFailed: boolean,
user: Record<string, string>,
healthCheck?: 'Success',
}
export interface IpluginOutputArgs {
@ -137,7 +138,8 @@ export interface IpluginInputArgs {
updateWorker: IupdateWorker,
logFullCliOutput: boolean,
logOutcome: (outcome: string) => void,
scanIndividualFile?: (filee: IFileObjectMin, scanTypes: IscanTypes) => IFileObject,
scanIndividualFile?: (filee: IFileObjectMin, scanTypes: IscanTypes) => Promise<IFileObject>,
updateStat: (db: string, key: string, inc: number) => Promise<void>,
deps: {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
fsextra: any,