chore(refactor): move API models, types, controllers to root of module API

[skip ci]
This commit is contained in:
Jagandeep Brar
2022-08-29 22:59:37 -04:00
parent 1d4207ae51
commit 96b2067577
437 changed files with 437 additions and 437 deletions

View File

@@ -0,0 +1,13 @@
part of sonarr_commands;
Future<void> _commandDeleteQueue(
Dio client, {
required int id,
bool? removeFromClient,
bool? blocklist,
}) async {
await client.delete('queue/$id', queryParameters: {
if (removeFromClient != null) 'removeFromClient': removeFromClient,
if (blocklist != null) 'blocklist': blocklist,
});
}