@qontext/n8n-nodes-qontext 0.1.5 → 1.0.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.
Files changed (100) hide show
  1. package/README.md +269 -67
  2. package/dist/credentials/QontextApi.credentials.js +6 -3
  3. package/dist/credentials/QontextApi.credentials.js.map +1 -1
  4. package/dist/nodes/Qontext/Qontext.node.d.ts +8 -0
  5. package/dist/nodes/Qontext/Qontext.node.js +31 -9
  6. package/dist/nodes/Qontext/Qontext.node.js.map +1 -1
  7. package/dist/nodes/Qontext/Qontext.node.json +3 -3
  8. package/dist/nodes/Qontext/actions/common/api.d.ts +3 -0
  9. package/dist/nodes/Qontext/actions/common/api.js +7 -0
  10. package/dist/nodes/Qontext/actions/common/api.js.map +1 -0
  11. package/dist/nodes/Qontext/actions/common/legacy.d.ts +2 -0
  12. package/dist/nodes/Qontext/actions/common/legacy.js +34 -0
  13. package/dist/nodes/Qontext/actions/common/legacy.js.map +1 -0
  14. package/dist/nodes/Qontext/actions/common/locator.d.ts +14 -0
  15. package/dist/nodes/Qontext/actions/common/locator.js +87 -0
  16. package/dist/nodes/Qontext/actions/common/locator.js.map +1 -0
  17. package/dist/nodes/Qontext/actions/common/pagination.d.ts +3 -0
  18. package/dist/nodes/Qontext/actions/common/pagination.js +104 -0
  19. package/dist/nodes/Qontext/actions/common/pagination.js.map +1 -0
  20. package/dist/nodes/Qontext/actions/common/resolvePath.d.ts +3 -0
  21. package/dist/nodes/Qontext/actions/common/resolvePath.js +37 -0
  22. package/dist/nodes/Qontext/actions/common/resolvePath.js.map +1 -0
  23. package/dist/nodes/Qontext/actions/file/createFile.operation.d.ts +2 -0
  24. package/dist/nodes/Qontext/actions/file/createFile.operation.js +118 -0
  25. package/dist/nodes/Qontext/actions/file/createFile.operation.js.map +1 -0
  26. package/dist/nodes/Qontext/actions/file/deleteFile.operation.d.ts +2 -0
  27. package/dist/nodes/Qontext/actions/file/deleteFile.operation.js +13 -0
  28. package/dist/nodes/Qontext/actions/file/deleteFile.operation.js.map +1 -0
  29. package/dist/nodes/Qontext/actions/file/file.resource.d.ts +2 -0
  30. package/dist/nodes/Qontext/actions/file/file.resource.js +117 -0
  31. package/dist/nodes/Qontext/actions/file/file.resource.js.map +1 -0
  32. package/dist/nodes/Qontext/actions/file/getFile.operation.d.ts +2 -0
  33. package/dist/nodes/Qontext/actions/file/getFile.operation.js +13 -0
  34. package/dist/nodes/Qontext/actions/file/getFile.operation.js.map +1 -0
  35. package/dist/nodes/Qontext/actions/file/getManyFiles.operation.d.ts +2 -0
  36. package/dist/nodes/Qontext/actions/file/getManyFiles.operation.js +105 -0
  37. package/dist/nodes/Qontext/actions/file/getManyFiles.operation.js.map +1 -0
  38. package/dist/nodes/Qontext/actions/file/updateFile.operation.d.ts +2 -0
  39. package/dist/nodes/Qontext/actions/file/updateFile.operation.js +97 -0
  40. package/dist/nodes/Qontext/actions/file/updateFile.operation.js.map +1 -0
  41. package/dist/nodes/Qontext/actions/file/updateFileContent.operation.d.ts +2 -0
  42. package/dist/nodes/Qontext/actions/file/updateFileContent.operation.js +72 -0
  43. package/dist/nodes/Qontext/actions/file/updateFileContent.operation.js.map +1 -0
  44. package/dist/nodes/Qontext/actions/folder/createFolder.operation.d.ts +2 -0
  45. package/dist/nodes/Qontext/actions/folder/createFolder.operation.js +88 -0
  46. package/dist/nodes/Qontext/actions/folder/createFolder.operation.js.map +1 -0
  47. package/dist/nodes/Qontext/actions/folder/deleteFolder.operation.d.ts +2 -0
  48. package/dist/nodes/Qontext/actions/folder/deleteFolder.operation.js +33 -0
  49. package/dist/nodes/Qontext/actions/folder/deleteFolder.operation.js.map +1 -0
  50. package/dist/nodes/Qontext/actions/folder/folder.resource.d.ts +2 -0
  51. package/dist/nodes/Qontext/actions/folder/folder.resource.js +103 -0
  52. package/dist/nodes/Qontext/actions/folder/folder.resource.js.map +1 -0
  53. package/dist/nodes/Qontext/actions/folder/getFolder.operation.d.ts +2 -0
  54. package/dist/nodes/Qontext/actions/folder/getFolder.operation.js +13 -0
  55. package/dist/nodes/Qontext/actions/folder/getFolder.operation.js.map +1 -0
  56. package/dist/nodes/Qontext/actions/folder/getManyFolders.operation.d.ts +2 -0
  57. package/dist/nodes/Qontext/actions/folder/getManyFolders.operation.js +105 -0
  58. package/dist/nodes/Qontext/actions/folder/getManyFolders.operation.js.map +1 -0
  59. package/dist/nodes/Qontext/actions/folder/updateFolder.operation.d.ts +2 -0
  60. package/dist/nodes/Qontext/actions/folder/updateFolder.operation.js +71 -0
  61. package/dist/nodes/Qontext/actions/folder/updateFolder.operation.js.map +1 -0
  62. package/dist/nodes/Qontext/actions/search/search.resource.d.ts +2 -0
  63. package/dist/nodes/Qontext/actions/search/search.resource.js +63 -0
  64. package/dist/nodes/Qontext/actions/search/search.resource.js.map +1 -0
  65. package/dist/nodes/Qontext/actions/search/searchHybrid.operation.d.ts +2 -0
  66. package/dist/nodes/Qontext/actions/search/searchHybrid.operation.js +75 -0
  67. package/dist/nodes/Qontext/actions/search/searchHybrid.operation.js.map +1 -0
  68. package/dist/nodes/Qontext/actions/search/searchRegex.operation.d.ts +2 -0
  69. package/dist/nodes/Qontext/actions/search/searchRegex.operation.js +75 -0
  70. package/dist/nodes/Qontext/actions/search/searchRegex.operation.js.map +1 -0
  71. package/dist/nodes/Qontext/methods/listSearch.d.ts +4 -0
  72. package/dist/nodes/Qontext/methods/listSearch.js +48 -0
  73. package/dist/nodes/Qontext/methods/listSearch.js.map +1 -0
  74. package/dist/package.json +16 -7
  75. package/dist/tsconfig.tsbuildinfo +1 -1
  76. package/package.json +16 -7
  77. package/dist/node_modules/@n8n/node-cli/dist/template/templates/declarative/custom/template/nodes/Example/example.dark.svg +0 -13
  78. package/dist/node_modules/@n8n/node-cli/dist/template/templates/declarative/custom/template/nodes/Example/example.svg +0 -13
  79. package/dist/node_modules/@n8n/node-cli/dist/template/templates/declarative/github-issues/template/icons/github.dark.svg +0 -3
  80. package/dist/node_modules/@n8n/node-cli/dist/template/templates/declarative/github-issues/template/icons/github.svg +0 -3
  81. package/dist/node_modules/@n8n/node-cli/dist/template/templates/programmatic/example/template/nodes/Example/example.dark.svg +0 -13
  82. package/dist/node_modules/@n8n/node-cli/dist/template/templates/programmatic/example/template/nodes/Example/example.svg +0 -13
  83. package/dist/nodes/Qontext/actions/ingestion/ingestDataWithMetadata.operation.d.ts +0 -2
  84. package/dist/nodes/Qontext/actions/ingestion/ingestDataWithMetadata.operation.js +0 -217
  85. package/dist/nodes/Qontext/actions/ingestion/ingestDataWithMetadata.operation.js.map +0 -1
  86. package/dist/nodes/Qontext/actions/ingestion/ingestUnstructuredText.operation.d.ts +0 -2
  87. package/dist/nodes/Qontext/actions/ingestion/ingestUnstructuredText.operation.js +0 -37
  88. package/dist/nodes/Qontext/actions/ingestion/ingestUnstructuredText.operation.js.map +0 -1
  89. package/dist/nodes/Qontext/actions/ingestion/ingestWebsite.operation.d.ts +0 -2
  90. package/dist/nodes/Qontext/actions/ingestion/ingestWebsite.operation.js +0 -61
  91. package/dist/nodes/Qontext/actions/ingestion/ingestWebsite.operation.js.map +0 -1
  92. package/dist/nodes/Qontext/actions/ingestion/ingestion.resource.d.ts +0 -2
  93. package/dist/nodes/Qontext/actions/ingestion/ingestion.resource.js +0 -80
  94. package/dist/nodes/Qontext/actions/ingestion/ingestion.resource.js.map +0 -1
  95. package/dist/nodes/Qontext/actions/retrieval/retrieval.resource.d.ts +0 -2
  96. package/dist/nodes/Qontext/actions/retrieval/retrieval.resource.js +0 -41
  97. package/dist/nodes/Qontext/actions/retrieval/retrieval.resource.js.map +0 -1
  98. package/dist/nodes/Qontext/actions/retrieval/retrieveContext.operation.d.ts +0 -2
  99. package/dist/nodes/Qontext/actions/retrieval/retrieveContext.operation.js +0 -83
  100. package/dist/nodes/Qontext/actions/retrieval/retrieveContext.operation.js.map +0 -1
@@ -0,0 +1,105 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getManyFilesOperation = void 0;
4
+ const locator_1 = require("../common/locator");
5
+ const pagination_1 = require("../common/pagination");
6
+ exports.getManyFilesOperation = [
7
+ ...(0, pagination_1.listProperties)('file', 'getAll', ['none', 'pathPrefix', 'folderId']),
8
+ {
9
+ displayName: 'Filter By',
10
+ name: 'filterBy',
11
+ type: 'options',
12
+ noDataExpression: true,
13
+ default: 'none',
14
+ description: 'Which single filter to narrow the list with. The API accepts only one, and rejects a request carrying two.',
15
+ displayOptions: {
16
+ show: {
17
+ resource: ['file'],
18
+ operation: ['getAll'],
19
+ },
20
+ },
21
+ options: [
22
+ {
23
+ name: 'Folder ID',
24
+ value: 'folderId',
25
+ description: 'Files directly inside this folder, one level only. Use Path Prefix for a whole subtree. A folder ID naming nothing is an empty collection.',
26
+ },
27
+ {
28
+ name: 'None',
29
+ value: 'none',
30
+ description: 'List every file the key can read',
31
+ },
32
+ {
33
+ name: 'Path',
34
+ value: 'path',
35
+ description: 'Exact path to a file, so it ends in .md. Returns zero or one file: a path naming nothing is an empty collection, not an error.',
36
+ },
37
+ {
38
+ name: 'Path Prefix',
39
+ value: 'pathPrefix',
40
+ description: 'Every file below this folder, recursively. A folder path, so it does not end in .md. A prefix naming no folder is an empty collection.',
41
+ },
42
+ ],
43
+ },
44
+ {
45
+ displayName: 'Path',
46
+ name: 'path',
47
+ type: 'string',
48
+ default: '',
49
+ placeholder: 'e.g. /support/policies/refunds.md',
50
+ description: 'Exact path to a file, so it ends in .md. Returns zero or one file: a path naming nothing is an empty collection, not an error.',
51
+ required: true,
52
+ displayOptions: {
53
+ show: {
54
+ resource: ['file'],
55
+ operation: ['getAll'],
56
+ filterBy: ['path'],
57
+ },
58
+ },
59
+ routing: {
60
+ send: {
61
+ type: 'query',
62
+ property: 'path',
63
+ value: '={{$value}}',
64
+ },
65
+ },
66
+ },
67
+ {
68
+ displayName: 'Path Prefix',
69
+ name: 'pathPrefix',
70
+ type: 'string',
71
+ default: '',
72
+ placeholder: 'e.g. /support',
73
+ description: 'Every file below this folder, recursively. A folder path, so it does not end in .md. A prefix naming no folder is an empty collection.',
74
+ required: true,
75
+ displayOptions: {
76
+ show: {
77
+ resource: ['file'],
78
+ operation: ['getAll'],
79
+ filterBy: ['pathPrefix'],
80
+ },
81
+ },
82
+ routing: {
83
+ send: {
84
+ type: 'query',
85
+ property: 'path_prefix',
86
+ value: '={{$value}}',
87
+ },
88
+ },
89
+ },
90
+ (0, locator_1.folderLocator)('folderId', 'Folder ID', {
91
+ description: 'Files directly inside this folder, one level only. Use Path Prefix for a whole subtree. A folder naming nothing is an empty collection.',
92
+ required: true,
93
+ displayOptions: {
94
+ show: { resource: ['file'], operation: ['getAll'], filterBy: ['folderId'] },
95
+ },
96
+ routing: {
97
+ send: {
98
+ type: 'query',
99
+ property: 'folder_id',
100
+ value: '={{$value}}',
101
+ },
102
+ },
103
+ }),
104
+ ];
105
+ //# sourceMappingURL=getManyFiles.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getManyFiles.operation.js","sourceRoot":"","sources":["../../../../../nodes/Qontext/actions/file/getManyFiles.operation.ts"],"names":[],"mappings":";;;AAIA,+CAAkD;AAClD,qDAAsD;AAEzC,QAAA,qBAAqB,GAAsB;IACvD,GAAG,IAAA,2BAAc,EAAC,MAAM,EAAE,QAAQ,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,UAAU,CAAC,CAAC;IACvE;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,OAAO,EAAE,MAAM;QACf,WAAW,EAAE,4GAA4G;QACzH,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,WAAW;gBACjB,KAAK,EAAE,UAAU;gBACjB,WAAW,EAAE,4IAA4I;aACzJ;YACD;gBACC,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,MAAM;gBACb,WAAW,EAAE,kCAAkC;aAC/C;YACD;gBACC,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,MAAM;gBACb,WAAW,EAAE,gIAAgI;aAC7I;YACD;gBACC,IAAI,EAAE,aAAa;gBACnB,KAAK,EAAE,YAAY;gBACnB,WAAW,EAAE,wIAAwI;aACrJ;SACD;KACD;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,mCAAmC;QAChD,WAAW,EAAE,gIAAgI;QAC7I,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,QAAQ,CAAC;gBACrB,QAAQ,EAAE,CAAC,MAAM,CAAC;aAClB;SACD;QACD,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,MAAM;gBAChB,KAAK,EAAE,aAAa;aACpB;SACD;KACD;IACD;QACC,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,eAAe;QAC5B,WAAW,EAAE,wIAAwI;QACrJ,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,QAAQ,CAAC;gBACrB,QAAQ,EAAE,CAAC,YAAY,CAAC;aACxB;SACD;QACD,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,aAAa;gBACvB,KAAK,EAAE,aAAa;aACpB;SACD;KACD;IACD,IAAA,uBAAa,EAAC,UAAU,EAAE,WAAW,EAAE;QACtC,WAAW,EACV,yIAAyI;QAC1I,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC,UAAU,CAAC,EAAE;SAC3E;QACD,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,WAAW;gBACrB,KAAK,EAAE,aAAa;aACpB;SACD;KACD,CAAC;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const updateFileOperation: INodeProperties[];
@@ -0,0 +1,97 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.updateFileOperation = void 0;
4
+ const locator_1 = require("../common/locator");
5
+ exports.updateFileOperation = [
6
+ (0, locator_1.fileLocator)('fileId', 'File ID', {
7
+ description: 'The file to change. Its ID never changes, only the path does.',
8
+ required: true,
9
+ byPath: true,
10
+ displayOptions: { show: { resource: ['file'], operation: ['update'] } },
11
+ }),
12
+ {
13
+ displayName: 'Action',
14
+ name: 'updateBy',
15
+ type: 'options',
16
+ noDataExpression: true,
17
+ default: 'rename',
18
+ description: 'Which single change to make',
19
+ displayOptions: {
20
+ show: {
21
+ resource: ['file'],
22
+ operation: ['update'],
23
+ },
24
+ },
25
+ options: [
26
+ {
27
+ name: 'Move',
28
+ value: 'move',
29
+ description: 'Move the file into another folder, keeping its ID and its name',
30
+ },
31
+ {
32
+ name: 'Rename',
33
+ value: 'rename',
34
+ description: 'Change the file name, leaving it where it is',
35
+ },
36
+ {
37
+ name: 'Set Protected',
38
+ value: 'protected',
39
+ description: 'Change whether writes to this file go to review instead of merging',
40
+ },
41
+ ],
42
+ },
43
+ {
44
+ displayName: 'Name',
45
+ name: 'name',
46
+ type: 'string',
47
+ default: '',
48
+ placeholder: 'e.g. returns.md',
49
+ description: 'New file name, including its extension. Renames the file in place.',
50
+ required: true,
51
+ displayOptions: {
52
+ show: {
53
+ resource: ['file'],
54
+ operation: ['update'],
55
+ updateBy: ['rename'],
56
+ },
57
+ },
58
+ routing: {
59
+ send: {
60
+ type: 'body',
61
+ property: 'name',
62
+ value: '={{$value}}',
63
+ },
64
+ },
65
+ },
66
+ (0, locator_1.folderLocator)('folderId', 'New Folder ID', {
67
+ description: 'Folder to move this file into, keeping its ID and its name. Pick "/ (Root)" to move it to the root.',
68
+ required: true,
69
+ includeRoot: true,
70
+ displayOptions: {
71
+ show: { resource: ['file'], operation: ['update'], updateBy: ['move'] },
72
+ },
73
+ routing: (0, locator_1.rootAware)('folderId'),
74
+ }),
75
+ {
76
+ displayName: 'Protected',
77
+ name: 'protected',
78
+ type: 'boolean',
79
+ default: false,
80
+ description: 'Whether a change touching this file goes to review instead of merging straight away',
81
+ displayOptions: {
82
+ show: {
83
+ resource: ['file'],
84
+ operation: ['update'],
85
+ updateBy: ['protected'],
86
+ },
87
+ },
88
+ routing: {
89
+ send: {
90
+ type: 'body',
91
+ property: 'protected',
92
+ value: '={{$value}}',
93
+ },
94
+ },
95
+ },
96
+ ];
97
+ //# sourceMappingURL=updateFile.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateFile.operation.js","sourceRoot":"","sources":["../../../../../nodes/Qontext/actions/file/updateFile.operation.ts"],"names":[],"mappings":";;;AAIA,+CAA0E;AAO7D,QAAA,mBAAmB,GAAsB;IACrD,IAAA,qBAAW,EAAC,QAAQ,EAAE,SAAS,EAAE;QAChC,WAAW,EAAE,+DAA+D;QAC5E,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE,IAAI;QACZ,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE;KACvE,CAAC;IACF;QACC,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,OAAO,EAAE,QAAQ;QACjB,WAAW,EAAE,6BAA6B;QAC1C,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,MAAM;gBACb,WAAW,EAAE,gEAAgE;aAC7E;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,8CAA8C;aAC3D;YACD;gBACC,IAAI,EAAE,eAAe;gBACrB,KAAK,EAAE,WAAW;gBAClB,WAAW,EAAE,oEAAoE;aACjF;SACD;KACD;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,iBAAiB;QAC9B,WAAW,EAAE,oEAAoE;QACjF,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,QAAQ,CAAC;gBACrB,QAAQ,EAAE,CAAC,QAAQ,CAAC;aACpB;SACD;QACD,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,MAAM;gBAChB,KAAK,EAAE,aAAa;aACpB;SACD;KACD;IACD,IAAA,uBAAa,EAAC,UAAU,EAAE,eAAe,EAAE;QAC1C,WAAW,EACV,qGAAqG;QACtG,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,IAAI;QACjB,cAAc,EAAE;YACf,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC,MAAM,CAAC,EAAE;SACvE;QACD,OAAO,EAAE,IAAA,mBAAS,EAAC,UAAU,CAAC;KAC9B,CAAC;IACF;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,KAAK;QACd,WAAW,EACV,qFAAqF;QACtF,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,QAAQ,CAAC;gBACrB,QAAQ,EAAE,CAAC,WAAW,CAAC;aACvB;SACD;QACD,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,WAAW;gBACrB,KAAK,EAAE,aAAa;aACpB;SACD;KACD;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const updateFileContentOperation: INodeProperties[];
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.updateFileContentOperation = void 0;
4
+ const locator_1 = require("../common/locator");
5
+ exports.updateFileContentOperation = [
6
+ {
7
+ displayName: 'A write to a protected file, or one colliding with work that landed since, is held for review instead of merging. That answers 202 with <code>object: "change"</code> and no <code>file</code> key — a success, not an error. Branch on <code>{{ $json.object }}</code> if either is possible.',
8
+ name: 'blockedChangeNotice',
9
+ type: 'notice',
10
+ default: '',
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['file'],
14
+ operation: ['updateContent'],
15
+ },
16
+ },
17
+ },
18
+ (0, locator_1.fileLocator)('fileId', 'File ID', {
19
+ description: 'The file to write to',
20
+ required: true,
21
+ byPath: true,
22
+ displayOptions: { show: { resource: ['file'], operation: ['updateContent'] } },
23
+ }),
24
+ {
25
+ displayName: 'Base Change ID',
26
+ name: 'baseChangeId',
27
+ type: 'string',
28
+ default: '',
29
+ placeholder: 'e.g. chg_7t4p2w9c1n6s8k',
30
+ description: 'The file\'s last content change when this edit started. Use the lastChangeId returned by File > Get or File > Create. A rename or a move does not advance it.',
31
+ required: true,
32
+ displayOptions: {
33
+ show: {
34
+ resource: ['file'],
35
+ operation: ['updateContent'],
36
+ },
37
+ },
38
+ routing: {
39
+ send: {
40
+ type: 'body',
41
+ property: 'baseChangeId',
42
+ value: '={{$value}}',
43
+ },
44
+ },
45
+ },
46
+ {
47
+ displayName: 'Content',
48
+ name: 'content',
49
+ type: 'string',
50
+ default: '',
51
+ description: 'The full new file content, which replaces the current content',
52
+ hint: 'A very long document is rejected with content_too_large, which reports the current limit',
53
+ required: true,
54
+ typeOptions: {
55
+ rows: 6,
56
+ },
57
+ displayOptions: {
58
+ show: {
59
+ resource: ['file'],
60
+ operation: ['updateContent'],
61
+ },
62
+ },
63
+ routing: {
64
+ send: {
65
+ type: 'body',
66
+ property: 'content',
67
+ value: '={{$value}}',
68
+ },
69
+ },
70
+ },
71
+ ];
72
+ //# sourceMappingURL=updateFileContent.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateFileContent.operation.js","sourceRoot":"","sources":["../../../../../nodes/Qontext/actions/file/updateFileContent.operation.ts"],"names":[],"mappings":";;;AAIA,+CAAgD;AAEnC,QAAA,0BAA0B,GAAsB;IAC5D;QAGC,WAAW,EACV,gSAAgS;QACjS,IAAI,EAAE,qBAAqB;QAC3B,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,eAAe,CAAC;aAC5B;SACD;KACD;IACD,IAAA,qBAAW,EAAC,QAAQ,EAAE,SAAS,EAAE;QAChC,WAAW,EAAE,sBAAsB;QACnC,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE,IAAI;QACZ,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC,eAAe,CAAC,EAAE,EAAE;KAC9E,CAAC;IACF;QACC,WAAW,EAAE,gBAAgB;QAC7B,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,yBAAyB;QACtC,WAAW,EACV,+JAA+J;QAChK,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,eAAe,CAAC;aAC5B;SACD;QACD,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,cAAc;gBACxB,KAAK,EAAE,aAAa;aACpB;SACD;KACD;IACD;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,+DAA+D;QAE5E,IAAI,EAAE,0FAA0F;QAChG,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE;YACZ,IAAI,EAAE,CAAC;SACP;QACD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,eAAe,CAAC;aAC5B;SACD;QACD,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,SAAS;gBACnB,KAAK,EAAE,aAAa;aACpB;SACD;KACD;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const createFolderOperation: INodeProperties[];
@@ -0,0 +1,88 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createFolderOperation = void 0;
4
+ const locator_1 = require("../common/locator");
5
+ exports.createFolderOperation = [
6
+ {
7
+ displayName: 'Create By',
8
+ name: 'createBy',
9
+ type: 'options',
10
+ noDataExpression: true,
11
+ default: 'path',
12
+ description: 'How to say where the new folder goes',
13
+ displayOptions: {
14
+ show: {
15
+ resource: ['folder'],
16
+ operation: ['create'],
17
+ },
18
+ },
19
+ options: [
20
+ {
21
+ name: 'Parent Folder',
22
+ value: 'parentFolder',
23
+ description: 'Name an existing folder by ID and give the new folder a name',
24
+ },
25
+ {
26
+ name: 'Path',
27
+ value: 'path',
28
+ description: 'Give the full absolute path, creating any missing parents on the way',
29
+ },
30
+ ],
31
+ },
32
+ {
33
+ displayName: 'Path',
34
+ name: 'path',
35
+ type: 'string',
36
+ default: '',
37
+ placeholder: 'e.g. /projects/reports',
38
+ description: 'Absolute path for the new folder. Missing parent folders are created on the way. Not an upsert: a path already holding a folder is a conflict.',
39
+ required: true,
40
+ displayOptions: {
41
+ show: {
42
+ resource: ['folder'],
43
+ operation: ['create'],
44
+ createBy: ['path'],
45
+ },
46
+ },
47
+ routing: {
48
+ send: {
49
+ type: 'body',
50
+ property: 'path',
51
+ value: '={{$value}}',
52
+ },
53
+ },
54
+ },
55
+ (0, locator_1.folderLocator)('parentId', 'Parent Folder ID', {
56
+ description: 'Parent folder. Send with Name instead of Path. Pick "/ (Root)" to create it at the root.',
57
+ required: true,
58
+ includeRoot: true,
59
+ displayOptions: {
60
+ show: { resource: ['folder'], operation: ['create'], createBy: ['parentFolder'] },
61
+ },
62
+ routing: (0, locator_1.rootAware)('parentId'),
63
+ }),
64
+ {
65
+ displayName: 'Name',
66
+ name: 'name',
67
+ type: 'string',
68
+ default: '',
69
+ placeholder: 'e.g. reports',
70
+ description: 'Leaf name of the new folder. Send with Parent Folder ID instead of Path.',
71
+ required: true,
72
+ displayOptions: {
73
+ show: {
74
+ resource: ['folder'],
75
+ operation: ['create'],
76
+ createBy: ['parentFolder'],
77
+ },
78
+ },
79
+ routing: {
80
+ send: {
81
+ type: 'body',
82
+ property: 'name',
83
+ value: '={{$value}}',
84
+ },
85
+ },
86
+ },
87
+ ];
88
+ //# sourceMappingURL=createFolder.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createFolder.operation.js","sourceRoot":"","sources":["../../../../../nodes/Qontext/actions/folder/createFolder.operation.ts"],"names":[],"mappings":";;;AAIA,+CAA6D;AAKhD,QAAA,qBAAqB,GAAsB;IACvD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,OAAO,EAAE,MAAM;QACf,WAAW,EAAE,sCAAsC;QACnD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;gBACpB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,eAAe;gBACrB,KAAK,EAAE,cAAc;gBACrB,WAAW,EAAE,8DAA8D;aAC3E;YACD;gBACC,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,MAAM;gBACb,WAAW,EAAE,sEAAsE;aACnF;SACD;KACD;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,wBAAwB;QACrC,WAAW,EACV,gJAAgJ;QACjJ,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;gBACpB,SAAS,EAAE,CAAC,QAAQ,CAAC;gBACrB,QAAQ,EAAE,CAAC,MAAM,CAAC;aAClB;SACD;QACD,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,MAAM;gBAChB,KAAK,EAAE,aAAa;aACpB;SACD;KACD;IACD,IAAA,uBAAa,EAAC,UAAU,EAAE,kBAAkB,EAAE;QAC7C,WAAW,EAAE,0FAA0F;QACvG,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,IAAI;QACjB,cAAc,EAAE;YACf,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,SAAS,EAAE,CAAC,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC,cAAc,CAAC,EAAE;SACjF;QACD,OAAO,EAAE,IAAA,mBAAS,EAAC,UAAU,CAAC;KAC9B,CAAC;IACF;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,cAAc;QAC3B,WAAW,EAAE,0EAA0E;QACvF,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;gBACpB,SAAS,EAAE,CAAC,QAAQ,CAAC;gBACrB,QAAQ,EAAE,CAAC,cAAc,CAAC;aAC1B;SACD;QACD,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,MAAM;gBAChB,KAAK,EAAE,aAAa;aACpB;SACD;KACD;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const deleteFolderOperation: INodeProperties[];
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.deleteFolderOperation = void 0;
4
+ const locator_1 = require("../common/locator");
5
+ exports.deleteFolderOperation = [
6
+ (0, locator_1.folderLocator)('folderId', 'Folder ID', {
7
+ description: 'The folder to delete',
8
+ required: true,
9
+ byPath: true,
10
+ displayOptions: { show: { resource: ['folder'], operation: ['delete'] } },
11
+ }),
12
+ {
13
+ displayName: 'Recursive',
14
+ name: 'recursive',
15
+ type: 'boolean',
16
+ default: false,
17
+ description: 'Whether to delete the folder together with everything below it. Left off, a folder that still has contents is refused and nothing is removed.',
18
+ displayOptions: {
19
+ show: {
20
+ resource: ['folder'],
21
+ operation: ['delete'],
22
+ },
23
+ },
24
+ routing: {
25
+ send: {
26
+ type: 'query',
27
+ property: 'recursive',
28
+ value: '={{$value}}',
29
+ },
30
+ },
31
+ },
32
+ ];
33
+ //# sourceMappingURL=deleteFolder.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteFolder.operation.js","sourceRoot":"","sources":["../../../../../nodes/Qontext/actions/folder/deleteFolder.operation.ts"],"names":[],"mappings":";;;AAIA,+CAAkD;AAErC,QAAA,qBAAqB,GAAsB;IACvD,IAAA,uBAAa,EAAC,UAAU,EAAE,WAAW,EAAE;QACtC,WAAW,EAAE,sBAAsB;QACnC,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE,IAAI;QACZ,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,SAAS,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE;KACzE,CAAC;IACF;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,+IAA+I;QAC5J,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;gBACpB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,OAAO;gBACb,QAAQ,EAAE,WAAW;gBACrB,KAAK,EAAE,aAAa;aACpB;SACD;KACD;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const folderOperations: INodeProperties[];
@@ -0,0 +1,103 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.folderOperations = void 0;
4
+ const api_1 = require("../common/api");
5
+ const pagination_1 = require("../common/pagination");
6
+ const createFolder_operation_1 = require("./createFolder.operation");
7
+ const deleteFolder_operation_1 = require("./deleteFolder.operation");
8
+ const getFolder_operation_1 = require("./getFolder.operation");
9
+ const getManyFolders_operation_1 = require("./getManyFolders.operation");
10
+ const updateFolder_operation_1 = require("./updateFolder.operation");
11
+ exports.folderOperations = [
12
+ {
13
+ displayName: 'Operation',
14
+ name: 'operation',
15
+ type: 'options',
16
+ noDataExpression: true,
17
+ displayOptions: {
18
+ show: {
19
+ resource: ['folder'],
20
+ },
21
+ },
22
+ options: [
23
+ {
24
+ name: 'Create',
25
+ value: 'create',
26
+ action: 'Create a folder',
27
+ description: 'Create one folder at a path, creating missing parents, or inside a parent folder when given a name. Not an upsert: an occupied path is a conflict.',
28
+ routing: {
29
+ request: {
30
+ method: 'POST',
31
+ url: api_1.FOLDERS_URL,
32
+ },
33
+ },
34
+ },
35
+ {
36
+ name: 'Delete',
37
+ value: 'delete',
38
+ action: 'Delete a folder',
39
+ description: 'Delete a folder. Refuses a folder that still has contents unless Recursive is on. The refusal changes nothing.',
40
+ routing: {
41
+ request: {
42
+ method: 'DELETE',
43
+ url: `=${api_1.FOLDERS_URL}/{{ encodeURIComponent($parameter["folderId"]) }}`,
44
+ },
45
+ output: {
46
+ postReceive: [
47
+ {
48
+ type: 'set',
49
+ properties: {
50
+ value: '={{ { "success": true } }}',
51
+ },
52
+ },
53
+ ],
54
+ },
55
+ },
56
+ },
57
+ {
58
+ name: 'Get',
59
+ value: 'get',
60
+ action: 'Get a folder',
61
+ description: 'Get a folder by its ID. A folder in another workspace answers as not found, so existence does not leak.',
62
+ routing: {
63
+ request: {
64
+ method: 'GET',
65
+ url: `=${api_1.FOLDERS_URL}/{{ encodeURIComponent($parameter["folderId"]) }}`,
66
+ },
67
+ },
68
+ },
69
+ {
70
+ name: 'Get Many',
71
+ value: 'getAll',
72
+ action: 'Get many folders',
73
+ description: 'List folders by path, path prefix or parent. Without a filter it lists root folders. Cursor paginated, never offset.',
74
+ routing: {
75
+ request: {
76
+ method: 'GET',
77
+ url: api_1.FOLDERS_URL,
78
+ },
79
+ ...pagination_1.listRouting,
80
+ },
81
+ },
82
+ {
83
+ name: 'Update',
84
+ value: 'update',
85
+ action: 'Update a folder',
86
+ description: 'Rename a folder in place or move it. A move takes the whole subtree and every ID survives; the paths below it change.',
87
+ routing: {
88
+ request: {
89
+ method: 'PATCH',
90
+ url: `=${api_1.FOLDERS_URL}/{{ encodeURIComponent($parameter["folderId"]) }}`,
91
+ },
92
+ },
93
+ },
94
+ ],
95
+ default: 'getAll',
96
+ },
97
+ ...createFolder_operation_1.createFolderOperation,
98
+ ...deleteFolder_operation_1.deleteFolderOperation,
99
+ ...getFolder_operation_1.getFolderOperation,
100
+ ...getManyFolders_operation_1.getManyFoldersOperation,
101
+ ...updateFolder_operation_1.updateFolderOperation,
102
+ ];
103
+ //# sourceMappingURL=folder.resource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"folder.resource.js","sourceRoot":"","sources":["../../../../../nodes/Qontext/actions/folder/folder.resource.ts"],"names":[],"mappings":";;;AACA,uCAA4C;AAC5C,qDAAmD;AACnD,qEAAiE;AACjE,qEAAiE;AACjE,+DAA2D;AAC3D,yEAAqE;AACrE,qEAAiE;AAEpD,QAAA,gBAAgB,GAAsB;IAClD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;aACpB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,iBAAiB;gBACzB,WAAW,EAAE,oJAAoJ;gBACjK,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,MAAM;wBACd,GAAG,EAAE,iBAAW;qBAChB;iBACD;aACD;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,iBAAiB;gBACzB,WAAW,EAAE,gHAAgH;gBAC7H,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,QAAQ;wBAChB,GAAG,EAAE,IAAI,iBAAW,mDAAmD;qBACvE;oBACD,MAAM,EAAE;wBAEP,WAAW,EAAE;4BACZ;gCACC,IAAI,EAAE,KAAK;gCACX,UAAU,EAAE;oCACX,KAAK,EAAE,4BAA4B;iCACnC;6BACD;yBACD;qBACD;iBACD;aACD;YACD;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,MAAM,EAAE,cAAc;gBACtB,WAAW,EACV,yGAAyG;gBAC1G,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,IAAI,iBAAW,mDAAmD;qBACvE;iBACD;aACD;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,kBAAkB;gBAC1B,WAAW,EAAE,sHAAsH;gBACnI,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,iBAAW;qBAChB;oBACD,GAAG,wBAAW;iBACd;aACD;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,iBAAiB;gBACzB,WAAW,EAAE,uHAAuH;gBACpI,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,OAAO;wBACf,GAAG,EAAE,IAAI,iBAAW,mDAAmD;qBACvE;iBACD;aACD;SACD;QACD,OAAO,EAAE,QAAQ;KACjB;IACD,GAAG,8CAAqB;IACxB,GAAG,8CAAqB;IACxB,GAAG,wCAAkB;IACrB,GAAG,kDAAuB;IAC1B,GAAG,8CAAqB;CACxB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const getFolderOperation: INodeProperties[];
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getFolderOperation = void 0;
4
+ const locator_1 = require("../common/locator");
5
+ exports.getFolderOperation = [
6
+ (0, locator_1.folderLocator)('folderId', 'Folder ID', {
7
+ description: 'The folder to read',
8
+ required: true,
9
+ byPath: true,
10
+ displayOptions: { show: { resource: ['folder'], operation: ['get'] } },
11
+ }),
12
+ ];
13
+ //# sourceMappingURL=getFolder.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFolder.operation.js","sourceRoot":"","sources":["../../../../../nodes/Qontext/actions/folder/getFolder.operation.ts"],"names":[],"mappings":";;;AAIA,+CAAkD;AAErC,QAAA,kBAAkB,GAAsB;IACpD,IAAA,uBAAa,EAAC,UAAU,EAAE,WAAW,EAAE;QACtC,WAAW,EAAE,oBAAoB;QACjC,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE,IAAI;QACZ,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE,SAAS,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE;KACtE,CAAC;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const getManyFoldersOperation: INodeProperties[];