fix: Fixed tests
feat: Added RClone integration feat: Implemented plugin settings feat: Updated minimal store version test: Fixed tests feat: Moved store and igdb and es-de to their own plugins
This commit is contained in:
parent
444d8c4c27
commit
c09fbd3dc8
115 changed files with 4139 additions and 1502 deletions
|
|
@ -11,6 +11,15 @@ export const getAllPluginsQuery = queryOptions({
|
|||
}
|
||||
});
|
||||
|
||||
export const getPluginDetailsQuery = (source: string) => queryOptions({
|
||||
queryKey: ['plugins', source], queryFn: async () =>
|
||||
{
|
||||
const { data, error } = await pluginsApi.plugins({ id: source }).get();
|
||||
if (error) throw error;
|
||||
return data;
|
||||
}
|
||||
});
|
||||
|
||||
export const enablePluginMutation = mutationOptions({
|
||||
mutationKey: ['plugin', 'enable'],
|
||||
mutationFn: async (vars: { id: string, enabled: boolean; }) =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue