n8n-nodes-codex 1.0.0 → 1.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/dist/nodes/Codex/Codex.node.js +13 -0
- package/dist/nodes/Codex/Codex.node.js.map +1 -1
- package/dist/nodes/Codex/resources/admin/index.js +135 -0
- package/dist/nodes/Codex/resources/admin/index.js.map +1 -1
- package/dist/nodes/Codex/resources/apiKey/index.js +103 -16
- package/dist/nodes/Codex/resources/apiKey/index.js.map +1 -1
- package/dist/nodes/Codex/resources/book/index.js +52 -2
- package/dist/nodes/Codex/resources/book/index.js.map +1 -1
- package/dist/nodes/Codex/resources/book/list.js +273 -28
- package/dist/nodes/Codex/resources/book/list.js.map +1 -1
- package/dist/nodes/Codex/resources/book/updateMetadata.js +1 -1
- package/dist/nodes/Codex/resources/book/updateMetadata.js.map +1 -1
- package/dist/nodes/Codex/resources/duplicate/index.js +3 -3
- package/dist/nodes/Codex/resources/duplicate/index.js.map +1 -1
- package/dist/nodes/Codex/resources/genre/index.js +74 -0
- package/dist/nodes/Codex/resources/genre/index.js.map +1 -1
- package/dist/nodes/Codex/resources/library/create.js +1 -1
- package/dist/nodes/Codex/resources/library/create.js.map +1 -1
- package/dist/nodes/Codex/resources/library/index.js +190 -0
- package/dist/nodes/Codex/resources/library/index.js.map +1 -1
- package/dist/nodes/Codex/resources/library/update.js +1 -1
- package/dist/nodes/Codex/resources/library/update.js.map +1 -1
- package/dist/nodes/Codex/resources/metric/index.js +3 -3
- package/dist/nodes/Codex/resources/metric/index.js.map +1 -1
- package/dist/nodes/Codex/resources/misc/index.js +5 -5
- package/dist/nodes/Codex/resources/misc/index.js.map +1 -1
- package/dist/nodes/Codex/resources/series/index.js +51 -13
- package/dist/nodes/Codex/resources/series/index.js.map +1 -1
- package/dist/nodes/Codex/resources/series/list.js +408 -39
- package/dist/nodes/Codex/resources/series/list.js.map +1 -1
- package/dist/nodes/Codex/resources/series/updateMetadata.js +1 -1
- package/dist/nodes/Codex/resources/series/updateMetadata.js.map +1 -1
- package/dist/nodes/Codex/resources/tag/index.js +74 -0
- package/dist/nodes/Codex/resources/tag/index.js.map +1 -1
- package/dist/nodes/Codex/resources/task/index.js +2 -2
- package/dist/nodes/Codex/resources/task/index.js.map +1 -1
- package/dist/nodes/Codex/resources/user/index.js +228 -48
- package/dist/nodes/Codex/resources/user/index.js.map +1 -1
- package/dist/nodes/Codex/resources/userPreference/index.js +1 -1
- package/dist/nodes/Codex/resources/userPreference/index.js.map +1 -1
- package/dist/nodes/Codex/shared/pagination.d.ts +9 -0
- package/dist/nodes/Codex/shared/pagination.js +125 -0
- package/dist/nodes/Codex/shared/pagination.js.map +1 -0
- package/dist/nodes/Codex/shared/utils.d.ts +9 -0
- package/dist/nodes/Codex/shared/utils.js +249 -0
- package/dist/nodes/Codex/shared/utils.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,34 +1,217 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.seriesListDescription = void 0;
|
|
4
|
+
const utils_1 = require("../../shared/utils");
|
|
4
5
|
const showOnlyForSeriesList = {
|
|
5
6
|
operation: ['list'],
|
|
6
7
|
resource: ['series'],
|
|
7
8
|
};
|
|
8
9
|
exports.seriesListDescription = [
|
|
10
|
+
{
|
|
11
|
+
displayName: 'Condition Operator',
|
|
12
|
+
name: 'conditionOperator',
|
|
13
|
+
type: 'options',
|
|
14
|
+
displayOptions: {
|
|
15
|
+
show: showOnlyForSeriesList,
|
|
16
|
+
},
|
|
17
|
+
options: [
|
|
18
|
+
{
|
|
19
|
+
name: 'All Of (AND)',
|
|
20
|
+
value: 'allOf',
|
|
21
|
+
description: 'All conditions must match',
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
name: 'Any Of (OR)',
|
|
25
|
+
value: 'anyOf',
|
|
26
|
+
description: 'At least one condition must match',
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
default: 'allOf',
|
|
30
|
+
description: 'How to combine multiple filter conditions',
|
|
31
|
+
hint: 'Use "All Of" when you want results matching ALL filters, or "Any Of" when results can match ANY filter',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
displayName: 'Return All',
|
|
35
|
+
name: 'returnAll',
|
|
36
|
+
type: 'boolean',
|
|
37
|
+
displayOptions: {
|
|
38
|
+
show: showOnlyForSeriesList,
|
|
39
|
+
},
|
|
40
|
+
default: false,
|
|
41
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
displayName: 'Limit',
|
|
45
|
+
name: 'limit',
|
|
46
|
+
type: 'number',
|
|
47
|
+
displayOptions: {
|
|
48
|
+
show: {
|
|
49
|
+
...showOnlyForSeriesList,
|
|
50
|
+
returnAll: [false],
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
typeOptions: {
|
|
54
|
+
minValue: 1,
|
|
55
|
+
maxValue: 500,
|
|
56
|
+
},
|
|
57
|
+
default: 50,
|
|
58
|
+
routing: {
|
|
59
|
+
output: {
|
|
60
|
+
maxResults: '={{$value}}',
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
description: 'Max number of results to return',
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
displayName: 'Page Size',
|
|
67
|
+
name: 'pageSize',
|
|
68
|
+
type: 'number',
|
|
69
|
+
displayOptions: {
|
|
70
|
+
show: {
|
|
71
|
+
...showOnlyForSeriesList,
|
|
72
|
+
returnAll: [true],
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
typeOptions: {
|
|
76
|
+
minValue: 1,
|
|
77
|
+
maxValue: 500,
|
|
78
|
+
},
|
|
79
|
+
default: 100,
|
|
80
|
+
description: 'Number of items to fetch per page when retrieving all results',
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
displayName: 'Sort',
|
|
84
|
+
name: 'sort',
|
|
85
|
+
type: 'string',
|
|
86
|
+
displayOptions: {
|
|
87
|
+
show: showOnlyForSeriesList,
|
|
88
|
+
},
|
|
89
|
+
default: '',
|
|
90
|
+
description: "Sort parameter (format: 'field,direction')",
|
|
91
|
+
placeholder: 'e.g. name,asc',
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
displayName: 'Full Text Search',
|
|
95
|
+
name: 'fullTextSearch',
|
|
96
|
+
type: 'string',
|
|
97
|
+
displayOptions: {
|
|
98
|
+
show: showOnlyForSeriesList,
|
|
99
|
+
},
|
|
100
|
+
default: '',
|
|
101
|
+
description: 'Full text search term',
|
|
102
|
+
},
|
|
9
103
|
{
|
|
10
104
|
displayName: 'Filters',
|
|
11
105
|
name: 'filters',
|
|
12
106
|
type: 'collection',
|
|
13
|
-
|
|
14
|
-
|
|
107
|
+
typeOptions: {
|
|
108
|
+
multipleValueButtonText: 'Add Filter',
|
|
109
|
+
},
|
|
15
110
|
displayOptions: {
|
|
16
111
|
show: showOnlyForSeriesList,
|
|
17
112
|
},
|
|
113
|
+
default: {},
|
|
18
114
|
options: [
|
|
19
115
|
{
|
|
20
|
-
displayName: '
|
|
21
|
-
name: '
|
|
116
|
+
displayName: 'Genre',
|
|
117
|
+
name: 'genre',
|
|
22
118
|
type: 'string',
|
|
23
119
|
default: '',
|
|
24
|
-
description: 'Filter by
|
|
120
|
+
description: 'Filter by genre (comma-separated for multiple values)',
|
|
25
121
|
routing: {
|
|
26
122
|
send: {
|
|
27
|
-
|
|
28
|
-
property: 'genres',
|
|
123
|
+
preSend: [(0, utils_1.buildMultiValueCondition)('genre')],
|
|
29
124
|
},
|
|
30
125
|
},
|
|
31
126
|
},
|
|
127
|
+
{
|
|
128
|
+
displayName: 'Genre Multi Operator',
|
|
129
|
+
name: 'genreMultiOperator',
|
|
130
|
+
type: 'options',
|
|
131
|
+
options: [
|
|
132
|
+
{
|
|
133
|
+
name: 'Any Of (OR)',
|
|
134
|
+
value: 'anyOf',
|
|
135
|
+
description: 'Match any value',
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
name: 'All Of (AND)',
|
|
139
|
+
value: 'allOf',
|
|
140
|
+
description: 'Match all values',
|
|
141
|
+
},
|
|
142
|
+
],
|
|
143
|
+
default: 'anyOf',
|
|
144
|
+
description: 'How to combine multiple comma-separated values',
|
|
145
|
+
hint: 'Only applies when using comma-separated values',
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
displayName: 'Genre Operator',
|
|
149
|
+
name: 'genreOperator',
|
|
150
|
+
type: 'options',
|
|
151
|
+
options: [
|
|
152
|
+
{
|
|
153
|
+
name: 'Is',
|
|
154
|
+
value: 'is',
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
name: 'Is Not',
|
|
158
|
+
value: 'isNot',
|
|
159
|
+
},
|
|
160
|
+
],
|
|
161
|
+
default: 'is',
|
|
162
|
+
description: 'Operator to use for genre filter',
|
|
163
|
+
hint: 'Applied to each value when using comma-separated values',
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
displayName: 'Language',
|
|
167
|
+
name: 'language',
|
|
168
|
+
type: 'string',
|
|
169
|
+
default: '',
|
|
170
|
+
description: 'Filter by language (comma-separated for multiple values)',
|
|
171
|
+
routing: {
|
|
172
|
+
send: {
|
|
173
|
+
preSend: [(0, utils_1.buildMultiValueCondition)('language')],
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
displayName: 'Language Multi Operator',
|
|
179
|
+
name: 'languageMultiOperator',
|
|
180
|
+
type: 'options',
|
|
181
|
+
options: [
|
|
182
|
+
{
|
|
183
|
+
name: 'Any Of (OR)',
|
|
184
|
+
value: 'anyOf',
|
|
185
|
+
description: 'Match any value',
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
name: 'All Of (AND)',
|
|
189
|
+
value: 'allOf',
|
|
190
|
+
description: 'Match all values',
|
|
191
|
+
},
|
|
192
|
+
],
|
|
193
|
+
default: 'anyOf',
|
|
194
|
+
description: 'How to combine multiple comma-separated values',
|
|
195
|
+
hint: 'Only applies when using comma-separated values',
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
displayName: 'Language Operator',
|
|
199
|
+
name: 'languageOperator',
|
|
200
|
+
type: 'options',
|
|
201
|
+
options: [
|
|
202
|
+
{
|
|
203
|
+
name: 'Is',
|
|
204
|
+
value: 'is',
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
name: 'Is Not',
|
|
208
|
+
value: 'isNot',
|
|
209
|
+
},
|
|
210
|
+
],
|
|
211
|
+
default: 'is',
|
|
212
|
+
description: 'Operator to use for language filter',
|
|
213
|
+
hint: 'Applied to each value when using comma-separated values',
|
|
214
|
+
},
|
|
32
215
|
{
|
|
33
216
|
displayName: 'Library ID',
|
|
34
217
|
name: 'libraryId',
|
|
@@ -37,68 +220,254 @@ exports.seriesListDescription = [
|
|
|
37
220
|
description: 'Filter by library ID',
|
|
38
221
|
routing: {
|
|
39
222
|
send: {
|
|
40
|
-
|
|
41
|
-
property: 'library_id',
|
|
223
|
+
preSend: [(0, utils_1.buildUuidCondition)('libraryId')],
|
|
42
224
|
},
|
|
43
225
|
},
|
|
44
226
|
},
|
|
45
227
|
{
|
|
46
|
-
displayName: '
|
|
47
|
-
name: '
|
|
48
|
-
type: '
|
|
49
|
-
|
|
50
|
-
|
|
228
|
+
displayName: 'Library ID Operator',
|
|
229
|
+
name: 'libraryIdOperator',
|
|
230
|
+
type: 'options',
|
|
231
|
+
options: [
|
|
232
|
+
{
|
|
233
|
+
name: 'Is',
|
|
234
|
+
value: 'is',
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
name: 'Is Not',
|
|
238
|
+
value: 'isNot',
|
|
239
|
+
},
|
|
240
|
+
],
|
|
241
|
+
default: 'is',
|
|
242
|
+
description: 'Operator to use for library ID filter',
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
displayName: 'Name',
|
|
246
|
+
name: 'name',
|
|
247
|
+
type: 'string',
|
|
248
|
+
default: '',
|
|
249
|
+
description: 'Filter by series name/title',
|
|
250
|
+
routing: {
|
|
251
|
+
send: {
|
|
252
|
+
preSend: [(0, utils_1.buildStringCondition)('name')],
|
|
253
|
+
},
|
|
51
254
|
},
|
|
52
|
-
|
|
53
|
-
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
displayName: 'Publisher',
|
|
258
|
+
name: 'publisher',
|
|
259
|
+
type: 'string',
|
|
260
|
+
default: '',
|
|
261
|
+
description: 'Filter by publisher (comma-separated for multiple values)',
|
|
262
|
+
routing: {
|
|
263
|
+
send: {
|
|
264
|
+
preSend: [(0, utils_1.buildMultiValueCondition)('publisher')],
|
|
265
|
+
},
|
|
266
|
+
},
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
displayName: 'Publisher Multi Operator',
|
|
270
|
+
name: 'publisherMultiOperator',
|
|
271
|
+
type: 'options',
|
|
272
|
+
options: [
|
|
273
|
+
{
|
|
274
|
+
name: 'Any Of (OR)',
|
|
275
|
+
value: 'anyOf',
|
|
276
|
+
description: 'Match any value',
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
name: 'All Of (AND)',
|
|
280
|
+
value: 'allOf',
|
|
281
|
+
description: 'Match all values',
|
|
282
|
+
},
|
|
283
|
+
],
|
|
284
|
+
default: 'anyOf',
|
|
285
|
+
description: 'How to combine multiple comma-separated values',
|
|
286
|
+
hint: 'Only applies when using comma-separated values',
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
displayName: 'Publisher Operator',
|
|
290
|
+
name: 'publisherOperator',
|
|
291
|
+
type: 'options',
|
|
292
|
+
options: [
|
|
293
|
+
{
|
|
294
|
+
name: 'Is',
|
|
295
|
+
value: 'is',
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
name: 'Is Not',
|
|
299
|
+
value: 'isNot',
|
|
300
|
+
},
|
|
301
|
+
],
|
|
302
|
+
default: 'is',
|
|
303
|
+
description: 'Operator to use for publisher filter',
|
|
304
|
+
hint: 'Applied to each value when using comma-separated values',
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
displayName: 'Read Status',
|
|
308
|
+
name: 'readStatus',
|
|
309
|
+
type: 'options',
|
|
310
|
+
options: [
|
|
311
|
+
{
|
|
312
|
+
name: 'Unread',
|
|
313
|
+
value: 'unread',
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
name: 'Read',
|
|
317
|
+
value: 'read',
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
name: 'In Progress',
|
|
321
|
+
value: 'in_progress',
|
|
322
|
+
},
|
|
323
|
+
],
|
|
324
|
+
default: 'unread',
|
|
325
|
+
description: 'Filter by read status',
|
|
54
326
|
routing: {
|
|
55
327
|
send: {
|
|
56
|
-
|
|
57
|
-
property: 'page',
|
|
328
|
+
preSend: [(0, utils_1.buildEnumCondition)('readStatus')],
|
|
58
329
|
},
|
|
59
330
|
},
|
|
60
331
|
},
|
|
61
332
|
{
|
|
62
|
-
displayName: '
|
|
63
|
-
name: '
|
|
64
|
-
type: '
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
333
|
+
displayName: 'Sharing Tag',
|
|
334
|
+
name: 'sharingTag',
|
|
335
|
+
type: 'string',
|
|
336
|
+
default: '',
|
|
337
|
+
description: 'Filter by sharing tag (comma-separated for multiple values)',
|
|
338
|
+
routing: {
|
|
339
|
+
send: {
|
|
340
|
+
preSend: [(0, utils_1.buildMultiValueCondition)('sharingTag')],
|
|
341
|
+
},
|
|
68
342
|
},
|
|
69
|
-
|
|
70
|
-
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
displayName: 'Sharing Tag Multi Operator',
|
|
346
|
+
name: 'sharingTagMultiOperator',
|
|
347
|
+
type: 'options',
|
|
348
|
+
options: [
|
|
349
|
+
{
|
|
350
|
+
name: 'Any Of (OR)',
|
|
351
|
+
value: 'anyOf',
|
|
352
|
+
description: 'Match any value',
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
name: 'All Of (AND)',
|
|
356
|
+
value: 'allOf',
|
|
357
|
+
description: 'Match all values',
|
|
358
|
+
},
|
|
359
|
+
],
|
|
360
|
+
default: 'anyOf',
|
|
361
|
+
description: 'How to combine multiple comma-separated values',
|
|
362
|
+
hint: 'Only applies when using comma-separated values',
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
displayName: 'Sharing Tag Operator',
|
|
366
|
+
name: 'sharingTagOperator',
|
|
367
|
+
type: 'options',
|
|
368
|
+
options: [
|
|
369
|
+
{
|
|
370
|
+
name: 'Is',
|
|
371
|
+
value: 'is',
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
name: 'Is Not',
|
|
375
|
+
value: 'isNot',
|
|
376
|
+
},
|
|
377
|
+
],
|
|
378
|
+
default: 'is',
|
|
379
|
+
description: 'Operator to use for sharing tag filter',
|
|
380
|
+
hint: 'Applied to each value when using comma-separated values',
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
displayName: 'Status',
|
|
384
|
+
name: 'status',
|
|
385
|
+
type: 'options',
|
|
386
|
+
options: [
|
|
387
|
+
{
|
|
388
|
+
name: 'Ended',
|
|
389
|
+
value: 'ended',
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
name: 'Ongoing',
|
|
393
|
+
value: 'ongoing',
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
name: 'Abandoned',
|
|
397
|
+
value: 'abandoned',
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
name: 'Hiatus',
|
|
401
|
+
value: 'hiatus',
|
|
402
|
+
},
|
|
403
|
+
],
|
|
404
|
+
default: 'ongoing',
|
|
405
|
+
description: 'Filter by series status',
|
|
71
406
|
routing: {
|
|
72
407
|
send: {
|
|
73
|
-
|
|
74
|
-
property: 'page_size',
|
|
408
|
+
preSend: [(0, utils_1.buildEnumCondition)('status')],
|
|
75
409
|
},
|
|
76
410
|
},
|
|
77
411
|
},
|
|
78
412
|
{
|
|
79
|
-
displayName: '
|
|
80
|
-
name: '
|
|
413
|
+
displayName: 'Tag',
|
|
414
|
+
name: 'tag',
|
|
81
415
|
type: 'string',
|
|
82
416
|
default: '',
|
|
83
|
-
description:
|
|
84
|
-
placeholder: 'e.g. name,asc',
|
|
417
|
+
description: 'Filter by tag (comma-separated for multiple values)',
|
|
85
418
|
routing: {
|
|
86
419
|
send: {
|
|
87
|
-
|
|
88
|
-
property: 'sort',
|
|
420
|
+
preSend: [(0, utils_1.buildMultiValueCondition)('tag')],
|
|
89
421
|
},
|
|
90
422
|
},
|
|
91
423
|
},
|
|
92
424
|
{
|
|
93
|
-
displayName: '
|
|
94
|
-
name: '
|
|
425
|
+
displayName: 'Tag Multi Operator',
|
|
426
|
+
name: 'tagMultiOperator',
|
|
427
|
+
type: 'options',
|
|
428
|
+
options: [
|
|
429
|
+
{
|
|
430
|
+
name: 'Any Of (OR)',
|
|
431
|
+
value: 'anyOf',
|
|
432
|
+
description: 'Match any value',
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
name: 'All Of (AND)',
|
|
436
|
+
value: 'allOf',
|
|
437
|
+
description: 'Match all values',
|
|
438
|
+
},
|
|
439
|
+
],
|
|
440
|
+
default: 'anyOf',
|
|
441
|
+
description: 'How to combine multiple comma-separated values',
|
|
442
|
+
hint: 'Only applies when using comma-separated values',
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
displayName: 'Tag Operator',
|
|
446
|
+
name: 'tagOperator',
|
|
447
|
+
type: 'options',
|
|
448
|
+
options: [
|
|
449
|
+
{
|
|
450
|
+
name: 'Is',
|
|
451
|
+
value: 'is',
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
name: 'Is Not',
|
|
455
|
+
value: 'isNot',
|
|
456
|
+
},
|
|
457
|
+
],
|
|
458
|
+
default: 'is',
|
|
459
|
+
description: 'Operator to use for tag filter',
|
|
460
|
+
hint: 'Applied to each value when using comma-separated values',
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
displayName: 'Title Sort',
|
|
464
|
+
name: 'titleSort',
|
|
95
465
|
type: 'string',
|
|
96
466
|
default: '',
|
|
97
|
-
description: 'Filter by
|
|
467
|
+
description: 'Filter by title sort field (used for alphabetical filtering)',
|
|
98
468
|
routing: {
|
|
99
469
|
send: {
|
|
100
|
-
|
|
101
|
-
property: 'tags',
|
|
470
|
+
preSend: [(0, utils_1.buildStringCondition)('titleSort')],
|
|
102
471
|
},
|
|
103
472
|
},
|
|
104
473
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../../nodes/Codex/resources/series/list.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../../nodes/Codex/resources/series/list.ts"],"names":[],"mappings":";;;AACA,8CAK4B;AAE5B,MAAM,qBAAqB,GAAG;IAC7B,SAAS,EAAE,CAAC,MAAM,CAAC;IACnB,QAAQ,EAAE,CAAC,QAAQ,CAAC;CACpB,CAAC;AAEW,QAAA,qBAAqB,GAAsB;IACvD;QACC,WAAW,EAAE,oBAAoB;QACjC,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE;YACf,IAAI,EAAE,qBAAqB;SAC3B;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,cAAc;gBACpB,KAAK,EAAE,OAAO;gBACd,WAAW,EAAE,2BAA2B;aACxC;YACD;gBACC,IAAI,EAAE,aAAa;gBACnB,KAAK,EAAE,OAAO;gBACd,WAAW,EAAE,mCAAmC;aAChD;SACD;QACD,OAAO,EAAE,OAAO;QAChB,WAAW,EAAE,2CAA2C;QACxD,IAAI,EAAE,wGAAwG;KAC9G;IACD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE;YACf,IAAI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E,OAAO;wBACd,WAAW,EAAE,kBAAkB;qBAC/B;iBACD;gBACD,OAAO,EAAE,OAAO;gBAChB,WAAW,EAAE,gDAAgD;gBAC7D,IAAI,EAAE,gDAAgD;aACtD;YACD;gBACC,WAAW,EAAE,cAAc;gBAC3B,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE;oBACR;wBACC,IAAI,EAAE,IAAI;wBACV,KAAK,EAAE,IAAI;qBACX;oBACD;wBACC,IAAI,EAAE,QAAQ;wBACd,KAAK,EAAE,OAAO;qBACd;iBACD;gBACD,OAAO,EAAE,IAAI;gBACb,WAAW,EAAE,gCAAgC;gBAC7C,IAAI,EAAE,yDAAyD;aAC/D;YACD;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,8DAA8D;gBAC3E,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,OAAO,EAAE,CAAC,IAAA,4BAAoB,EAAC,WAAW,CAAC,CAAC;qBAC5C;iBACD;aACD;SACD;KACD;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateMetadata.js","sourceRoot":"","sources":["../../../../../nodes/Codex/resources/series/updateMetadata.ts"],"names":[],"mappings":";;;AAEA,MAAM,+BAA+B,GAAG;IACvC,SAAS,EAAE,CAAC,gBAAgB,CAAC;IAC7B,QAAQ,EAAE,CAAC,QAAQ,CAAC;CACpB,CAAC;AAEW,QAAA,+BAA+B,GAAsB;IACjE;QACC,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,WAAW;QACxB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE,+BAA+B;SACrC;QACD,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,MAAM;wBACZ,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"updateMetadata.js","sourceRoot":"","sources":["../../../../../nodes/Codex/resources/series/updateMetadata.ts"],"names":[],"mappings":";;;AAEA,MAAM,+BAA+B,GAAG;IACvC,SAAS,EAAE,CAAC,gBAAgB,CAAC;IAC7B,QAAQ,EAAE,CAAC,QAAQ,CAAC;CACpB,CAAC;AAEW,QAAA,+BAA+B,GAAsB;IACjE;QACC,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,WAAW;QACxB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE,+BAA+B;SACrC;QACD,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,MAAM;wBACZ,QAAQ,EAAE,WAAW;qBACrB;iBACD;aACD;YACD;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,kCAAkC;gBAC/C,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,MAAM;wBACZ,QAAQ,EAAE,UAAU;qBACpB;iBACD;aACD;YACD;gBACC,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,MAAM;wBACZ,QAAQ,EAAE,WAAW;qBACrB;iBACD;aACD;YACD;gBACC,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE;oBACR;wBACC,IAAI,EAAE,SAAS;wBACf,KAAK,EAAE,SAAS;qBAChB;oBACD;wBACC,IAAI,EAAE,WAAW;wBACjB,KAAK,EAAE,WAAW;qBAClB;oBACD;wBACC,IAAI,EAAE,QAAQ;wBACd,KAAK,EAAE,QAAQ;qBACf;oBACD;wBACC,IAAI,EAAE,WAAW;wBACjB,KAAK,EAAE,WAAW;qBAClB;iBACD;gBACD,OAAO,EAAE,SAAS;gBAClB,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,MAAM;wBACZ,QAAQ,EAAE,QAAQ;qBAClB;iBACD;aACD;YACD;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,IAAI,EAAE,CAAC;iBACP;gBACD,OAAO,EAAE,EAAE;gBACX,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,MAAM;wBACZ,QAAQ,EAAE,SAAS;qBACnB;iBACD;aACD;YACD;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,MAAM;wBACZ,QAAQ,EAAE,OAAO;qBACjB;iBACD;aACD;SACD;KACD;CACD,CAAC"}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.tagDescription = void 0;
|
|
4
|
+
const pagination_1 = require("../../shared/pagination");
|
|
4
5
|
const showOnlyForTags = {
|
|
5
6
|
resource: ['tag'],
|
|
6
7
|
};
|
|
8
|
+
const showOnlyForTagList = {
|
|
9
|
+
resource: ['tag'],
|
|
10
|
+
operation: ['list'],
|
|
11
|
+
};
|
|
7
12
|
exports.tagDescription = [
|
|
8
13
|
{
|
|
9
14
|
displayName: 'Operation',
|
|
@@ -60,6 +65,9 @@ exports.tagDescription = [
|
|
|
60
65
|
method: 'GET',
|
|
61
66
|
url: '/api/v1/tags',
|
|
62
67
|
},
|
|
68
|
+
output: {
|
|
69
|
+
postReceive: [(0, pagination_1.fetchAllPagesGetRequest)('/api/v1/tags'), pagination_1.extractContent],
|
|
70
|
+
},
|
|
63
71
|
},
|
|
64
72
|
},
|
|
65
73
|
],
|
|
@@ -79,5 +87,71 @@ exports.tagDescription = [
|
|
|
79
87
|
},
|
|
80
88
|
description: 'The ID of the tag',
|
|
81
89
|
},
|
|
90
|
+
{
|
|
91
|
+
displayName: 'Return All',
|
|
92
|
+
name: 'returnAll',
|
|
93
|
+
type: 'boolean',
|
|
94
|
+
displayOptions: {
|
|
95
|
+
show: showOnlyForTagList,
|
|
96
|
+
},
|
|
97
|
+
default: false,
|
|
98
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
99
|
+
routing: {
|
|
100
|
+
send: {
|
|
101
|
+
type: 'query',
|
|
102
|
+
property: 'pageSize',
|
|
103
|
+
value: '={{ $value ? ($parameter.pageSize || 50) : undefined }}',
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
displayName: 'Limit',
|
|
109
|
+
name: 'limit',
|
|
110
|
+
type: 'number',
|
|
111
|
+
displayOptions: {
|
|
112
|
+
show: {
|
|
113
|
+
...showOnlyForTagList,
|
|
114
|
+
returnAll: [false],
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
typeOptions: {
|
|
118
|
+
minValue: 1,
|
|
119
|
+
maxValue: 500,
|
|
120
|
+
},
|
|
121
|
+
default: 50,
|
|
122
|
+
description: 'Max number of results to return',
|
|
123
|
+
routing: {
|
|
124
|
+
send: {
|
|
125
|
+
type: 'query',
|
|
126
|
+
property: 'pageSize',
|
|
127
|
+
},
|
|
128
|
+
output: {
|
|
129
|
+
maxResults: '={{$value}}',
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
displayName: 'Page Size',
|
|
135
|
+
name: 'pageSize',
|
|
136
|
+
type: 'number',
|
|
137
|
+
displayOptions: {
|
|
138
|
+
show: {
|
|
139
|
+
...showOnlyForTagList,
|
|
140
|
+
returnAll: [true],
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
typeOptions: {
|
|
144
|
+
minValue: 1,
|
|
145
|
+
maxValue: 500,
|
|
146
|
+
},
|
|
147
|
+
default: 50,
|
|
148
|
+
description: 'Number of items to fetch per page when retrieving all results',
|
|
149
|
+
routing: {
|
|
150
|
+
send: {
|
|
151
|
+
type: 'query',
|
|
152
|
+
property: 'pageSize',
|
|
153
|
+
},
|
|
154
|
+
},
|
|
155
|
+
},
|
|
82
156
|
];
|
|
83
157
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Codex/resources/tag/index.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Codex/resources/tag/index.ts"],"names":[],"mappings":";;;AACA,wDAAkF;AAElF,MAAM,eAAe,GAAG;IACvB,QAAQ,EAAE,CAAC,KAAK,CAAC;CACjB,CAAC;AAEF,MAAM,kBAAkB,GAAG;IAC1B,QAAQ,EAAE,CAAC,KAAK,CAAC;IACjB,SAAS,EAAE,CAAC,MAAM,CAAC;CACnB,CAAC;AAEW,QAAA,cAAc,GAAsB;IAChD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE,eAAe;SACrB;QACD,OAAO,EAAE;YAC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