n8n-nodes-runrunit 0.3.46 → 0.3.48
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.
|
@@ -6,6 +6,14 @@ const showOnlyForTasks = {
|
|
|
6
6
|
operation: ['getAll'],
|
|
7
7
|
};
|
|
8
8
|
exports.taskGetManyDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Return All',
|
|
11
|
+
name: 'returnAll',
|
|
12
|
+
type: 'boolean',
|
|
13
|
+
displayOptions: { show: { resource: ['task'] } },
|
|
14
|
+
default: false,
|
|
15
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
16
|
+
},
|
|
9
17
|
{
|
|
10
18
|
displayName: 'Limit',
|
|
11
19
|
name: 'limit',
|
|
@@ -20,12 +28,17 @@ exports.taskGetManyDescription = [
|
|
|
20
28
|
description: 'Max number of results to return',
|
|
21
29
|
},
|
|
22
30
|
{
|
|
23
|
-
displayName: '
|
|
24
|
-
name: '
|
|
25
|
-
type: '
|
|
26
|
-
displayOptions: {
|
|
27
|
-
|
|
28
|
-
|
|
31
|
+
displayName: 'Page',
|
|
32
|
+
name: 'page',
|
|
33
|
+
type: 'number',
|
|
34
|
+
displayOptions: {
|
|
35
|
+
show: {
|
|
36
|
+
...showOnlyForTasks,
|
|
37
|
+
returnAll: [false],
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
default: 1,
|
|
41
|
+
description: 'Page number for pagination',
|
|
29
42
|
},
|
|
30
43
|
{
|
|
31
44
|
displayName: 'Search Term',
|
|
@@ -39,18 +52,31 @@ exports.taskGetManyDescription = [
|
|
|
39
52
|
displayName: 'Project ID',
|
|
40
53
|
name: 'project_id',
|
|
41
54
|
type: 'number',
|
|
42
|
-
default: 0,
|
|
43
55
|
displayOptions: { show: showOnlyForTasks },
|
|
44
|
-
|
|
56
|
+
default: 0,
|
|
57
|
+
description: 'Filter by project id (0 = ignore)',
|
|
45
58
|
},
|
|
46
59
|
{
|
|
47
60
|
displayName: 'Responsible ID',
|
|
48
61
|
name: 'responsible_id',
|
|
49
62
|
type: 'string',
|
|
50
|
-
default: '',
|
|
51
63
|
displayOptions: { show: showOnlyForTasks },
|
|
64
|
+
default: '',
|
|
52
65
|
description: 'Filter by responsible user id',
|
|
53
66
|
},
|
|
67
|
+
{
|
|
68
|
+
displayName: 'Is Closed',
|
|
69
|
+
name: 'is_closed',
|
|
70
|
+
type: 'options',
|
|
71
|
+
default: 'all',
|
|
72
|
+
displayOptions: { show: showOnlyForTasks },
|
|
73
|
+
options: [
|
|
74
|
+
{ name: 'All', value: 'all' },
|
|
75
|
+
{ name: 'Open', value: 'false' },
|
|
76
|
+
{ name: 'Closed', value: 'true' },
|
|
77
|
+
],
|
|
78
|
+
description: 'Filter by task status',
|
|
79
|
+
},
|
|
54
80
|
{
|
|
55
81
|
displayName: 'Filter Options',
|
|
56
82
|
name: 'options',
|
|
@@ -59,8 +85,20 @@ exports.taskGetManyDescription = [
|
|
|
59
85
|
default: { ignoreCase: true, looseTypeValidation: true },
|
|
60
86
|
displayOptions: { show: showOnlyForTasks },
|
|
61
87
|
options: [
|
|
62
|
-
{
|
|
63
|
-
|
|
88
|
+
{
|
|
89
|
+
displayName: 'Ignore Case',
|
|
90
|
+
name: 'ignoreCase',
|
|
91
|
+
type: 'boolean',
|
|
92
|
+
default: true,
|
|
93
|
+
description: 'Whether comparisons should be case-insensitive',
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
displayName: 'Loose Type Validation',
|
|
97
|
+
name: 'looseTypeValidation',
|
|
98
|
+
type: 'boolean',
|
|
99
|
+
default: true,
|
|
100
|
+
description: 'Allow loose type conversion (e.g. string "123" == number 123)',
|
|
101
|
+
},
|
|
64
102
|
],
|
|
65
103
|
},
|
|
66
104
|
{
|
|
@@ -72,8 +110,8 @@ exports.taskGetManyDescription = [
|
|
|
72
110
|
displayOptions: { show: showOnlyForTasks },
|
|
73
111
|
typeOptions: {
|
|
74
112
|
filter: {
|
|
75
|
-
caseSensitive: '={{!$parameter
|
|
76
|
-
typeValidation: '={{$parameter
|
|
113
|
+
caseSensitive: '={{ !$parameter["options"]["ignoreCase"] }}',
|
|
114
|
+
typeValidation: '={{ $parameter["options"]["looseTypeValidation"] ? "loose" : "strict" }}',
|
|
77
115
|
fields: [
|
|
78
116
|
{ displayName: 'Task ID', name: 'id', type: 'number' },
|
|
79
117
|
{ displayName: 'Title', name: 'title', type: 'string' },
|
|
@@ -88,31 +126,5 @@ exports.taskGetManyDescription = [
|
|
|
88
126
|
},
|
|
89
127
|
description: 'Post-filter the returned tasks using the Conditions UI',
|
|
90
128
|
},
|
|
91
|
-
{
|
|
92
|
-
displayName: 'Is Closed',
|
|
93
|
-
name: 'is_closed',
|
|
94
|
-
type: 'options',
|
|
95
|
-
default: 'all',
|
|
96
|
-
options: [
|
|
97
|
-
{ name: 'All', value: 'all' },
|
|
98
|
-
{ name: 'Open', value: 'false' },
|
|
99
|
-
{ name: 'Closed', value: 'true' },
|
|
100
|
-
],
|
|
101
|
-
displayOptions: { show: showOnlyForTasks },
|
|
102
|
-
description: 'Filter by closed/open/all tasks',
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
displayName: 'Page',
|
|
106
|
-
name: 'page',
|
|
107
|
-
type: 'number',
|
|
108
|
-
displayOptions: {
|
|
109
|
-
show: {
|
|
110
|
-
...showOnlyForTasks,
|
|
111
|
-
returnAll: [false],
|
|
112
|
-
},
|
|
113
|
-
},
|
|
114
|
-
default: 1,
|
|
115
|
-
description: 'Page number for pagination (1-based)',
|
|
116
|
-
},
|
|
117
129
|
];
|
|
118
130
|
//# sourceMappingURL=getAll.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAll.js","sourceRoot":"","sources":["../../../../../nodes/Runrunit/resources/task/getAll.ts"],"names":[],"mappings":";;;AAEA,MAAM,gBAAgB,GAAG;IACrB,QAAQ,EAAE,CAAC,MAAM,CAAC;IAClB,SAAS,EAAE,CAAC,QAAQ,CAAC;CACxB,CAAC;AAEW,QAAA,sBAAsB,GAAsB;
|
|
1
|
+
{"version":3,"file":"getAll.js","sourceRoot":"","sources":["../../../../../nodes/Runrunit/resources/task/getAll.ts"],"names":[],"mappings":";;;AAEA,MAAM,gBAAgB,GAAG;IACrB,QAAQ,EAAE,CAAC,MAAM,CAAC;IAClB,SAAS,EAAE,CAAC,QAAQ,CAAC;CACxB,CAAC;AAEW,QAAA,sBAAsB,GAAsB;IAErD;QACI,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QAEf,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE;QAChD,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,2DAA2D;KAC3E;IACD;QACI,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,GAAG,gBAAgB;gBACnB,SAAS,EAAE,CAAC,KAAK,CAAC;aACrB;SACJ;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,iCAAiC;KACjD;IACD;QACI,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,GAAG,gBAAgB;gBACnB,SAAS,EAAE,CAAC,KAAK,CAAC;aACrB;SACJ;QACD,OAAO,EAAE,CAAC;QACV,WAAW,EAAE,4BAA4B;KAC5C;IACD;QACI,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;QAC1C,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,6BAA6B;KAC7C;IACD;QACI,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,YAAY;QAClB,IA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