Vollständiges Redesign mit Gold-Formularen, BMP-Logo, multi-step Forms (Bewerbung, Kontakt, Sponsoring), Netlify-Deployment. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
17 lines
693 B
TypeScript
17 lines
693 B
TypeScript
import { CreateOptionsType, LooseOptionsType } from './Options.js';
|
|
import { EmblaCarouselType } from './EmblaCarousel.js';
|
|
import { OptionsHandlerType } from './OptionsHandler.js';
|
|
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];
|