forked from grafana.jool/grafana-jool
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
714 B
20 lines
714 B
import { combineReducers } from '@reduxjs/toolkit';
|
|
import { optionsPickerReducer } from '../pickers/OptionsPicker/reducer';
|
|
import { variableEditorReducer } from '../editor/reducer';
|
|
import { variablesReducer } from './variablesReducer';
|
|
import { transactionReducer } from './transactionReducer';
|
|
import { variableInspectReducer } from '../inspect/reducer';
|
|
|
|
export const templatingReducers = combineReducers({
|
|
editor: variableEditorReducer,
|
|
variables: variablesReducer,
|
|
optionsPicker: optionsPickerReducer,
|
|
transaction: transactionReducer,
|
|
inspect: variableInspectReducer,
|
|
});
|
|
|
|
export type TemplatingState = ReturnType<typeof templatingReducers>;
|
|
|
|
export default {
|
|
templating: templatingReducers,
|
|
};
|
|
|