mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-17 03:06:27 -07:00
Add new copy/move options
This commit is contained in:
parent
f410caf1ad
commit
ca8ec26b81
9 changed files with 326 additions and 33 deletions
|
|
@ -2,7 +2,7 @@ import { IFileObject, Istreams } from './synced/IFileObject';
|
|||
import Ijob from './synced/jobInterface';
|
||||
|
||||
export interface IpluginInputUi {
|
||||
type: 'dropdown' | 'text' | 'textarea',
|
||||
type: 'dropdown' | 'text' | 'textarea' | 'directory',
|
||||
options?: string[],
|
||||
style?:Record<string, unknown>,
|
||||
onSelect?: {
|
||||
|
|
@ -115,5 +115,7 @@ export interface IpluginInputArgs {
|
|||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
axiosMiddleware: (endpoint: string, data: Record<string, unknown>) => Promise<any>,
|
||||
requireFromString: (pluginText: string, relativePath:string) => Record<string, unknown>,
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
upath:any,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue