@augmentcode/ag-redux-toolkit
Version:
Redux + Saga state management for Svelte apps — designed for AI agents. Includes runtime TypeScript source, AI skills, and reference documentation for robust, observable, high-performance state management.
17 lines • 492 B
TypeScript
import { Store, UnknownAction } from 'redux';
import { StoreState } from './types';
export type SagaCrashRecord = {
crashedAt: Date;
error: Error;
};
export type SagaStatusRecord = {
isRunning: boolean;
launchedAtTs: number | null;
crashes: SagaCrashRecord[];
};
export type ReduxStore = Store<StoreState, UnknownAction>;
export type ReduxStoreContext = {
store: ReduxStore;
tasks?: Record<string, SagaStatusRecord>;
};
//# sourceMappingURL=internal-types.d.ts.map