UNPKG

clumsy-graphics

Version:

a tool for rapidly developing animations where frames are described using svg elements à la react 🙃

28 lines (27 loc) 1.47 kB
import { SagaReturnType } from '@redux-saga/core/effects'; import { AnimationModuleBundlerEvent } from '../models/AnimationModuleBundlerEvent'; import { animationDevelopmentSetupSaga } from './animationDevelopmentSetupSaga'; export interface AnimationModuleBundlerEventHandlerSagaApi extends Pick<SagaReturnType<typeof animationDevelopmentSetupSaga>, 'animationModuleBundlerEventChannel'> { } export declare function animationModuleBundlerEventHandlerSaga(api: AnimationModuleBundlerEventHandlerSagaApi): Generator<import("@redux-saga/core/effects").ChannelTakeEffect<AnimationModuleBundlerEvent> | import("@redux-saga/core/effects").PutEffect<{ type: "animationModuleBundler_initialBuildSucceeded"; actionPayload: { nextBuildStatus: "validBuild"; nextBuildSessionVersion: number; nextAnimationModule: import("../../docker-main").AnimationModule; }; }> | import("@redux-saga/core/effects").PutEffect<{ type: "animationModuleBundler_rebuildSucceeded"; actionPayload: { nextBuildStatus: "validBuild"; nextBuildSessionVersion: number; nextAnimationModule: import("../../docker-main").AnimationModule; }; }> | import("@redux-saga/core/effects").PutEffect<{ type: "animationModuleBundler_rebuildFailed"; actionPayload: { nextBuildStatus: "invalidBuild"; nextBuildSessionVersion: number; nextBuildErrorMessage: string; }; }>, void, AnimationModuleBundlerEvent & void>;