Possibility to change selected files after the fact
This commit is contained in:
parent
feae1789a9
commit
86d9d2c5f0
11 changed files with 186 additions and 52 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import { createContext } from "react";
|
||||
import { RqbitAPI } from "./api-types";
|
||||
import { ContextType } from "./rqbit-web";
|
||||
|
||||
export const APIContext = createContext<RqbitAPI>({
|
||||
listTorrents: () => {
|
||||
|
|
@ -15,6 +14,9 @@ export const APIContext = createContext<RqbitAPI>({
|
|||
uploadTorrent: () => {
|
||||
throw new Error("Function not implemented.");
|
||||
},
|
||||
updateOnlyFiles: () => {
|
||||
throw new Error("Function not implemented.");
|
||||
},
|
||||
pause: () => {
|
||||
throw new Error("Function not implemented.");
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue