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

Function assertNoReservedInputFormatFields

apps/sim/executor/utils/start-block.ts:188–201  ·  view source on GitHub ↗
(
  inputFormat: InputFormatField[],
  block: SerializedBlock
)

Source from the content-addressed store, hash-verified

186}
187
188function assertNoReservedInputFormatFields(
189 inputFormat: InputFormatField[],
190 block: SerializedBlock
191): void {
192 const reservedFieldNames = collectExecutionControlFieldNames(
193 inputFormat.map(readInputFormatFieldName)
194 )
195
196 if (reservedFieldNames.length === 0) {
197 return
198 }
199
200 throwReservedStartOutputFieldsError(block, reservedFieldNames, 'input format')
201}
202
203function assertNoReservedStartOutputFields(
204 output: NormalizedBlockOutput,

Callers 1

buildStartBlockOutputFunction · 0.85

Tested by

no test coverage detected