mirror of
https://github.com/grafana/grafana.git
synced 2026-02-03 20:49:50 -05:00
* Complete decoupling of backend - Replace usage of featuremgmt - Copy simplejson - Add standalone logic * Complete frontend decoupling - Fix imports - Copy store and reducer logic * Add required files for full decoupling * Regen cue * Prettier * Remove unneeded script * Jest fix * Add jest config * Lint * Lit * Prune suppresions
11 lines
306 B
TypeScript
11 lines
306 B
TypeScript
import { createAction } from '@reduxjs/toolkit';
|
|
|
|
import { StoreState } from '../../types/store';
|
|
|
|
export type CleanUpAction = (state: StoreState) => void;
|
|
|
|
export interface CleanUpPayload {
|
|
cleanupAction: CleanUpAction;
|
|
}
|
|
|
|
export const cleanUpAction = createAction<CleanUpPayload>('core/cleanUpState');
|