n8n-nodes-codex 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/LICENSE.md +19 -0
  2. package/README.md +108 -0
  3. package/dist/credentials/CodexApi.credentials.d.ts +10 -0
  4. package/dist/credentials/CodexApi.credentials.js +92 -0
  5. package/dist/credentials/CodexApi.credentials.js.map +1 -0
  6. package/dist/icons/codex-dark.svg +7 -0
  7. package/dist/icons/codex-light.svg +7 -0
  8. package/dist/icons/codex.svg +7 -0
  9. package/dist/icons/github.dark.svg +3 -0
  10. package/dist/icons/github.svg +3 -0
  11. package/dist/nodes/Codex/Codex.node.d.ts +4 -0
  12. package/dist/nodes/Codex/Codex.node.js +133 -0
  13. package/dist/nodes/Codex/Codex.node.js.map +1 -0
  14. package/dist/nodes/Codex/resources/admin/index.d.ts +2 -0
  15. package/dist/nodes/Codex/resources/admin/index.js +489 -0
  16. package/dist/nodes/Codex/resources/admin/index.js.map +1 -0
  17. package/dist/nodes/Codex/resources/apiKey/index.d.ts +2 -0
  18. package/dist/nodes/Codex/resources/apiKey/index.js +233 -0
  19. package/dist/nodes/Codex/resources/apiKey/index.js.map +1 -0
  20. package/dist/nodes/Codex/resources/book/get.d.ts +2 -0
  21. package/dist/nodes/Codex/resources/book/get.js +5 -0
  22. package/dist/nodes/Codex/resources/book/get.js.map +1 -0
  23. package/dist/nodes/Codex/resources/book/index.d.ts +2 -0
  24. package/dist/nodes/Codex/resources/book/index.js +450 -0
  25. package/dist/nodes/Codex/resources/book/index.js.map +1 -0
  26. package/dist/nodes/Codex/resources/book/list.d.ts +2 -0
  27. package/dist/nodes/Codex/resources/book/list.js +81 -0
  28. package/dist/nodes/Codex/resources/book/list.js.map +1 -0
  29. package/dist/nodes/Codex/resources/book/updateMetadata.d.ts +2 -0
  30. package/dist/nodes/Codex/resources/book/updateMetadata.js +98 -0
  31. package/dist/nodes/Codex/resources/book/updateMetadata.js.map +1 -0
  32. package/dist/nodes/Codex/resources/book/updateProgress.d.ts +2 -0
  33. package/dist/nodes/Codex/resources/book/updateProgress.js +46 -0
  34. package/dist/nodes/Codex/resources/book/updateProgress.js.map +1 -0
  35. package/dist/nodes/Codex/resources/duplicate/index.d.ts +2 -0
  36. package/dist/nodes/Codex/resources/duplicate/index.js +162 -0
  37. package/dist/nodes/Codex/resources/duplicate/index.js.map +1 -0
  38. package/dist/nodes/Codex/resources/filesystem/index.d.ts +2 -0
  39. package/dist/nodes/Codex/resources/filesystem/index.js +64 -0
  40. package/dist/nodes/Codex/resources/filesystem/index.js.map +1 -0
  41. package/dist/nodes/Codex/resources/genre/index.d.ts +2 -0
  42. package/dist/nodes/Codex/resources/genre/index.js +83 -0
  43. package/dist/nodes/Codex/resources/genre/index.js.map +1 -0
  44. package/dist/nodes/Codex/resources/library/create.d.ts +2 -0
  45. package/dist/nodes/Codex/resources/library/create.js +94 -0
  46. package/dist/nodes/Codex/resources/library/create.js.map +1 -0
  47. package/dist/nodes/Codex/resources/library/delete.d.ts +2 -0
  48. package/dist/nodes/Codex/resources/library/delete.js +5 -0
  49. package/dist/nodes/Codex/resources/library/delete.js.map +1 -0
  50. package/dist/nodes/Codex/resources/library/get.d.ts +2 -0
  51. package/dist/nodes/Codex/resources/library/get.js +5 -0
  52. package/dist/nodes/Codex/resources/library/get.js.map +1 -0
  53. package/dist/nodes/Codex/resources/library/index.d.ts +2 -0
  54. package/dist/nodes/Codex/resources/library/index.js +360 -0
  55. package/dist/nodes/Codex/resources/library/index.js.map +1 -0
  56. package/dist/nodes/Codex/resources/library/list.d.ts +2 -0
  57. package/dist/nodes/Codex/resources/library/list.js +5 -0
  58. package/dist/nodes/Codex/resources/library/list.js.map +1 -0
  59. package/dist/nodes/Codex/resources/library/scan.d.ts +2 -0
  60. package/dist/nodes/Codex/resources/library/scan.js +37 -0
  61. package/dist/nodes/Codex/resources/library/scan.js.map +1 -0
  62. package/dist/nodes/Codex/resources/library/update.d.ts +2 -0
  63. package/dist/nodes/Codex/resources/library/update.js +73 -0
  64. package/dist/nodes/Codex/resources/library/update.js.map +1 -0
  65. package/dist/nodes/Codex/resources/metric/index.d.ts +2 -0
  66. package/dist/nodes/Codex/resources/metric/index.js +154 -0
  67. package/dist/nodes/Codex/resources/metric/index.js.map +1 -0
  68. package/dist/nodes/Codex/resources/misc/index.d.ts +2 -0
  69. package/dist/nodes/Codex/resources/misc/index.js +216 -0
  70. package/dist/nodes/Codex/resources/misc/index.js.map +1 -0
  71. package/dist/nodes/Codex/resources/series/get.d.ts +2 -0
  72. package/dist/nodes/Codex/resources/series/get.js +5 -0
  73. package/dist/nodes/Codex/resources/series/get.js.map +1 -0
  74. package/dist/nodes/Codex/resources/series/index.d.ts +2 -0
  75. package/dist/nodes/Codex/resources/series/index.js +1348 -0
  76. package/dist/nodes/Codex/resources/series/index.js.map +1 -0
  77. package/dist/nodes/Codex/resources/series/list.d.ts +2 -0
  78. package/dist/nodes/Codex/resources/series/list.js +108 -0
  79. package/dist/nodes/Codex/resources/series/list.js.map +1 -0
  80. package/dist/nodes/Codex/resources/series/updateMetadata.d.ts +2 -0
  81. package/dist/nodes/Codex/resources/series/updateMetadata.js +116 -0
  82. package/dist/nodes/Codex/resources/series/updateMetadata.js.map +1 -0
  83. package/dist/nodes/Codex/resources/tag/index.d.ts +2 -0
  84. package/dist/nodes/Codex/resources/tag/index.js +83 -0
  85. package/dist/nodes/Codex/resources/tag/index.js.map +1 -0
  86. package/dist/nodes/Codex/resources/task/index.d.ts +2 -0
  87. package/dist/nodes/Codex/resources/task/index.js +241 -0
  88. package/dist/nodes/Codex/resources/task/index.js.map +1 -0
  89. package/dist/nodes/Codex/resources/user/index.d.ts +2 -0
  90. package/dist/nodes/Codex/resources/user/index.js +362 -0
  91. package/dist/nodes/Codex/resources/user/index.js.map +1 -0
  92. package/dist/nodes/Codex/resources/userPreference/index.d.ts +2 -0
  93. package/dist/nodes/Codex/resources/userPreference/index.js +358 -0
  94. package/dist/nodes/Codex/resources/userPreference/index.js.map +1 -0
  95. package/dist/nodes/Codex/shared/descriptions.d.ts +6 -0
  96. package/dist/nodes/Codex/shared/descriptions.js +94 -0
  97. package/dist/nodes/Codex/shared/descriptions.js.map +1 -0
  98. package/dist/package.json +60 -0
  99. package/dist/tsconfig.tsbuildinfo +1 -0
  100. package/package.json +60 -0
@@ -0,0 +1,358 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.userPreferenceDescription = void 0;
4
+ const showOnlyForUserPreference = {
5
+ resource: ['userPreference'],
6
+ };
7
+ exports.userPreferenceDescription = [
8
+ {
9
+ displayName: 'Operation',
10
+ name: 'operation',
11
+ type: 'options',
12
+ noDataExpression: true,
13
+ displayOptions: {
14
+ show: showOnlyForUserPreference,
15
+ },
16
+ options: [
17
+ {
18
+ name: 'Delete Preference',
19
+ value: 'deletePreference',
20
+ action: 'Delete a preference',
21
+ description: 'Delete a user preference by key',
22
+ routing: {
23
+ request: {
24
+ method: 'DELETE',
25
+ url: '=/api/v1/user/preferences/{{$parameter.preferenceKey}}',
26
+ },
27
+ },
28
+ },
29
+ {
30
+ name: 'Delete User Integration',
31
+ value: 'deleteUserIntegration',
32
+ action: 'Delete user integration',
33
+ description: 'Delete a user-specific integration configuration',
34
+ routing: {
35
+ request: {
36
+ method: 'DELETE',
37
+ url: '=/api/v1/user/integrations/{{$parameter.integrationName}}',
38
+ },
39
+ },
40
+ },
41
+ {
42
+ name: 'Get All Preferences',
43
+ value: 'getAllPreferences',
44
+ action: 'Get all preferences',
45
+ description: 'Get all user preferences',
46
+ routing: {
47
+ request: {
48
+ method: 'GET',
49
+ url: '/api/v1/user/preferences',
50
+ },
51
+ },
52
+ },
53
+ {
54
+ name: 'Get Preference',
55
+ value: 'getPreference',
56
+ action: 'Get a preference',
57
+ description: 'Get a specific user preference',
58
+ routing: {
59
+ request: {
60
+ method: 'GET',
61
+ url: '=/api/v1/user/preferences/{{$parameter.preferenceKey}}',
62
+ },
63
+ },
64
+ },
65
+ {
66
+ name: 'Get User Integration',
67
+ value: 'getUserIntegration',
68
+ action: 'Get user integration',
69
+ description: 'Get a specific user integration configuration',
70
+ routing: {
71
+ request: {
72
+ method: 'GET',
73
+ url: '=/api/v1/user/integrations/{{$parameter.integrationName}}',
74
+ },
75
+ },
76
+ },
77
+ {
78
+ name: 'Get User Ratings',
79
+ value: 'getUserRatings',
80
+ action: 'Get user ratings',
81
+ description: 'Get all ratings given by the current user',
82
+ routing: {
83
+ request: {
84
+ method: 'GET',
85
+ url: '/api/v1/user/ratings',
86
+ },
87
+ },
88
+ },
89
+ {
90
+ name: 'Get User Sharing Tags',
91
+ value: 'getUserSharingTags',
92
+ action: 'Get user sharing tags',
93
+ description: 'Get sharing tags for the current user',
94
+ routing: {
95
+ request: {
96
+ method: 'GET',
97
+ url: '/api/v1/user/sharing-tags',
98
+ },
99
+ },
100
+ },
101
+ {
102
+ name: 'Integration Callback',
103
+ value: 'integrationCallback',
104
+ action: 'Integration callback',
105
+ description: 'Handle OAuth callback for an integration',
106
+ routing: {
107
+ request: {
108
+ method: 'GET',
109
+ url: '=/api/v1/user/integrations/{{$parameter.integrationName}}/callback',
110
+ },
111
+ },
112
+ },
113
+ {
114
+ name: 'List User Integrations',
115
+ value: 'listUserIntegrations',
116
+ action: 'List user integrations',
117
+ description: 'List all user-specific integration configurations',
118
+ routing: {
119
+ request: {
120
+ method: 'GET',
121
+ url: '/api/v1/user/integrations',
122
+ },
123
+ },
124
+ },
125
+ {
126
+ name: 'Set Preference',
127
+ value: 'setPreference',
128
+ action: 'Set a preference',
129
+ description: 'Set a user preference value',
130
+ routing: {
131
+ request: {
132
+ method: 'PUT',
133
+ url: '=/api/v1/user/preferences/{{$parameter.preferenceKey}}',
134
+ },
135
+ },
136
+ },
137
+ {
138
+ name: 'Sync Integration',
139
+ value: 'syncIntegration',
140
+ action: 'Sync integration',
141
+ description: 'Trigger a sync with an external integration',
142
+ routing: {
143
+ request: {
144
+ method: 'POST',
145
+ url: '=/api/v1/user/integrations/{{$parameter.integrationName}}/sync',
146
+ },
147
+ },
148
+ },
149
+ {
150
+ name: 'Update Preferences',
151
+ value: 'updatePreferences',
152
+ action: 'Update preferences',
153
+ description: 'Update multiple user preferences at once',
154
+ routing: {
155
+ request: {
156
+ method: 'PATCH',
157
+ url: '/api/v1/user/preferences',
158
+ },
159
+ },
160
+ },
161
+ {
162
+ name: 'Update User Integration',
163
+ value: 'updateUserIntegration',
164
+ action: 'Update user integration',
165
+ description: 'Update a user-specific integration configuration',
166
+ routing: {
167
+ request: {
168
+ method: 'PUT',
169
+ url: '=/api/v1/user/integrations/{{$parameter.integrationName}}',
170
+ },
171
+ },
172
+ },
173
+ ],
174
+ default: 'getAllPreferences',
175
+ },
176
+ {
177
+ displayName: 'Preference Key',
178
+ name: 'preferenceKey',
179
+ type: 'string',
180
+ default: '',
181
+ required: true,
182
+ displayOptions: {
183
+ show: {
184
+ ...showOnlyForUserPreference,
185
+ operation: ['getPreference', 'setPreference', 'deletePreference'],
186
+ },
187
+ },
188
+ description: 'The key of the preference',
189
+ },
190
+ {
191
+ displayName: 'Integration Name',
192
+ name: 'integrationName',
193
+ type: 'string',
194
+ default: '',
195
+ required: true,
196
+ displayOptions: {
197
+ show: {
198
+ ...showOnlyForUserPreference,
199
+ operation: [
200
+ 'getUserIntegration',
201
+ 'updateUserIntegration',
202
+ 'deleteUserIntegration',
203
+ 'syncIntegration',
204
+ 'integrationCallback',
205
+ ],
206
+ },
207
+ },
208
+ description: 'The name of the integration (e.g., "goodreads", "calibre")',
209
+ },
210
+ {
211
+ displayName: 'Value',
212
+ name: 'preferenceValue',
213
+ type: 'json',
214
+ default: '',
215
+ required: true,
216
+ displayOptions: {
217
+ show: {
218
+ ...showOnlyForUserPreference,
219
+ operation: ['setPreference'],
220
+ },
221
+ },
222
+ description: 'The value to set for the preference (JSON)',
223
+ routing: {
224
+ send: {
225
+ type: 'body',
226
+ property: 'value',
227
+ },
228
+ },
229
+ },
230
+ {
231
+ displayName: 'Preferences',
232
+ name: 'preferences',
233
+ type: 'json',
234
+ default: '{}',
235
+ required: true,
236
+ displayOptions: {
237
+ show: {
238
+ ...showOnlyForUserPreference,
239
+ operation: ['updatePreferences'],
240
+ },
241
+ },
242
+ description: 'JSON object with key-value pairs of preferences to update',
243
+ routing: {
244
+ send: {
245
+ type: 'body',
246
+ propertyInDotNotation: false,
247
+ },
248
+ },
249
+ },
250
+ {
251
+ displayName: 'Integration Settings',
252
+ name: 'integrationSettings',
253
+ type: 'json',
254
+ default: '{}',
255
+ required: true,
256
+ displayOptions: {
257
+ show: {
258
+ ...showOnlyForUserPreference,
259
+ operation: ['updateUserIntegration'],
260
+ },
261
+ },
262
+ description: 'JSON object with integration configuration settings',
263
+ routing: {
264
+ send: {
265
+ type: 'body',
266
+ propertyInDotNotation: false,
267
+ },
268
+ },
269
+ },
270
+ {
271
+ displayName: 'Callback Parameters',
272
+ name: 'callbackParams',
273
+ type: 'collection',
274
+ placeholder: 'Add Parameter',
275
+ default: {},
276
+ displayOptions: {
277
+ show: {
278
+ ...showOnlyForUserPreference,
279
+ operation: ['integrationCallback'],
280
+ },
281
+ },
282
+ options: [
283
+ {
284
+ displayName: 'Code',
285
+ name: 'code',
286
+ type: 'string',
287
+ default: '',
288
+ description: 'OAuth authorization code',
289
+ routing: {
290
+ send: {
291
+ type: 'query',
292
+ property: 'code',
293
+ },
294
+ },
295
+ },
296
+ {
297
+ displayName: 'State',
298
+ name: 'state',
299
+ type: 'string',
300
+ default: '',
301
+ description: 'OAuth state parameter',
302
+ routing: {
303
+ send: {
304
+ type: 'query',
305
+ property: 'state',
306
+ },
307
+ },
308
+ },
309
+ ],
310
+ },
311
+ {
312
+ displayName: 'Filters',
313
+ name: 'ratingsFilters',
314
+ type: 'collection',
315
+ placeholder: 'Add Filter',
316
+ default: {},
317
+ displayOptions: {
318
+ show: {
319
+ ...showOnlyForUserPreference,
320
+ operation: ['getUserRatings'],
321
+ },
322
+ },
323
+ options: [
324
+ {
325
+ displayName: 'Page',
326
+ name: 'page',
327
+ type: 'number',
328
+ typeOptions: {
329
+ minValue: 0,
330
+ },
331
+ default: 0,
332
+ routing: {
333
+ send: {
334
+ type: 'query',
335
+ property: 'page',
336
+ },
337
+ },
338
+ },
339
+ {
340
+ displayName: 'Page Size',
341
+ name: 'pageSize',
342
+ type: 'number',
343
+ typeOptions: {
344
+ minValue: 1,
345
+ maxValue: 100,
346
+ },
347
+ default: 20,
348
+ routing: {
349
+ send: {
350
+ type: 'query',
351
+ property: 'page_size',
352
+ },
353
+ },
354
+ },
355
+ ],
356
+ },
357
+ ];
358
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Codex/resources/userPreference/index.ts"],"names":[],"mappings":";;;AAEA,MAAM,yBAAyB,GAAG;IACjC,QAAQ,EAAE,CAAC,gBAAgB,CAAC;CAC5B,CAAC;AAEW,QAAA,yBAAyB,GAAsB;IAC3D;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE,yBAAyB;SAC/B;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,mBAAmB;gBACzB,KAAK,EAAE,kBAAkB;gBACzB,MAAM,EAAE,qBAAqB;gBAC7B,WAAW,EAAE,iCAAiC;gBAC9C,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,QAAQ;wBAChB,GAAG,EAAE,wDAAwD;qBAC7D;iBACD;aACD;YACD;gBACC,IAAI,EAAE,yBAAyB;gBAC/B,KAAK,EAAE,uBAAuB;gBAC9B,MAAM,EAAE,yBAAyB;gBACjC,WAAW,EAAE,kDAAkD;gBAC/D,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,QAAQ;wBAChB,GAAG,EAAE,2DAA2D;qBAChE;iBACD;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ACD;IAED;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,YAAY;QACzB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,GAAG,yBAAyB;gBAC5B,SAAS,EAAE,CAAC,gBAAgB,CAAC;aAC7B;SACD;QACD,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,MAAM;gBACnB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,CAAC;iBACX;gBACD,OAAO,EAAE,CAAC;gBACV,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,QAAQ,EAAE,MAAM;qBAChB;iBACD;aACD;YACD;gBACC,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,CAAC;oBACX,QAAQ,EAAE,GAAG;iBACb;gBACD,OAAO,EAAE,EAAE;gBACX,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,QAAQ,EAAE,WAAW;qBACrB;iBACD;aACD;SACD;KACD;CACD,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const librarySelect: INodeProperties;
3
+ export declare const seriesSelect: INodeProperties;
4
+ export declare const bookSelect: INodeProperties;
5
+ export declare const userSelect: INodeProperties;
6
+ export declare const taskSelect: INodeProperties;
@@ -0,0 +1,94 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.taskSelect = exports.userSelect = exports.bookSelect = exports.seriesSelect = exports.librarySelect = void 0;
4
+ exports.librarySelect = {
5
+ displayName: 'Library',
6
+ name: 'libraryId',
7
+ type: 'resourceLocator',
8
+ default: {
9
+ mode: 'id',
10
+ value: '',
11
+ },
12
+ required: true,
13
+ modes: [
14
+ {
15
+ displayName: 'By ID',
16
+ name: 'id',
17
+ type: 'string',
18
+ placeholder: 'e.g. 550e8400-e29b-41d4-a716-446655440000',
19
+ },
20
+ ],
21
+ };
22
+ exports.seriesSelect = {
23
+ displayName: 'Series',
24
+ name: 'seriesId',
25
+ type: 'resourceLocator',
26
+ default: {
27
+ mode: 'id',
28
+ value: '',
29
+ },
30
+ required: true,
31
+ modes: [
32
+ {
33
+ displayName: 'By ID',
34
+ name: 'id',
35
+ type: 'string',
36
+ placeholder: 'e.g. 550e8400-e29b-41d4-a716-446655440000',
37
+ },
38
+ ],
39
+ };
40
+ exports.bookSelect = {
41
+ displayName: 'Book',
42
+ name: 'bookId',
43
+ type: 'resourceLocator',
44
+ default: {
45
+ mode: 'id',
46
+ value: '',
47
+ },
48
+ required: true,
49
+ modes: [
50
+ {
51
+ displayName: 'By ID',
52
+ name: 'id',
53
+ type: 'string',
54
+ placeholder: 'e.g. 550e8400-e29b-41d4-a716-446655440000',
55
+ },
56
+ ],
57
+ };
58
+ exports.userSelect = {
59
+ displayName: 'User',
60
+ name: 'userId',
61
+ type: 'resourceLocator',
62
+ default: {
63
+ mode: 'id',
64
+ value: '',
65
+ },
66
+ required: true,
67
+ modes: [
68
+ {
69
+ displayName: 'By ID',
70
+ name: 'id',
71
+ type: 'string',
72
+ placeholder: 'e.g. 550e8400-e29b-41d4-a716-446655440000',
73
+ },
74
+ ],
75
+ };
76
+ exports.taskSelect = {
77
+ displayName: 'Task',
78
+ name: 'taskId',
79
+ type: 'resourceLocator',
80
+ default: {
81
+ mode: 'id',
82
+ value: '',
83
+ },
84
+ required: true,
85
+ modes: [
86
+ {
87
+ displayName: 'By ID',
88
+ name: 'id',
89
+ type: 'string',
90
+ placeholder: 'e.g. 550e8400-e29b-41d4-a716-446655440000',
91
+ },
92
+ ],
93
+ };
94
+ //# sourceMappingURL=descriptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"descriptions.js","sourceRoot":"","sources":["../../../../nodes/Codex/shared/descriptions.ts"],"names":[],"mappings":";;;AAEa,QAAA,aAAa,GAAoB;IAC7C,WAAW,EAAE,SAAS;IACtB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE;QACR,IAAI,EAAE,IAAI;QACV,KAAK,EAAE,EAAE;KACT;IACD,QAAQ,EAAE,IAAI;IACd,KAAK,EAAE;QACN;YACC,WAAW,EAAE,OAAO;YACpB,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,2CAA2C;SACxD;KACD;CACD,CAAC;AAEW,QAAA,YAAY,GAAoB;IAC5C,WAAW,EAAE,QAAQ;IACrB,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE;QACR,IAAI,EAAE,IAAI;QACV,KAAK,EAAE,EAAE;KACT;IACD,QAAQ,EAAE,IAAI;IACd,KAAK,EAAE;QACN;YACC,WAAW,EAAE,OAAO;YACpB,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,2CAA2C;SACxD;KACD;CACD,CAAC;AAEW,QAAA,UAAU,GAAoB;IAC1C,WAAW,EAAE,MAAM;IACnB,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE;QACR,IAAI,EAAE,IAAI;QACV,KAAK,EAAE,EAAE;KACT;IACD,QAAQ,EAAE,IAAI;IACd,KAAK,EAAE;QACN;YACC,WAAW,EAAE,OAAO;YACpB,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,2CAA2C;SACxD;KACD;CACD,CAAC;AAEW,QAAA,UAAU,GAAoB;IAC1C,WAAW,EAAE,MAAM;IACnB,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE;QACR,IAAI,EAAE,IAAI;QACV,KAAK,EAAE,EAAE;KACT;IACD,QAAQ,EAAE,IAAI;IACd,KAAK,EAAE;QACN;YACC,WAAW,EAAE,OAAO;YACpB,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,2CAA2C;SACxD;KACD;CACD,CAAC;AAEW,QAAA,UAAU,GAAoB;IAC1C,WAAW,EAAE,MAAM;IACnB,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE;QACR,IAAI,EAAE,IAAI;QACV,KAAK,EAAE,EAAE;KACT;IACD,QAAQ,EAAE,IAAI;IACd,KAAK,EAAE;QACN;YACC,WAAW,EAAE,OAAO;YACpB,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,2CAA2C;SACxD;KACD;CACD,CAAC"}
@@ -0,0 +1,60 @@
1
+ {
2
+ "name": "n8n-nodes-codex",
3
+ "version": "1.0.0",
4
+ "description": "Codex digital library node for n8n",
5
+ "license": "MIT",
6
+ "homepage": "",
7
+ "keywords": [
8
+ "n8n-community-node-package",
9
+ "codex",
10
+ "digital-library",
11
+ "comics",
12
+ "manga",
13
+ "ebooks"
14
+ ],
15
+ "author": {
16
+ "name": "Sylvain Cau",
17
+ "email": "ashdevfr@gmail.com"
18
+ },
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "https://github.com/AshDevFr/n8n-nodes-codex.git"
22
+ },
23
+ "scripts": {
24
+ "build": "n8n-node build",
25
+ "build:watch": "tsc --watch",
26
+ "dev": "n8n-node dev",
27
+ "docker:up": "docker compose up -d",
28
+ "docker:up:watch": "docker compose watch",
29
+ "docker:down": "docker compose down",
30
+ "docker:logs": "docker compose logs -f",
31
+ "lint": "n8n-node lint",
32
+ "lint:fix": "n8n-node lint --fix",
33
+ "release": "n8n-node release",
34
+ "prepublishOnly": "n8n-node prerelease"
35
+ },
36
+ "files": [
37
+ "dist"
38
+ ],
39
+ "n8n": {
40
+ "n8nNodesApiVersion": 1,
41
+ "strict": true,
42
+ "credentials": [
43
+ "dist/credentials/CodexApi.credentials.js"
44
+ ],
45
+ "nodes": [
46
+ "dist/nodes/Codex/Codex.node.js"
47
+ ]
48
+ },
49
+ "devDependencies": {
50
+ "@n8n/node-cli": "*",
51
+ "@types/node": "^24.10.2",
52
+ "eslint": "9.32.0",
53
+ "prettier": "3.6.2",
54
+ "release-it": "^19.0.4",
55
+ "typescript": "5.9.2"
56
+ },
57
+ "peerDependencies": {
58
+ "n8n-workflow": "*"
59
+ }
60
+ }