
When this is merged https://gitlab.com/ligolang/ligo-web-ide/ will be marked as deprecated. This MR does not hook up the webide build to the main CI. The CI integration will come in a subsequent MR for the sake of making review easier.
42 lines
1.1 KiB
TypeScript
42 lines
1.1 KiB
TypeScript
import { combineReducers } from 'redux';
|
|
|
|
import command, { CommandState } from './command';
|
|
import compile, { CompileState } from './compile';
|
|
import deploy, { DeployState } from './deploy';
|
|
import dryRun, { DryRunState } from './dry-run';
|
|
import editor, { EditorState } from './editor';
|
|
import evaluateFunction, { EvaluateFunctionState } from './evaluate-function';
|
|
import evaluateValue, { EvaluateValueState } from './evaluate-value';
|
|
import examples, { ExamplesState } from './examples';
|
|
import loading, { LoadingState } from './loading';
|
|
import result, { ResultState } from './result';
|
|
import share, { ShareState } from './share';
|
|
|
|
export interface AppState {
|
|
editor: EditorState;
|
|
share: ShareState;
|
|
compile: CompileState;
|
|
dryRun: DryRunState;
|
|
deploy: DeployState;
|
|
evaluateFunction: EvaluateFunctionState;
|
|
evaluateValue: EvaluateValueState;
|
|
result: ResultState;
|
|
command: CommandState;
|
|
examples: ExamplesState;
|
|
loading: LoadingState;
|
|
}
|
|
|
|
export default combineReducers({
|
|
editor,
|
|
share,
|
|
compile,
|
|
dryRun,
|
|
deploy,
|
|
evaluateFunction,
|
|
evaluateValue,
|
|
result,
|
|
command,
|
|
examples,
|
|
loading
|
|
});
|