n8n-nodes-pocketbase 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 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,37 @@
1
+ # n8n-nodes-pocketbase
2
+
3
+ This is a n8n community node. It lets you use PocketBase in your n8n workflows.
4
+
5
+ PocketBase is an open source backend consisting of embedded database (SQLite) with realtime subscriptions, built-in auth management, convenient dashboard UI and simple REST-ish API.
6
+
7
+ [n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/reference/license/) workflow automation platform.
8
+
9
+ [Installation](#installation)
10
+ [Operations](#operations)
11
+ [Credentials](#credentials)
12
+ [Compatibility](#compatibility)
13
+ [Resources](#resources)
14
+
15
+ ## Installation
16
+
17
+ Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation.
18
+
19
+ ## Operations
20
+
21
+ Nearly all PocketBase operations for Base collections should be implemented.
22
+
23
+ ## Credentials
24
+
25
+ Ensure you have an Auth collection in your PocketBase defined and the "Username/Password" Auth method turned on.
26
+
27
+ ## Compatibility
28
+
29
+ This was developed for version 0.230.3 of n8n and version 0.16.5 of PocketBase.
30
+
31
+ ## Resources
32
+
33
+ * [n8n community nodes documentation](https://docs.n8n.io/integrations/community-nodes/)
34
+ * [PocketBase Introduction](https://pocketbase.io/docs/)
35
+
36
+
37
+
@@ -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,7 @@
1
+ import { ICredentialType, INodeProperties } from 'n8n-workflow';
2
+ export declare class PocketBaseApi implements ICredentialType {
3
+ name: string;
4
+ displayName: string;
5
+ documentationUrl: string;
6
+ properties: INodeProperties[];
7
+ }
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PocketBaseApi = void 0;
4
+ class PocketBaseApi {
5
+ constructor() {
6
+ this.name = 'pocketBaseApi';
7
+ this.displayName = 'PocketBase API';
8
+ this.documentationUrl = 'https://pocketbase.io/docs/authentication/';
9
+ this.properties = [
10
+ {
11
+ displayName: 'URL',
12
+ name: 'url',
13
+ type: 'string',
14
+ default: '',
15
+ required: true
16
+ },
17
+ {
18
+ displayName: 'User collection name',
19
+ name: 'userCollection',
20
+ type: 'string',
21
+ default: 'users',
22
+ required: true
23
+ },
24
+ {
25
+ displayName: 'Username',
26
+ name: 'username',
27
+ type: 'string',
28
+ default: '',
29
+ required: true
30
+ },
31
+ {
32
+ displayName: 'Password',
33
+ name: 'password',
34
+ type: 'string',
35
+ typeOptions: {
36
+ password: true,
37
+ },
38
+ default: '',
39
+ required: true
40
+ }
41
+ ];
42
+ }
43
+ }
44
+ exports.PocketBaseApi = PocketBaseApi;
45
+ //# sourceMappingURL=PocketBaseApi.credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PocketBaseApi.credentials.js","sourceRoot":"","sources":["../../credentials/PocketBaseApi.credentials.ts"],"names":[],"mappings":";;;AAKA,MAAa,aAAa;IAA1B;QACC,SAAI,GAAG,eAAe,CAAC;QACvB,gBAAW,GAAG,gBAAgB,CAAC;QAC/B,qBAAgB,GAAG,4CAA4C,CAAC;QAChE,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,KAAK;gBAClB,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;aACd;YACD;gBACC,WAAW,EAAE,sBAAsB;gBACnC,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,OAAO;gBAChB,QAAQ,EAAE,IAAI;aACd;YACD;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;aACd;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;gBACX,QAAQ,EAAE,IAAI;aACd;SACD,CAAC;IACH,CAAC;CAAA;AArCD,sCAqCC"}
@@ -0,0 +1,6 @@
1
+ import { IExecuteFunctions } from 'n8n-core';
2
+ import { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
3
+ export declare class ExampleNode implements INodeType {
4
+ description: INodeTypeDescription;
5
+ execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
6
+ }
@@ -0,0 +1,59 @@
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
+ properties: [
19
+ {
20
+ displayName: 'My String',
21
+ name: 'myString',
22
+ type: 'string',
23
+ default: '',
24
+ placeholder: 'Placeholder value',
25
+ description: 'The description text',
26
+ },
27
+ ],
28
+ };
29
+ }
30
+ async execute() {
31
+ const items = this.getInputData();
32
+ let item;
33
+ let myString;
34
+ for (let itemIndex = 0; itemIndex < items.length; itemIndex++) {
35
+ try {
36
+ myString = this.getNodeParameter('myString', itemIndex, '');
37
+ item = items[itemIndex];
38
+ item.json['myString'] = myString;
39
+ }
40
+ catch (error) {
41
+ if (this.continueOnFail()) {
42
+ items.push({ json: this.getInputData(itemIndex)[0].json, error, pairedItem: itemIndex });
43
+ }
44
+ else {
45
+ if (error.context) {
46
+ error.context.itemIndex = itemIndex;
47
+ throw error;
48
+ }
49
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), error, {
50
+ itemIndex,
51
+ });
52
+ }
53
+ }
54
+ }
55
+ return this.prepareOutputData(items);
56
+ }
57
+ }
58
+ exports.ExampleNode = ExampleNode;
59
+ //# sourceMappingURL=ExampleNode.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExampleNode.node.js","sourceRoot":"","sources":["../../../nodes/ExampleNode/ExampleNode.node.ts"],"names":[],"mappings":";;;AACA,+CAKsB;AAEtB,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,CAAC,MAAM,CAAC;YAChB,OAAO,EAAE,CAAC,MAAM,CAAC;YACjB,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;YAC9D,IAAI;gBACH,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,UAAU,CAAC,GAAG,QAAQ,CAAC;aACjC;YAAC,OAAO,KAAK,EAAE;gBAGf,IAAI,IAAI,CAAC,cAAc,EAAE,EAAE;oBAC1B,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;iBACzF;qBAAM;oBAEN,IAAI,KAAK,CAAC,OAAO,EAAE;wBAGlB,KAAK,CAAC,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC;wBACpC,MAAM,KAAK,CAAC;qBACZ;oBACD,MAAM,IAAI,iCAAkB,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE;wBACnD,SAAS;qBACT,CAAC,CAAC;iBACH;aACD;SACD;QAED,OAAO,IAAI,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC;IACtC,CAAC;CACD;AAnED,kCAmEC"}
@@ -0,0 +1,7 @@
1
+ import { IExecuteFunctions } from 'n8n-core';
2
+ import { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
3
+ import 'cross-fetch/polyfill';
4
+ export declare class PocketBase implements INodeType {
5
+ description: INodeTypeDescription;
6
+ execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
7
+ }
@@ -0,0 +1,245 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PocketBase = void 0;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ require("cross-fetch/polyfill");
6
+ const PocketBaseSDK = require('pocketbase/cjs');
7
+ class PocketBase {
8
+ constructor() {
9
+ this.description = {
10
+ displayName: 'PocketBase',
11
+ name: 'pocketBase',
12
+ icon: 'file:pocketbase.svg',
13
+ group: ['transform'],
14
+ version: 1,
15
+ description: 'Consume PocketBase API',
16
+ defaults: {
17
+ name: 'PocketBase',
18
+ },
19
+ inputs: ['main'],
20
+ outputs: ['main'],
21
+ credentials: [
22
+ {
23
+ name: 'pocketBaseApi',
24
+ required: true,
25
+ },
26
+ ],
27
+ properties: [
28
+ {
29
+ displayName: 'Collection',
30
+ name: 'collection',
31
+ type: 'string',
32
+ default: '',
33
+ required: true,
34
+ description: 'The Collection you are working on/with'
35
+ },
36
+ {
37
+ displayName: 'Action',
38
+ name: 'action',
39
+ type: 'options',
40
+ options: [
41
+ {
42
+ name: 'List/Search',
43
+ value: 'search',
44
+ action: 'List or search your collection'
45
+ },
46
+ {
47
+ name: 'View',
48
+ value: 'view',
49
+ action: 'View an element in your collection'
50
+ },
51
+ {
52
+ name: 'Create',
53
+ value: 'create',
54
+ action: 'Create an element in your collection'
55
+ },
56
+ {
57
+ name: 'Update',
58
+ value: 'update',
59
+ action: 'Update an element in your collection'
60
+ }
61
+ ],
62
+ default: 'search',
63
+ required: true,
64
+ noDataExpression: true
65
+ },
66
+ {
67
+ displayName: 'Element ID',
68
+ name: 'elementId',
69
+ type: 'string',
70
+ default: '',
71
+ displayOptions: {
72
+ show: {
73
+ action: [
74
+ 'view', 'update'
75
+ ]
76
+ }
77
+ }
78
+ },
79
+ {
80
+ displayName: 'Parameters',
81
+ name: 'parameters',
82
+ type: 'collection',
83
+ default: {},
84
+ options: [
85
+ {
86
+ displayName: 'Page',
87
+ name: 'page',
88
+ type: 'number',
89
+ typeOptions: {
90
+ minValue: 1
91
+ },
92
+ default: 1
93
+ },
94
+ {
95
+ displayName: 'Elements per Page',
96
+ name: 'elementsPerPage',
97
+ type: 'number',
98
+ typeOptions: {
99
+ minValue: 1
100
+ },
101
+ default: 30
102
+ },
103
+ {
104
+ displayName: 'Filter',
105
+ name: 'filter',
106
+ type: 'string',
107
+ default: ''
108
+ },
109
+ {
110
+ displayName: 'Sort',
111
+ name: 'sort',
112
+ type: 'string',
113
+ default: ''
114
+ },
115
+ {
116
+ displayName: 'Expand',
117
+ name: 'expand',
118
+ type: 'string',
119
+ default: ''
120
+ }
121
+ ]
122
+ },
123
+ {
124
+ displayName: 'Body Parameters',
125
+ name: 'bodyParameters',
126
+ type: 'fixedCollection',
127
+ displayOptions: {
128
+ show: {
129
+ action: ['create', 'update']
130
+ }
131
+ },
132
+ typeOptions: {
133
+ multipleValues: true,
134
+ },
135
+ placeholder: 'Add Parameter',
136
+ default: {
137
+ parameters: [
138
+ {
139
+ name: '',
140
+ value: '',
141
+ },
142
+ ],
143
+ },
144
+ options: [
145
+ {
146
+ name: 'parameters',
147
+ displayName: 'Parameter',
148
+ values: [
149
+ {
150
+ displayName: 'Name',
151
+ name: 'name',
152
+ type: 'string',
153
+ default: '',
154
+ description: 'ID of the field to set. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
155
+ },
156
+ {
157
+ displayName: 'Value',
158
+ name: 'value',
159
+ type: 'string',
160
+ default: '',
161
+ description: 'Value of the field to set',
162
+ },
163
+ ],
164
+ },
165
+ ],
166
+ }
167
+ ],
168
+ };
169
+ }
170
+ async execute() {
171
+ const items = this.getInputData();
172
+ const returnData = [];
173
+ const auth = await this.getCredentials('pocketBaseApi', 0);
174
+ const action = this.getNodeParameter('action', 0);
175
+ const pb = new PocketBaseSDK(auth.url);
176
+ await pb.collection(auth.userCollection).authWithPassword(auth.username, auth.password);
177
+ if (!pb.authStore.isValid) {
178
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Authentication failed!`);
179
+ }
180
+ const collection = this.getNodeParameter('collection', 0);
181
+ for (let itemIndex = 0; itemIndex < items.length; itemIndex++) {
182
+ try {
183
+ let elementData;
184
+ switch (action) {
185
+ case 'search':
186
+ elementData = await handleSearch(pb, this, collection, itemIndex);
187
+ returnData.push(elementData);
188
+ break;
189
+ case 'view':
190
+ elementData = await handleView(pb, this, collection, itemIndex);
191
+ returnData.push(elementData);
192
+ break;
193
+ case 'update':
194
+ elementData = await handleUpdate(pb, this, collection, itemIndex);
195
+ returnData.push(elementData);
196
+ break;
197
+ case 'create':
198
+ elementData = await handleCreate(pb, this, collection, itemIndex);
199
+ returnData.push(elementData);
200
+ break;
201
+ }
202
+ }
203
+ catch (error) {
204
+ if (this.continueOnFail()) {
205
+ items.push({ json: this.getInputData(itemIndex)[0].json, error, pairedItem: itemIndex });
206
+ }
207
+ else {
208
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Something went wrong:<br>${JSON.stringify(error.response)}`, { itemIndex });
209
+ }
210
+ }
211
+ }
212
+ return [this.helpers.returnJsonArray(returnData)];
213
+ }
214
+ }
215
+ exports.PocketBase = PocketBase;
216
+ async function handleSearch(pb, context, collection, itemIndex) {
217
+ const { page, elementsPerPage, ...parameters } = context.getNodeParameter('parameters', 0);
218
+ const records = await pb.collection(collection).getList(page, elementsPerPage, parameters);
219
+ return {
220
+ ...records
221
+ };
222
+ }
223
+ async function handleView(pb, context, collection, itemIndex) {
224
+ const elementId = context.getNodeParameter('elementId', itemIndex);
225
+ const record = await pb.collection(collection).getOne(elementId);
226
+ return record;
227
+ }
228
+ async function handleUpdate(pb, context, collection, itemIndex) {
229
+ const elementId = context.getNodeParameter('elementId', itemIndex);
230
+ const data = context.getNodeParameter('bodyParameters.parameters', itemIndex);
231
+ const record = await pb.collection(collection).update(elementId, prepareRequestBody(data));
232
+ return record;
233
+ }
234
+ async function handleCreate(pb, context, collection, itemIndex) {
235
+ const data = context.getNodeParameter('bodyParameters.parameters', itemIndex);
236
+ const record = await pb.collection(collection).create(prepareRequestBody(data));
237
+ return record;
238
+ }
239
+ const prepareRequestBody = (parameters) => {
240
+ return parameters.reduce((acc, entry) => {
241
+ acc[entry.name] = entry.value;
242
+ return acc;
243
+ }, {});
244
+ };
245
+ //# sourceMappingURL=PocketBase.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PocketBase.node.js","sourceRoot":"","sources":["../../../nodes/PocketBase/PocketBase.node.ts"],"names":[],"mappings":";;;AAEA,+CAAmH;AAEnH,gCAA8B;AAC9B,MAAM,aAAa,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;AAShD,MAAa,UAAU;IAAvB;QACC,gBAAW,GAAyB;YACnC,WAAW,E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C,EAAwB,EAAE,OAA0B,EAAE,UAAkB,EAAE,SAAiB;IACtH,MAAM,IAAI,GAAG,OAAO,CAAC,gBAAgB,CAAC,2BAA2B,EAAE,SAAS,CAAoB,CAAC;IACjG,MAAM,MAAM,GAAG,MAAM,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC,CAAC;IAEhF,OAAO,MAAqB,CAAC;AAC9B,CAAC;AAGD,MAAM,kBAAkB,GAAG,CAC1B,UAA2B,EAC1B,EAAE;IACH,OAAO,UAAU,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE;QACvC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC;QAC9B,OAAO,GAAG,CAAC;IACZ,CAAC,EAAE,EAAiB,CAAC,CAAC;AACvB,CAAC,CAAC"}
@@ -0,0 +1,20 @@
1
+ {
2
+ "node": "n8n-nodes-base.PocketBase",
3
+ "nodeVersion": "1.0",
4
+ "codexVersion": "1.0",
5
+ "categories": [
6
+ "Miscellaneous"
7
+ ],
8
+ "resources": {
9
+ "credentialDocumentation": [
10
+ {
11
+ "url": "https://pocketbase.io/docs/authentication/"
12
+ }
13
+ ],
14
+ "primaryDocumentation": [
15
+ {
16
+ "url": "https://pocketbase.io/docs/api-records/"
17
+ }
18
+ ]
19
+ }
20
+ }
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="256px" height="256px" viewBox="0 0 256 256" version="1.1" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid">
3
+ <title>PocketBase</title>
4
+ <g>
5
+ <path d="M9.45943152,170.335917 C4.78314722,170.335917 0.992248062,166.545442 0.992248062,161.868734 L0.992248062,9.45943152 C0.992248062,4.78314722 4.78314722,0.992248062 9.45943152,0.992248062 L161.868734,0.992248062 C166.545442,0.992248062 170.335917,4.78314722 170.335917,9.45943152 L170.335917,85.6640827 L246.540568,85.6640827 C251.217276,85.6640827 255.007752,89.4552641 255.007752,94.1312661 L255.007752,246.540568 C255.007752,251.217276 251.217276,255.007752 246.540568,255.007752 L94.1312661,255.007752 C89.4552641,255.007752 85.6640827,251.217276 85.6640827,246.540568 L85.6640827,170.335917 Z" fill="#FFFFFF"></path>
6
+ <path d="M161.868734,0 L9.45943152,0 C4.23514375,0 0,4.23514375 0,9.45943152 L0,161.868734 L0.00376012403,162.138071 C0.146328782,167.238077 4.32508151,171.328165 9.45943152,171.328165 L84.6715039,171.327504 L84.6718346,246.540568 C84.6718346,251.765049 88.9070297,256 94.1312661,256 L246.540568,256 C251.76528,256 256,251.76528 256,246.540568 L256,94.1312661 L255.99624,93.8619457 C255.853673,88.7622475 251.674971,84.6718346 246.540568,84.6718346 L171.327504,84.6715039 L171.328165,9.45943152 C171.328165,4.2350052 167.093306,0 161.868734,0 Z M161.868734,1.98449612 C165.997284,1.98449612 169.343669,5.3309968 169.343669,9.45943152 L169.343669,85.6640827 C169.343669,86.2120862 169.787914,86.6563307 170.335917,86.6563307 L246.540568,86.6563307 C250.669016,86.6563307 254.015504,90.0030111 254.015504,94.1312661 L254.015504,246.540568 C254.015504,250.669273 250.669273,254.015504 246.540568,254.015504 L94.1312661,254.015504 C90.0030111,254.015504 86.6563307,250.669016 86.6563307,246.540568 L86.6563307,170.335917 C86.6563307,169.787914 86.2120862,169.343669 85.6640827,169.343669 L9.45943152,169.343669 C5.3309968,169.343669 1.98449612,165.997284 1.98449612,161.868734 L1.98449612,9.45943152 C1.98449612,5.33115069 5.33115069,1.98449612 9.45943152,1.98449612 L161.868734,1.98449612 Z" fill="#16161A"></path>
7
+ <path d="M57.4401378,128 C53.5432577,128 50.3841516,124.841035 50.3841516,120.944014 L50.3841516,43.3281654 C50.3841516,39.4312853 53.5432577,36.2721792 57.4401378,36.2721792 L83.9219597,36.2721792 C89.0516617,36.2721792 93.8426763,36.7880423 98.2950036,37.8196981 C102.843998,38.7576503 106.764304,40.3990138 110.055216,42.7437886 C113.442795,44.9947893 116.104313,48.0429754 118.040475,51.8884173 C119.975932,55.6400852 120.944014,60.2829947 120.944014,65.8162991 C120.944014,71.1626198 119.927952,75.8054587 117.895122,79.7441102 C115.959665,83.6834674 113.297442,86.9193426 109.909863,89.4517361 C106.522284,91.9841295 102.601978,93.8603163 98.1496503,95.0795907 C93.697323,96.2988651 88.9549947,96.9085023 83.9219597,96.9085023 L78.7823793,96.9085023 C74.8853581,96.9085023 71.7263931,100.067467 71.7263931,103.964489 L71.7263931,120.944014 C71.7263931,124.841035 68.5674281,128 64.6704069,128 L57.4401378,128 Z M71.7263931,73.3916059 C71.7263931,77.288627 74.8853581,80.4475921 78.7823793,80.4475921 L82.615191,80.4475921 C94.23005,80.4475921 100.037127,75.5704944 100.037127,65.8162991 C100.037127,61.033046 98.5370239,57.6567566 95.5368186,55.6869369 C92.6332803,53.7173289 88.3256007,52.7325249 82.615191,52.7325249 L78.7823793,52.7325249 C74.8853581,52.7325249 71.7263931,55.8916311 71.7263931,59.78837 L71.7263931,73.3916059 Z" fill="#16161A"></path>
8
+ <path d="M142.111972,219.727821 C138.214951,219.727821 135.055986,216.568856 135.055986,212.671835 L135.055986,135.055986 C135.055986,131.158965 138.214951,128 142.111972,128 L166.721136,128 C171.637041,128 176.16769,128.375378 180.312376,129.12543 C184.55373,129.782342 188.217198,131.001617 191.301369,132.783253 C194.386246,134.565595 196.795866,136.910299 198.530933,139.817366 C200.362667,142.725138 201.277828,146.382961 201.277828,150.791541 C201.277828,152.854711 200.940552,154.917882 200.266,156.981758 C199.687409,159.044928 198.723561,160.967684 197.374457,162.749321 C196.024646,164.531663 194.33756,166.126316 192.313903,167.53328 C190.35375,168.895085 188.033036,169.905502 185.35035,170.563826 C185.194413,170.602634 185.08434,170.741637 185.08434,170.901807 L185.08434,170.901807 C185.08434,171.069034 185.204997,171.212271 185.369402,171.243317 C191.975921,172.476704 196.9892,174.803768 200.410647,178.225216 C203.880781,181.69535 205.615848,186.525878 205.615848,192.716094 C205.615848,197.405503 204.699981,201.438705 202.868953,204.814994 C201.037219,208.191283 198.482952,211.005211 195.205446,213.25607 C191.927941,215.413085 188.07255,217.055013 183.637863,218.180443 C179.300548,219.212028 174.577271,219.727821 169.468737,219.727821 L142.111972,219.727821 Z M156.310734,157.80378 C156.310734,161.700801 159.469699,164.859766 163.36672,164.859766 L165.709307,164.859766 C170.914508,164.859766 174.673938,163.875456 176.98689,161.905425 C179.300548,159.936099 180.457024,157.168741 180.457024,153.604763 C180.457024,150.228473 179.252567,147.836494 176.842242,146.430236 C174.52929,144.929428 170.865822,144.178671 165.853955,144.178671 L163.36672,144.178671 C159.469699,144.178671 156.310734,147.338341 156.310734,151.234657 L156.310734,157.80378 Z M156.310734,196.493164 C156.310734,200.389479 159.469699,203.54915 163.36672,203.54915 L167.732964,203.54915 C179.107919,203.54915 184.795044,199.422104 184.795044,191.168717 C184.795044,187.135515 183.397253,184.227743 180.601672,182.446106 C177.902757,180.663764 173.613423,179.772593 167.732964,179.772593 L163.36672,179.772593 C159.469699,179.772593 156.310734,182.931558 156.310734,186.82858 L156.310734,196.493164 Z" fill="#16161A"></path>
9
+ </g>
10
+ </svg>
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "n8n-nodes-pocketbase",
3
+ "version": "0.1.0",
4
+ "description": "Interact with your PocketBase instance",
5
+ "keywords": [
6
+ "n8n-community-node-package"
7
+ ],
8
+ "license": "MIT",
9
+ "homepage": "",
10
+ "author": {
11
+ "name": "Philipp Fehr",
12
+ "email": "philipp@thefehr.me"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/TheFehr/n8n-nodes-pocketbase.git"
17
+ },
18
+ "main": "index.js",
19
+ "scripts": {
20
+ "build": "tsc && gulp build:icons",
21
+ "dev": "tsc --watch",
22
+ "format": "prettier nodes credentials --write",
23
+ "lint": "eslint nodes credentials package.json",
24
+ "lintfix": "eslint nodes credentials package.json --fix",
25
+ "prepublishOnly": "npm run build && npm run lint -c .eslintrc.prepublish.js nodes credentials package.json"
26
+ },
27
+ "files": [
28
+ "dist"
29
+ ],
30
+ "n8n": {
31
+ "n8nNodesApiVersion": 1,
32
+ "credentials": [
33
+ "dist/credentials/PocketBaseApi.credentials.js"
34
+ ],
35
+ "nodes": [
36
+ "dist/nodes/PocketBase/PocketBase.node.js"
37
+ ]
38
+ },
39
+ "devDependencies": {
40
+ "@types/express": "^4.17.6",
41
+ "@types/request-promise-native": "~1.0.15",
42
+ "@typescript-eslint/parser": "~5.45",
43
+ "eslint-plugin-n8n-nodes-base": "^1.11.0",
44
+ "gulp": "^4.0.2",
45
+ "n8n-core": "*",
46
+ "n8n-workflow": "*",
47
+ "prettier": "^2.7.1",
48
+ "typescript": "~4.8.4"
49
+ },
50
+ "dependencies": {
51
+ "cross-fetch": "^3.1.6",
52
+ "pocketbase": "^0.15.2"
53
+ }
54
+ }
@@ -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","../credentials/PocketBaseApi.credentials.ts","../node_modules/n8n-core/dist/EventEmitter.d.ts","../node_modules/n8n-core/dist/NodeExecuteFunctions.d.ts","../node_modules/n8n-core/dist/Interfaces.d.ts","../node_modules/n8n-core/dist/UserSettings.d.ts","../node_modules/n8n-core/dist/ActiveWorkflows.d.ts","../node_modules/n8n-core/dist/ActiveWebhooks.d.ts","../node_modules/n8n-core/dist/BinaryDataManager/index.d.ts","../node_modules/n8n-core/dist/ClassLoader.d.ts","../node_modules/n8n-core/dist/Constants.d.ts","../node_modules/n8n-core/dist/Credentials.d.ts","../node_modules/n8n-core/dist/DirectoryLoader.d.ts","../node_modules/n8n-core/dist/LoadNodeDetails.d.ts","../node_modules/n8n-core/dist/LoadNodeParameterOptions.d.ts","../node_modules/n8n-core/dist/LoadNodeListSearch.d.ts","../node_modules/p-cancelable/index.d.ts","../node_modules/n8n-core/dist/WorkflowExecute.d.ts","../node_modules/n8n-core/dist/index.d.ts","../nodes/PocketBase/PocketBase.node.ts","../nodes/PocketBase/PocketBase.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":"6fcdd67bad77c658b5f0c83952b3bda12556c57304c42d798de355f054500893","signature":"7a0a090cafcfe28893e4521e1f69c5ddd15c768425cbfb620e9a16f42fb3ed45"},"2e1229c84de62a5acadb51792a4384664405fc1191407530e47c7e20cefaf34f","9b2e66653a4b7a46bfad6ee86d36bdb3c7c434c9a0a0888ab6ae3d0f7f314163","1e5fcb9efdfb84e06fbb9e090521a45e2bb6a599e7c07ebaa2366e99f9d08b33","dbd8ec8dedb32e373b0b044e77cdff2b37e7c544c3858623b85ea599c122c9d0","cdcb6d2eb54a9d5ae958de74665ad0ce0f835a1351893a900df256858441c77f","2b74f2fef8c81de87e87199e1cfa135f76756a338606552224e748966a21f958","1fc0d6dacc4914bf2b30e941c324d655e5562a288425dea4463c71ce2681016f","4bfdad139574f13b03a7cb18cce8d3e2bb1acf30b226aa59d2f75de6abb11aa6","a890eccd3a34ba90f7691d7896e6a4cb76dcbb430bf54ab18859c96a364d8b8e","a5fcc36856b09ee8da5d0f3fd05afe27505ed095cf085697fd40da812bd76a13","70c8ceb03e679d1bfa16483cef8ea9d82351878392524151d86fc363d74d8015","3d8165bbdd508d694e864a499ac6eb359b4476fc030c52af4679ed585bc76831","f14dabf60c92d6764e1d24f99a306dc375d118d9b15c1ceec175246a1e47e852","2ce321f1ae14b928877d9ed07c4bdcb4da3910d367f7f7088ac78c7234816123","6bc64e37d72e60ec298911f260518ad11a875b236c237a4b4319a2c8f76a6467","d375096186dd86247adb9ae4520fc43b59ff3fdfcb61932a1f9cb5a7e9f3b664","423407843748b45dfe0ec3239ec11d68c9cad38fcd03a0ae07f1c5131ef4a0aa",{"version":"0e67999033c35703189a4c94f52b77e69b89b25ae425463478505f588144dc5e","signature":"d1a1776d3fa6d375e50450e513d933b8be29d13fbb35ba1fed57a5cfb3fcd0b8"},"bf3e7a3c9d69ee1dfa29376f4da7810855a55eabdbac98b33c06918debc01758",{"version":"b705b1610e0491ab0e467223025439e94e2adb4123b9b5014abf44a5456307f9","signature":"ac98c02e94771bc315b03c735e000ebe91223ff0fc096f5b0b7f481ffea682a9"},"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":[[86,127],[60,86,93,99,145],[86],[60,86,93,145],[57,60,86,93,94,95,145],[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,145],[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,145],[58,60,62,65,74,85,86,93,102,103,104,145],[60,86,93,97,145],[60,74,86,93,145],[86,127,131],[86,93,127,131],[57,86,93],[86,93,127],[86,127,140],[86,93,105,106,127],[86,131],[86,127,143],[60,86,93,129,130,131,132,133,134,135,136,137,138,139,141,142,144],[86,117],[86,109,115],[86,111],[60,85,86,93,101,102,105,106,107,109,110,111,112,113,114,145],[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,145],[127],[127,145]],"referencedMap":[[128,1],[100,2],[103,3],[99,4],[96,5],[101,6],[149,3],[97,3],[42,7],[43,7],[45,8],[46,9],[47,10],[48,11],[49,12],[50,13],[51,14],[52,15],[53,16],[54,17],[55,17],[56,18],[57,19],[58,20],[59,21],[44,22],[92,3],[60,23],[61,24],[62,25],[93,26],[63,27],[64,28],[65,29],[66,30],[67,31],[68,32],[69,33],[70,34],[71,35],[72,36],[73,37],[74,38],[76,39],[75,40],[77,41],[78,42],[79,3],[80,43],[81,44],[82,45],[83,46],[84,47],[85,48],[86,49],[87,50],[88,51],[89,52],[90,53],[91,54],[95,3],[94,3],[106,55],[105,56],[98,57],[104,3],[102,58],[134,1],[133,59],[135,60],[136,3],[137,3],[138,1],[139,59],[129,61],[131,62],[140,1],[142,63],[141,63],[130,64],[132,65],[144,66],[145,67],[122,3],[107,3],[118,68],[108,69],[114,70],[115,71],[116,72],[111,72],[119,69],[120,72],[123,69],[121,72],[125,72],[109,73],[112,74],[124,69],[113,72],[110,72],[127,75],[126,72],[117,72],[143,3],[9,3],[8,3],[2,3],[10,3],[11,3],[12,3],[13,3],[14,3],[15,3],[16,3],[17,3],[3,3],[4,3],[21,3],[18,3],[19,3],[20,3],[22,3],[23,3],[24,3],[5,3],[25,3],[26,3],[27,3],[28,3],[6,3],[29,3],[30,3],[31,3],[32,3],[7,3],[33,3],[38,3],[39,3],[34,3],[35,3],[36,3],[37,3],[40,3],[1,3],[41,3],[147,3],[146,76],[148,3]],"exportedModulesMap":[[128,77],[100,2],[103,3],[99,4],[96,5],[101,6],[149,3],[97,3],[42,7],[43,7],[45,8],[46,9],[47,10],[48,11],[49,12],[50,13],[51,14],[52,15],[53,16],[54,17],[55,17],[56,18],[57,19],[58,20],[59,21],[44,22],[92,3],[60,23],[61,24],[62,25],[93,26],[63,27],[64,28],[65,29],[66,30],[67,31],[68,32],[69,33],[70,34],[71,35],[72,36],[73,37],[74,38],[76,39],[75,40],[77,41],[78,42],[79,3],[80,43],[81,44],[82,45],[83,46],[84,47],[85,48],[86,49],[87,50],[88,51],[89,52],[90,53],[91,54],[95,3],[94,3],[106,55],[105,56],[98,57],[104,3],[102,58],[134,1],[133,59],[135,60],[136,3],[137,3],[138,1],[139,59],[129,61],[131,62],[140,1],[142,63],[141,63],[130,64],[132,65],[144,66],[145,67],[122,3],[107,3],[118,68],[108,69],[114,70],[115,71],[116,72],[111,72],[119,69],[120,72],[123,69],[121,72],[125,72],[109,73],[112,74],[124,69],[113,72],[110,72],[127,75],[126,72],[117,72],[143,3],[9,3],[8,3],[2,3],[10,3],[11,3],[12,3],[13,3],[14,3],[15,3],[16,3],[17,3],[3,3],[4,3],[21,3],[18,3],[19,3],[20,3],[22,3],[23,3],[24,3],[5,3],[25,3],[26,3],[27,3],[28,3],[6,3],[29,3],[30,3],[31,3],[32,3],[7,3],[33,3],[38,3],[39,3],[34,3],[35,3],[36,3],[37,3],[40,3],[1,3],[41,3],[147,3],[146,78]],"semanticDiagnosticsPerFile":[128,100,103,99,96,101,149,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,134,133,135,136,137,138,139,129,131,140,142,141,130,132,144,145,122,107,118,108,114,115,116,111,119,120,123,121,125,109,112,124,113,110,127,126,117,143,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,147,146,148]},"version":"4.8.4"}
package/index.js ADDED
File without changes
package/package.json ADDED
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "n8n-nodes-pocketbase",
3
+ "version": "0.1.0",
4
+ "description": "Interact with your PocketBase instance",
5
+ "keywords": [
6
+ "n8n-community-node-package"
7
+ ],
8
+ "license": "MIT",
9
+ "homepage": "",
10
+ "author": {
11
+ "name": "Philipp Fehr",
12
+ "email": "philipp@thefehr.me"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/TheFehr/n8n-nodes-pocketbase.git"
17
+ },
18
+ "main": "index.js",
19
+ "scripts": {
20
+ "build": "tsc && gulp build:icons",
21
+ "dev": "tsc --watch",
22
+ "format": "prettier nodes credentials --write",
23
+ "lint": "eslint nodes credentials package.json",
24
+ "lintfix": "eslint nodes credentials package.json --fix",
25
+ "prepublishOnly": "npm run build && npm run lint -c .eslintrc.prepublish.js nodes credentials package.json"
26
+ },
27
+ "files": [
28
+ "dist"
29
+ ],
30
+ "n8n": {
31
+ "n8nNodesApiVersion": 1,
32
+ "credentials": [
33
+ "dist/credentials/PocketBaseApi.credentials.js"
34
+ ],
35
+ "nodes": [
36
+ "dist/nodes/PocketBase/PocketBase.node.js"
37
+ ]
38
+ },
39
+ "devDependencies": {
40
+ "@types/express": "^4.17.6",
41
+ "@types/request-promise-native": "~1.0.15",
42
+ "@typescript-eslint/parser": "~5.45",
43
+ "eslint-plugin-n8n-nodes-base": "^1.11.0",
44
+ "gulp": "^4.0.2",
45
+ "n8n-core": "*",
46
+ "n8n-workflow": "*",
47
+ "prettier": "^2.7.1",
48
+ "typescript": "~4.8.4"
49
+ },
50
+ "dependencies": {
51
+ "cross-fetch": "^3.1.6",
52
+ "pocketbase": "^0.15.2"
53
+ }
54
+ }