Skip to content

Commit dcd1f38

Browse files
committed
chore: remove responseFormat, responseFields first
1 parent 9d070bb commit dcd1f38

File tree

1 file changed

+0
-58
lines changed
  • packages/backend/src/apps/pair/actions/call-pair

1 file changed

+0
-58
lines changed

packages/backend/src/apps/pair/actions/call-pair/index.ts

Lines changed: 0 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -56,64 +56,6 @@ const action: IRawAction = {
5656
],
5757
returnMarkdown: true,
5858
},
59-
{
60-
label: 'How do you want the response?',
61-
key: 'responseFormat',
62-
type: 'dropdown' as const,
63-
required: true,
64-
showOptionValue: false,
65-
options: [
66-
{ label: 'A single text response', value: 'singleField' },
67-
{
68-
label: 'Separate fields (split into multiple outputs)',
69-
value: 'multipleFields',
70-
},
71-
],
72-
},
73-
{
74-
label: 'Response fields',
75-
key: 'responseFields',
76-
type: 'multirow-multicol' as const,
77-
required: true,
78-
hiddenIf: {
79-
fieldKey: 'responseFormat',
80-
fieldValue: 'multipleFields',
81-
op: 'not_equals',
82-
},
83-
subFields: [
84-
{
85-
placeholder: 'Field name',
86-
key: 'fieldName',
87-
type: 'string' as const,
88-
required: true,
89-
variables: false,
90-
},
91-
{
92-
placeholder: 'Field type',
93-
key: 'fieldType',
94-
type: 'dropdown' as const,
95-
required: true,
96-
showOptionValue: false,
97-
options: [
98-
{ label: 'Text', value: 'text' },
99-
{ label: 'Number', value: 'number' },
100-
{ label: 'Category', value: 'category' },
101-
],
102-
},
103-
{
104-
placeholder: 'Categories (comma-separated)',
105-
key: 'fieldCategories',
106-
type: 'string' as const,
107-
variables: true,
108-
hiddenIf: {
109-
fieldKey: 'fieldType',
110-
fieldValue: 'category',
111-
op: 'not_equals',
112-
},
113-
customStyle: { flex: 3 },
114-
},
115-
],
116-
},
11759
],
11860

11961
async run($) {

0 commit comments

Comments
 (0)