n8n-nodes-substack 0.0.2

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.
Files changed (33) hide show
  1. package/LICENSE.md +19 -0
  2. package/README.md +48 -0
  3. package/dist/credentials/ExampleCredentialsApi.credentials.d.ts +9 -0
  4. package/dist/credentials/ExampleCredentialsApi.credentials.js +47 -0
  5. package/dist/credentials/ExampleCredentialsApi.credentials.js.map +1 -0
  6. package/dist/credentials/HttpBinApi.credentials.d.ts +9 -0
  7. package/dist/credentials/HttpBinApi.credentials.js +43 -0
  8. package/dist/credentials/HttpBinApi.credentials.js.map +1 -0
  9. package/dist/credentials/SubstackApi.credentials.d.ts +9 -0
  10. package/dist/credentials/SubstackApi.credentials.js +48 -0
  11. package/dist/credentials/SubstackApi.credentials.js.map +1 -0
  12. package/dist/nodes/ExampleNode/ExampleNode.node.d.ts +5 -0
  13. package/dist/nodes/ExampleNode/ExampleNode.node.js +60 -0
  14. package/dist/nodes/ExampleNode/ExampleNode.node.js.map +1 -0
  15. package/dist/nodes/HttpBin/HttpBin.node.d.ts +4 -0
  16. package/dist/nodes/HttpBin/HttpBin.node.js +56 -0
  17. package/dist/nodes/HttpBin/HttpBin.node.js.map +1 -0
  18. package/dist/nodes/HttpBin/HttpBin.node.json +18 -0
  19. package/dist/nodes/HttpBin/HttpVerbDescription.d.ts +3 -0
  20. package/dist/nodes/HttpBin/HttpVerbDescription.js +236 -0
  21. package/dist/nodes/HttpBin/HttpVerbDescription.js.map +1 -0
  22. package/dist/nodes/HttpBin/httpbin.svg +18 -0
  23. package/dist/nodes/Substack/Substack.node.d.ts +4 -0
  24. package/dist/nodes/Substack/Substack.node.js +56 -0
  25. package/dist/nodes/Substack/Substack.node.js.map +1 -0
  26. package/dist/nodes/Substack/SubstackDescription.d.ts +3 -0
  27. package/dist/nodes/Substack/SubstackDescription.js +92 -0
  28. package/dist/nodes/Substack/SubstackDescription.js.map +1 -0
  29. package/dist/nodes/Substack/substack.svg +18 -0
  30. package/dist/package.json +57 -0
  31. package/dist/tsconfig.tsbuildinfo +1 -0
  32. package/index.js +0 -0
  33. package/package.json +57 -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,48 @@
1
+ ![Banner image](https://user-images.githubusercontent.com/10284570/173569848-c624317f-42b1-45a6-ab09-f0ea3c247648.png)
2
+
3
+ # n8n-nodes-starter
4
+
5
+ This repo contains example nodes to help you get started building your own custom integrations for [n8n](https://n8n.io). It includes the node linter and other dependencies.
6
+
7
+ To make your custom node available to the community, you must create it as an npm package, and [submit it to the npm registry](https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry).
8
+
9
+ If you would like your node to be available on n8n cloud you can also [submit your node for verification](https://docs.n8n.io/integrations/creating-nodes/deploy/submit-community-nodes/).
10
+
11
+ ## Prerequisites
12
+
13
+ You need the following installed on your development machine:
14
+
15
+ * [git](https://git-scm.com/downloads)
16
+ * Node.js and npm. Minimum version Node 20. You can find instructions on how to install both using nvm (Node Version Manager) for Linux, Mac, and WSL [here](https://github.com/nvm-sh/nvm). For Windows users, refer to Microsoft's guide to [Install NodeJS on Windows](https://docs.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-windows).
17
+ * Install n8n with:
18
+ ```
19
+ npm install n8n -g
20
+ ```
21
+ * Recommended: follow n8n's guide to [set up your development environment](https://docs.n8n.io/integrations/creating-nodes/build/node-development-environment/).
22
+
23
+ ## Using this starter
24
+
25
+ These are the basic steps for working with the starter. For detailed guidance on creating and publishing nodes, refer to the [documentation](https://docs.n8n.io/integrations/creating-nodes/).
26
+
27
+ 1. [Generate a new repository](https://github.com/n8n-io/n8n-nodes-starter/generate) from this template repository.
28
+ 2. Clone your new repo:
29
+ ```
30
+ git clone https://github.com/<your organization>/<your-repo-name>.git
31
+ ```
32
+ 3. Run `npm i` to install dependencies.
33
+ 4. Open the project in your editor.
34
+ 5. Browse the examples in `/nodes` and `/credentials`. Modify the examples, or replace them with your own nodes.
35
+ 6. Update the `package.json` to match your details.
36
+ 7. Run `npm run lint` to check for errors or `npm run lintfix` to automatically fix errors when possible.
37
+ 8. Test your node locally. Refer to [Run your node locally](https://docs.n8n.io/integrations/creating-nodes/test/run-node-locally/) for guidance.
38
+ 9. Replace this README with documentation for your node. Use the [README_TEMPLATE](README_TEMPLATE.md) to get started.
39
+ 10. Update the LICENSE file to use your details.
40
+ 11. [Publish](https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry) your package to npm.
41
+
42
+ ## More information
43
+
44
+ Refer to our [documentation on creating nodes](https://docs.n8n.io/integrations/creating-nodes/) for detailed information on building your own nodes.
45
+
46
+ ## License
47
+
48
+ [MIT](https://github.com/n8n-io/n8n-nodes-starter/blob/master/LICENSE.md)
@@ -0,0 +1,9 @@
1
+ import { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
2
+ export declare class ExampleCredentialsApi implements ICredentialType {
3
+ name: string;
4
+ displayName: string;
5
+ documentationUrl: string;
6
+ properties: INodeProperties[];
7
+ authenticate: IAuthenticateGeneric;
8
+ test: ICredentialTestRequest;
9
+ }
@@ -0,0 +1,47 @@
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.documentationUrl = 'https://your-docs-url';
9
+ this.properties = [
10
+ {
11
+ displayName: 'User Name',
12
+ name: 'username',
13
+ type: 'string',
14
+ default: '',
15
+ },
16
+ {
17
+ displayName: 'Password',
18
+ name: 'password',
19
+ type: 'string',
20
+ typeOptions: {
21
+ password: true,
22
+ },
23
+ default: '',
24
+ },
25
+ ];
26
+ this.authenticate = {
27
+ type: 'generic',
28
+ properties: {
29
+ auth: {
30
+ username: '={{ $credentials.username }}',
31
+ password: '={{ $credentials.password }}',
32
+ },
33
+ qs: {
34
+ n8n: 'rocks',
35
+ },
36
+ },
37
+ };
38
+ this.test = {
39
+ request: {
40
+ baseURL: 'https://example.com/',
41
+ url: '',
42
+ },
43
+ };
44
+ }
45
+ }
46
+ exports.ExampleCredentialsApi = ExampleCredentialsApi;
47
+ //# 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;QAExC,qBAAgB,GAAG,uBAAuB,CAAC;QAE3C,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;AAnDD,sDAmDC"}
@@ -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,43 @@
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 = 'https://your-docs-url';
9
+ this.properties = [
10
+ {
11
+ displayName: 'Token',
12
+ name: 'token',
13
+ type: 'string',
14
+ default: '',
15
+ typeOptions: {
16
+ password: true,
17
+ }
18
+ },
19
+ {
20
+ displayName: 'Domain',
21
+ name: 'domain',
22
+ type: 'string',
23
+ default: 'https://httpbin.org',
24
+ },
25
+ ];
26
+ this.authenticate = {
27
+ type: 'generic',
28
+ properties: {
29
+ headers: {
30
+ Authorization: '={{"Bearer " + $credentials.token}}',
31
+ },
32
+ },
33
+ };
34
+ this.test = {
35
+ request: {
36
+ baseURL: '={{$credentials?.domain}}',
37
+ url: '/bearer',
38
+ },
39
+ };
40
+ }
41
+ }
42
+ exports.HttpBinApi = HttpBinApi;
43
+ //# 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,uBAAuB,CAAC;QAC3C,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;aACD;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;AA1CD,gCA0CC"}
@@ -0,0 +1,9 @@
1
+ import { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
2
+ export declare class SubstackApi implements ICredentialType {
3
+ name: string;
4
+ displayName: string;
5
+ documentationUrl: string;
6
+ properties: INodeProperties[];
7
+ authenticate: IAuthenticateGeneric;
8
+ test: ICredentialTestRequest;
9
+ }
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SubstackApi = void 0;
4
+ class SubstackApi {
5
+ constructor() {
6
+ this.name = 'substackApi';
7
+ this.displayName = 'Substack API';
8
+ this.documentationUrl = 'https://substack.com/api';
9
+ this.properties = [
10
+ {
11
+ displayName: 'Publication Address',
12
+ name: 'publicationAddress',
13
+ type: 'string',
14
+ default: '',
15
+ placeholder: 'myblog.substack.com',
16
+ description: 'The full Substack domain of your publication',
17
+ required: true,
18
+ },
19
+ {
20
+ displayName: 'API Key',
21
+ name: 'apiKey',
22
+ type: 'string',
23
+ default: '',
24
+ typeOptions: {
25
+ password: true,
26
+ },
27
+ description: 'The private API token for authentication',
28
+ required: true,
29
+ },
30
+ ];
31
+ this.authenticate = {
32
+ type: 'generic',
33
+ properties: {
34
+ headers: {
35
+ Authorization: '={{"Bearer " + $credentials.apiKey}}',
36
+ },
37
+ },
38
+ };
39
+ this.test = {
40
+ request: {
41
+ baseURL: '={{$credentials?.publicationAddress ? "https://" + $credentials.publicationAddress : "https://substack.com"}}',
42
+ url: '/api/v1/user',
43
+ },
44
+ };
45
+ }
46
+ }
47
+ exports.SubstackApi = SubstackApi;
48
+ //# sourceMappingURL=SubstackApi.credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubstackApi.credentials.js","sourceRoot":"","sources":["../../credentials/SubstackApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,WAAW;IAAxB;QACC,SAAI,GAAG,aAAa,CAAC;QACrB,gBAAW,GAAG,cAAc,CAAC;QAC7B,qBAAgB,GAAG,0BAA0B,CAAC;QAC9C,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,qBAAqB;gBAClC,IAAI,EAAE,oBAAoB;gBAC1B,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,qBAAqB;gBAClC,WAAW,EAAE,8CAA8C;gBAC3D,QAAQ,EAAE,IAAI;aACd;YACD;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;gBACD,WAAW,EAAE,0CAA0C;gBACvD,QAAQ,EAAE,IAAI;aACd;SACD,CAAC;QAIF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,aAAa,EAAE,sCAAsC;iBACrD;aACD;SACD,CAAC;QAGF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,+GAA+G;gBACxH,GAAG,EAAE,cAAc;aACnB;SACD,CAAC;IACH,CAAC;CAAA;AA7CD,kCA6CC"}
@@ -0,0 +1,5 @@
1
+ import type { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
2
+ export declare class ExampleNode implements INodeType {
3
+ description: INodeTypeDescription;
4
+ execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
5
+ }
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ExampleNode = void 0;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ class ExampleNode {
6
+ constructor() {
7
+ this.description = {
8
+ displayName: 'Example Node',
9
+ name: 'exampleNode',
10
+ group: ['transform'],
11
+ version: 1,
12
+ description: 'Basic Example Node',
13
+ defaults: {
14
+ name: 'Example Node',
15
+ },
16
+ inputs: ["main"],
17
+ outputs: ["main"],
18
+ usableAsTool: true,
19
+ properties: [
20
+ {
21
+ displayName: 'My String',
22
+ name: 'myString',
23
+ type: 'string',
24
+ default: '',
25
+ placeholder: 'Placeholder value',
26
+ description: 'The description text',
27
+ },
28
+ ],
29
+ };
30
+ }
31
+ async execute() {
32
+ const items = this.getInputData();
33
+ let item;
34
+ let myString;
35
+ for (let itemIndex = 0; itemIndex < items.length; itemIndex++) {
36
+ try {
37
+ myString = this.getNodeParameter('myString', itemIndex, '');
38
+ item = items[itemIndex];
39
+ item.json.myString = myString;
40
+ }
41
+ catch (error) {
42
+ if (this.continueOnFail()) {
43
+ items.push({ json: this.getInputData(itemIndex)[0].json, error, pairedItem: itemIndex });
44
+ }
45
+ else {
46
+ if (error.context) {
47
+ error.context.itemIndex = itemIndex;
48
+ throw error;
49
+ }
50
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), error, {
51
+ itemIndex,
52
+ });
53
+ }
54
+ }
55
+ }
56
+ return [items];
57
+ }
58
+ }
59
+ exports.ExampleNode = ExampleNode;
60
+ //# sourceMappingURL=ExampleNode.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExampleNode.node.js","sourceRoot":"","sources":["../../../nodes/ExampleNode/ExampleNode.node.ts"],"names":[],"mappings":";;;AAMA,+CAAsE;AAEtE,MAAa,WAAW;IAAxB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,cAAc;YAC3B,IAAI,EAAE,aAAa;YACnB,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,WAAW,EAAE,oBAAoB;YACjC,QAAQ,EAAE;gBACT,IAAI,EAAE,cAAc;aACpB;YACD,MAAM,EAAE,QAAyB;YACjC,OAAO,EAAE,QAAyB;YAClC,YAAY,EAAE,IAAI;YAClB,UAAU,EAAE;gBAGX;oBACC,WAAW,EAAE,WAAW;oBACxB,IAAI,EAAE,UAAU;oBAChB,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE,EAAE;oBACX,WAAW,EAAE,mBAAmB;oBAChC,WAAW,EAAE,sBAAsB;iBACnC;aACD;SACD,CAAC;IA2CH,CAAC;IArCA,KAAK,CAAC,OAAO;QACZ,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;QAElC,IAAI,IAAwB,CAAC;QAC7B,IAAI,QAAgB,CAAC;QAKrB,KAAK,IAAI,SAAS,GAAG,CAAC,EAAE,SAAS,GAAG,KAAK,CAAC,MAAM,EAAE,SAAS,EAAE,EAAE,CAAC;YAC/D,IAAI,CAAC;gBACJ,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,SAAS,EAAE,EAAE,CAAW,CAAC;gBACtE,IAAI,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC;gBAExB,IAAI,CAAC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;YAC/B,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBAGhB,IAAI,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC;oBAC3B,KAAK,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC,CAAC;gBAC1F,CAAC;qBAAM,CAAC;oBAEP,IAAI,KAAK,CAAC,OAAO,EAAE,CAAC;wBAGnB,KAAK,CAAC,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC;wBACpC,MAAM,KAAK,CAAC;oBACb,CAAC;oBACD,MAAM,IAAI,iCAAkB,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE;wBACnD,SAAS;qBACT,CAAC,CAAC;gBACJ,CAAC;YACF,CAAC;QACF,CAAC;QAED,OAAO,CAAC,KAAK,CAAC,CAAC;IAChB,CAAC;CACD;AApED,kCAoEC"}
@@ -0,0 +1,4 @@
1
+ import { INodeType, INodeTypeDescription } from 'n8n-workflow';
2
+ export declare class HttpBin implements INodeType {
3
+ description: INodeTypeDescription;
4
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HttpBin = void 0;
4
+ const HttpVerbDescription_1 = require("./HttpVerbDescription");
5
+ class HttpBin {
6
+ constructor() {
7
+ this.description = {
8
+ displayName: 'HttpBin',
9
+ name: 'httpBin',
10
+ icon: { light: 'file:httpbin.svg', dark: 'file:httpbin.svg' },
11
+ group: ['transform'],
12
+ version: 1,
13
+ subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
14
+ description: 'Interact with HttpBin API',
15
+ defaults: {
16
+ name: 'HttpBin',
17
+ },
18
+ inputs: ["main"],
19
+ outputs: ["main"],
20
+ usableAsTool: true,
21
+ credentials: [
22
+ {
23
+ name: 'httpbinApi',
24
+ required: false,
25
+ },
26
+ ],
27
+ requestDefaults: {
28
+ baseURL: 'https://httpbin.org',
29
+ url: '',
30
+ headers: {
31
+ Accept: 'application/json',
32
+ 'Content-Type': 'application/json',
33
+ },
34
+ },
35
+ properties: [
36
+ {
37
+ displayName: 'Resource',
38
+ name: 'resource',
39
+ type: 'options',
40
+ noDataExpression: true,
41
+ options: [
42
+ {
43
+ name: 'HTTP Verb',
44
+ value: 'httpVerb',
45
+ },
46
+ ],
47
+ default: 'httpVerb',
48
+ },
49
+ ...HttpVerbDescription_1.httpVerbOperations,
50
+ ...HttpVerbDescription_1.httpVerbFields,
51
+ ],
52
+ };
53
+ }
54
+ }
55
+ exports.HttpBin = HttpBin;
56
+ //# sourceMappingURL=HttpBin.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HttpBin.node.js","sourceRoot":"","sources":["../../../nodes/HttpBin/HttpBin.node.ts"],"names":[],"mappings":";;;AACA,+DAA2E;AAE3E,MAAa,OAAO;IAApB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,SAAS;YACtB,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,EAAE,KAAK,EAAE,kBAAkB,EAAE,IAAI,EAAE,kBAAkB,EAAE;YAC7D,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,8DAA8D;YACxE,WAAW,EAAE,2BAA2B;YACxC,QAAQ,EAAE;gBACT,IAAI,EAAE,SAAS;aACf;YACD,MAAM,EAAE,QAAyB;YACjC,OAAO,EAAE,QAAyB;YAClC,YAAY,EAAE,IAAI;YAClB,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,YAAY;oBAClB,QAAQ,EAAE,KAAK;iBACf;aACD;YACD,eAAe,EAAE;gBAChB,OAAO,EAAE,qBAAqB;gBAC9B,GAAG,EAAE,EAAE;gBACP,OAAO,EAAE;oBACR,MAAM,EAAE,kBAAkB;oBAC1B,cAAc,EAAE,kBAAkB;iBAClC;aACD;YAYD,UAAU,EAAE;gBACX;oBACC,WAAW,EAAE,UAAU;oBACvB,IAAI,EAAE,UAAU;oBAChB,IAAI,EAAE,SAAS;oBACf,gBAAgB,EAAE,IAAI;oBACtB,OAAO,EAAE;wBACR;4BACC,IAAI,EAAE,WAAW;4BACjB,KAAK,EAAE,UAAU;yBACjB;qBACD;oBACD,OAAO,EAAE,UAAU;iBACnB;gBAED,GAAG,wCAAkB;gBACrB,GAAG,oCAAc;aACjB;SACD,CAAC;IACH,CAAC;CAAA;AA3DD,0BA2DC"}
@@ -0,0 +1,18 @@
1
+ {
2
+ "node": "n8n-nodes-base.httpbin",
3
+ "nodeVersion": "1.0",
4
+ "codexVersion": "1.0",
5
+ "categories": ["Development", "Developer Tools"],
6
+ "resources": {
7
+ "credentialDocumentation": [
8
+ {
9
+ "url": "http://httpbin.org/#/Auth/get_bearer"
10
+ }
11
+ ],
12
+ "primaryDocumentation": [
13
+ {
14
+ "url": "http://httpbin.org/"
15
+ }
16
+ ]
17
+ }
18
+ }
@@ -0,0 +1,3 @@
1
+ import { INodeProperties } from 'n8n-workflow';
2
+ export declare const httpVerbOperations: INodeProperties[];
3
+ export declare const httpVerbFields: INodeProperties[];
@@ -0,0 +1,236 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.httpVerbFields = exports.httpVerbOperations = void 0;
4
+ exports.httpVerbOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: ['httpVerb'],
13
+ },
14
+ },
15
+ options: [
16
+ {
17
+ name: 'GET',
18
+ value: 'get',
19
+ description: 'Perform a GET request',
20
+ action: 'Perform a GET request',
21
+ routing: {
22
+ request: {
23
+ method: 'GET',
24
+ url: '/get',
25
+ },
26
+ },
27
+ },
28
+ {
29
+ name: 'DELETE',
30
+ value: 'delete',
31
+ description: 'Perform a DELETE request',
32
+ action: 'Perform a DELETE request',
33
+ routing: {
34
+ request: {
35
+ method: 'DELETE',
36
+ url: '/delete',
37
+ },
38
+ },
39
+ },
40
+ ],
41
+ default: 'get',
42
+ },
43
+ ];
44
+ const getOperation = [
45
+ {
46
+ displayName: 'Type of Data',
47
+ name: 'typeofData',
48
+ default: 'queryParameter',
49
+ description: 'Select type of data to send [Query Parameters]',
50
+ displayOptions: {
51
+ show: {
52
+ resource: ['httpVerb'],
53
+ operation: ['get'],
54
+ },
55
+ },
56
+ type: 'options',
57
+ options: [
58
+ {
59
+ name: 'Query',
60
+ value: 'queryParameter',
61
+ },
62
+ ],
63
+ required: true,
64
+ },
65
+ {
66
+ displayName: 'Query Parameters',
67
+ name: 'arguments',
68
+ default: {},
69
+ description: "The request's query parameters",
70
+ displayOptions: {
71
+ show: {
72
+ resource: ['httpVerb'],
73
+ operation: ['get'],
74
+ },
75
+ },
76
+ options: [
77
+ {
78
+ name: 'keyvalue',
79
+ displayName: 'Key:Value',
80
+ values: [
81
+ {
82
+ displayName: 'Key',
83
+ name: 'key',
84
+ type: 'string',
85
+ default: '',
86
+ required: true,
87
+ description: 'Key of query parameter',
88
+ },
89
+ {
90
+ displayName: 'Value',
91
+ name: 'value',
92
+ type: 'string',
93
+ default: '',
94
+ routing: {
95
+ send: {
96
+ property: '={{$parent.key}}',
97
+ type: 'query',
98
+ },
99
+ },
100
+ required: true,
101
+ description: 'Value of query parameter',
102
+ },
103
+ ],
104
+ },
105
+ ],
106
+ type: 'fixedCollection',
107
+ typeOptions: {
108
+ multipleValues: true,
109
+ },
110
+ },
111
+ ];
112
+ const deleteOperation = [
113
+ {
114
+ displayName: 'Type of Data',
115
+ name: 'typeofData',
116
+ default: 'queryParameter',
117
+ description: 'Select type of data to send [Query Parameter Arguments, JSON-Body]',
118
+ displayOptions: {
119
+ show: {
120
+ resource: ['httpVerb'],
121
+ operation: ['delete'],
122
+ },
123
+ },
124
+ options: [
125
+ {
126
+ name: 'Query',
127
+ value: 'queryParameter',
128
+ },
129
+ {
130
+ name: 'JSON',
131
+ value: 'jsonData',
132
+ },
133
+ ],
134
+ required: true,
135
+ type: 'options',
136
+ },
137
+ {
138
+ displayName: 'Query Parameters',
139
+ name: 'arguments',
140
+ default: {},
141
+ description: "The request's query parameters",
142
+ displayOptions: {
143
+ show: {
144
+ resource: ['httpVerb'],
145
+ operation: ['delete'],
146
+ typeofData: ['queryParameter'],
147
+ },
148
+ },
149
+ options: [
150
+ {
151
+ name: 'keyvalue',
152
+ displayName: 'Key:Value',
153
+ values: [
154
+ {
155
+ displayName: 'Key',
156
+ name: 'key',
157
+ type: 'string',
158
+ default: '',
159
+ required: true,
160
+ description: 'Key of query parameter',
161
+ },
162
+ {
163
+ displayName: 'Value',
164
+ name: 'value',
165
+ type: 'string',
166
+ default: '',
167
+ routing: {
168
+ send: {
169
+ property: '={{$parent.key}}',
170
+ type: 'query',
171
+ },
172
+ },
173
+ required: true,
174
+ description: 'Value of query parameter',
175
+ },
176
+ ],
177
+ },
178
+ ],
179
+ type: 'fixedCollection',
180
+ typeOptions: {
181
+ multipleValues: true,
182
+ },
183
+ },
184
+ {
185
+ displayName: 'JSON Object',
186
+ name: 'arguments',
187
+ default: {},
188
+ description: "The request's JSON properties",
189
+ displayOptions: {
190
+ show: {
191
+ resource: ['httpVerb'],
192
+ operation: ['delete'],
193
+ typeofData: ['jsonData'],
194
+ },
195
+ },
196
+ options: [
197
+ {
198
+ name: 'keyvalue',
199
+ displayName: 'Key:Value',
200
+ values: [
201
+ {
202
+ displayName: 'Key',
203
+ name: 'key',
204
+ type: 'string',
205
+ default: '',
206
+ required: true,
207
+ description: 'Key of JSON property',
208
+ },
209
+ {
210
+ displayName: 'Value',
211
+ name: 'value',
212
+ type: 'string',
213
+ default: '',
214
+ routing: {
215
+ send: {
216
+ property: '={{$parent.key}}',
217
+ type: 'body',
218
+ },
219
+ },
220
+ required: true,
221
+ description: 'Value of JSON property',
222
+ },
223
+ ],
224
+ },
225
+ ],
226
+ type: 'fixedCollection',
227
+ typeOptions: {
228
+ multipleValues: true,
229
+ },
230
+ },
231
+ ];
232
+ exports.httpVerbFields = [
233
+ ...getOperation,
234
+ ...deleteOperation,
235
+ ];
236
+ //# sourceMappingURL=HttpVerbDescription.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HttpVerbDescription.js","sourceRoot":"","sources":["../../../nodes/HttpBin/HttpVerbDescription.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="32px" height="32px" viewBox="0 0 32 32" enable-background="new 0 0 32 32" xml:space="preserve"> <image id="image0" width="32" height="32" x="0" y="0"
4
+ href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAABGdBTUEAALGPC/xhBQAAACBjSFJN
5
+ AAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElN
6
+ RQfmBg4UAC/TqOZZAAACA0lEQVRIx5XVv09TURwF8M+jFHDSyRkGFhPAEfyRdDHi5uriXyDoYgKT
7
+ MJDWzUT/Ahf/AiOEpajEgCESmpiYmDCxGowDTYE+h76+vte+15Zzk753b7733HNO772PbEw7ECba
8
+ genswtEcgl0/PHARV72066YrIDSZ6k8KBym4741r0XsB284TdUX8chn1zrzwJUmw4KFXPqjFE0Y0
9
+ u5YKEhpmfLZuy7f2wLKGI8WhDRYdaVhurdTCidmU5P44N+skaaGQH1IfFFrOYMotT932zNgQExve
10
+ OfTeT8dtBceO3TFlOyopY7UPxV+/fWyn3Y0xrFhJjZWFXhs12pKdRO9ObGSuyB8Xbd9JjMjDc6HQ
11
+ IcrKqAiVe8vyCEJPrGBWxZYqqtZt9RbmHabAvAAVdVUlJTvWshbMt0AYn40OmlchSKOePTyYIMQn
12
+ rb8yI8TsDCrRs4od7Jv3KOoPGWKboBqp2LN3FQvdO7EPshSsRSTXrSop2cSiiUGkG/bj2JqaQiHW
13
+ 4nv50mFcu28j30KQarAnEPhuzvwwGYQ975vx7+JwGXTjTIAzoYlhCArR5d0KkfauqJAVY6+FG5hD
14
+ OS6veqyCuSiTAQT/jKmlQtyxIBCoZV28HQvN6LuQvJFC4xjvibfYOZUdUXd9taTWJbOubiIVXmjG
15
+ W/fs9qpZcpr6pOe1U0udSf8BR7ef4yxyOskAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDYtMTRU
16
+ MTc6MDA6NDcrMDM6MDBfo1sRAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA2LTE0VDE3OjAwOjQ3
17
+ KzAzOjAwLv7jrQAAAABJRU5ErkJggg==" />
18
+ </svg>
@@ -0,0 +1,4 @@
1
+ import { INodeType, INodeTypeDescription } from 'n8n-workflow';
2
+ export declare class Substack implements INodeType {
3
+ description: INodeTypeDescription;
4
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Substack = void 0;
4
+ const SubstackDescription_1 = require("./SubstackDescription");
5
+ class Substack {
6
+ constructor() {
7
+ this.description = {
8
+ displayName: 'Substack',
9
+ name: 'substack',
10
+ icon: { light: 'file:substack.svg', dark: 'file:substack.svg' },
11
+ group: ['output'],
12
+ version: 1,
13
+ subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
14
+ description: 'Interact with Substack API',
15
+ defaults: {
16
+ name: 'Substack',
17
+ },
18
+ inputs: ["main"],
19
+ outputs: ["main"],
20
+ usableAsTool: true,
21
+ credentials: [
22
+ {
23
+ name: 'substackApi',
24
+ required: true,
25
+ },
26
+ ],
27
+ requestDefaults: {
28
+ baseURL: '={{$credentials?.publicationAddress ? "https://" + $credentials.publicationAddress : "https://substack.com"}}',
29
+ url: '',
30
+ headers: {
31
+ Accept: 'application/json',
32
+ 'Content-Type': 'application/json',
33
+ },
34
+ },
35
+ properties: [
36
+ {
37
+ displayName: 'Resource',
38
+ name: 'resource',
39
+ type: 'options',
40
+ noDataExpression: true,
41
+ options: [
42
+ {
43
+ name: 'Note',
44
+ value: 'note',
45
+ },
46
+ ],
47
+ default: 'note',
48
+ },
49
+ ...SubstackDescription_1.noteOperations,
50
+ ...SubstackDescription_1.noteFields,
51
+ ],
52
+ };
53
+ }
54
+ }
55
+ exports.Substack = Substack;
56
+ //# sourceMappingURL=Substack.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Substack.node.js","sourceRoot":"","sources":["../../../nodes/Substack/Substack.node.ts"],"names":[],"mappings":";;;AACA,+DAAmE;AAEnE,MAAa,QAAQ;IAArB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,EAAE,KAAK,EAAE,mBAAmB,EAAE,IAAI,EAAE,mBAAmB,EAAE;YAC/D,KAAK,EAAE,CAAC,QAAQ,CAAC;YACjB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,8DAA8D;YACxE,WAAW,EAAE,4BAA4B;YACzC,QAAQ,EAAE;gBACT,IAAI,EAAE,UAAU;aAChB;YACD,MAAM,EAAE,QAAyB;YACjC,OAAO,EAAE,QAAyB;YAClC,YAAY,EAAE,IAAI;YAClB,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,aAAa;oBACnB,QAAQ,EAAE,IAAI;iBACd;aACD;YACD,eAAe,EAAE;gBAChB,OAAO,EAAE,+GAA+G;gBACxH,GAAG,EAAE,EAAE;gBACP,OAAO,EAAE;oBACR,MAAM,EAAE,kBAAkB;oBAC1B,cAAc,EAAE,kBAAkB;iBAClC;aACD;YACD,UAAU,EAAE;gBACX;oBACC,WAAW,EAAE,UAAU;oBACvB,IAAI,EAAE,UAAU;oBAChB,IAAI,EAAE,SAAS;oBACf,gBAAgB,EAAE,IAAI;oBACtB,OAAO,EAAE;wBACR;4BACC,IAAI,EAAE,MAAM;4BACZ,KAAK,EAAE,MAAM;yBACb;qBACD;oBACD,OAAO,EAAE,MAAM;iBACf;gBAED,GAAG,oCAAc;gBACjB,GAAG,gCAAU;aACb;SACD,CAAC;IACH,CAAC;CAAA;AAhDD,4BAgDC"}
@@ -0,0 +1,3 @@
1
+ import { INodeProperties } from 'n8n-workflow';
2
+ export declare const noteOperations: INodeProperties[];
3
+ export declare const noteFields: INodeProperties[];
@@ -0,0 +1,92 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.noteFields = exports.noteOperations = void 0;
4
+ exports.noteOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: ['note'],
13
+ },
14
+ },
15
+ options: [
16
+ {
17
+ name: 'Create',
18
+ value: 'create',
19
+ description: 'Create a new Substack note',
20
+ action: 'Create a note',
21
+ routing: {
22
+ request: {
23
+ method: 'POST',
24
+ url: '/api/v1/notes',
25
+ },
26
+ output: {
27
+ postReceive: [
28
+ {
29
+ type: 'set',
30
+ properties: {
31
+ value: '={{ { "title": $response.body.title || $parameter.title, "success": true, "noteId": $response.body.id, "url": $response.body.url } }}',
32
+ },
33
+ },
34
+ ],
35
+ },
36
+ },
37
+ },
38
+ ],
39
+ default: 'create',
40
+ },
41
+ ];
42
+ const createOperation = [
43
+ {
44
+ displayName: 'Title',
45
+ name: 'title',
46
+ type: 'string',
47
+ default: '',
48
+ placeholder: 'Note title',
49
+ description: 'The headline of the note',
50
+ displayOptions: {
51
+ show: {
52
+ resource: ['note'],
53
+ operation: ['create'],
54
+ },
55
+ },
56
+ routing: {
57
+ send: {
58
+ property: 'title',
59
+ type: 'body',
60
+ },
61
+ },
62
+ required: true,
63
+ },
64
+ {
65
+ displayName: 'Body',
66
+ name: 'body',
67
+ type: 'string',
68
+ typeOptions: {
69
+ rows: 5,
70
+ },
71
+ default: '',
72
+ placeholder: 'Note content...',
73
+ description: 'The content of the note (plain text or HTML)',
74
+ displayOptions: {
75
+ show: {
76
+ resource: ['note'],
77
+ operation: ['create'],
78
+ },
79
+ },
80
+ routing: {
81
+ send: {
82
+ property: 'body',
83
+ type: 'body',
84
+ },
85
+ },
86
+ required: true,
87
+ },
88
+ ];
89
+ exports.noteFields = [
90
+ ...createOperation,
91
+ ];
92
+ //# sourceMappingURL=SubstackDescription.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubstackDescription.js","sourceRoot":"","sources":["../../../nodes/Substack/SubstackDescription.ts"],"names":[],"mappings":";;;AAGa,QAAA,cAAc,GAAsB;IAChD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;aAClB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,4BAA4B;gBACzC,MAAM,EAAE,eAAe;gBACvB,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,MAAM;wBACd,GAAG,EAAE,eAAe;qBACpB;oBACD,MAAM,EAAE;wBACP,WAAW,EAAE;4BACZ;gCACC,IAAI,EAAE,KAAK;gCACX,UAAU,EAAE;oCACX,KAAK,EAAE,uIAAuI;iCAC9I;6BACD;yBACD;qBACD;iBACD;aACD;SACD;QACD,OAAO,EAAE,QAAQ;KACjB;CACD,CAAC;AAGF,MAAM,eAAe,GAAsB;IAC1C;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,YAAY;QACzB,WAAW,EAAE,0BAA0B;QACvC,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,QAAQ,EAAE,OAAO;gBACjB,IAAI,EAAE,MAAM;aACZ;SACD;QACD,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE;YACZ,IAAI,EAAE,CAAC;SACP;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,iBAAiB;QAC9B,WAAW,EAAE,8CAA8C;QAC3D,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,QAAQ,EAAE,MAAM;gBAChB,IAAI,EAAE,MAAM;aACZ;SACD;QACD,QAAQ,EAAE,IAAI;KACd;CACD,CAAC;AAEW,QAAA,UAAU,GAAsB;IAI5C,GAAG,eAAe;CAClB,CAAC"}
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="32px" height="32px" viewBox="0 0 32 32" enable-background="new 0 0 32 32" xml:space="preserve"> <image id="image0" width="32" height="32" x="0" y="0"
4
+ href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAABGdBTUEAALGPC/xhBQAAACBjSFJN
5
+ AAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElN
6
+ RQfmBg4UAC/TqOZZAAACA0lEQVRIx5XVv09TURwF8M+jFHDSyRkGFhPAEfyRdDHi5uriXyDoYgKT
7
+ MJDWzUT/Ahf/AiOEpajEgCESmpiYmDCxGowDTYE+h76+vte+15Zzk753b7733HNO772PbEw7ECba
8
+ genswtEcgl0/PHARV72066YrIDSZ6k8KBym4741r0XsB284TdUX8chn1zrzwJUmw4KFXPqjFE0Y0
9
+ u5YKEhpmfLZuy7f2wLKGI8WhDRYdaVhurdTCidmU5P44N+skaaGQH1IfFFrOYMotT932zNgQExve
10
+ OfTeT8dtBceO3TFlOyopY7UPxV+/fWyn3Y0xrFhJjZWFXhs12pKdRO9ObGSuyB8Xbd9JjMjDc6HQ
11
+ IcrKqAiVe8vyCEJPrGBWxZYqqtZt9RbmHabAvAAVdVUlJTvWshbMt0AYn40OmlchSKOePTyYIMQn
12
+ rb8yI8TsDCrRs4od7Jv3KOoPGWKboBqp2LN3FQvdO7EPshSsRSTXrSop2cSiiUGkG/bj2JqaQiHW
13
+ 4nv50mFcu28j30KQarAnEPhuzvwwGYQ975vx7+JwGXTjTIAzoYlhCArR5d0KkfauqJAVY6+FG5hD
14
+ OS6veqyCuSiTAQT/jKmlQtyxIBCoZV28HQvN6LuQvJFC4xjvibfYOZUdUXd9taTWJbOubiIVXmjG
15
+ W/fs9qpZcpr6pOe1U0udSf8BR7ef4yxyOskAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDYtMTRU
16
+ MTc6MDA6NDcrMDM6MDBfo1sRAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA2LTE0VDE3OjAwOjQ3
17
+ KzAzOjAwLv7jrQAAAABJRU5ErkJggg==" />
18
+ </svg>
@@ -0,0 +1,57 @@
1
+ {
2
+ "name": "n8n-nodes-substack",
3
+ "version": "0.0.2",
4
+ "description": "n8n community node for Substack API integration",
5
+ "keywords": [
6
+ "n8n-community-node-package"
7
+ ],
8
+ "license": "MIT",
9
+ "homepage": "",
10
+ "author": {
11
+ "name": "Jakub Slys",
12
+ "email": "jakub@slys.dev"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/jakub-k-slys/n8n-nodes-substack.git"
17
+ },
18
+ "engines": {
19
+ "node": ">=20.15"
20
+ },
21
+ "main": "index.js",
22
+ "scripts": {
23
+ "build": "npx rimraf dist && tsc && gulp build:icons",
24
+ "dev": "tsc --watch",
25
+ "format": "prettier nodes credentials --write",
26
+ "lint": "eslint nodes credentials package.json",
27
+ "lintfix": "eslint nodes credentials package.json --fix",
28
+ "prepublishOnly": "npm run build && npx eslint -c eslint.prepublish.config.js nodes credentials package.json"
29
+ },
30
+ "files": [
31
+ "dist"
32
+ ],
33
+ "n8n": {
34
+ "n8nNodesApiVersion": 1,
35
+ "credentials": [
36
+ "dist/credentials/ExampleCredentialsApi.credentials.js",
37
+ "dist/credentials/HttpBinApi.credentials.js",
38
+ "dist/credentials/SubstackApi.credentials.js"
39
+ ],
40
+ "nodes": [
41
+ "dist/nodes/ExampleNode/ExampleNode.node.js",
42
+ "dist/nodes/HttpBin/HttpBin.node.js",
43
+ "dist/nodes/Substack/Substack.node.js"
44
+ ]
45
+ },
46
+ "devDependencies": {
47
+ "@typescript-eslint/parser": "~8.34.1",
48
+ "eslint": "^9.29.0",
49
+ "eslint-plugin-n8n-nodes-base": "^1.16.3",
50
+ "gulp": "^5.0.0",
51
+ "prettier": "^3.5.3",
52
+ "typescript": "^5.8.2"
53
+ },
54
+ "peerDependencies": {
55
+ "n8n-workflow": "*"
56
+ }
57
+ }
@@ -0,0 +1 @@
1
+ {"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.es2016.intl.d.ts","../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../node_modules/typescript/lib/lib.es2017.date.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.es2019.intl.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.es2021.promise.d.ts","../node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/axios/index.d.ts","../node_modules/form-data/index.d.ts","../node_modules/n8n-workflow/dist/Constants.d.ts","../node_modules/n8n-workflow/dist/DeferredPromise.d.ts","../node_modules/n8n-workflow/dist/errors/error.types.d.ts","../node_modules/n8n-workflow/dist/errors/base/base.error.d.ts","../node_modules/n8n-workflow/dist/errors/base/operational.error.d.ts","../node_modules/n8n-workflow/dist/errors/base/unexpected.error.d.ts","../node_modules/n8n-workflow/dist/errors/base/user.error.d.ts","../node_modules/n8n-workflow/dist/errors/application.error.d.ts","../node_modules/n8n-workflow/dist/errors/abstract/execution-base.error.d.ts","../node_modules/n8n-workflow/dist/errors/expression.error.d.ts","../node_modules/n8n-workflow/dist/errors/execution-cancelled.error.d.ts","../node_modules/n8n-workflow/dist/errors/abstract/node.error.d.ts","../node_modules/n8n-workflow/dist/errors/node-api.error.d.ts","../node_modules/n8n-workflow/dist/errors/node-operation.error.d.ts","../node_modules/n8n-workflow/dist/errors/node-ssl.error.d.ts","../node_modules/n8n-workflow/dist/errors/workflow-activation.error.d.ts","../node_modules/n8n-workflow/dist/errors/webhook-taken.error.d.ts","../node_modules/n8n-workflow/dist/errors/workflow-deactivation.error.d.ts","../node_modules/n8n-workflow/dist/errors/workflow-operation.error.d.ts","../node_modules/n8n-workflow/dist/errors/subworkflow-operation.error.d.ts","../node_modules/n8n-workflow/dist/errors/cli-subworkflow-operation.error.d.ts","../node_modules/n8n-workflow/dist/errors/trigger-close.error.d.ts","../node_modules/n8n-workflow/dist/errors/expression-extension.error.d.ts","../node_modules/n8n-workflow/dist/errors/db-connection-timeout-error.d.ts","../node_modules/n8n-workflow/dist/errors/ensure-error.d.ts","../node_modules/n8n-workflow/dist/errors/index.d.ts","../node_modules/n8n-workflow/dist/ExecutionStatus.d.ts","../node_modules/n8n-workflow/dist/result.d.ts","../node_modules/n8n-workflow/dist/Expression.d.ts","../node_modules/n8n-workflow/dist/Workflow.d.ts","../node_modules/n8n-workflow/dist/WorkflowDataProxyEnvProvider.d.ts","../node_modules/n8n-workflow/dist/Interfaces.d.ts","../node_modules/n8n-workflow/dist/LoggerProxy.d.ts","../node_modules/@n8n/tournament/node_modules/recast/node_modules/ast-types/types.d.ts","../node_modules/@n8n/tournament/node_modules/recast/node_modules/ast-types/gen/namedTypes.d.ts","../node_modules/@n8n/tournament/node_modules/recast/node_modules/ast-types/gen/kinds.d.ts","../node_modules/@n8n/tournament/node_modules/recast/node_modules/ast-types/gen/builders.d.ts","../node_modules/@n8n/tournament/node_modules/recast/node_modules/ast-types/lib/types.d.ts","../node_modules/@n8n/tournament/node_modules/recast/node_modules/ast-types/lib/path.d.ts","../node_modules/@n8n/tournament/node_modules/recast/node_modules/ast-types/lib/scope.d.ts","../node_modules/@n8n/tournament/node_modules/recast/node_modules/ast-types/lib/node-path.d.ts","../node_modules/@n8n/tournament/node_modules/recast/node_modules/ast-types/lib/path-visitor.d.ts","../node_modules/@n8n/tournament/node_modules/recast/node_modules/ast-types/gen/visitor.d.ts","../node_modules/@n8n/tournament/node_modules/recast/node_modules/ast-types/main.d.ts","../node_modules/@n8n/tournament/node_modules/recast/lib/options.d.ts","../node_modules/@n8n/tournament/node_modules/recast/lib/parser.d.ts","../node_modules/@n8n/tournament/node_modules/recast/lib/printer.d.ts","../node_modules/@n8n/tournament/node_modules/recast/main.d.ts","../node_modules/@n8n/tournament/dist/ExpressionSplitter.d.ts","../node_modules/@n8n/tournament/node_modules/ast-types/lib/gen/namedTypes.d.ts","../node_modules/@n8n/tournament/node_modules/ast-types/lib/gen/kinds.d.ts","../node_modules/@n8n/tournament/node_modules/ast-types/lib/gen/builders.d.ts","../node_modules/@n8n/tournament/node_modules/ast-types/lib/types.d.ts","../node_modules/@n8n/tournament/node_modules/ast-types/lib/path.d.ts","../node_modules/@n8n/tournament/node_modules/ast-types/lib/scope.d.ts","../node_modules/@n8n/tournament/node_modules/ast-types/lib/node-path.d.ts","../node_modules/@n8n/tournament/node_modules/ast-types/lib/path-visitor.d.ts","../node_modules/@n8n/tournament/node_modules/ast-types/lib/gen/visitor.d.ts","../node_modules/@n8n/tournament/node_modules/ast-types/lib/main.d.ts","../node_modules/@n8n/tournament/dist/ast.d.ts","../node_modules/@n8n/tournament/dist/ExpressionBuilder.d.ts","../node_modules/@n8n/tournament/dist/Evaluator.d.ts","../node_modules/@n8n/tournament/dist/Analysis.d.ts","../node_modules/@n8n/tournament/dist/index.d.ts","../node_modules/n8n-workflow/dist/ExpressionEvaluatorProxy.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/GlobalState.d.ts","../node_modules/n8n-workflow/dist/MessageEventBus.d.ts","../node_modules/zod/lib/helpers/typeAliases.d.ts","../node_modules/zod/lib/helpers/util.d.ts","../node_modules/zod/lib/ZodError.d.ts","../node_modules/zod/lib/locales/en.d.ts","../node_modules/zod/lib/errors.d.ts","../node_modules/zod/lib/helpers/parseUtil.d.ts","../node_modules/zod/lib/helpers/enumUtil.d.ts","../node_modules/zod/lib/helpers/errorUtil.d.ts","../node_modules/zod/lib/helpers/partialUtil.d.ts","../node_modules/zod/lib/standard-schema.d.ts","../node_modules/zod/lib/types.d.ts","../node_modules/zod/lib/external.d.ts","../node_modules/zod/lib/index.d.ts","../node_modules/zod/index.d.ts","../node_modules/n8n-workflow/dist/FromAIParseUtils.d.ts","../node_modules/n8n-workflow/dist/MetadataUtils.d.ts","../node_modules/n8n-workflow/dist/WorkflowDataProxy.d.ts","../node_modules/n8n-workflow/dist/VersionedNodeType.d.ts","../node_modules/n8n-workflow/dist/TypeValidation.d.ts","../node_modules/n8n-workflow/dist/utils.d.ts","../node_modules/n8n-workflow/dist/type-guards.d.ts","../node_modules/n8n-workflow/dist/Extensions/Extensions.d.ts","../node_modules/n8n-workflow/dist/Extensions/ExpressionExtension.d.ts","../node_modules/n8n-workflow/dist/Extensions/index.d.ts","../node_modules/n8n-workflow/dist/Extensions/ExpressionParser.d.ts","../node_modules/n8n-workflow/dist/NativeMethods/index.d.ts","../node_modules/n8n-workflow/dist/NodeParameters/FilterParameter.d.ts","../node_modules/n8n-workflow/dist/index.d.ts","../credentials/ExampleCredentialsApi.credentials.ts","../credentials/HttpBinApi.credentials.ts","../credentials/SubstackApi.credentials.ts","../nodes/ExampleNode/ExampleNode.node.ts","../nodes/HttpBin/HttpVerbDescription.ts","../nodes/HttpBin/HttpBin.node.ts","../nodes/Substack/SubstackDescription.ts","../nodes/Substack/Substack.node.ts","../nodes/HttpBin/HttpBin.node.json","../package.json","../node_modules/@types/estree/index.d.ts","../node_modules/@types/json-schema/index.d.ts","../node_modules/@types/semver/classes/semver.d.ts","../node_modules/@types/semver/functions/parse.d.ts","../node_modules/@types/semver/functions/valid.d.ts","../node_modules/@types/semver/functions/clean.d.ts","../node_modules/@types/semver/functions/inc.d.ts","../node_modules/@types/semver/functions/diff.d.ts","../node_modules/@types/semver/functions/major.d.ts","../node_modules/@types/semver/functions/minor.d.ts","../node_modules/@types/semver/functions/patch.d.ts","../node_modules/@types/semver/functions/prerelease.d.ts","../node_modules/@types/semver/functions/compare.d.ts","../node_modules/@types/semver/functions/rcompare.d.ts","../node_modules/@types/semver/functions/compare-loose.d.ts","../node_modules/@types/semver/functions/compare-build.d.ts","../node_modules/@types/semver/functions/sort.d.ts","../node_modules/@types/semver/functions/rsort.d.ts","../node_modules/@types/semver/functions/gt.d.ts","../node_modules/@types/semver/functions/lt.d.ts","../node_modules/@types/semver/functions/eq.d.ts","../node_modules/@types/semver/functions/neq.d.ts","../node_modules/@types/semver/functions/gte.d.ts","../node_modules/@types/semver/functions/lte.d.ts","../node_modules/@types/semver/functions/cmp.d.ts","../node_modules/@types/semver/functions/coerce.d.ts","../node_modules/@types/semver/classes/comparator.d.ts","../node_modules/@types/semver/classes/range.d.ts","../node_modules/@types/semver/functions/satisfies.d.ts","../node_modules/@types/semver/ranges/max-satisfying.d.ts","../node_modules/@types/semver/ranges/min-satisfying.d.ts","../node_modules/@types/semver/ranges/to-comparators.d.ts","../node_modules/@types/semver/ranges/min-version.d.ts","../node_modules/@types/semver/ranges/valid.d.ts","../node_modules/@types/semver/ranges/outside.d.ts","../node_modules/@types/semver/ranges/gtr.d.ts","../node_modules/@types/semver/ranges/ltr.d.ts","../node_modules/@types/semver/ranges/intersects.d.ts","../node_modules/@types/semver/ranges/simplify.d.ts","../node_modules/@types/semver/ranges/subset.d.ts","../node_modules/@types/semver/internals/identifiers.d.ts","../node_modules/@types/semver/index.d.ts"],"fileIdsList":[[148],[110],[113],[97,98,109],[97,108],[109,110,111,112],[99,100],[99],[100,102],[99,105,106],[99,101,102,103,105,106,107],[102,103,104],[102,105,107],[102],[102,105],[99,101],[83],[94],[93,94,95,96],[84,85],[84],[83,85,87],[84,90,91],[83,87,88,89],[83,87,90,92],[83,87],[83,90],[83,84,86],[83,84,86,87,88,90,91,92],[161,200],[161,185,200],[200],[161],[161,186,200],[161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199],[186,200],[81],[79,81],[81,113],[142],[142,143],[134],[48,49,50,51,59,62,63,65,68,75,76,77,79,80],[57,81],[78,81],[79,80,81],[52,57,81],[58,81],[52],[53],[69],[57],[58],[59],[52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],[52,61,81],[61,62,81],[68],[65],[57,58,81],[50,51,75,76,77,78,79,80,81,82,114,115,116,117,118,119,120,135,136,137,138,139,140,141,144,145,146,147],[133],[121,122,133],[123,124],[121,122,123,125,126,131],[122,123],[132],[123],[121,122,123,126,127,128,129,130],[148,153],[148,155]],"fileInfos":[{"version":"69684132aeb9b5642cbcd9e22dff7818ff0ee1aa831728af0ecf97d3364d5546","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc602ef9638db2163c461ec64133fe76f890f6e03b69b1c96f5c5e59592025e8","impliedFormat":99},{"version":"736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","impliedFormat":1},{"version":"8093df4b6de7728cd3327b33ce2846cb808e3b738b55f380578ab47fb1a0a82f","impliedFormat":1},{"version":"a0981ee0c7ac06bdb575558bd09bac190e1c0c7888ddcb63d8bf648f23a30e8c","impliedFormat":1},{"version":"b047c5f4612ebd6f142d2eda135939c6808ac082b2251a36e9e002b96f04ca18","impliedFormat":1},{"version":"816c068d57010d183fa4dce821e6552a912cb654cf9f0e840f49f0a0fb3d2157","impliedFormat":1},{"version":"5ca59af607163e4c0b2350019394132c6fd5d643ecc13d5d2692084c23eb74fc","impliedFormat":1},{"version":"ebc356c4f81035935ebddc0e1c7818038b78043d349d58e1042aa1c0579b5600","impliedFormat":1},{"version":"fc73b467be17d21f268b1dae8e63c269e8eba711d6d3faf3c5e525383ac5b461","impliedFormat":1},{"version":"4ba081d644e7e33dc2fa68f4bf7b963cbf9838092a10f0f7d5dcc98095012bfb","impliedFormat":1},{"version":"7c1d9666b46748a09c7c290f2cad37d32d0a395c4fc49357f0f7b32cd2dc7d97","impliedFormat":1},{"version":"054eafa956d5592e6a91c2553e5657ee3032ed50121a65da1079c96d82631459","impliedFormat":1},{"version":"01d56fcd8d2968c9545f42ab80c1e6a43be249dadeb2d38262b888370ebbdf32","impliedFormat":1},{"version":"cf53b1ef37bdf9eacfe04a5c0977793a87fbdd8d6893aa513075fa656c2f7638","impliedFormat":1},{"version":"bfccff2a7a1a17431408d48ec6ef5f54c42d1a1650b97e291c63de8b07333ccb","impliedFormat":1},{"version":"ab8790af6d4be130bd0faaba17d6a1d6394b21a643af03be4827fd7f8664caac","impliedFormat":1},{"version":"37020cf15e16fa6e1c6e2485cd51d6cbe74adee3b860ab49fb7528ca7e8e518e","impliedFormat":1},{"version":"2f83df884805baffce941efa67d2e459f09d82ae5f03b35771eea7bb9875346b","impliedFormat":1},{"version":"1950d2a49c05c7aa6decfe409b552c4ea5fb156894cf0541b34999819bd778ea","impliedFormat":1},{"version":"32fe829960ff7120843f6dd20197e863aee3e81ecded415641a7500654d1bda7","impliedFormat":1},{"version":"0b8d5b22b236fff7e23f3a5d1ddeb80bee6630bd35b1bf1c3efae226f08a1c3d","impliedFormat":1},{"version":"393b1ed0dca4f0aac333e65f2e40dfedfa8b37ac60571e02b152d32d8c84d340","impliedFormat":1},{"version":"f46d50c283425bcc59d68ccf067b3672fb727f802652dc7d60d2e470fb956370","impliedFormat":1},{"version":"38e7ca4f87ae169831eee751ad1b043b672bc9f328c0d44ec5a1bed98756a0b4","impliedFormat":1},{"version":"0b4b6ca509cdb152e18ceeed526d17bb416e7e518508d859a0174977195f9a35","impliedFormat":1},{"version":"124e0f6c51420174212b8d23f9a53d5d781d4777995164f1fb64957eac658ce7","impliedFormat":1},{"version":"c7da212302d6bfa21317461599d24e8077b34664b4ed409c4c02a3d5fe31efaf","impliedFormat":1},{"version":"bf070df468371021e0dd0ad9ab7918b3f94254044136bf711c7e0e855f75309e","impliedFormat":1},{"version":"3226c2a2af36d14aa551babd4154ad18042c0deb1509a61058c6b066cfddc30a","impliedFormat":1},{"version":"191d027b3924d5046fbf118bae0987969b9e03eba478ad34d2572244720ddb3c","impliedFormat":1},{"version":"14f2edd0618d9adaf83d22b55155ec41faddac678b4d158c8380e4325c8b36b6","impliedFormat":1},{"version":"72c9243dfd255afefe50d511f215053083a79db363d12e7e394ba78462be9e1b","impliedFormat":1},{"version":"2fbcb6bb6ffd69437452ca3029458f3c81a92b72aa71922df931cc4d373fffc1","impliedFormat":1},{"version":"8515d09f98ff2e7251cc970e74af5a0790caa52abc02d412ae87cbc6e47239ca","impliedFormat":1},{"version":"6d5438d567004aa049a2cdcad7aa2c3d671c9e74a0209297935b12bc16c3cf38","impliedFormat":1},{"version":"e78705f977ecfcc36de9ab57841ad7a617ef649b07a995577fd857f1d175f730","impliedFormat":1},{"version":"5083850590c7890ffb680f0c9838f48b07eb8b2f7dbe02874858fcac0691705d","impliedFormat":1},{"version":"02a4a2284d423d8ccc3a77aa9257c34fdac28cddfb46f73178e60f6a1b1b31e9","impliedFormat":1},{"version":"3ee8e014aab37dbd755401967fbb9602221550038f6b8da6cedd5291a918ae0a","impliedFormat":1},{"version":"826f3c6a6d737e0d330522094a21cde94a202c5373448240ba483709cb829aec","impliedFormat":1},{"version":"7e4a23f6f3763da4a06900935d22acfd463c375cada5ab325e3980bd6c95d5b3","impliedFormat":1},{"version":"f3e045e81b47113fa02aaf9637b9ef84347610aaceda60a0d8316aabc3f03638","impliedFormat":1},{"version":"1bfe6db4f3dffacd1da82748cb8f0acec04e8a4d7bd36c09573d5d80a7dec28b","impliedFormat":1},{"version":"6a8d6deca8ec4250630fea4e5f23bd9bf0face98739ccd22e08a17173117155b","impliedFormat":1},{"version":"226dbfe4506447111bd898161d47850f8c57f04cbb6a3a6d487b7939dbf89b1b","impliedFormat":1},{"version":"13f846a45f738733c8a63a06eaa9f580e9c07eb7aed5d8a2c674114846a42175","impliedFormat":1},{"version":"9d14fcf0b69094271127c7b6acb36987be5d1bffa4eb948359549f040fb50349","impliedFormat":1},{"version":"e3a5287471fb08f053c06fd998632792aa5f022e45278f1e6dd55fb2fa9e7362","impliedFormat":1},{"version":"28a6c8eeb48e165920067b9193555649fc43c2a28c450f23f622e5eb043d9463","impliedFormat":1},{"version":"1147c3efa5a256bcd6a3d2cfaf764185b7120bf985f8412d9bae596a0348f77b","impliedFormat":1},{"version":"0494f89b64c5e8906ce5284194e09bad42b56837757d79cb9e62ce16aae88ab4","impliedFormat":1},{"version":"0295c7a5d5d956391ab9bf0410e73a89e25fe26810f9a1d823cc794d682cdafc","impliedFormat":1},{"version":"19826a846db870c2261a3c4cf0695df889d9fe3eebe7775f3f5bc76fe7ad07a7","impliedFormat":1},{"version":"e04cafd03370139cdb0c846273cb19eb4264be0073c7baf78e9b2c16ffb74813","impliedFormat":1},{"version":"7c01c77fb7d8664daa64819245d785e106e0a3cb6e43da64346e4400d7fa9401","impliedFormat":1},{"version":"8c2ca98f4713d989d610fbd38a44316bc43c50aa26983e62dc31002f32ce63fa","impliedFormat":1},{"version":"ee931610d1cf7a6e666fad138187751392fc88bee931b94ac8c4571208dc7370","impliedFormat":1},{"version":"53543b3b64e624a81fc5876da6d72c94dd87655e7afc10988cf82ce7cbc74180","impliedFormat":1},{"version":"967e68e99b8a80551837321442a0e2f12ef50aa1ce567ec991ac6bf062a0c7cf","impliedFormat":1},{"version":"144ab2f3ef7404caf39c6acc88d248d7e55ab3dd1c4c0d89367ad12169aec113","impliedFormat":1},{"version":"759002d4454b851c51b3585e0837c77d159c59957fc519c876449ee5d80a6643","impliedFormat":1},{"version":"1ff2be5eb8b9b508603019df9f851240e57360a9417e672bf4de9d3495833f81","impliedFormat":1},{"version":"8263aed8d77f5b9a10de995c8efd14ea0e5bc54e2b4525178b643f5b24f90f1d","impliedFormat":1},{"version":"a7e7df52af8795560306e4b354e6670d978c59a87dd78b81e58656890c5ed451","impliedFormat":1},{"version":"d6220bee7bd245bc2a377f1a8ef31c496132cc9c7e7e3937e7dd4cbbcec0b38d","impliedFormat":1},{"version":"7686d52e8cbd036b9ca265490c31e36945a52ef3a9e726523d36b02befec7331","impliedFormat":1},{"version":"0f55c8c4605355ddea9fdd104ea0cb089e6ce7f41165fdc72d08247665dba0d4","impliedFormat":1},{"version":"9cc46a5cf6e8b232bb86abfd0c0ed4e0fd25d95aa3d2930e4705b078d29e51ec","impliedFormat":1},{"version":"edd5e20e9eb8cb2eaf941d431af3ab69a9b94e7f5d8699b4c938fee1be8d53c4","impliedFormat":1},{"version":"edcb8d46132756662651f6a42656aaeced2e221d0929411fb0a62c906f9873dd","impliedFormat":1},{"version":"382d2239e60b72282adfeb672e22e6df4de3737ce7e5df2151823dab489496ba","impliedFormat":1},{"version":"304b0d21771513c0a36ed7179a9d1069bfa776e95f50b789ce898f3ef2b71514","impliedFormat":1},{"version":"a42e1c2eec0e747163afa705044664a39065215a8d66c930f8d43f118a9bc044","impliedFormat":1},{"version":"d3cfde44f8089768ebb08098c96d01ca260b88bccf238d55eee93f1c620ff5a5","impliedFormat":1},{"version":"b542939a35357458e62f8229c2d7578ae888d63d3ab837395d7bb8a3064c205e","impliedFormat":1},{"version":"3a5af4fba7b27b815bb40f52715aedebaa4b371da3e5a664e7e0798c9b638825","impliedFormat":1},{"version":"8485b6da53ec35637d072e516631d25dae53984500de70a6989058f24354666f","impliedFormat":1},{"version":"ebe80346928736532e4a822154eb77f57ef3389dbe2b3ba4e571366a15448ef2","impliedFormat":1},{"version":"49c632082dc8a916353288d3d8b2dc82b3471794249a381d090d960c8ceac908","impliedFormat":1},{"version":"f672c876c1a04a223cf2023b3d91e8a52bb1544c576b81bf64a8fec82be9969c","impliedFormat":1},{"version":"71addb585c2db7b8e53dc1b0bcfa58c6c67c6e4fa2b968942046749d66f82e7e","impliedFormat":1},{"version":"c76b0c5727302341d0bdfa2cc2cee4b19ff185b554edb6e8543f0661d8487116","impliedFormat":1},{"version":"25b3f581e12ede11e5739f57a86e8668fbc0124f6649506def306cad2c59d262","impliedFormat":1},{"version":"0320c5b275beb43649be5a818dfa83a2586ae110ac5bbb2c5eb7184e1fe3ca60","impliedFormat":1},{"version":"f5ef066942e4f0bd98200aa6a6694b831e73200c9b3ade77ad0aa2409e8fe1b1","impliedFormat":1},{"version":"b9e99cd94f4166a245f5158f7286c05406e2a4c694619bceb7a4f3519d1d768e","impliedFormat":1},{"version":"5568d7c32e5cf5f35e092649f4e5e168c3114c800b1d7545b7ae5e0415704802","impliedFormat":1},{"version":"378e26daa6ec402b81f5aea1ab47262d4f8ad8966037c26be75e8185366d09a1","impliedFormat":1},{"version":"4788f58342a67af140858e23a24cdf62457ec1ff79af68ac71b9d3c0c89bb53b","impliedFormat":1},{"version":"efb8488e3acac79cac5927eaa8069fffc1d37cc3b2c3213d0256e9e1be8276bc","impliedFormat":1},{"version":"951baa882e6e3e5026cb8a16f80a8bebec1caa35c3fa016c9a3ce6a338bd3123","impliedFormat":1},{"version":"361547594eb0fdbb5316523e4668c26ec483de464f53c4a0f65bbca573abae3e","impliedFormat":1},{"version":"afcef07b51d43cdd4e1bc0b92a3d84734cded5f12d764af090666afefb5a3676","impliedFormat":1},{"version":"3f6f70c077ed8d600aa24d8c0e83ba0dd5d2c5300d524cd2181efd30c0a62c72","impliedFormat":1},{"version":"b773bcdaeda86c0f58910cecd6c77a0bd60be763127c42cad5a64fe66799b1f6","impliedFormat":1},{"version":"0ca63470234437191f454f7f66b5815d79b59ebc636faa1de1194d282563e431","impliedFormat":1},{"version":"6d3b514475ee51ab5e99e4fc82ffcd6191d40c19dd197a1743111e0757c6f9c6","impliedFormat":1},{"version":"0494f89b64c5e8906ce5284194e09bad42b56837757d79cb9e62ce16aae88ab4","impliedFormat":1},{"version":"716c6fce977a188f23ee5165e4179944a63e8620784a7054fc0dd81f6c348bb4","impliedFormat":1},{"version":"cf2324583854e9b5dd489e537e2d46375ffb66169fbd947dea112898210ed9ff","impliedFormat":1},{"version":"b4b08a04e1861c2494437fad74c5c71f38a2f3d3cdd51fba70fcb072f3337b58","impliedFormat":1},{"version":"d9ffb8f72241de0c06f38f6fc204a44008eb7aa24773dc1591f068e536425400","signature":"4636b53ad8710757c885f90a611004157e8f0c4797a18c579d5aea83f1207907"},{"version":"8f96daa00e37ee56bf160b6ea257c5de55dc9714bd950d1cd9ea5f2c3a02cd90","signature":"8106fda1f168443ed594ee8ecc7e9c0bf779ac87ddf9518ec5f17c9c4c0a8f81"},{"version":"1d49691fe03c333f2cba144646c22b60c5ee9704aee80f5c0523c8f893f86145","signature":"e3c987e74721194d272c80ecfec5ed02b6ff2346ed78a678c7d30abed6d9b1c7"},{"version":"d6c4ae3bc78783f49b3a46f40033ddff883b91ba02c5e67699d9f688f8abba75","signature":"b4dc7bf4538c6cb90969f0a212ba01ffb5aec0b2329e0a0feb1efa9716aee283"},{"version":"67389c1bb5621c4b8fb5e0dc1a27689057d4f961df2b46aedbe6738ff1b16376","signature":"b5baf780e870665bb2e3d791a201ea0016f2728d9ec4b564e89a9b7324944ac0"},{"version":"70daa9388ebab021479626f7fbb675ce7ebcdaf842a3929ec6193056e2430e64","signature":"605865328a135575f6e8da0e8fad88af4722fb09fbf19c51971f6679897a63a4"},{"version":"577fc6780e487207c540c4115ccc15fe9ee13ce7f83dc26f37d9d338872a8a5f","signature":"eba338f981f2f5ec13f9bac7aca59fa157d283b589cb72c28e79f648b5d4edda"},{"version":"8c67e0f5847543dbe4b19a359d3a7281830f41bbc0d735b756701d2c883737fb","signature":"e6b84420ef4dec89e0d6841accd44c4a42d813318e0f02c5f08d2d66c765fe9b"},"84a851a9b342304f8df080b11773dbd8c6bca2222590b2f855ba82b86bee19cf","6b35cba0fb588c04a1a1b5258a2762e61afb6aae4aced4ed44137b64c87f0832",{"version":"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","impliedFormat":1},{"version":"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","impliedFormat":1},{"version":"cf3d384d082b933d987c4e2fe7bfb8710adfd9dc8155190056ed6695a25a559e","impliedFormat":1},{"version":"9871b7ee672bc16c78833bdab3052615834b08375cb144e4d2cba74473f4a589","impliedFormat":1},{"version":"c863198dae89420f3c552b5a03da6ed6d0acfa3807a64772b895db624b0de707","impliedFormat":1},{"version":"8b03a5e327d7db67112ebbc93b4f744133eda2c1743dbb0a990c61a8007823ef","impliedFormat":1},{"version":"86c73f2ee1752bac8eeeece234fd05dfcf0637a4fbd8032e4f5f43102faa8eec","impliedFormat":1},{"version":"42fad1f540271e35ca37cecda12c4ce2eef27f0f5cf0f8dd761d723c744d3159","impliedFormat":1},{"version":"ff3743a5de32bee10906aff63d1de726f6a7fd6ee2da4b8229054dfa69de2c34","impliedFormat":1},{"version":"83acd370f7f84f203e71ebba33ba61b7f1291ca027d7f9a662c6307d74e4ac22","impliedFormat":1},{"version":"1445cec898f90bdd18b2949b9590b3c012f5b7e1804e6e329fb0fe053946d5ec","impliedFormat":1},{"version":"0e5318ec2275d8da858b541920d9306650ae6ac8012f0e872fe66eb50321a669","impliedFormat":1},{"version":"cf530297c3fb3a92ec9591dd4fa229d58b5981e45fe6702a0bd2bea53a5e59be","impliedFormat":1},{"version":"c1f6f7d08d42148ddfe164d36d7aba91f467dbcb3caa715966ff95f55048b3a4","impliedFormat":1},{"version":"f4e9bf9103191ef3b3612d3ec0044ca4044ca5be27711fe648ada06fad4bcc85","impliedFormat":1},{"version":"0c1ee27b8f6a00097c2d6d91a21ee4d096ab52c1e28350f6362542b55380059a","impliedFormat":1},{"version":"7677d5b0db9e020d3017720f853ba18f415219fb3a9597343b1b1012cfd699f7","impliedFormat":1},{"version":"bc1c6bc119c1784b1a2be6d9c47addec0d83ef0d52c8fbe1f14a51b4dfffc675","impliedFormat":1},{"version":"52cf2ce99c2a23de70225e252e9822a22b4e0adb82643ab0b710858810e00bf1","impliedFormat":1},{"version":"770625067bb27a20b9826255a8d47b6b5b0a2d3dfcbd21f89904c731f671ba77","impliedFormat":1},{"version":"d1ed6765f4d7906a05968fb5cd6d1db8afa14dbe512a4884e8ea5c0f5e142c80","impliedFormat":1},{"version":"799c0f1b07c092626cf1efd71d459997635911bb5f7fc1196efe449bba87e965","impliedFormat":1},{"version":"2a184e4462b9914a30b1b5c41cf80c6d3428f17b20d3afb711fff3f0644001fd","impliedFormat":1},{"version":"9eabde32a3aa5d80de34af2c2206cdc3ee094c6504a8d0c2d6d20c7c179503cc","impliedFormat":1},{"version":"397c8051b6cfcb48aa22656f0faca2553c5f56187262135162ee79d2b2f6c966","impliedFormat":1},{"version":"a8ead142e0c87dcd5dc130eba1f8eeed506b08952d905c47621dc2f583b1bff9","impliedFormat":1},{"version":"a02f10ea5f73130efca046429254a4e3c06b5475baecc8f7b99a0014731be8b3","impliedFormat":1},{"version":"c2576a4083232b0e2d9bd06875dd43d371dee2e090325a9eac0133fd5650c1cb","impliedFormat":1},{"version":"4c9a0564bb317349de6a24eb4efea8bb79898fa72ad63a1809165f5bd42970dd","impliedFormat":1},{"version":"f40ac11d8859092d20f953aae14ba967282c3bb056431a37fced1866ec7a2681","impliedFormat":1},{"version":"cc11e9e79d4746cc59e0e17473a59d6f104692fd0eeea1bdb2e206eabed83b03","impliedFormat":1},{"version":"b444a410d34fb5e98aa5ee2b381362044f4884652e8bc8a11c8fe14bbd85518e","impliedFormat":1},{"version":"c35808c1f5e16d2c571aa65067e3cb95afeff843b259ecfa2fc107a9519b5392","impliedFormat":1},{"version":"14d5dc055143e941c8743c6a21fa459f961cbc3deedf1bfe47b11587ca4b3ef5","impliedFormat":1},{"version":"a3ad4e1fc542751005267d50a6298e6765928c0c3a8dce1572f2ba6ca518661c","impliedFormat":1},{"version":"f237e7c97a3a89f4591afd49ecb3bd8d14f51a1c4adc8fcae3430febedff5eb6","impliedFormat":1},{"version":"3ffdfbec93b7aed71082af62b8c3e0cc71261cc68d796665faa1e91604fbae8f","impliedFormat":1},{"version":"662201f943ed45b1ad600d03a90dffe20841e725203ced8b708c91fcd7f9379a","impliedFormat":1},{"version":"c9ef74c64ed051ea5b958621e7fb853fe3b56e8787c1587aefc6ea988b3c7e79","impliedFormat":1},{"version":"2462ccfac5f3375794b861abaa81da380f1bbd9401de59ffa43119a0b644253d","impliedFormat":1},{"version":"34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","impliedFormat":1},{"version":"844ab83672160ca57a2a2ea46da4c64200d8c18d4ebb2087819649cad099ff0e","impliedFormat":1}],"root":[[149,158]],"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},"referencedMap":[[149,1],[150,1],[151,1],[112,2],[111,3],[110,4],[109,5],[113,6],[101,7],[100,8],[99,9],[107,10],[108,11],[105,12],[106,13],[103,14],[104,15],[102,16],[94,17],[95,18],[97,19],[86,20],[85,21],[84,22],[92,23],[90,24],[91,25],[88,26],[89,27],[87,28],[93,29],[185,30],[186,31],[161,32],[164,32],[183,30],[184,30],[174,30],[173,33],[171,30],[166,30],[179,30],[177,30],[181,30],[165,30],[178,30],[182,30],[167,30],[168,30],[180,30],[162,30],[169,30],[170,30],[172,30],[176,30],[187,34],[175,30],[163,30],[200,35],[194,34],[196,36],[195,34],[188,34],[189,34],[191,34],[193,34],[197,36],[198,36],[190,36],[192,36],[118,37],[78,38],[114,39],[143,40],[144,41],[135,42],[81,43],[82,37],[120,37],[136,1],[146,40],[115,38],[147,44],[116,37],[117,37],[139,37],[138,37],[79,45],[137,46],[58,47],[61,48],[53,49],[54,50],[55,50],[56,50],[70,51],[73,52],[60,53],[72,54],[59,53],[75,55],[62,56],[63,57],[64,53],[69,58],[71,47],[66,59],[65,60],[67,59],[68,48],[148,61],[141,37],[140,37],[134,62],[123,63],[125,64],[132,65],[126,66],[129,62],[133,67],[124,68],[131,69],[152,1],[154,70],[153,1],[156,71],[155,1]],"version":"5.8.3"}
package/index.js ADDED
File without changes
package/package.json ADDED
@@ -0,0 +1,57 @@
1
+ {
2
+ "name": "n8n-nodes-substack",
3
+ "version": "0.0.2",
4
+ "description": "n8n community node for Substack API integration",
5
+ "keywords": [
6
+ "n8n-community-node-package"
7
+ ],
8
+ "license": "MIT",
9
+ "homepage": "",
10
+ "author": {
11
+ "name": "Jakub Slys",
12
+ "email": "jakub@slys.dev"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/jakub-k-slys/n8n-nodes-substack.git"
17
+ },
18
+ "engines": {
19
+ "node": ">=20.15"
20
+ },
21
+ "main": "index.js",
22
+ "scripts": {
23
+ "build": "npx rimraf dist && tsc && gulp build:icons",
24
+ "dev": "tsc --watch",
25
+ "format": "prettier nodes credentials --write",
26
+ "lint": "eslint nodes credentials package.json",
27
+ "lintfix": "eslint nodes credentials package.json --fix",
28
+ "prepublishOnly": "npm run build && npx eslint -c eslint.prepublish.config.js nodes credentials package.json"
29
+ },
30
+ "files": [
31
+ "dist"
32
+ ],
33
+ "n8n": {
34
+ "n8nNodesApiVersion": 1,
35
+ "credentials": [
36
+ "dist/credentials/ExampleCredentialsApi.credentials.js",
37
+ "dist/credentials/HttpBinApi.credentials.js",
38
+ "dist/credentials/SubstackApi.credentials.js"
39
+ ],
40
+ "nodes": [
41
+ "dist/nodes/ExampleNode/ExampleNode.node.js",
42
+ "dist/nodes/HttpBin/HttpBin.node.js",
43
+ "dist/nodes/Substack/Substack.node.js"
44
+ ]
45
+ },
46
+ "devDependencies": {
47
+ "@typescript-eslint/parser": "~8.34.1",
48
+ "eslint": "^9.29.0",
49
+ "eslint-plugin-n8n-nodes-base": "^1.16.3",
50
+ "gulp": "^5.0.0",
51
+ "prettier": "^3.5.3",
52
+ "typescript": "^5.8.2"
53
+ },
54
+ "peerDependencies": {
55
+ "n8n-workflow": "*"
56
+ }
57
+ }