n8n-nodes-file-search 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,92 @@
1
+ # n8n-nodes-file-search
2
+
3
+ This is an n8n community node for **Google File Search** (Gemini API RAG).
4
+
5
+ Google File Search is a fully managed RAG (Retrieval Augmented Generation) system that allows you to store, index, and semantically search documents using the Gemini API.
6
+
7
+ [n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/reference/license/) workflow automation platform.
8
+
9
+ ## Installation
10
+
11
+ Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation.
12
+
13
+ ## Operations
14
+
15
+ ### Store
16
+
17
+ Manage File Search stores:
18
+
19
+ - **Create** - Create a new File Search store
20
+ - **List** - List all File Search stores
21
+ - **Get** - Get details of a specific store
22
+ - **Delete** - Delete a store (with force option for non-empty stores)
23
+
24
+ ### Document
25
+
26
+ Manage documents within stores:
27
+
28
+ - **Upload** - Upload a file directly to a store (supports binary data from previous nodes)
29
+ - **Import** - Import an existing file from the Files API into a store
30
+ - **List** - List all documents in a store
31
+ - **Get** - Get document details and status
32
+ - **Delete** - Delete a document from a store
33
+
34
+ Features:
35
+ - **Wait for Completion**: Polls until the document is fully indexed
36
+ - **Metadata**: Attach custom key-value pairs for filtering during queries
37
+ - **Chunking Options**: Configure max tokens per chunk and overlap
38
+
39
+ ### Query
40
+
41
+ Query stores with semantic search:
42
+
43
+ - **Generate Content** - Query one or more stores and generate a response using a Gemini model
44
+
45
+ Features:
46
+ - **Multiple Stores**: Query across multiple stores at once
47
+ - **Metadata Filter**: Filter results using AIP-160-like syntax (e.g., `year = 2025 AND type = "rollup"`)
48
+ - **System Prompt**: Provide custom system instructions
49
+ - **Model Selection**: Choose between Gemini 2.5 Flash, 2.5 Pro, or 2.0 Flash
50
+ - **Grounding Metadata**: Include source citations in the response
51
+
52
+ ## Credentials
53
+
54
+ This node requires a **Google Gemini API** credential with an API key from [Google AI Studio](https://aistudio.google.com/).
55
+
56
+ ## Usage Examples
57
+
58
+ ### Upload and Query Workflow
59
+
60
+ 1. **Convert to File** node - Convert JSON/data to a binary file
61
+ 2. **Google File Search** (Document → Upload) - Upload to your store
62
+ 3. **Google File Search** (Query → Generate Content) - Query the store
63
+
64
+ ### Batch Processing
65
+
66
+ The node supports processing multiple items. Use with:
67
+ - Loop nodes for batch uploads
68
+ - Conditional nodes to handle different document types
69
+ - Set node to prepare metadata before upload
70
+
71
+ ## Metadata Filtering
72
+
73
+ When querying, you can filter results using metadata:
74
+
75
+ ```
76
+ year = 2025
77
+ episode_type = "rollup"
78
+ year >= 2024 AND sentiment = "bullish"
79
+ ```
80
+
81
+ Note: Metadata must be attached during document upload/import to be filterable.
82
+
83
+ ## Resources
84
+
85
+ - [Google File Search Documentation](https://ai.google.dev/gemini-api/docs/file-search)
86
+ - [Gemini API Overview](https://ai.google.dev/gemini-api/docs)
87
+ - [AIP-160 Filtering](https://google.aip.dev/160)
88
+ - [n8n Community Nodes](https://docs.n8n.io/integrations/community-nodes/)
89
+
90
+ ## License
91
+
92
+ [MIT](LICENSE.md)
@@ -0,0 +1,5 @@
1
+ import { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
2
+ export declare class GoogleFileSearch implements INodeType {
3
+ description: INodeTypeDescription;
4
+ execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
5
+ }
@@ -0,0 +1,546 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GoogleFileSearch = void 0;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ const BASE_URL = 'https://generativelanguage.googleapis.com/v1beta';
6
+ const sleep = (ms) => new Promise((resolve) => {
7
+ setTimeout(resolve, ms);
8
+ });
9
+ class GoogleFileSearch {
10
+ constructor() {
11
+ this.description = {
12
+ displayName: 'Google File Search',
13
+ name: 'googleFileSearch',
14
+ icon: { light: 'file:gemini.svg', dark: 'file:gemini.svg' },
15
+ group: ['transform'],
16
+ version: 1,
17
+ subtitle: '={{ $parameter["operation"] + ": " + $parameter["resource"] }}',
18
+ description: 'Interact with Google File Search API for RAG operations',
19
+ defaults: {
20
+ name: 'Google File Search',
21
+ },
22
+ inputs: ['main'],
23
+ outputs: ['main'],
24
+ credentials: [
25
+ {
26
+ name: 'googlePalmApi',
27
+ required: true,
28
+ },
29
+ ],
30
+ usableAsTool: true,
31
+ properties: [
32
+ {
33
+ displayName: 'Resource',
34
+ name: 'resource',
35
+ type: 'options',
36
+ noDataExpression: true,
37
+ options: [
38
+ { name: 'Store', value: 'store', description: 'Manage File Search stores' },
39
+ { name: 'Document', value: 'document', description: 'Manage documents in stores' },
40
+ { name: 'Query', value: 'query', description: 'Query stores with semantic search' },
41
+ ],
42
+ default: 'store',
43
+ },
44
+ {
45
+ displayName: 'Operation',
46
+ name: 'operation',
47
+ type: 'options',
48
+ noDataExpression: true,
49
+ displayOptions: { show: { resource: ['store'] } },
50
+ options: [
51
+ { name: 'Create', value: 'create', action: 'Create a file search store' },
52
+ { name: 'List', value: 'list', action: 'List all file search stores' },
53
+ { name: 'Get', value: 'get', action: 'Get store details' },
54
+ { name: 'Delete', value: 'delete', action: 'Delete a store' },
55
+ ],
56
+ default: 'list',
57
+ },
58
+ {
59
+ displayName: 'Display Name',
60
+ name: 'displayName',
61
+ type: 'string',
62
+ default: '',
63
+ required: true,
64
+ displayOptions: { show: { resource: ['store'], operation: ['create'] } },
65
+ description: 'A user-friendly name for the store',
66
+ },
67
+ {
68
+ displayName: 'Store Name',
69
+ name: 'storeName',
70
+ type: 'string',
71
+ default: '',
72
+ required: true,
73
+ displayOptions: { show: { resource: ['store'], operation: ['get', 'delete'] } },
74
+ description: 'The store resource name (e.g., fileSearchStores/abc123-xyz)',
75
+ placeholder: 'fileSearchStores/my-store-id',
76
+ },
77
+ {
78
+ displayName: 'Force Delete',
79
+ name: 'forceDelete',
80
+ type: 'boolean',
81
+ default: false,
82
+ displayOptions: { show: { resource: ['store'], operation: ['delete'] } },
83
+ description: 'Whether to force delete even if store contains documents',
84
+ },
85
+ {
86
+ displayName: 'Operation',
87
+ name: 'operation',
88
+ type: 'options',
89
+ noDataExpression: true,
90
+ displayOptions: { show: { resource: ['document'] } },
91
+ options: [
92
+ { name: 'Upload', value: 'upload', action: 'Upload a document to a store' },
93
+ { name: 'Import', value: 'import', action: 'Import an existing file into a store' },
94
+ { name: 'List', value: 'list', action: 'List documents in a store' },
95
+ { name: 'Get', value: 'get', action: 'Get document details' },
96
+ { name: 'Delete', value: 'delete', action: 'Delete a document' },
97
+ ],
98
+ default: 'list',
99
+ },
100
+ {
101
+ displayName: 'Store Name',
102
+ name: 'storeName',
103
+ type: 'string',
104
+ default: '',
105
+ required: true,
106
+ displayOptions: { show: { resource: ['document'] } },
107
+ description: 'The store to operate on (e.g., fileSearchStores/abc123)',
108
+ placeholder: 'fileSearchStores/my-store-id',
109
+ },
110
+ {
111
+ displayName: 'Document Name',
112
+ name: 'documentName',
113
+ type: 'string',
114
+ default: '',
115
+ required: true,
116
+ displayOptions: { show: { resource: ['document'], operation: ['get', 'delete'] } },
117
+ description: 'The document resource name',
118
+ placeholder: 'fileSearchStores/store-id/documents/doc-id',
119
+ },
120
+ {
121
+ displayName: 'Input Data Field',
122
+ name: 'binaryPropertyName',
123
+ type: 'string',
124
+ default: 'data',
125
+ displayOptions: { show: { resource: ['document'], operation: ['upload'] } },
126
+ description: 'Name of the binary property containing the file to upload',
127
+ },
128
+ {
129
+ displayName: 'Display Name',
130
+ name: 'documentDisplayName',
131
+ type: 'string',
132
+ default: '',
133
+ displayOptions: { show: { resource: ['document'], operation: ['upload'] } },
134
+ description: 'Display name for the document (used in citations)',
135
+ },
136
+ {
137
+ displayName: 'File Name (from Files API)',
138
+ name: 'fileName',
139
+ type: 'string',
140
+ default: '',
141
+ required: true,
142
+ displayOptions: { show: { resource: ['document'], operation: ['import'] } },
143
+ description: 'The file resource name from the Files API (e.g., files/abc123)',
144
+ placeholder: 'files/abc123',
145
+ },
146
+ {
147
+ displayName: 'Metadata',
148
+ name: 'metadata',
149
+ type: 'fixedCollection',
150
+ typeOptions: { multipleValues: true },
151
+ displayOptions: { show: { resource: ['document'], operation: ['upload', 'import'] } },
152
+ default: {},
153
+ options: [
154
+ {
155
+ name: 'metadataValues',
156
+ displayName: 'Metadata',
157
+ values: [
158
+ { displayName: 'Key', name: 'key', type: 'string', default: '' },
159
+ { displayName: 'Value', name: 'value', type: 'string', default: '' },
160
+ ],
161
+ },
162
+ ],
163
+ description: 'Custom metadata key-value pairs for filtering during queries',
164
+ },
165
+ {
166
+ displayName: 'Chunking Options',
167
+ name: 'chunkingOptions',
168
+ type: 'collection',
169
+ placeholder: 'Add Chunking Option',
170
+ displayOptions: { show: { resource: ['document'], operation: ['upload', 'import'] } },
171
+ default: {},
172
+ options: [
173
+ {
174
+ displayName: 'Max Tokens Per Chunk',
175
+ name: 'maxTokensPerChunk',
176
+ type: 'number',
177
+ default: 256,
178
+ description: 'Maximum tokens per chunk (default: 256)',
179
+ },
180
+ {
181
+ displayName: 'Max Overlap Tokens',
182
+ name: 'maxOverlapTokens',
183
+ type: 'number',
184
+ default: 20,
185
+ description: 'Maximum overlapping tokens between chunks (default: 20)',
186
+ },
187
+ ],
188
+ },
189
+ {
190
+ displayName: 'Wait for Completion',
191
+ name: 'waitForCompletion',
192
+ type: 'boolean',
193
+ default: true,
194
+ displayOptions: { show: { resource: ['document'], operation: ['upload', 'import'] } },
195
+ description: 'Whether to poll until the document is fully indexed',
196
+ },
197
+ {
198
+ displayName: 'Max Wait Time (seconds)',
199
+ name: 'maxWaitTime',
200
+ type: 'number',
201
+ default: 120,
202
+ displayOptions: {
203
+ show: {
204
+ resource: ['document'],
205
+ operation: ['upload', 'import'],
206
+ waitForCompletion: [true],
207
+ },
208
+ },
209
+ description: 'Maximum time to wait for document processing',
210
+ },
211
+ {
212
+ displayName: 'Operation',
213
+ name: 'operation',
214
+ type: 'options',
215
+ noDataExpression: true,
216
+ displayOptions: { show: { resource: ['query'] } },
217
+ options: [
218
+ {
219
+ name: 'Generate Content',
220
+ value: 'generateContent',
221
+ action: 'Query with file search and generate content',
222
+ },
223
+ ],
224
+ default: 'generateContent',
225
+ },
226
+ {
227
+ displayName: 'Model',
228
+ name: 'model',
229
+ type: 'options',
230
+ options: [
231
+ { name: 'Gemini 3 Flash Preview', value: 'gemini-3-flash-preview' },
232
+ { name: 'Gemini 2.5 Flash', value: 'gemini-2.5-flash' },
233
+ { name: 'Gemini 2.5 Pro', value: 'gemini-2.5-pro' },
234
+ { name: 'Gemini 2.0 Flash', value: 'gemini-2.0-flash' },
235
+ ],
236
+ default: 'gemini-2.5-flash',
237
+ displayOptions: { show: { resource: ['query'] } },
238
+ },
239
+ {
240
+ displayName: 'Prompt',
241
+ name: 'prompt',
242
+ type: 'string',
243
+ typeOptions: { rows: 4 },
244
+ default: '',
245
+ required: true,
246
+ displayOptions: { show: { resource: ['query'], operation: ['generateContent'] } },
247
+ description: 'The prompt/question to ask',
248
+ },
249
+ {
250
+ displayName: 'Store Names',
251
+ name: 'storeNames',
252
+ type: 'string',
253
+ default: '',
254
+ required: true,
255
+ displayOptions: { show: { resource: ['query'], operation: ['generateContent'] } },
256
+ description: 'Comma-separated list of store names to search',
257
+ placeholder: 'fileSearchStores/store1,fileSearchStores/store2',
258
+ },
259
+ {
260
+ displayName: 'Metadata Filter',
261
+ name: 'metadataFilter',
262
+ type: 'string',
263
+ default: '',
264
+ displayOptions: { show: { resource: ['query'], operation: ['generateContent'] } },
265
+ description: 'Filter query using AIP-160-like syntax. Passed as raw string to the API.',
266
+ placeholder: 'year = 2025 AND episode_type = "rollup"',
267
+ },
268
+ {
269
+ displayName: 'System Prompt',
270
+ name: 'systemPrompt',
271
+ type: 'string',
272
+ typeOptions: { rows: 4 },
273
+ default: '',
274
+ displayOptions: { show: { resource: ['query'], operation: ['generateContent'] } },
275
+ description: 'Optional system instructions for the model',
276
+ },
277
+ {
278
+ displayName: 'Options',
279
+ name: 'options',
280
+ type: 'collection',
281
+ placeholder: 'Add Option',
282
+ displayOptions: { show: { resource: ['query'], operation: ['generateContent'] } },
283
+ default: {},
284
+ options: [
285
+ {
286
+ displayName: 'Temperature',
287
+ name: 'temperature',
288
+ type: 'number',
289
+ default: 1.0,
290
+ typeOptions: { minValue: 0, maxValue: 2, numberPrecision: 1 },
291
+ description: 'Controls randomness in the response',
292
+ },
293
+ {
294
+ displayName: 'Max Output Tokens',
295
+ name: 'maxOutputTokens',
296
+ type: 'number',
297
+ default: 8192,
298
+ description: 'Maximum tokens in the response',
299
+ },
300
+ {
301
+ displayName: 'Include Grounding Metadata',
302
+ name: 'includeGrounding',
303
+ type: 'boolean',
304
+ default: true,
305
+ description: 'Whether to include source citations in response',
306
+ },
307
+ ],
308
+ },
309
+ ],
310
+ };
311
+ }
312
+ async execute() {
313
+ var _a, _b, _c, _d, _e, _f, _g;
314
+ const items = this.getInputData();
315
+ const returnData = [];
316
+ for (let i = 0; i < items.length; i++) {
317
+ try {
318
+ const resource = this.getNodeParameter('resource', i);
319
+ const operation = this.getNodeParameter('operation', i);
320
+ const credentials = await this.getCredentials('googlePalmApi', i);
321
+ const apiKey = credentials.apiKey;
322
+ if (!apiKey) {
323
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'API Key is required', {
324
+ itemIndex: i,
325
+ });
326
+ }
327
+ let result = {};
328
+ if (resource === 'store') {
329
+ if (operation === 'create') {
330
+ const displayName = this.getNodeParameter('displayName', i);
331
+ result = await this.helpers.httpRequest({
332
+ method: 'POST',
333
+ url: `${BASE_URL}/fileSearchStores?key=${apiKey}`,
334
+ headers: { 'Content-Type': 'application/json' },
335
+ body: { displayName },
336
+ json: true,
337
+ });
338
+ }
339
+ else if (operation === 'list') {
340
+ result = await this.helpers.httpRequest({
341
+ method: 'GET',
342
+ url: `${BASE_URL}/fileSearchStores?key=${apiKey}`,
343
+ json: true,
344
+ });
345
+ }
346
+ else if (operation === 'get') {
347
+ const storeName = this.getNodeParameter('storeName', i);
348
+ result = await this.helpers.httpRequest({
349
+ method: 'GET',
350
+ url: `${BASE_URL}/${storeName}?key=${apiKey}`,
351
+ json: true,
352
+ });
353
+ }
354
+ else if (operation === 'delete') {
355
+ const storeName = this.getNodeParameter('storeName', i);
356
+ const forceDelete = this.getNodeParameter('forceDelete', i);
357
+ const url = forceDelete
358
+ ? `${BASE_URL}/${storeName}?force=true&key=${apiKey}`
359
+ : `${BASE_URL}/${storeName}?key=${apiKey}`;
360
+ result = await this.helpers.httpRequest({
361
+ method: 'DELETE',
362
+ url,
363
+ json: true,
364
+ });
365
+ }
366
+ }
367
+ else if (resource === 'document') {
368
+ const storeName = this.getNodeParameter('storeName', i);
369
+ if (operation === 'upload') {
370
+ const binaryPropertyName = this.getNodeParameter('binaryPropertyName', i);
371
+ const documentDisplayName = this.getNodeParameter('documentDisplayName', i);
372
+ const waitForCompletion = this.getNodeParameter('waitForCompletion', i);
373
+ const maxWaitTime = this.getNodeParameter('maxWaitTime', i, 120);
374
+ const binaryData = this.helpers.assertBinaryData(i, binaryPropertyName);
375
+ const buffer = await this.helpers.getBinaryDataBuffer(i, binaryPropertyName);
376
+ let uploadUrl = `https://generativelanguage.googleapis.com/upload/v1beta/${storeName}:uploadToFileSearchStore?key=${apiKey}`;
377
+ if (documentDisplayName) {
378
+ uploadUrl += `&displayName=${encodeURIComponent(documentDisplayName)}`;
379
+ }
380
+ const uploadResponse = await this.helpers.httpRequest({
381
+ method: 'POST',
382
+ url: uploadUrl,
383
+ headers: {
384
+ 'X-Goog-Upload-Protocol': 'raw',
385
+ 'Content-Type': binaryData.mimeType || 'application/octet-stream',
386
+ },
387
+ body: buffer,
388
+ json: true,
389
+ });
390
+ result = uploadResponse;
391
+ if (waitForCompletion && ((_a = uploadResponse.document) === null || _a === void 0 ? void 0 : _a.name)) {
392
+ const docName = uploadResponse.document.name;
393
+ const startTime = Date.now();
394
+ const maxWaitMs = maxWaitTime * 1000;
395
+ while (Date.now() - startTime < maxWaitMs) {
396
+ const docStatus = await this.helpers.httpRequest({
397
+ method: 'GET',
398
+ url: `${BASE_URL}/${docName}?key=${apiKey}`,
399
+ json: true,
400
+ });
401
+ if (docStatus.state === 'STATE_ACTIVE') {
402
+ result = { ...uploadResponse, document: docStatus, status: 'completed' };
403
+ break;
404
+ }
405
+ else if (docStatus.state === 'STATE_FAILED') {
406
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Document processing failed', { itemIndex: i });
407
+ }
408
+ await sleep(2000);
409
+ }
410
+ if (result.status !== 'completed') {
411
+ result = { ...uploadResponse, status: 'timeout', message: 'Document still processing' };
412
+ }
413
+ }
414
+ }
415
+ else if (operation === 'import') {
416
+ const fileName = this.getNodeParameter('fileName', i);
417
+ const waitForCompletion = this.getNodeParameter('waitForCompletion', i);
418
+ const maxWaitTime = this.getNodeParameter('maxWaitTime', i, 120);
419
+ const importResponse = await this.helpers.httpRequest({
420
+ method: 'POST',
421
+ url: `${BASE_URL}/${storeName}:importFile?key=${apiKey}`,
422
+ headers: { 'Content-Type': 'application/json' },
423
+ body: { fileName },
424
+ json: true,
425
+ });
426
+ result = importResponse;
427
+ if (waitForCompletion && ((_b = importResponse.document) === null || _b === void 0 ? void 0 : _b.name)) {
428
+ const docName = importResponse.document.name;
429
+ const startTime = Date.now();
430
+ const maxWaitMs = maxWaitTime * 1000;
431
+ while (Date.now() - startTime < maxWaitMs) {
432
+ const docStatus = await this.helpers.httpRequest({
433
+ method: 'GET',
434
+ url: `${BASE_URL}/${docName}?key=${apiKey}`,
435
+ json: true,
436
+ });
437
+ if (docStatus.state === 'STATE_ACTIVE') {
438
+ result = { ...importResponse, document: docStatus, status: 'completed' };
439
+ break;
440
+ }
441
+ else if (docStatus.state === 'STATE_FAILED') {
442
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Document import failed', { itemIndex: i });
443
+ }
444
+ await sleep(2000);
445
+ }
446
+ if (result.status !== 'completed') {
447
+ result = { ...importResponse, status: 'timeout', message: 'Document still processing' };
448
+ }
449
+ }
450
+ }
451
+ else if (operation === 'list') {
452
+ result = await this.helpers.httpRequest({
453
+ method: 'GET',
454
+ url: `${BASE_URL}/${storeName}/documents?key=${apiKey}`,
455
+ json: true,
456
+ });
457
+ }
458
+ else if (operation === 'get') {
459
+ const documentName = this.getNodeParameter('documentName', i);
460
+ result = await this.helpers.httpRequest({
461
+ method: 'GET',
462
+ url: `${BASE_URL}/${documentName}?key=${apiKey}`,
463
+ json: true,
464
+ });
465
+ }
466
+ else if (operation === 'delete') {
467
+ const documentName = this.getNodeParameter('documentName', i);
468
+ result = await this.helpers.httpRequest({
469
+ method: 'DELETE',
470
+ url: `${BASE_URL}/${documentName}?key=${apiKey}`,
471
+ json: true,
472
+ });
473
+ }
474
+ }
475
+ else if (resource === 'query') {
476
+ if (operation === 'generateContent') {
477
+ const model = this.getNodeParameter('model', i);
478
+ const prompt = this.getNodeParameter('prompt', i);
479
+ const storeNamesStr = this.getNodeParameter('storeNames', i);
480
+ const metadataFilter = this.getNodeParameter('metadataFilter', i);
481
+ const systemPrompt = this.getNodeParameter('systemPrompt', i);
482
+ const options = this.getNodeParameter('options', i);
483
+ const storeNames = storeNamesStr.split(',').map((s) => s.trim());
484
+ const body = {
485
+ contents: [{ parts: [{ text: prompt }] }],
486
+ tools: [
487
+ {
488
+ fileSearch: {
489
+ fileSearchStoreNames: storeNames,
490
+ ...(metadataFilter && { metadataFilter }),
491
+ },
492
+ },
493
+ ],
494
+ };
495
+ if (systemPrompt) {
496
+ body.systemInstruction = { parts: [{ text: systemPrompt }] };
497
+ }
498
+ const generationConfig = {};
499
+ if (options.temperature !== undefined) {
500
+ generationConfig.temperature = options.temperature;
501
+ }
502
+ if (options.maxOutputTokens !== undefined) {
503
+ generationConfig.maxOutputTokens = options.maxOutputTokens;
504
+ }
505
+ if (Object.keys(generationConfig).length > 0) {
506
+ body.generationConfig = generationConfig;
507
+ }
508
+ result = await this.helpers.httpRequest({
509
+ method: 'POST',
510
+ url: `${BASE_URL}/models/${model}:generateContent?key=${apiKey}`,
511
+ headers: { 'Content-Type': 'application/json' },
512
+ body,
513
+ json: true,
514
+ });
515
+ if (options.includeGrounding === false && ((_g = (_f = (_e = (_d = (_c = result.candidates) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.content) === null || _e === void 0 ? void 0 : _e.parts) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.text)) {
516
+ result = {
517
+ text: result.candidates[0].content.parts[0].text,
518
+ model,
519
+ };
520
+ }
521
+ }
522
+ }
523
+ returnData.push({
524
+ json: result,
525
+ pairedItem: { item: i },
526
+ });
527
+ }
528
+ catch (error) {
529
+ if (this.continueOnFail()) {
530
+ returnData.push({
531
+ json: {
532
+ error: error.message,
533
+ success: false,
534
+ },
535
+ pairedItem: { item: i },
536
+ });
537
+ continue;
538
+ }
539
+ throw error;
540
+ }
541
+ }
542
+ return [returnData];
543
+ }
544
+ }
545
+ exports.GoogleFileSearch = GoogleFileSearch;
546
+ //# sourceMappingURL=GoogleFileSearch.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GoogleFileSearch.node.js","sourceRoot":"","sources":["../../../nodes/GoogleFileSearch/GoogleFileSearch.node.ts"],"names":[],"mappings":";;;AAAA,+CAOsB;AAEtB,MAAM,QAAQ,GAAG,kDAAkD,CAAC;AAGpE,MAAM,KAAK,GAAG,CAAC,EAAU,EAAiB,EAAE,CAAC,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;IACpE,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;AACzB,CAAC,CAAC,CAAC;AAYH,MAAa,gBAAgB;IAA7B;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,oBAAoB;YACjC,IAAI,EAAE,kBAAkB;YACxB,IAAI,EAAE,EAAE,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,iBAAiB,EAAE;YAC3D,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,gEAAgE;YAC1E,WAAW,EAAE,yDAAyD;YACtE,QAAQ,EAAE;gBACT,IAAI,EAAE,oBAAoB;aAC1B;YACD,MAAM,EAAE,CAAC,MAAM,CAAC;YAChB,OAAO,EAAE,CAAC,MAAM,CAAC;YACjB,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,eAAe;oBACrB,QAAQ,EAAE,IAAI;iBACd;aACD;YACD,YAAY,EAAE,IAAI;YAClB,UAAU,EAAE;gBAEX;oBACC,WAAW,EAAE,UAAU;oBACvB,IAAI,EAAE,UAAU;oBAChB,IAAI,EAAE,SAAS;oBACf,gBAAgB,EAAE,IAAI;oBACtB,OAAO,EAAE;wBACR,EAAE,IAAI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oBACf,IAAI,EAAE,MAAM;oBACZ,UAAU,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE;iBACvB,CAAC,CAAC;YACJ,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBAChB,IAAI,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC;oBAC3B,UAAU,CAAC,IAAI,CAAC;wBACf,IAAI,EAAE;4BACL,KAAK,EAAE,KAAK,CAAC,OAAO;4BACpB,OAAO,EAAE,KAAK;yBACd;wBACD,UAAU,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE;qBACvB,CAAC,CAAC;oBACH,SAAS;gBACV,CAAC;gBACD,MAAM,KAAK,CAAC;YACb,CAAC;QACF,CAAC;QAED,OAAO,CAAC,UAAU,CAAC,CAAC;IACrB,CAAC;CACD;AA7kBD,4CA6kBC"}
@@ -0,0 +1,18 @@
1
+ {
2
+ "node": "n8n-nodes-file-search.googleFileSearch",
3
+ "nodeVersion": "1.0",
4
+ "codexVersion": "1.0",
5
+ "categories": ["AI", "Data & Storage"],
6
+ "resources": {
7
+ "credentialDocumentation": [
8
+ {
9
+ "url": "https://ai.google.dev/gemini-api/docs/api-key"
10
+ }
11
+ ],
12
+ "primaryDocumentation": [
13
+ {
14
+ "url": "https://ai.google.dev/gemini-api/docs/file-search"
15
+ }
16
+ ]
17
+ }
18
+ }
@@ -0,0 +1,11 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" fill="none">
2
+ <path d="M14 28C14 26.0633 13.6267 24.2433 12.88 22.54C12.1567 20.8367 11.165 19.355 9.905 18.095C8.645 16.835 7.16333 15.8433 5.46 15.12C3.75667 14.3733 1.93667 14 0 14C1.93667 14 3.75667 13.6383 5.46 12.915C7.16333 12.1683 8.645 11.165 9.905 9.905C11.165 8.645 12.1567 7.16333 12.88 5.46C13.6267 3.75667 14 1.93667 14 0C14 1.93667 14.3617 3.75667 15.085 5.46C15.8317 7.16333 16.835 8.645 18.095 9.905C19.355 11.165 20.8367 12.1683 22.54 12.915C24.2433 13.6383 26.0633 14 28 14C26.0633 14 24.2433 14.3733 22.54 15.12C20.8367 15.8433 19.355 16.835 18.095 18.095C16.835 19.355 15.8317 20.8367 15.085 22.54C14.3617 24.2433 14 26.0633 14 28Z" fill="url(#paint0_radial)"/>
3
+ <defs>
4
+ <radialGradient id="paint0_radial" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(2.77876 11.3795) rotate(18.6832) scale(29.8025 238.737)">
5
+ <stop offset="0.0671246" stop-color="#9168C0"/>
6
+ <stop offset="0.342551" stop-color="#5684D1"/>
7
+ <stop offset="0.672076" stop-color="#1BA1E3"/>
8
+ </radialGradient>
9
+ </defs>
10
+ </svg>
11
+
@@ -0,0 +1,57 @@
1
+ {
2
+ "name": "n8n-nodes-file-search",
3
+ "version": "0.1.0",
4
+ "description": "n8n node for Google File Search (Gemini API RAG)",
5
+ "keywords": [
6
+ "n8n-community-node-package",
7
+ "google",
8
+ "gemini",
9
+ "file-search",
10
+ "rag"
11
+ ],
12
+ "license": "MIT",
13
+ "homepage": "https://ai.google.dev/gemini-api/docs/file-search",
14
+ "author": {
15
+ "name": "Barto Molina",
16
+ "email": "barto@avara.xyz"
17
+ },
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "https://github.com/bartomolina/n8n-nodes-file-search.git"
21
+ },
22
+ "engines": {
23
+ "node": ">=20.15"
24
+ },
25
+ "main": "index.js",
26
+ "scripts": {
27
+ "build": "npx rimraf dist && tsc && gulp build:icons",
28
+ "dev": "tsc --watch",
29
+ "format": "prettier nodes --write",
30
+ "lint": "eslint nodes package.json",
31
+ "lintfix": "eslint nodes package.json --fix",
32
+ "prepublishOnly": "npm run build"
33
+ },
34
+ "files": [
35
+ "dist"
36
+ ],
37
+ "n8n": {
38
+ "n8nNodesApiVersion": 1,
39
+ "credentials": [],
40
+ "nodes": [
41
+ "dist/nodes/GoogleFileSearch/GoogleFileSearch.node.js"
42
+ ]
43
+ },
44
+ "devDependencies": {
45
+ "@typescript-eslint/parser": "~8.32.0",
46
+ "eslint": "^8.57.0",
47
+ "eslint-plugin-n8n-nodes-base": "^1.16.3",
48
+ "gulp": "^5.0.0",
49
+ "prettier": "^3.5.3",
50
+ "rimraf": "^6.0.1",
51
+ "typescript": "^5.8.2"
52
+ },
53
+ "peerDependencies": {
54
+ "n8n-workflow": "*"
55
+ },
56
+ "packageManager": "pnpm@10.18.2+sha512.9fb969fa749b3ade6035e0f109f0b8a60b5d08a1a87fdf72e337da90dcc93336e2280ca4e44f2358a649b83c17959e9993e777c2080879f3801e6f0d999ad3dd"
57
+ }
@@ -0,0 +1 @@
1
+ {"fileNames":["../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/.pnpm/form-data@4.0.0/node_modules/form-data/index.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/constants.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/data-store.types.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/deferred-promise.d.ts","../node_modules/.pnpm/@n8n+errors@0.5.0/node_modules/@n8n/errors/dist/types.d.ts","../node_modules/.pnpm/@n8n+errors@0.5.0/node_modules/@n8n/errors/dist/application.error.d.ts","../node_modules/.pnpm/@n8n+errors@0.5.0/node_modules/@n8n/errors/dist/index.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/errors/base/base.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/errors/base/operational.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/errors/base/unexpected.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/errors/base/user.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/errors/abstract/execution-base.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/errors/expression.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/errors/execution-cancelled.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/errors/abstract/node.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/errors/node-api.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/errors/node-operation.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/errors/workflow-configuration.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/errors/node-ssl.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/errors/workflow-activation.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/errors/webhook-taken.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/errors/workflow-deactivation.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/errors/workflow-operation.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/errors/subworkflow-operation.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/errors/cli-subworkflow-operation.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/errors/trigger-close.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/errors/expression-extension.error.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/errors/db-connection-timeout-error.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/errors/ensure-error.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/errors/index.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/execution-status.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/result.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/expression.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/workflow.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/workflow-data-proxy-env-provider.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/interfaces.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/logger-proxy.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/node-helpers.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/observable-object.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/telemetry-helpers.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/common/get-child-nodes.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/common/get-connected-nodes.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/common/get-node-by-name.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/common/get-parent-nodes.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/common/map-connections-by-destination.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/common/index.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/cron.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/global-state.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/message-event-bus.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/expressions/expression-helpers.d.ts","../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/types/v3/helpers/typealiases.d.ts","../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/types/v3/helpers/util.d.ts","../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/types/v3/zoderror.d.ts","../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/types/v3/locales/en.d.ts","../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/types/v3/errors.d.ts","../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/types/v3/helpers/parseutil.d.ts","../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/types/v3/helpers/enumutil.d.ts","../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/types/v3/helpers/errorutil.d.ts","../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/types/v3/helpers/partialutil.d.ts","../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/types/v3/standard-schema.d.ts","../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/types/v3/types.d.ts","../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/types/v3/external.d.ts","../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/types/v3/index.d.ts","../node_modules/.pnpm/zod@3.25.67/node_modules/zod/dist/types/index.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/from-ai-parse-utils.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/tool-helpers.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/node-reference-parser-utils.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/metadata-utils.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/workflow-data-proxy.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/versioned-node-type.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/type-validation.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/utils.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/type-guards.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/graph/graph-utils.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/extensions/extensions.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/extensions/expression-extension.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/extensions/index.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/extensions/expression-parser.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/native-methods/index.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/node-parameters/filter-parameter.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/node-parameters/parameter-type-validation.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/node-parameters/path-utils.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/evaluation-helpers.d.ts","../node_modules/.pnpm/n8n-workflow@1.112.0/node_modules/n8n-workflow/dist/esm/index.d.ts","../nodes/googlefilesearch/googlefilesearch.node.ts","../nodes/googlefilesearch/googlefilesearch.node.json","../package.json"],"fileIdsList":[[53],[53,54],[84],[89,90,91,92,93],[55,84],[60,84],[55],[56],[72],[60],[61],[55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77],[55,63,84],[63,64,84],[71],[68],[55,60,84],[65],[82,84],[123],[123,124],[112],[50,51,52,78,79,80,81,82,83,84,85,86,87,88,94,95,96,97,98,113,114,115,116,117,118,119,120,121,122,125,126,127,128,129,130,131],[49,50,51,52,61,64,65,68,71,78,79,80,82,83],[132],[82,83,84],[81,84],[111],[101,102],[99,100,101,103,104,109],[100,101],[109],[110],[101],[99,100,101,104,105,106,107,108],[99,100,111]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","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":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"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":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","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":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","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":"736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","impliedFormat":1},{"version":"0d5f371d676acc073f0166b7fd967adeb6afa5f0967b9821d83c106f66cc458d","impliedFormat":1},{"version":"57b6b9ac55a87a4c4e556e109dd2af1950767055daac38402383af4858dea99e","impliedFormat":1},{"version":"a0981ee0c7ac06bdb575558bd09bac190e1c0c7888ddcb63d8bf648f23a30e8c","impliedFormat":1},{"version":"00f11c3ec667314eaa2adfe253b5ebebbbdbb82510e04460c2f09d1c3b521d31","impliedFormat":1},{"version":"5c7a516e25a2fd1dc5e054c6161fe3c8ba46364f3784ef98f3fca48ab685231c","impliedFormat":1},{"version":"3ff739b7f819cfc12b330f9adcc4c3abbbd5e9f9ca68f53243222a049a8361a2","impliedFormat":1},{"version":"d762b92c1af47b7b3c4eef92fe9a3806194d9edc5dae6901342fc87ef21d7f4a","impliedFormat":1},{"version":"41d14b690d8d8c2a9b7395e8c36de6ca981010736723216ab9f35eb598e09ad9","impliedFormat":1},{"version":"3fdcca6b893ffd38b61b792772f649c82ae28077c360802cec25360eabca24c0","impliedFormat":1},{"version":"299924f7545be254b02278e4dcff7038611f2325d30f0e5ae4bcac906847c164","impliedFormat":1},{"version":"be1d650f04c9f472f0ad0ead3e1b7059dd1e0ff918f7bcb707786d27c3bbeadd","impliedFormat":1},{"version":"1e16c1b1c4d8600a146b15a933f9a880cc275c01f39dc436625f22d3cca46272","impliedFormat":1},{"version":"a631639d7f79f49f68a0ef6553baa1b977e06b230e768511812952709fe5c1f0","impliedFormat":1},{"version":"bf2aefef15e0b4d6bc8f4e19f967494b59b5f90a834de503c373df042513d924","impliedFormat":1},{"version":"4085248a1c89ee865cf9498402c90611d16920a6c9929f701ddc0b963ddad230","impliedFormat":1},{"version":"1a1acd3311ff1794be8401ee394efc3beeb1746068244eb0ee1d51d08e457401","impliedFormat":1},{"version":"ce0b4440a3dd75e14ca94b6d6b27fa26ca89e776d91b8803b3c86c4e8f06ed1a","impliedFormat":1},{"version":"37020cf15e16fa6e1c6e2485cd51d6cbe74adee3b860ab49fb7528ca7e8e518e","impliedFormat":1},{"version":"b6b1a3ff9ba1ddf1a908cfd1bcd471334ecd218a366460fc64c4561d6d0467a4","impliedFormat":1},{"version":"1950d2a49c05c7aa6decfe409b552c4ea5fb156894cf0541b34999819bd778ea","impliedFormat":1},{"version":"32fe829960ff7120843f6dd20197e863aee3e81ecded415641a7500654d1bda7","impliedFormat":1},{"version":"da73778888d41d0abe7d28a24529ba13ff0a9311d55e1902feee7ab97dc6a67d","impliedFormat":1},{"version":"393b1ed0dca4f0aac333e65f2e40dfedfa8b37ac60571e02b152d32d8c84d340","impliedFormat":1},{"version":"f46d50c283425bcc59d68ccf067b3672fb727f802652dc7d60d2e470fb956370","impliedFormat":1},{"version":"0e10fd1d283b4ba7b94f5abb1bc30a2070ccb16c22f86a2780bea8ddc48f3bf7","impliedFormat":1},{"version":"0b4b6ca509cdb152e18ceeed526d17bb416e7e518508d859a0174977195f9a35","impliedFormat":1},{"version":"79b9e661f99d6d01ad0031fbffbb20a8570ca526125a1b01ef5643c00348a8c4","impliedFormat":1},{"version":"deb85dff5a350bd77f24fb5665b7a3c95aa0d4556a0d45ab423ebf3ffcbc70ce","impliedFormat":1},{"version":"f3e1a9f8c28c949f8432b0ef8f0d2686ccc3e38dcc338bbc8a02f956bc7a0725","impliedFormat":1},{"version":"3226c2a2af36d14aa551babd4154ad18042c0deb1509a61058c6b066cfddc30a","impliedFormat":1},{"version":"64c9811ebae7d6bdd3749155911ca473017944d6e9787cec3d11549b05b19de9","impliedFormat":1},{"version":"9de23b9733565858ecfb3971e409970aaf7ec3bd2567aea9373c3b7cfd62f053","impliedFormat":1},{"version":"18c4c5d4069ae6ddce9443a6057fcf333688556b0d644813a78e604812f82bb3","impliedFormat":1},{"version":"6481b29f54e19becbeb7236c60043e2daa47b45cb4fd7e88f287df09250f2405","impliedFormat":1},{"version":"c7dde1b6014badce298363043998fc418b6f26d20a08f90dda424359d35014b6","impliedFormat":1},{"version":"01658146c02cba2e49ee7beaa0b90864e7a17c3d02cc39cd8b643b5be3a1a438","impliedFormat":1},{"version":"2356864c105a18345829ef2dd8e8311094a9339d2ff2750039f6751a6aaaf518","impliedFormat":1},{"version":"db18ec88a0f1512b153a28a0ed1e19f34530885bca1d00e5f17a6e9b3184697f","impliedFormat":1},{"version":"21f166065c0725ca16281aa2f05f5ee9fb556795c8426049bf44ee36bdca9afd","impliedFormat":1},{"version":"36cd04c9f4116122a3545fcc6da5e522861d739718ab3a3cb7ff2268612531aa","impliedFormat":1},{"version":"9ae86dde42766df895cde73c60dc13347cc30829c6696de3cc54036b3120a5ba","impliedFormat":1},{"version":"6823cce79c10482d0860d40ebbfc29f00ddf7f99bca0aa23330599ddd8baead4","impliedFormat":1},{"version":"30ed6587fb249cc1b0585bab7ce2ca81ef193bfe2934241b6f06ffefdaaf4bf9","impliedFormat":1},{"version":"aa18fcf8ad877a9eb0c357c247708f019e25c4d906e3025d73604b66de8d7f11","impliedFormat":1},{"version":"cfc5482e113e44dae9712ae0a4e412788622221ae5eb1327fb69a13a0f5af662","impliedFormat":1},{"version":"5e620d0ed3eeb9a9a767355547123c85aea7e8f26d90e94d0cc3fa457f1c2035","impliedFormat":1},{"version":"304b0d21771513c0a36ed7179a9d1069bfa776e95f50b789ce898f3ef2b71514","impliedFormat":1},{"version":"4904d7124f9731d2368b613523070ca594cbc82f172023b4b5678018be7b6022","impliedFormat":1},{"version":"18c078c2b34901a328c1fc3e5a2f5bd51aa0fef06a548418198955e0af5eaf39","impliedFormat":1},{"version":"d3cfde44f8089768ebb08098c96d01ca260b88bccf238d55eee93f1c620ff5a5","impliedFormat":1},{"version":"293eadad9dead44c6fd1db6de552663c33f215c55a1bfa2802a1bceed88ff0ec","impliedFormat":1},{"version":"54f6ec6ea75acea6eb23635617252d249145edbc7bcd9d53f2d70280d2aef953","impliedFormat":1},{"version":"c25ce98cca43a3bfa885862044be0d59557be4ecd06989b2001a83dcf69620fd","impliedFormat":1},{"version":"8e71e53b02c152a38af6aec45e288cc65bede077b92b9b43b3cb54a37978bb33","impliedFormat":1},{"version":"754a9396b14ca3a4241591afb4edc644b293ccc8a3397f49be4dfd520c08acb3","impliedFormat":1},{"version":"f672c876c1a04a223cf2023b3d91e8a52bb1544c576b81bf64a8fec82be9969c","impliedFormat":1},{"version":"e4b03ddcf8563b1c0aee782a185286ed85a255ce8a30df8453aade2188bbc904","impliedFormat":1},{"version":"de2316e90fc6d379d83002f04ad9698bc1e5285b4d52779778f454dd12ce9f44","impliedFormat":1},{"version":"25b3f581e12ede11e5739f57a86e8668fbc0124f6649506def306cad2c59d262","impliedFormat":1},{"version":"2da997a01a6aa5c5c09de5d28f0f4407b597c5e1aecfd32f1815809c532650a2","impliedFormat":1},{"version":"5d26d2e47e2352def36f89a3e8bf8581da22b7f857e07ef3114cd52cf4813445","impliedFormat":1},{"version":"3db2efd285e7328d8014b54a7fce3f4861ebcdc655df40517092ed0050983617","impliedFormat":1},{"version":"d5d39a24c759df40480a4bfc0daffd364489702fdbcbdfc1711cde34f8739995","impliedFormat":1},{"version":"581b97f369056070fafbe168120a192e918e67763116dfbbb2782bbca5f32111","impliedFormat":1},{"version":"74f9797560463a8c9070dd72c04b38cc17b79759b841e2a4175a11742f2ecd11","impliedFormat":1},{"version":"ce22b96ece23ecc9bc1f2a445afefa0a487f299986a1584887e4e4217e196963","impliedFormat":1},{"version":"4788f58342a67af140858e23a24cdf62457ec1ff79af68ac71b9d3c0c89bb53b","impliedFormat":1},{"version":"be19e5bce1b45d5c0ef87d46c3a95a991a3cd8b6c7cb4d756791756e69cc3568","impliedFormat":1},{"version":"e9634e0306920990ddca8f667e3cb624597ea7a4cd25d557a599c0e175419879","impliedFormat":1},{"version":"d4866c666180e89bdc142940cb2986a8fa9f3d2a363cc757bb61cef698b6e976","impliedFormat":1},{"version":"2ce18eeb3fe40e16de7ff28384b15b2cd7b224ecf23f9a93df4e48e0fb6c5dc1","impliedFormat":1},{"version":"cb279466d8f2d95f3ee0a24637506b18d18d9b1cb869b4dbb534b7597b06daec","impliedFormat":1},{"version":"b33057a3c7ea75948a207a5b784726118ec60f882eeb875bd64e932b4cd41041","impliedFormat":1},{"version":"b773bcdaeda86c0f58910cecd6c77a0bd60be763127c42cad5a64fe66799b1f6","impliedFormat":1},{"version":"9e2e0b4711f1efef5c3c488616334ba2e5b911648a8784fd77fc8beb1e5047c9","impliedFormat":1},{"version":"ca1c4f7d0c786d90ab15a363d59d0e18269b393191ed7b2841547c0e187a8d35","impliedFormat":1},{"version":"0494f89b64c5e8906ce5284194e09bad42b56837757d79cb9e62ce16aae88ab4","impliedFormat":1},{"version":"28f1497962f8853339b46d766384abe7a907900998f551cf43cd793cdcb98e3d","impliedFormat":1},{"version":"e4cce0b510957aab4b12a0dc21a3b4857b8f8a85bbded2b8b81f836ca3c83dbc","impliedFormat":1},{"version":"79a0953f85a27dcaab70dd0e3791a3564631dfd5d85c637513027747c6844357","impliedFormat":1},{"version":"678c7436b7aa03dad934a96850ea395c018637013aa0b52a65898f502b4d6e2a","impliedFormat":1},{"version":"1c18a09d1deaf0e9906100ab54592f256f87fc94c67cce61bfc1c2ea44ac3d13","impliedFormat":1},{"version":"fc5017e9e7db45e80a8a5a27e8342dc5499494cc0d0ca327c79fe8d46095b393","impliedFormat":1},{"version":"e258b039fc2e3c19be1066f76596d47096c2b7fad0f71106a455c16def48d46c","signature":"35e85a3d2396949254752f7854e44ce54210c2779cdd6a0c6b0d47759e9d19dd"},"485f11de57c239d71dc7abef16cbddbf075ae62b80080b77daeeb1c3f3f9c94c","d78d051107f4eb9f5c43f2a33c3aba3d0ac9e6a905c9845e8c70f00a499d579e"],"root":[[133,135]],"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":[[54,1],[55,2],[89,3],[90,3],[91,3],[92,3],[94,4],[93,3],[95,3],[60,5],[63,6],[56,7],[57,8],[58,8],[59,8],[73,9],[76,7],[62,10],[75,11],[61,10],[78,12],[64,13],[65,14],[67,10],[72,15],[74,5],[69,16],[68,17],[66,18],[70,16],[71,6],[81,19],[124,20],[125,21],[113,22],[122,3],[132,23],[84,24],[85,3],[97,3],[116,25],[127,20],[86,19],[128,5],[129,3],[115,3],[87,3],[88,3],[114,3],[121,3],[119,3],[120,3],[118,3],[117,26],[82,27],[112,28],[103,29],[110,30],[104,31],[107,32],[111,33],[102,34],[109,35],[101,36],[133,25]],"version":"5.9.3"}
package/index.js ADDED
File without changes
package/package.json ADDED
@@ -0,0 +1,57 @@
1
+ {
2
+ "name": "n8n-nodes-file-search",
3
+ "version": "0.1.0",
4
+ "description": "n8n node for Google File Search (Gemini API RAG)",
5
+ "keywords": [
6
+ "n8n-community-node-package",
7
+ "google",
8
+ "gemini",
9
+ "file-search",
10
+ "rag"
11
+ ],
12
+ "license": "MIT",
13
+ "homepage": "https://ai.google.dev/gemini-api/docs/file-search",
14
+ "author": {
15
+ "name": "Barto Molina",
16
+ "email": "barto@avara.xyz"
17
+ },
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "https://github.com/bartomolina/n8n-nodes-file-search.git"
21
+ },
22
+ "engines": {
23
+ "node": ">=20.15"
24
+ },
25
+ "main": "index.js",
26
+ "scripts": {
27
+ "build": "npx rimraf dist && tsc && gulp build:icons",
28
+ "dev": "tsc --watch",
29
+ "format": "prettier nodes --write",
30
+ "lint": "eslint nodes package.json",
31
+ "lintfix": "eslint nodes package.json --fix",
32
+ "prepublishOnly": "npm run build"
33
+ },
34
+ "files": [
35
+ "dist"
36
+ ],
37
+ "n8n": {
38
+ "n8nNodesApiVersion": 1,
39
+ "credentials": [],
40
+ "nodes": [
41
+ "dist/nodes/GoogleFileSearch/GoogleFileSearch.node.js"
42
+ ]
43
+ },
44
+ "devDependencies": {
45
+ "@typescript-eslint/parser": "~8.32.0",
46
+ "eslint": "^8.57.0",
47
+ "eslint-plugin-n8n-nodes-base": "^1.16.3",
48
+ "gulp": "^5.0.0",
49
+ "prettier": "^3.5.3",
50
+ "rimraf": "^6.0.1",
51
+ "typescript": "^5.8.2"
52
+ },
53
+ "peerDependencies": {
54
+ "n8n-workflow": "*"
55
+ },
56
+ "packageManager": "pnpm@10.18.2+sha512.9fb969fa749b3ade6035e0f109f0b8a60b5d08a1a87fdf72e337da90dcc93336e2280ca4e44f2358a649b83c17959e9993e777c2080879f3801e6f0d999ad3dd"
57
+ }