Skip to content

Commit 7584f25

Browse files
waleedlatif1claude
andcommitted
chore(blocks): drop extraneous comments from canonical file-input renames
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent bd490b8 commit 7584f25

3 files changed

Lines changed: 0 additions & 9 deletions

File tree

apps/sim/blocks/blocks/extend.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,6 @@ export const ExtendBlock: BlockConfig<ExtendParserOutput> = {
130130
},
131131
}
132132

133-
// ExtendV2Block renames the canonical id to `file` so it matches the tool param name
134-
// and pre-execution validation can resolve the value without invoking the params mapper.
135133
const extendV2Inputs = {
136134
file: { type: 'json' as const, description: 'Document (file upload or file reference)' },
137135
apiKey: ExtendBlock.inputs?.apiKey,

apps/sim/blocks/blocks/pulse.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ export const PulseBlock: BlockConfig<PulseParserOutput> = {
7474
apiKey: params.apiKey.trim(),
7575
}
7676

77-
// document is the canonical param from fileUpload (basic) or filePath (advanced)
7877
const documentInput = params.document
7978
if (typeof documentInput === 'object') {
8079
parameters.file = documentInput
@@ -128,8 +127,6 @@ export const PulseBlock: BlockConfig<PulseParserOutput> = {
128127
},
129128
}
130129

131-
// PulseV2Block renames the canonical id to `file` so it matches the tool param name
132-
// and pre-execution validation can resolve the value without invoking the params mapper.
133130
const pulseV2Inputs = {
134131
file: { type: 'json' as const, description: 'Document (file upload or file reference)' },
135132
apiKey: PulseBlock.inputs?.apiKey,

apps/sim/blocks/blocks/reducto.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ export const ReductoBlock: BlockConfig<ReductoParserOutput> = {
7171
apiKey: params.apiKey.trim(),
7272
}
7373

74-
// document is the canonical param from fileUpload (basic) or filePath (advanced)
7574
const documentInput = params.document
7675

7776
if (typeof documentInput === 'object') {
@@ -135,9 +134,6 @@ export const ReductoBlock: BlockConfig<ReductoParserOutput> = {
135134
},
136135
}
137136

138-
// ReductoV2Block drops V1's URL filePath input and exposes file upload + file reference
139-
// as a single canonical group. The canonical id matches the tool param name (`file`) so
140-
// pre-execution validation can resolve the value without invoking the params mapper.
141137
const reductoV2Inputs = {
142138
file: { type: 'json' as const, description: 'PDF document (file upload or file reference)' },
143139
apiKey: ReductoBlock.inputs?.apiKey,

0 commit comments

Comments
 (0)