MCPcopy Index your code
hub / github.com/simstudioai/sim / createDefaultInputFormatField

Function createDefaultInputFormatField

apps/sim/lib/workflows/input-format.ts:36–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34 * input-format / response-format sub-blocks and when adding rows in the editor.
35 */
36export function createDefaultInputFormatField(): InputFormatFieldState {
37 return {
38 id: generateId(),
39 name: '',
40 type: 'string',
41 value: '',
42 collapsed: false,
43 }
44}
45
46/**
47 * Whether an input-format field type denotes a file input. Matches the canonical

Callers 6

prepareBlockStateFunction · 0.90
resolveInitialValueFunction · 0.90
FieldFormatFunction · 0.90
addFieldFunction · 0.90
removeFieldFunction · 0.90

Calls 1

generateIdFunction · 0.90

Tested by

no test coverage detected