UNPKG

repond-events

Version:
56 lines (55 loc) 2.72 kB
export { todo, todo as II, // as an easy-to-read alias for todo todo as E, // as an easy-to-read alias for todo (Event) runEvent, runPriorityEvent, runEvents, addSubEvents, runPriorityEvents, eventDo, chainDo, chainWithEventDo, allGroupEventsDo, doForAllBeforeEvent, skipToEvent, cancelUpToEvent, allEventsDo, MakeEventType, makeEventTypes, initEventTypeGroups, makeValueTypes, initValueTypeGroups, makeValue, makeValue as I_, // as an easy-to-read alias for makeValue makeValue as V, } from "./helpers"; export { basicValues } from "./events/values/basic"; export { basicEvents } from "./events/basic"; export type { ChainId, EventBlockBase, EventBlock, EventBlockOptions, EventRunLiveInfo, RunModeExtraOptions, RunModeOptions, KnownChainId, RunMode, EventGroupName, EventName, EventTypeDefinition, EventBlockTuple, EventBlockTuple as EventTuple, EventBlockTupleLoose, EventParams, CustomValueParams, DefaultValueParams, } from "./types"; export declare const repondEventsStores: { liveEventsStore: { newState: () => { id: string; chainId: string; event: import("./types").EventBlockBase; evaluatedParams: import("./types").ParamMap; isParallel: boolean; duration: any; addedBy: string; runBy: string; nowRunMode: import("./types").RunMode; runModeOptionsWhenReady: import("./types").RunModeOptions; runModeBeforePause: import("./types").RunMode; runModeBeforeSuspend: import("./types").RunMode; addTime: number; readyTime: number; startTime: number; goalEndTime: number; pauseTime: number; suspendTime: number; unpauseTime: number; unsuspendTime: number; elapsedTimePath: import("repond").StatePath<any>; }; newRefs: () => {}; }; chainsStore: { newState: () => { id: string; liveEventIds: string[]; parentChainId: string; canAutoActivate: boolean; duplicateEventsToAdd: Record<string, import("./types").EventBlock>; variablesByName: Record<string, any>; }; newRefs: () => {}; }; }; export declare const repondEventsEffectGroups: { chainEffects: Record<"whenLiveEventIdsChange", import("repond").EffectDef>; liveEventEffects: Record<"whenLiveEventAddedOrRemoved" | "whenNowRunModeChanges", import("repond").EffectDef>; }; export declare const repondEventsParamEffectGroups: { liveEventParamEffects: import("repond/src/usable/paramEffects").ParamEffectsGroup<"whenElapsedTimeChanges", { liveId: string; }>; };