n8n-nodes-qbittorrent 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +19 -0
- package/README.md +68 -0
- package/dist/credentials/ExampleCredentialsApi.credentials.d.ts +8 -0
- package/dist/credentials/ExampleCredentialsApi.credentials.js +46 -0
- package/dist/credentials/ExampleCredentialsApi.credentials.js.map +1 -0
- package/dist/credentials/HttpBinApi.credentials.d.ts +9 -0
- package/dist/credentials/HttpBinApi.credentials.js +40 -0
- package/dist/credentials/HttpBinApi.credentials.js.map +1 -0
- package/dist/nodes/QBittorrent/QBittorrent.credentials.d.ts +11 -0
- package/dist/nodes/QBittorrent/QBittorrent.credentials.js +79 -0
- package/dist/nodes/QBittorrent/QBittorrent.credentials.js.map +1 -0
- package/dist/nodes/QBittorrent/QBittorrent.node.d.ts +4 -0
- package/dist/nodes/QBittorrent/QBittorrent.node.js +334 -0
- package/dist/nodes/QBittorrent/QBittorrent.node.js.map +1 -0
- package/dist/nodes/QBittorrent/QBittorrent.node.json +17 -0
- package/dist/nodes/QBittorrent/qbittorrent.svg +16 -0
- package/dist/package.json +47 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/index.js +0 -0
- package/package.json +47 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Copyright 2022 n8n
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
4
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
5
|
+
the Software without restriction, including without limitation the rights to
|
|
6
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
7
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
8
|
+
so, subject to the following conditions:
|
|
9
|
+
|
|
10
|
+
The above copyright notice and this permission notice shall be included in all
|
|
11
|
+
copies or substantial portions of the Software.
|
|
12
|
+
|
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
19
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# n8n-nodes-qbittorrent
|
|
2
|
+
|
|
3
|
+
This is an n8n community node. It lets you use qBittorrent in your n8n workflows.
|
|
4
|
+
|
|
5
|
+
qBittorrent is a software allowing you to download and upload torrents.
|
|
6
|
+
It also has a web server that can be controlled by a Rest API or an integrated web UI.
|
|
7
|
+
|
|
8
|
+
[n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/reference/license/) workflow automation platform.
|
|
9
|
+
|
|
10
|
+
[Installation](#installation)
|
|
11
|
+
[Operations](#operations)
|
|
12
|
+
[Credentials](#credentials) <!-- delete if no auth needed -->
|
|
13
|
+
[Compatibility](#compatibility)
|
|
14
|
+
[Usage](#usage) <!-- delete if not using this section -->
|
|
15
|
+
[Resources](#resources)
|
|
16
|
+
[Version history](#version-history) <!-- delete if not using this section -->
|
|
17
|
+
|
|
18
|
+
## Installation
|
|
19
|
+
|
|
20
|
+
Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation.
|
|
21
|
+
|
|
22
|
+
## Operations
|
|
23
|
+
|
|
24
|
+
<!-- TEMPLATE -->
|
|
25
|
+
<!-- - <operation category> -->
|
|
26
|
+
<!-- - <operation name>: <operation description> -->
|
|
27
|
+
|
|
28
|
+
- Torrents
|
|
29
|
+
- getTorrentsList: Get torrents list
|
|
30
|
+
- addTorrent: Add a torrent to the list
|
|
31
|
+
- App
|
|
32
|
+
- getApiVersion: Get API version
|
|
33
|
+
|
|
34
|
+
## Credentials
|
|
35
|
+
|
|
36
|
+
Before using a node, you have to add a credential.
|
|
37
|
+
This credential should be your server address and the username / password that have access to the web UI.
|
|
38
|
+
|
|
39
|
+
## Compatibility
|
|
40
|
+
|
|
41
|
+
TODO: _State the minimum n8n version, as well as which versions you test against. You can also include any known version incompatibility issues._
|
|
42
|
+
|
|
43
|
+
## Usage
|
|
44
|
+
|
|
45
|
+
Install the node into your configuration :
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
mkdir -p <n8n_directory>/custom # if the directory does not already exist
|
|
49
|
+
cd <n8n_directory>/custom
|
|
50
|
+
npm init # if not already initiated
|
|
51
|
+
npm install --save n8n-nodes-qbittorrent
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Then, you just need to restart your n8n instance, and you should see the node by searching "qBittorrent" in the nodes searchbar.
|
|
55
|
+
|
|
56
|
+
If you are not already familiar with n8n basics, don't hesitate to [Try it out](https://docs.n8n.io/try-it-out/) to get started.
|
|
57
|
+
|
|
58
|
+
## Resources
|
|
59
|
+
|
|
60
|
+
- [n8n community nodes documentation](https://docs.n8n.io/integrations/community-nodes/)
|
|
61
|
+
- TODO: _Link to app/service documentation._
|
|
62
|
+
|
|
63
|
+
## Version history
|
|
64
|
+
|
|
65
|
+
Current version supports the version 2 of the qBittorrent API.
|
|
66
|
+
If a new qBittorrent API version is released, a new major version of this node will be released.
|
|
67
|
+
|
|
68
|
+
TODO: when the node development is completed, we will be on 1.x.y version.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare class ExampleCredentialsApi implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
properties: INodeProperties[];
|
|
6
|
+
authenticate: IAuthenticateGeneric;
|
|
7
|
+
test: ICredentialTestRequest;
|
|
8
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ExampleCredentialsApi = void 0;
|
|
4
|
+
class ExampleCredentialsApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'exampleCredentialsApi';
|
|
7
|
+
this.displayName = 'Example Credentials API';
|
|
8
|
+
this.properties = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'User Name',
|
|
11
|
+
name: 'username',
|
|
12
|
+
type: 'string',
|
|
13
|
+
default: '',
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
displayName: 'Password',
|
|
17
|
+
name: 'password',
|
|
18
|
+
type: 'string',
|
|
19
|
+
typeOptions: {
|
|
20
|
+
password: true,
|
|
21
|
+
},
|
|
22
|
+
default: '',
|
|
23
|
+
},
|
|
24
|
+
];
|
|
25
|
+
this.authenticate = {
|
|
26
|
+
type: 'generic',
|
|
27
|
+
properties: {
|
|
28
|
+
auth: {
|
|
29
|
+
username: '={{ $credentials.username }}',
|
|
30
|
+
password: '={{ $credentials.password }}',
|
|
31
|
+
},
|
|
32
|
+
qs: {
|
|
33
|
+
n8n: 'rocks',
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
this.test = {
|
|
38
|
+
request: {
|
|
39
|
+
baseURL: 'https://example.com/',
|
|
40
|
+
url: '',
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.ExampleCredentialsApi = ExampleCredentialsApi;
|
|
46
|
+
//# sourceMappingURL=ExampleCredentialsApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExampleCredentialsApi.credentials.js","sourceRoot":"","sources":["../../credentials/ExampleCredentialsApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,qBAAqB;IAAlC;QACC,SAAI,GAAG,uBAAuB,CAAC;QAC/B,gBAAW,GAAG,yBAAyB,CAAC;QACxC,eAAU,GAAsB;YAI/B;gBACC,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;gBACD,OAAO,EAAE,EAAE;aACX;SACD,CAAC;QAKF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,IAAI,EAAE;oBACL,QAAQ,EAAE,8BAA8B;oBACxC,QAAQ,EAAE,8BAA8B;iBACxC;gBACD,EAAE,EAAE;oBAEH,GAAG,EAAE,OAAO;iBACZ;aACD;SACD,CAAC;QAGF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,sBAAsB;gBAC/B,GAAG,EAAE,EAAE;aACP;SACD,CAAC;IACH,CAAC;CAAA;AAhDD,sDAgDC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare class HttpBinApi implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
documentationUrl: string;
|
|
6
|
+
properties: INodeProperties[];
|
|
7
|
+
authenticate: IAuthenticateGeneric;
|
|
8
|
+
test: ICredentialTestRequest;
|
|
9
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HttpBinApi = void 0;
|
|
4
|
+
class HttpBinApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'httpbinApi';
|
|
7
|
+
this.displayName = 'HttpBin API';
|
|
8
|
+
this.documentationUrl = '<your-docs-url>';
|
|
9
|
+
this.properties = [
|
|
10
|
+
{
|
|
11
|
+
displayName: 'Token',
|
|
12
|
+
name: 'token',
|
|
13
|
+
type: 'string',
|
|
14
|
+
default: '',
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
displayName: 'Domain',
|
|
18
|
+
name: 'domain',
|
|
19
|
+
type: 'string',
|
|
20
|
+
default: 'https://httpbin.org',
|
|
21
|
+
},
|
|
22
|
+
];
|
|
23
|
+
this.authenticate = {
|
|
24
|
+
type: 'generic',
|
|
25
|
+
properties: {
|
|
26
|
+
headers: {
|
|
27
|
+
Authorization: '={{"Bearer " + $credentials.token}}',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
this.test = {
|
|
32
|
+
request: {
|
|
33
|
+
baseURL: '={{$credentials?.domain}}',
|
|
34
|
+
url: '/bearer',
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.HttpBinApi = HttpBinApi;
|
|
40
|
+
//# sourceMappingURL=HttpBinApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HttpBinApi.credentials.js","sourceRoot":"","sources":["../../credentials/HttpBinApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,UAAU;IAAvB;QACC,SAAI,GAAG,YAAY,CAAC;QACpB,gBAAW,GAAG,aAAa,CAAC;QAC5B,qBAAgB,GAAG,iBAAiB,CAAC;QACrC,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,qBAAqB;aAC9B;SACD,CAAC;QAMF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,aAAa,EAAE,qCAAqC;iBACpD;aACD;SACD,CAAC;QAGF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,2BAA2B;gBACpC,GAAG,EAAE,SAAS;aACd;SACD,CAAC;IACH,CAAC;CAAA;AAvCD,gCAuCC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IAuthenticateGeneric, ICredentialDataDecryptedObject, ICredentialTestRequest, ICredentialType, IHttpRequestHelper, INodeProperties } from "n8n-workflow";
|
|
2
|
+
export declare class QBittorrent implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
properties: INodeProperties[];
|
|
6
|
+
authenticate: IAuthenticateGeneric;
|
|
7
|
+
preAuthentication(this: IHttpRequestHelper, credentials: ICredentialDataDecryptedObject): Promise<{
|
|
8
|
+
cookie: any;
|
|
9
|
+
}>;
|
|
10
|
+
test: ICredentialTestRequest;
|
|
11
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.QBittorrent = void 0;
|
|
4
|
+
class QBittorrent {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = "qBittorrentApi";
|
|
7
|
+
this.displayName = "qBittorrent API";
|
|
8
|
+
this.properties = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Url',
|
|
11
|
+
name: 'url',
|
|
12
|
+
type: 'string',
|
|
13
|
+
default: '',
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
displayName: 'Username',
|
|
17
|
+
name: 'username',
|
|
18
|
+
type: 'string',
|
|
19
|
+
default: '',
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
displayName: 'Password',
|
|
23
|
+
name: 'password',
|
|
24
|
+
type: 'string',
|
|
25
|
+
typeOptions: {
|
|
26
|
+
password: true,
|
|
27
|
+
},
|
|
28
|
+
default: '',
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
displayName: 'Cookie',
|
|
32
|
+
name: 'cookie',
|
|
33
|
+
type: 'hidden',
|
|
34
|
+
default: '',
|
|
35
|
+
typeOptions: {
|
|
36
|
+
expirable: true,
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
];
|
|
40
|
+
this.authenticate = {
|
|
41
|
+
type: 'generic',
|
|
42
|
+
properties: {
|
|
43
|
+
headers: {
|
|
44
|
+
Cookie: '={{$credentials.cookie}}',
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
this.test = {
|
|
49
|
+
request: {
|
|
50
|
+
baseURL: '={{$credentials?.url}}',
|
|
51
|
+
url: '/api/v2/app/version',
|
|
52
|
+
skipSslCertificateValidation: true,
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
async preAuthentication(credentials) {
|
|
57
|
+
const url = credentials.url;
|
|
58
|
+
const requestConfig = {
|
|
59
|
+
method: 'POST',
|
|
60
|
+
headers: {
|
|
61
|
+
Referer: credentials.url
|
|
62
|
+
},
|
|
63
|
+
url: `${url.endsWith('/') ? url.slice(0, -1) : url}/api/v2/auth/login`,
|
|
64
|
+
body: new URLSearchParams({
|
|
65
|
+
'username': credentials.username,
|
|
66
|
+
'password': credentials.password,
|
|
67
|
+
}),
|
|
68
|
+
returnFullResponse: true,
|
|
69
|
+
skipSslCertificateValidation: true
|
|
70
|
+
};
|
|
71
|
+
const resp = await this.helpers.httpRequest(requestConfig).catch((e) => {
|
|
72
|
+
console.error(e.response.data);
|
|
73
|
+
throw e;
|
|
74
|
+
});
|
|
75
|
+
return { cookie: resp.headers['set-cookie'] };
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
exports.QBittorrent = QBittorrent;
|
|
79
|
+
//# sourceMappingURL=QBittorrent.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QBittorrent.credentials.js","sourceRoot":"","sources":["../../../nodes/QBittorrent/QBittorrent.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,WAAW;IAAxB;QACC,SAAI,GAAG,gBAAgB,CAAC;QAExB,gBAAW,GAAG,iBAAiB,CAAC;QAEhC,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,KAAK;gBAClB,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;gBACD,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE;oBACZ,SAAS,EAAE,IAAI;iBACf;aACD;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,MAAM,EAAE,0BAA0B;iBAClC;aACD;SACD,CAAC;QAyBF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,wBAAwB;gBACjC,GAAG,EAAE,qBAAqB;gBAC1B,4BAA4B,EAAE,IAAI;aAClC;SACD,CAAC;IACH,CAAC;IA9BA,KAAK,CAAC,iBAAiB,CAA2B,WAA2C;QAC5F,MAAM,GAAG,GAAG,WAAW,CAAC,GAAa,CAAC;QACtC,MAAM,aAAa,GAAwB;YAC1C,MAAM,EAAE,MAAM;YACd,OAAO,EAAE;gBACR,OAAO,EAAE,WAAW,CAAC,GAAG;aACxB;YACD,GAAG,EAAE,GAAG,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,oBAAoB;YACtE,IAAI,EAAE,IAAI,eAAe,CAAC;gBACzB,UAAU,EAAE,WAAW,CAAC,QAAkB;gBAC1C,UAAU,EAAE,WAAW,CAAC,QAAkB;aAC1C,CAAC;YACF,kBAAkB,EAAE,IAAI;YACxB,4BAA4B,EAAE,IAAI;SAClC,CAAC;QAEF,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE;YACtE,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAC/B,MAAM,CAAC,CAAC;QACT,CAAC,CAAC,CAAC;QACH,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE,CAAC;IAC/C,CAAC;CASD;AA7ED,kCA6EC"}
|
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.QBittorrent = void 0;
|
|
4
|
+
class QBittorrent {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.description = {
|
|
7
|
+
displayName: 'qBittorrent',
|
|
8
|
+
name: 'qBittorrent',
|
|
9
|
+
icon: 'file:qbittorrent.svg',
|
|
10
|
+
group: ['transform'],
|
|
11
|
+
version: 1,
|
|
12
|
+
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
|
|
13
|
+
description: 'Communicate with your qBittorrent instance web API',
|
|
14
|
+
credentials: [
|
|
15
|
+
{
|
|
16
|
+
name: 'qBittorrentApi',
|
|
17
|
+
required: true,
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
defaults: {
|
|
21
|
+
name: 'qBittorrent'
|
|
22
|
+
},
|
|
23
|
+
inputs: ['main'],
|
|
24
|
+
outputs: ['main'],
|
|
25
|
+
requestDefaults: {
|
|
26
|
+
baseURL: '={{$credentials["url"] + "/api/v2"}}',
|
|
27
|
+
},
|
|
28
|
+
properties: [
|
|
29
|
+
{
|
|
30
|
+
displayName: 'Resource',
|
|
31
|
+
name: 'resource',
|
|
32
|
+
type: 'options',
|
|
33
|
+
noDataExpression: true,
|
|
34
|
+
options: [
|
|
35
|
+
{
|
|
36
|
+
name: 'Application',
|
|
37
|
+
value: 'application',
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
name: 'Log',
|
|
41
|
+
value: 'logs',
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
name: 'Tranfer',
|
|
45
|
+
value: 'transfers',
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: 'Torrent',
|
|
49
|
+
value: 'torrents',
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
default: 'torrents',
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
displayName: 'Operation',
|
|
56
|
+
name: 'operation',
|
|
57
|
+
type: 'options',
|
|
58
|
+
noDataExpression: true,
|
|
59
|
+
displayOptions: {
|
|
60
|
+
show: {
|
|
61
|
+
resource: ['torrents'],
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
options: [
|
|
65
|
+
{
|
|
66
|
+
name: 'Get Torrents',
|
|
67
|
+
value: 'getTorrentsList',
|
|
68
|
+
action: 'Get torrents list',
|
|
69
|
+
routing: {
|
|
70
|
+
request: {
|
|
71
|
+
method: 'GET',
|
|
72
|
+
url: '/torrents/info',
|
|
73
|
+
skipSslCertificateValidation: true,
|
|
74
|
+
},
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
name: 'Add Torrent',
|
|
79
|
+
value: 'addTorrent',
|
|
80
|
+
action: 'Add a torrent to the list',
|
|
81
|
+
routing: {
|
|
82
|
+
request: {
|
|
83
|
+
method: 'POST',
|
|
84
|
+
url: '/torrents/add',
|
|
85
|
+
skipSslCertificateValidation: true,
|
|
86
|
+
body: {
|
|
87
|
+
urls: '={{ $parameter["operation"] }}'
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
default: 'addTorrent',
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
displayName: 'Operation',
|
|
97
|
+
name: 'operation',
|
|
98
|
+
type: 'options',
|
|
99
|
+
noDataExpression: true,
|
|
100
|
+
displayOptions: {
|
|
101
|
+
show: {
|
|
102
|
+
resource: ['application'],
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
options: [
|
|
106
|
+
{
|
|
107
|
+
name: 'Get API Version',
|
|
108
|
+
value: 'getApiVersion',
|
|
109
|
+
action: 'Get API version',
|
|
110
|
+
routing: {
|
|
111
|
+
request: {
|
|
112
|
+
method: 'GET',
|
|
113
|
+
url: '/app/version',
|
|
114
|
+
skipSslCertificateValidation: true,
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
default: 'getApiVersion',
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
displayName: 'Torrent URL',
|
|
123
|
+
name: 'urls',
|
|
124
|
+
type: 'string',
|
|
125
|
+
default: '',
|
|
126
|
+
displayOptions: {
|
|
127
|
+
show: {
|
|
128
|
+
operation: ['addTorrent'],
|
|
129
|
+
resource: ['torrents'],
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
required: true,
|
|
133
|
+
description: 'URLs separated with newlines',
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
displayName: 'Save Path',
|
|
137
|
+
name: 'savepath',
|
|
138
|
+
type: 'string',
|
|
139
|
+
default: '',
|
|
140
|
+
displayOptions: {
|
|
141
|
+
show: {
|
|
142
|
+
operation: ['addTorrent'],
|
|
143
|
+
resource: ['torrents'],
|
|
144
|
+
},
|
|
145
|
+
},
|
|
146
|
+
description: 'Download folder',
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
displayName: 'Cookie',
|
|
150
|
+
name: 'cookie',
|
|
151
|
+
type: 'string',
|
|
152
|
+
default: '',
|
|
153
|
+
displayOptions: {
|
|
154
|
+
show: {
|
|
155
|
+
operation: ['addTorrent'],
|
|
156
|
+
resource: ['torrents'],
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
description: 'Cookie sent to download the .torrent file',
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
displayName: 'Category',
|
|
163
|
+
name: 'category',
|
|
164
|
+
type: 'string',
|
|
165
|
+
default: '',
|
|
166
|
+
displayOptions: {
|
|
167
|
+
show: {
|
|
168
|
+
operation: ['addTorrent'],
|
|
169
|
+
resource: ['torrents'],
|
|
170
|
+
},
|
|
171
|
+
},
|
|
172
|
+
description: 'Category for the torrent',
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
displayName: 'Tags',
|
|
176
|
+
name: 'tags',
|
|
177
|
+
type: 'string',
|
|
178
|
+
default: '',
|
|
179
|
+
displayOptions: {
|
|
180
|
+
show: {
|
|
181
|
+
operation: ['addTorrent'],
|
|
182
|
+
resource: ['torrents'],
|
|
183
|
+
},
|
|
184
|
+
},
|
|
185
|
+
description: 'Tags for the torrent, split by ","',
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
displayName: 'Skip Hash Checking',
|
|
189
|
+
name: 'skip_checking',
|
|
190
|
+
type: 'string',
|
|
191
|
+
default: '',
|
|
192
|
+
displayOptions: {
|
|
193
|
+
show: {
|
|
194
|
+
operation: ['addTorrent'],
|
|
195
|
+
resource: ['torrents'],
|
|
196
|
+
},
|
|
197
|
+
},
|
|
198
|
+
description: 'Skip hash checking. Possible values are "true", "false" (default).',
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
displayName: 'Paused',
|
|
202
|
+
name: 'paused',
|
|
203
|
+
type: 'string',
|
|
204
|
+
default: '',
|
|
205
|
+
displayOptions: {
|
|
206
|
+
show: {
|
|
207
|
+
operation: ['addTorrent'],
|
|
208
|
+
resource: ['torrents'],
|
|
209
|
+
},
|
|
210
|
+
},
|
|
211
|
+
description: 'Add torrents in the paused state. Possible values are "true", "false" (default).',
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
displayName: 'Create Root Folder',
|
|
215
|
+
name: 'root_folder',
|
|
216
|
+
type: 'string',
|
|
217
|
+
default: '',
|
|
218
|
+
displayOptions: {
|
|
219
|
+
show: {
|
|
220
|
+
operation: ['addTorrent'],
|
|
221
|
+
resource: ['torrents'],
|
|
222
|
+
},
|
|
223
|
+
},
|
|
224
|
+
description: 'Create the root folder. Possible values are "true", "false", unset (default).',
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
displayName: 'Rename Torrent',
|
|
228
|
+
name: 'rename',
|
|
229
|
+
type: 'string',
|
|
230
|
+
default: '',
|
|
231
|
+
displayOptions: {
|
|
232
|
+
show: {
|
|
233
|
+
operation: ['addTorrent'],
|
|
234
|
+
resource: ['torrents'],
|
|
235
|
+
},
|
|
236
|
+
},
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
displayName: 'Upload Limit',
|
|
240
|
+
name: 'upLimit',
|
|
241
|
+
type: 'number',
|
|
242
|
+
default: '',
|
|
243
|
+
displayOptions: {
|
|
244
|
+
show: {
|
|
245
|
+
operation: ['addTorrent'],
|
|
246
|
+
resource: ['torrents'],
|
|
247
|
+
},
|
|
248
|
+
},
|
|
249
|
+
description: 'Set torrent upload speed limit. Unit in bytes/second.',
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
displayName: 'Download Limit',
|
|
253
|
+
name: 'dlLimit',
|
|
254
|
+
type: 'number',
|
|
255
|
+
default: '',
|
|
256
|
+
displayOptions: {
|
|
257
|
+
show: {
|
|
258
|
+
operation: ['addTorrent'],
|
|
259
|
+
resource: ['torrents'],
|
|
260
|
+
},
|
|
261
|
+
},
|
|
262
|
+
description: 'Set torrent download speed limit. Unit in bytes/second.',
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
displayName: 'Ratio Limit',
|
|
266
|
+
name: 'ratioLimit',
|
|
267
|
+
type: 'number',
|
|
268
|
+
default: '',
|
|
269
|
+
displayOptions: {
|
|
270
|
+
show: {
|
|
271
|
+
operation: ['addTorrent'],
|
|
272
|
+
resource: ['torrents'],
|
|
273
|
+
},
|
|
274
|
+
},
|
|
275
|
+
description: 'Set torrent share ratio limit',
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
displayName: 'Seeding Time Limit',
|
|
279
|
+
name: 'seedingTimeLimit',
|
|
280
|
+
type: 'number',
|
|
281
|
+
default: '',
|
|
282
|
+
displayOptions: {
|
|
283
|
+
show: {
|
|
284
|
+
operation: ['addTorrent'],
|
|
285
|
+
resource: ['torrents'],
|
|
286
|
+
},
|
|
287
|
+
},
|
|
288
|
+
description: 'Set torrent seeding time limit. Unit in minutes.',
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
displayName: 'Automatic Torrent Management',
|
|
292
|
+
name: 'autoTMM',
|
|
293
|
+
type: 'boolean',
|
|
294
|
+
default: false,
|
|
295
|
+
displayOptions: {
|
|
296
|
+
show: {
|
|
297
|
+
operation: ['addTorrent'],
|
|
298
|
+
resource: ['torrents'],
|
|
299
|
+
},
|
|
300
|
+
},
|
|
301
|
+
description: 'Whether Automatic Torrent Management should be used',
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
displayName: 'Sequential Download',
|
|
305
|
+
name: 'sequentialDownload',
|
|
306
|
+
type: 'string',
|
|
307
|
+
default: '',
|
|
308
|
+
displayOptions: {
|
|
309
|
+
show: {
|
|
310
|
+
operation: ['addTorrent'],
|
|
311
|
+
resource: ['torrents'],
|
|
312
|
+
},
|
|
313
|
+
},
|
|
314
|
+
description: 'Enable sequential download. Possible values are "true", "false" (default).',
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
displayName: 'First Last Piece Priority',
|
|
318
|
+
name: 'firstLastPiecePrio',
|
|
319
|
+
type: 'string',
|
|
320
|
+
default: '',
|
|
321
|
+
displayOptions: {
|
|
322
|
+
show: {
|
|
323
|
+
operation: ['addTorrent'],
|
|
324
|
+
resource: ['torrents'],
|
|
325
|
+
},
|
|
326
|
+
},
|
|
327
|
+
description: 'Prioritize download first last piece. Possible values are "true", "false" (default).',
|
|
328
|
+
}
|
|
329
|
+
]
|
|
330
|
+
};
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
exports.QBittorrent = QBittorrent;
|
|
334
|
+
//# sourceMappingURL=QBittorrent.node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QBittorrent.node.js","sourceRoot":"","sources":["../../../nodes/QBittorrent/QBittorrent.node.ts"],"names":[],"mappings":";;;AAEA,MAAa,WAAW;IAAxB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,aAAa;YAC1B,IAAI,EAAE,aAAa;YACnB,IAAI,EAAE,sBAAsB;YAC5B,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,8DAA8D;YACxE,WAAW,EAAE,oDAAoD;YACjE,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,gBAAgB;oBACtB,QAAQ,EAAE,IAAI;iBACd;aACD;YACD,QAAQ,EAAE;gBACT,IAAI,EAAE,aAAa;aACnB;YACD,MAAM,EAAE,CAAC,MAAM,CAAC;YAChB,OAAO,EAAE,CAAC,MAAM,CAAC;YACjB,eAAe,EAAE;gBAChB,OAAO,EAAE,sCAAsC;aAC/C;YACD,UAAU,EAAE;gBACX;oBACC,WAAW,EAAE,UAA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S,EAAE,CAAC,YAAY,CAAC;4BACzB,QAAQ,EAAE,CAAC,UAAU,CAAC;yBACtB;qBACD;oBACD,WAAW,EAAE,kDAAkD;iBAC/D;gBACD;oBACC,WAAW,EAAE,8BAA8B;oBAC3C,IAAI,EAAE,SAAS;oBACf,IAAI,EAAE,SAAS;oBACf,OAAO,EAAE,KAAK;oBACd,cAAc,EAAE;wBACf,IAAI,EAAE;4BACL,SAAS,EAAE,CAAC,YAAY,CAAC;4BACzB,QAAQ,EAAE,CAAC,UAAU,CAAC;yBACtB;qBACD;oBACD,WAAW,EAAE,qDAAqD;iBAClE;gBACD;oBACC,WAAW,EAAE,qBAAqB;oBAClC,IAAI,EAAE,oBAAoB;oBAC1B,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE,EAAE;oBACX,cAAc,EAAE;wBACf,IAAI,EAAE;4BACL,SAAS,EAAE,CAAC,YAAY,CAAC;4BACzB,QAAQ,EAAE,CAAC,UAAU,CAAC;yBACtB;qBACD;oBACD,WAAW,EAAE,4EAA4E;iBACzF;gBACD;oBACC,WAAW,EAAE,2BAA2B;oBACxC,IAAI,EAAE,oBAAoB;oBAC1B,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE,EAAE;oBACX,cAAc,EAAE;wBACf,IAAI,EAAE;4BACL,SAAS,EAAE,CAAC,YAAY,CAAC;4BACzB,QAAQ,EAAE,CAAC,UAAU,CAAC;yBACtB;qBACD;oBACD,WAAW,EAAE,sFAAsF;iBACnG;aACD;SACD,CAAA;IACF,CAAC;CAAA;AAjVD,kCAiVC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 1024 1024">
|
|
2
|
+
<title>
|
|
3
|
+
qbittorrent-new-light
|
|
4
|
+
</title>
|
|
5
|
+
<defs>
|
|
6
|
+
<linearGradient x1="34.012%" y1="0%" x2="76.373%" y2="76.805%" id="a">
|
|
7
|
+
<stop stop-color="#72B4F5" offset="0%"/>
|
|
8
|
+
<stop stop-color="#356EBF" offset="100%"/>
|
|
9
|
+
</linearGradient>
|
|
10
|
+
</defs>
|
|
11
|
+
<g fill="none" fill-rule="evenodd">
|
|
12
|
+
<circle stroke="#DAEFFF" stroke-width="32" fill="url(#a)" cx="512" cy="512" r="496"/>
|
|
13
|
+
<path d="M712.898 332.399q66.657 0 103.38 45.671 37.03 45.364 37.03 128.684t-37.34 129.61q-37.03 45.98-103.07 45.98-33.02 0-60.484-12.035-27.156-12.344-45.672-37.649h-3.703l-10.8 43.512h-36.724V196h51.227v116.65q0 39.191-2.469 70.359h2.47q35.796-50.61 106.155-50.61zm-7.406 42.894q-52.46 0-75.605 30.242-23.145 29.934-23.145 101.219t23.762 102.145q23.761 30.55 76.222 30.55 47.215 0 70.36-34.254 23.144-34.562 23.144-99.058 0-66.04-23.144-98.442-23.145-32.402-71.594-32.402z" fill="#fff"/>
|
|
14
|
+
<path d="M317.273 639.45q51.227 0 74.68-27.466 23.453-27.464 24.996-92.578v-11.418q0-70.976-24.07-102.144-24.07-31.168-76.223-31.168-45.055 0-69.125 35.18-23.762 34.87-23.762 98.75 0 63.879 23.454 97.515 23.761 33.328 70.05 33.328zm-7.715 42.894q-65.421 0-102.144-45.98-36.723-45.981-36.723-128.376 0-83.011 37.032-129.609 37.03-46.598 103.07-46.598 69.433 0 106.773 52.461h2.778l7.406-46.289h40.426V828h-51.227V683.27q0-30.86 3.395-52.461h-4.012q-35.488 51.535-106.774 51.535z" fill="#c8e8ff"/>
|
|
15
|
+
</g>
|
|
16
|
+
</svg>
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "n8n-nodes-qbittorrent",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "qBittorrent node for n8n",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"n8n-community-node-package"
|
|
7
|
+
],
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"homepage": "https://github.com/Airthee/n8n-nodes-qbittorrent",
|
|
10
|
+
"author": {
|
|
11
|
+
"name": "Airthee",
|
|
12
|
+
"email": "me@airthee.com"
|
|
13
|
+
},
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "https://github.com/Airthee/n8n-nodes-qbittorrent.git"
|
|
17
|
+
},
|
|
18
|
+
"main": "index.js",
|
|
19
|
+
"scripts": {
|
|
20
|
+
"build": "tsc && gulp build:icons",
|
|
21
|
+
"dev": "tsc --watch",
|
|
22
|
+
"format": "prettier nodes --write",
|
|
23
|
+
"lint": "eslint nodes package.json",
|
|
24
|
+
"lintfix": "eslint nodes package.json --fix",
|
|
25
|
+
"prepublishOnly": "npm run build && npm run lint -c .eslintrc.prepublish.js nodes package.json"
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"dist"
|
|
29
|
+
],
|
|
30
|
+
"n8n": {
|
|
31
|
+
"n8nNodesApiVersion": 1,
|
|
32
|
+
"nodes": [
|
|
33
|
+
"dist/nodes/HttpBin/QBittorrent.node.js"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@types/express": "^4.17.6",
|
|
38
|
+
"@types/request-promise-native": "~1.0.15",
|
|
39
|
+
"@typescript-eslint/parser": "~5.45",
|
|
40
|
+
"eslint-plugin-n8n-nodes-base": "^1.11.0",
|
|
41
|
+
"gulp": "^4.0.2",
|
|
42
|
+
"n8n-core": "*",
|
|
43
|
+
"n8n-workflow": "*",
|
|
44
|
+
"prettier": "^2.7.1",
|
|
45
|
+
"typescript": "~4.8.4"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts","../node_modules/@types/range-parser/index.d.ts","../node_modules/@types/qs/index.d.ts","../node_modules/@types/express-serve-static-core/index.d.ts","../node_modules/@types/mime/index.d.ts","../node_modules/@types/serve-static/index.d.ts","../node_modules/@types/connect/index.d.ts","../node_modules/@types/body-parser/index.d.ts","../node_modules/@types/express/index.d.ts","../node_modules/form-data/index.d.ts","../node_modules/@types/caseless/index.d.ts","../node_modules/@types/tough-cookie/index.d.ts","../node_modules/@types/request/index.d.ts","../node_modules/@types/request-promise-native/index.d.ts","../node_modules/n8n-workflow/dist/DeferredPromise.d.ts","../node_modules/n8n-workflow/dist/Expression.d.ts","../node_modules/n8n-workflow/dist/Workflow.d.ts","../node_modules/n8n-workflow/dist/WorkflowHooks.d.ts","../node_modules/n8n-workflow/dist/NodeErrors.d.ts","../node_modules/n8n-workflow/dist/WorkflowActivationError.d.ts","../node_modules/n8n-workflow/dist/WorkflowErrors.d.ts","../node_modules/n8n-workflow/dist/ExpressionError.d.ts","../node_modules/n8n-workflow/dist/Interfaces.d.ts","../node_modules/n8n-workflow/dist/LoggerProxy.d.ts","../node_modules/n8n-workflow/dist/utils.d.ts","../node_modules/n8n-workflow/dist/ErrorReporterProxy.d.ts","../node_modules/n8n-workflow/dist/NodeHelpers.d.ts","../node_modules/n8n-workflow/dist/ObservableObject.d.ts","../node_modules/n8n-workflow/dist/TelemetryHelpers.d.ts","../node_modules/n8n-workflow/dist/Cron.d.ts","../node_modules/n8n-workflow/dist/RoutingNode.d.ts","../node_modules/n8n-workflow/dist/WorkflowDataProxy.d.ts","../node_modules/n8n-workflow/dist/VersionedNodeType.d.ts","../node_modules/n8n-workflow/dist/type-guards.d.ts","../node_modules/n8n-workflow/dist/index.d.ts","../nodes/QBittorrent/QBittorrent.credentials.ts","../nodes/QBittorrent/QBittorrent.node.ts","../nodes/QBittorrent/QBittorrent.node.json","../package.json","../node_modules/@types/json-schema/index.d.ts"],"fileInfos":[{"version":"f20c05dbfe50a208301d2a1da37b9931bce0466eb5a1f4fe240971b4ecc82b67","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"55f400eec64d17e888e278f4def2f254b41b89515d3b88ad75d5e05f019daddd","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"775d9c9fd150d5de79e0450f35bc8b8f94ae64e3eb5da12725ff2a649dccc777","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"ab7d58e6161a550ff92e5aff755dc37fe896245348332cd5f1e1203479fe0ed1","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"9122ed7070e054b73ebab37c2373a196def2d90e7d1a9a7fcd9d46b0e51fae78","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"77f0b5c6a193a699c9f7d7fb0578e64e562d271afa740783665d2a827104a873","affectsGlobalScope":true},"21a167fec8f933752fb8157f06d28fab6817af3ad9b0bdb1908a10762391eab9",{"version":"3e4624c306340ad303cc536a07004e81336c3f088308a9e4a9f4c957a3cda2fd","affectsGlobalScope":true},"0c0cee62cb619aed81133b904f644515ba3064487002a7da83fd8aa07b1b4abd","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","34ec1daf3566f26c43dbab380af0de1aac29166e57e4f9ef379a2f154e0cb290","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","75ecef44f126e2ae018b4abbd85b6e8a2e2ba1638ebec56cc64274643ce3567b","f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"249a2b90439cdfd51709539fbfa4dfe0791cbae6efce1e9b327ba8f8cd703f49","affectsGlobalScope":true},"2f60ac046e587e917d739f1edc77540eb0ec34f83090dae4ebd5f96c1c9578d4","a9b6b0f7b1e30359283b131ba6d1c51ee2d3601a2f12e1623141e6a1a60c92a5","aeee0090b38de0dd47ca9a79ad5c2d156e3e09d92306719b0b45a3e96098e564","7bac475dcdd9f7e4e9da934d32c305bc889c4ce3c8ac0ef45a93a8d670fff607","09416dd69576b03a3f485adf329a02f043e4a481e060ef5b208194e488d31fd9","8acf99b1c8682276a63ea5bb68433782715892726b97e4604a415e4e56bce41c",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"3b145a2351f5cf16abf999c8d5f4481c74dffdc54ec1e9a89992e2622e1226c5","a907bf91df26df2400858ef75f749498fb5cf00062bf90a737ac3949cc07978d","d270fd4b565eda11a0a737c181892316b7a1ace06c7988d0246219c3df11db06","4275d5f964e7fc7afc18538e26b3748c207dd772998346d17f409749aa1f3a63",{"version":"59a638a504490fecaacf0020b9814b6abee37edb66047eb1ab9f7c2274bf1da0","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","d1a78a3c5708807e8de3e399f91df4797c62e44b02195eefc2209b2e713e54ee","8c4c1a64db28930732033c31418f817dcb9d09d706766707ae6d38f23faf0c53","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","d4fc97ea27a8226c5429b73efe7f0d9d78c0269e2995f6dba8bac64fc1b132dc","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","29d613c3964ea75b2b4e0d17098245c34529282e9cc72b7e4eeb2a7b12c27cb7",{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","a381f079c4804442f179d742fdb2e495fe28d67a47cac673485f75ae2e77aeca","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"bfe39beb986d2a2e512c091cbe924f1c415bc65de54de0e2f6a0dc6f84c183d9","affectsGlobalScope":true},"2af17363f8a062e3a8cd1b26030af0058b3f86e783f4fc6aa9f57247f240ebaa","06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","dfe08140492cdc135fb7fd9c4a652c05207b61a436906079b87da1d3111314bf","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa","089e1f8603cbc35ab977c8dcc662eb754b82fca32ed1dfb16bd682726c2d5432","8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"82fc37849846a3a0264047621d5beb6ce2ddeb2f83bdee2c79523af3c3282d97","16d51f964ec125ad2024cf03f0af444b3bc3ec3614d9345cc54d09bab45c9a4c","ba601641fac98c229ccd4a303f747de376d761babb33229bb7153bed9356c9cc",{"version":"101eb8b4e972b9326f39591e2e40e967e3331e8d960f81248daeb266ea1affec","affectsGlobalScope":true},"84e3bbd6f80983d468260fdbfeeb431cc81f7ea98d284d836e4d168e36875e86","0b85cb069d0e427ba946e5eb2d86ef65ffd19867042810516d16919f6c1a5aec","6d829824ead8999f87b6df21200df3c6150391b894b4e80662caa462bd48d073","afc559c1b93df37c25aef6b3dfa2d64325b0e112e887ee18bf7e6f4ec383fc90","15c88bfd1b8dc7231ff828ae8df5d955bae5ebca4cf2bcb417af5821e52299ae","e91ad231af87f864b3f07cd0e39b1cf6c133988156f087c1c3ccb0a5491c9115","5343f3c160282dfbaab9af350119a0c3b59b7076ef0117bb5995a66e240dab28","cc256fd958b33576ed32c7338c64adb0d08fc0c2c6525010202fab83f32745da","bf0b1297461549a0e32cd57dffb992c63d7c7134fe0f9e15d359abcc88dbd28c","7467a3a9a7941b98dc80713e03b474a1d5e0ce25701a9f1b3c96db00aed9880a","c4299421b95e09c0fe92cf8cead37a8a9af1b8920cb185bfaee76537657f3cab","17532c1339da07d0388a56cfac9fb9eb2af3caaaf550f9bd17f1bf984517ffdf","47ca0fb9673aaebf19c75837ecd7e075c8a65663d0b5755cf2b4c8dd6f92493f","0d0d319489059ab6959d08ac6c1b013220da4dbc28dc4d2aa4919e4bed1eedc1","2b352ff7ffb7b07bdc0b7b6b02e8e04fc467636548b1997efa46c1e8d9f8885a","ce80715b3df13eb906356c80cd931b64e63ad38f7a68180acff9cc808a1e542a","98d28f891aa926233020c9f3acdb5a707aebfea4bc94c9d8339903863f68c4a3","14782d232b3fff9ee9e4c29983328bae6674922c8e10e6e68b1eff6112be1896","2935ef7de3f720df3b30f2a249688de3cf87b523167734ccfdb6251a9301bd4c","b7b3958334f8bff712551362cabd7cc0e9484c512423ba1066137361b4a11093","b049f4ddcb18089e939a714ad93f29dbe9c811ceb44c21bf123a332505291a31","4d59c8b99874b651b0d5b436750090a9955bb65eea14974c91d364c476d21cbd","b359615f90221520f669a288bb72471dce2473f2b229fee0a9fe1e5a04a07bcf","556b4ef8c0f4040631dd9c1553358d16af6ab742dbfebe0559e455a01646071b","c1c5bddcba6fe35c1541f7a00d147825e5f88ee8e400b8d7d1be1cdfe08419c4","51bf9f55b74f7493c2f8fc7d383fb7f1529825d22e02ae0fd777d4f741984c96","24f7c94ed00767e830eb54713b2090237fad94a24b1732302f7e3ccdac58b4ae","eb4abb197fcb43aedab5346fdfa687ea630c570f7b6c3c9c473401e2ce483e09","951baa882e6e3e5026cb8a16f80a8bebec1caa35c3fa016c9a3ce6a338bd3123","0ccaac66a72368e2d95406df3ecdb2ff3e181f2a8cb9e9147165c5fe62aa543f","2645155e6973548b03fcc9b0cce8ab8e32c0d67fec9a2746b3e07551e23ce09a",{"version":"bfd2b2dddf737c69c7d357ec77f93d63df20361eb923492a49f229430978741e","signature":"7e2447165512856da8991f96884f98c3e9a0eb6fd5948705d6d0fd60e5919e3a"},{"version":"7eb99e4fd7278c57670b94be2a95cd52003889c47d86147b5943b46d5384abf4","signature":"42907dc29eabcf880862da6039a837d188fa76b2fb065caeaff77f9cae63bdc1"},"b3a8a0b5e2c2b0c1ac3b5a81ff7c22f2af5338b91797d94c755951490e9d0d75",{"version":"d53cd02a028c3a3ce96c7e8d79f4730e1a86407da395944cc1be2ec51a786cf5","signature":"6e15e1020b79a810af40762e28e8b3001fd3ce2eeb8c5025f02fd407d5b94776"},"f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6"],"options":{"declaration":true,"esModuleInterop":true,"module":1,"noImplicitAny":true,"noImplicitReturns":true,"noUnusedLocals":true,"outDir":"./","preserveConstEnums":true,"removeComments":true,"skipLibCheck":true,"sourceMap":true,"strict":true,"strictNullChecks":true,"target":6,"useUnknownInCatchVariables":false},"fileIdsList":[[60,86,93,99],[86],[60,86,93],[57,60,86,93,94,95],[86,95,96,98,100],[42,86],[45,86],[46,51,86],[47,57,58,65,74,85,86],[47,48,57,65,86],[49,86],[50,51,58,66,86],[51,74,82,86],[52,54,57,65,86],[53,86],[54,55,86],[56,57,86],[57,86],[57,58,59,74,85,86],[57,58,59,74,77,86],[86,90],[60,65,74,85,86],[57,58,60,61,65,74,82,85,86],[60,62,74,82,85,86],[42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92],[57,63,86],[64,85,86],[54,57,65,74,86],[66,86],[67,86],[45,68,86],[69,84,86,90],[70,86],[71,86],[57,72,86],[72,73,86,88],[57,74,75,76,77,86],[74,76,86],[74,75,86],[77,86],[78,86],[57,80,81,86],[80,81,86],[51,65,74,82,86],[83,86],[65,84,86],[46,60,71,85,86],[51,86],[74,86,87],[86,88],[86,89],[46,51,57,59,68,74,85,86,88,90],[74,86,91],[60,86,105],[58,60,62,65,74,85,86,93,102,103,104],[60,86,93,97],[60,74,86,93],[86,117],[86,109,115],[86,111],[60,85,86,93,101,102,105,106,107,109,110,111,112,113,114],[86,115],[86,108,115],[86,111,115],[86,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126],[86,127],[127]],"referencedMap":[[100,1],[103,2],[99,3],[96,4],[101,5],[132,2],[97,2],[42,6],[43,6],[45,7],[46,8],[47,9],[48,10],[49,11],[50,12],[51,13],[52,14],[53,15],[54,16],[55,16],[56,17],[57,18],[58,19],[59,20],[44,21],[92,2],[60,22],[61,23],[62,24],[93,25],[63,26],[64,27],[65,28],[66,29],[67,30],[68,31],[69,32],[70,33],[71,34],[72,35],[73,36],[74,37],[76,38],[75,39],[77,40],[78,41],[79,2],[80,42],[81,43],[82,44],[83,45],[84,46],[85,47],[86,48],[87,49],[88,50],[89,51],[90,52],[91,53],[95,2],[94,2],[106,54],[105,55],[98,56],[104,2],[102,57],[122,2],[107,2],[118,58],[108,59],[114,60],[115,61],[116,62],[111,62],[119,59],[120,62],[123,59],[121,62],[125,62],[109,63],[112,64],[124,59],[113,62],[110,62],[127,65],[126,62],[117,62],[9,2],[8,2],[2,2],[10,2],[11,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[3,2],[4,2],[21,2],[18,2],[19,2],[20,2],[22,2],[23,2],[24,2],[5,2],[25,2],[26,2],[27,2],[28,2],[6,2],[29,2],[30,2],[31,2],[32,2],[7,2],[33,2],[38,2],[39,2],[34,2],[35,2],[36,2],[37,2],[40,2],[1,2],[41,2],[128,66],[130,2],[129,66],[131,2]],"exportedModulesMap":[[100,1],[103,2],[99,3],[96,4],[101,5],[132,2],[97,2],[42,6],[43,6],[45,7],[46,8],[47,9],[48,10],[49,11],[50,12],[51,13],[52,14],[53,15],[54,16],[55,16],[56,17],[57,18],[58,19],[59,20],[44,21],[92,2],[60,22],[61,23],[62,24],[93,25],[63,26],[64,27],[65,28],[66,29],[67,30],[68,31],[69,32],[70,33],[71,34],[72,35],[73,36],[74,37],[76,38],[75,39],[77,40],[78,41],[79,2],[80,42],[81,43],[82,44],[83,45],[84,46],[85,47],[86,48],[87,49],[88,50],[89,51],[90,52],[91,53],[95,2],[94,2],[106,54],[105,55],[98,56],[104,2],[102,57],[122,2],[107,2],[118,58],[108,59],[114,60],[115,61],[116,62],[111,62],[119,59],[120,62],[123,59],[121,62],[125,62],[109,63],[112,64],[124,59],[113,62],[110,62],[127,65],[126,62],[117,62],[9,2],[8,2],[2,2],[10,2],[11,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[3,2],[4,2],[21,2],[18,2],[19,2],[20,2],[22,2],[23,2],[24,2],[5,2],[25,2],[26,2],[27,2],[28,2],[6,2],[29,2],[30,2],[31,2],[32,2],[7,2],[33,2],[38,2],[39,2],[34,2],[35,2],[36,2],[37,2],[40,2],[1,2],[41,2],[128,67],[130,2],[129,67]],"semanticDiagnosticsPerFile":[100,103,99,96,101,132,97,42,43,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,44,92,60,61,62,93,63,64,65,66,67,68,69,70,71,72,73,74,76,75,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,95,94,106,105,98,104,102,122,107,118,108,114,115,116,111,119,120,123,121,125,109,112,124,113,110,127,126,117,9,8,2,10,11,12,13,14,15,16,17,3,4,21,18,19,20,22,23,24,5,25,26,27,28,6,29,30,31,32,7,33,38,39,34,35,36,37,40,1,41,128,130,129,131]},"version":"4.8.4"}
|
package/index.js
ADDED
|
File without changes
|
package/package.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "n8n-nodes-qbittorrent",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "qBittorrent node for n8n",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"n8n-community-node-package"
|
|
7
|
+
],
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"homepage": "https://github.com/Airthee/n8n-nodes-qbittorrent",
|
|
10
|
+
"author": {
|
|
11
|
+
"name": "Airthee",
|
|
12
|
+
"email": "me@airthee.com"
|
|
13
|
+
},
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "https://github.com/Airthee/n8n-nodes-qbittorrent.git"
|
|
17
|
+
},
|
|
18
|
+
"main": "index.js",
|
|
19
|
+
"scripts": {
|
|
20
|
+
"build": "tsc && gulp build:icons",
|
|
21
|
+
"dev": "tsc --watch",
|
|
22
|
+
"format": "prettier nodes --write",
|
|
23
|
+
"lint": "eslint nodes package.json",
|
|
24
|
+
"lintfix": "eslint nodes package.json --fix",
|
|
25
|
+
"prepublishOnly": "npm run build && npm run lint -c .eslintrc.prepublish.js nodes package.json"
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"dist"
|
|
29
|
+
],
|
|
30
|
+
"n8n": {
|
|
31
|
+
"n8nNodesApiVersion": 1,
|
|
32
|
+
"nodes": [
|
|
33
|
+
"dist/nodes/HttpBin/QBittorrent.node.js"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@types/express": "^4.17.6",
|
|
38
|
+
"@types/request-promise-native": "~1.0.15",
|
|
39
|
+
"@typescript-eslint/parser": "~5.45",
|
|
40
|
+
"eslint-plugin-n8n-nodes-base": "^1.11.0",
|
|
41
|
+
"gulp": "^4.0.2",
|
|
42
|
+
"n8n-core": "*",
|
|
43
|
+
"n8n-workflow": "*",
|
|
44
|
+
"prettier": "^2.7.1",
|
|
45
|
+
"typescript": "~4.8.4"
|
|
46
|
+
}
|
|
47
|
+
}
|