mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-16 18:45:53 -07:00
Use Node scan function if available
This commit is contained in:
parent
7bb090dc6f
commit
6ac8019e1d
2 changed files with 36 additions and 19 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import { IFileObject, Istreams } from './synced/IFileObject';
|
||||
import { IscanTypes } from '../fileUtils';
|
||||
import { IFileObject, IFileObjectMin, Istreams } from './synced/IFileObject';
|
||||
import Ijob from './synced/jobInterface';
|
||||
|
||||
export interface IpluginInputUi {
|
||||
|
|
@ -136,6 +137,7 @@ export interface IpluginInputArgs {
|
|||
updateWorker: IupdateWorker,
|
||||
logFullCliOutput: boolean,
|
||||
logOutcome: (outcome: string) => void,
|
||||
scanIndividualFile?: (filee: IFileObjectMin, scanTypes: IscanTypes) => IFileObject,
|
||||
deps: {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
fsextra: any,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue