UNPKG

stellar-plus

Version:

beta version of stellar-plus, an all-in-one sdk for the Stellar blockchain

8 lines (7 loc) 567 B
import { BeltPluginType, GenericPlugin } from '../conveyor-belts/types'; export type MultiBeltPipelineOptions<Input, Output, BeltType extends string, SupportedInnerPlugins> = { plugins?: BeltPlugin<Input, Output, BeltType, SupportedInnerPlugins>[]; beltType: BeltType; }; export type BeltMainPluginType<Input, Output, BeltType extends string> = BeltPluginType<Input, Output, BeltType | GenericPlugin>; export type BeltPlugin<Input, Output, BeltType extends string, SupportedInnerPlugins> = BeltMainPluginType<Input, Output, BeltType> & SupportedInnerPlugins;