@@ -45,51 +45,6 @@ const resourceSelect: INodeProperties[] = [
45
45
} ,
46
46
] ;
47
47
48
- // TODO: consider moving this to the operation specific properties
49
- const extraProperties : INodeProperties [ ] = [
50
- {
51
- displayName : 'Use Custom Body' ,
52
- name : 'useCustomBody' ,
53
- type : 'boolean' ,
54
- description : 'Whether to use a custom body' ,
55
- // default to false since Task should use task-defined input for its Actor
56
- default : false ,
57
- displayOptions : {
58
- show : {
59
- resource : [ 'Actor tasks' ] ,
60
- operation : [ 'Run task' ] ,
61
- } ,
62
- } ,
63
- } ,
64
- {
65
- displayName : 'Override Default Input' ,
66
- name : 'customBody' ,
67
- type : 'json' ,
68
- default : '{}' ,
69
- description : 'Override default input for the Actor' ,
70
- displayOptions : {
71
- show : {
72
- resource : [ 'Actors' ] ,
73
- operation : [ 'Run actor' ] ,
74
- } ,
75
- } ,
76
- } ,
77
- {
78
- displayName : 'Input (JSON)' ,
79
- name : 'customBody' ,
80
- type : 'json' ,
81
- default : '{}' ,
82
- description : 'Custom body to send' ,
83
- displayOptions : {
84
- show : {
85
- useCustomBody : [ true ] ,
86
- resource : [ 'Actor tasks' ] ,
87
- operation : [ 'Run task' ] ,
88
- } ,
89
- } ,
90
- } ,
91
- ] ;
92
-
93
48
const rawProperties : INodeProperties [ ] = [
94
49
...authenticationProperties ,
95
50
...resourceSelect ,
@@ -98,7 +53,6 @@ const rawProperties: INodeProperties[] = [
98
53
...actorRuns . properties ,
99
54
...datasets . properties ,
100
55
...keyValueStores . properties ,
101
- ...extraProperties ,
102
56
] ;
103
57
104
58
const { properties, methods : selfMethods } = runHooks ( rawProperties ) ;
0 commit comments