Move dispatcher into a subdirectory

We're expecting to have a whole bunch of types for the dispatched payloads, so pull the thing into a directory we can throw them in.
This commit is contained in:
Travis Ralston 2020-05-13 20:41:41 -06:00
parent fa83df4bde
commit 90a898d03f
130 changed files with 129 additions and 129 deletions

View file

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import dis from '../dispatcher';
import dis from '../dispatcher/dispatcher';
// TODO: migrate from sync_state to MatrixActions.sync so that more js-sdk events
// become dispatches in the same place.

View file

@ -23,7 +23,7 @@ import { _t } from '../languageHandler';
import * as sdk from '../index';
import { MatrixClient } from "matrix-js-sdk/src/client";
import { Room } from "matrix-js-sdk/src/models/room";
import { AsyncActionPayload } from "../dispatcher";
import { AsyncActionPayload } from "../dispatcher/dispatcher";
export default class RoomListActions {
/**

View file

@ -18,7 +18,7 @@ limitations under the License.
import Analytics from '../Analytics';
import { asyncAction } from './actionCreators';
import TagOrderStore from '../stores/TagOrderStore';
import { AsyncActionPayload } from "../dispatcher";
import { AsyncActionPayload } from "../dispatcher/dispatcher";
import { MatrixClient } from "matrix-js-sdk/src/client";
export default class TagOrderActions {

View file

@ -15,7 +15,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import { AsyncActionPayload } from "../dispatcher";
import { AsyncActionPayload } from "../dispatcher/dispatcher";
/**
* Create an action thunk that will dispatch actions indicating the current