Skip to content

Commit 39b276b

Browse files
waleedlatif1claude
andcommitted
chore(jsm): remove unused FORM_QUESTION_PROPERTIES constant
Dead code — the get_form_structure tool passes the raw design object through as JSON, so this output constant had no consumers. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6ec5cab commit 39b276b

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

apps/sim/tools/jsm/types.ts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -222,26 +222,6 @@ export const REQUEST_TYPE_FIELD_PROPERTIES = {
222222
},
223223
} as const
224224

225-
/** Output properties for a FormQuestion per OpenAPI spec */
226-
export const FORM_QUESTION_PROPERTIES = {
227-
label: { type: 'string', description: 'Question label' },
228-
type: {
229-
type: 'string',
230-
description:
231-
'Question type: ts=short text, tl=long text, cd=dropdown, cl=multiselect, cm=checkboxes, cs=radio, da=date, dt=date-time, no=number, at=attachment, us=single user, um=multi user, te=email, tu=URL, ti=time, rt=paragraph, ob=assets',
232-
},
233-
validation: { type: 'json', description: 'Validation rules (rq=required)' },
234-
choices: { type: 'json', description: 'Available choices for select questions', optional: true },
235-
description: { type: 'string', description: 'Help text for the question', optional: true },
236-
jiraField: {
237-
type: 'string',
238-
description: 'Linked Jira field ID (e.g., summary, customfield_10010)',
239-
optional: true,
240-
},
241-
questionKey: { type: 'string', description: 'Question key identifier', optional: true },
242-
defaultAnswer: { type: 'json', description: 'Default answer value', optional: true },
243-
} as const
244-
245225
/** Output properties for a FormTemplateIndexEntry (list endpoint) per OpenAPI spec */
246226
export const FORM_TEMPLATE_PROPERTIES = {
247227
id: { type: 'string', description: 'Form template ID (UUID)' },

0 commit comments

Comments
 (0)