UNPKG

bmad-agent-init

Version:

Windsurf integration for BMAD-METHOD - automatic initialization of bmad-agent in projects

17 lines (16 loc) • 684 B
import { CreateOptionsType, LooseOptionsType } from './Options'; import { EmblaCarouselType } from './EmblaCarousel'; import { OptionsHandlerType } from './OptionsHandler'; export type LoosePluginType = { [key: string]: unknown; }; export type CreatePluginType<TypeA extends LoosePluginType, TypeB extends LooseOptionsType> = TypeA & { name: string; options: Partial<CreateOptionsType<TypeB>>; init: (embla: EmblaCarouselType, OptionsHandler: OptionsHandlerType) => void; destroy: () => void; }; export interface EmblaPluginsType { [key: string]: CreatePluginType<LoosePluginType, {}>; } export type EmblaPluginType = EmblaPluginsType[keyof EmblaPluginsType];