Skip to content

Commit

Permalink
Added type for FlowInputField (#285)
Browse files Browse the repository at this point in the history
Co-authored-by: Joel Peterson <joel.peterson@prismatic.io>
  • Loading branch information
jpeters5392 and Joel Peterson authored Nov 27, 2024
1 parent 89be169 commit da4d785
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/spectral/src/types/Inputs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -341,3 +341,10 @@ export type ConfigVarResultCollection = Record<
string,
string | Schedule | Connection | unknown | ObjectSelection | ObjectFieldMap
>;

export type FlowInputField = BaseInputField & {
/** Data type the InputField will collect. */
type: "flow";
/** Clean function */
clean?: InputCleanFunction<unknown>;
} & CollectionOptions<string>;

0 comments on commit da4d785

Please sign in to comment.