This repository was archived by the owner on Jan 11, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +22
-8
lines changed
Expand file tree Collapse file tree 4 files changed +22
-8
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ import {
1717import { mapFrames } from "." ;
1818import { removeBreakpoint } from "../breakpoints" ;
1919import { evaluateExpressions } from "../expressions" ;
20- import { selectLocation , loadSourceText } from "../sources" ;
20+ import { selectLocation } from "../sources" ;
21+ import { loadSourceText } from "../sources/loadSourceText" ;
2122import { togglePaneCollapse } from "../ui" ;
2223import { command } from "./commands" ;
2324import { shouldStep } from "../../utils/pause" ;
Original file line number Diff line number Diff line change 1212import { findSourceMatches } from "../workers/search" ;
1313import { getSources , getSource , hasPrettySource } from "../selectors" ;
1414import { isThirdParty } from "../utils/source" ;
15- import { loadSourceText } from "./sources" ;
15+ import { loadSourceText } from "./sources/loadSourceText " ;
1616import { statusType } from "../reducers/project-text-search" ;
1717
1818import type { ThunkArgs } from "./types" ;
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import type { Expression } from "../types";
1919import type { Action } from "../actions/types" ;
2020import type { Record } from "../utils/makeRecord" ;
2121
22- type ExpressionState = {
22+ export type ExpressionState = {
2323 expressions : List < Expression > ,
2424 expressionError : boolean
2525} ;
Original file line number Diff line number Diff line change 77 * @module reducers/types
88 */
99
10- import type { PauseState } from "./pause" ;
11- import type { SourcesState } from "./sources" ;
10+ // @flow
11+
12+ import type { ASTState } from "./ast" ;
1213import type { BreakpointsState } from "./breakpoints" ;
14+ import type { ExpressionState } from "./expressions" ;
15+ import type { FileSearchState } from "./file-search" ;
16+ import type { PauseState } from "./pause" ;
17+ import type { PendingBreakpointsState } from "../selectors" ;
1318import type { ProjectTextSearchState } from "./project-text-search" ;
19+ import type { Record } from "../utils/makeRecord" ;
20+ import type { SourcesState } from "./sources" ;
21+ import type { UIState } from "./ui" ;
1422
1523export type State = {
24+ ast : Record < ASTState > ,
25+ breakpoints : Record < BreakpointsState > ,
26+ expressions : Record < ExpressionState > ,
27+ fileSearch : Record < FileSearchState > ,
1628 pause : PauseState ,
17- sources : SourcesState ,
18- breakpoints : BreakpointsState ,
19- projectTextSearch : ProjectTextSearchState
29+ pendingBreakpoints : Record < PendingBreakpointsState > ,
30+ projectTextSearch : Record < ProjectTextSearchState > ,
31+ sources : Record < SourcesState > ,
32+ ui : Record < UIState >
2033} ;
2134
2235export type SelectedLocation = {
You can’t perform that action at this time.
0 commit comments