Move framework stuff into 'fx' folder

This commit is contained in:
SteveSandersonMS
2016-02-07 22:18:27 -08:00
parent 59b28ae5ee
commit 05905a42ab
16 changed files with 16 additions and 16 deletions

View File

@@ -2,7 +2,7 @@ import * as React from 'react';
import { Navbar, Nav, NavItem, NavDropdown, MenuItem } from 'react-bootstrap'; import { Navbar, Nav, NavItem, NavDropdown, MenuItem } from 'react-bootstrap';
import { Link } from 'react-router'; import { Link } from 'react-router';
import { LinkContainer } from 'react-router-bootstrap'; import { LinkContainer } from 'react-router-bootstrap';
import { provide } from '../TypedRedux'; import { provide } from '../fx/TypedRedux';
import { ApplicationState } from '../store'; import { ApplicationState } from '../store';
import * as GenreList from '../store/GenreList'; import * as GenreList from '../store/GenreList';

View File

@@ -1,6 +1,6 @@
import * as React from 'react'; import * as React from 'react';
import { Link } from 'react-router'; import { Link } from 'react-router';
import { provide } from '../../TypedRedux'; import { provide } from '../../fx/TypedRedux';
import { ApplicationState } from '../../store'; import { ApplicationState } from '../../store';
import * as AlbumDetailsState from '../../store/AlbumDetails'; import * as AlbumDetailsState from '../../store/AlbumDetails';

View File

@@ -1,6 +1,6 @@
import * as React from 'react'; import * as React from 'react';
import { Link } from 'react-router'; import { Link } from 'react-router';
import { provide } from '../../TypedRedux'; import { provide } from '../../fx/TypedRedux';
import { ApplicationState } from '../../store'; import { ApplicationState } from '../../store';
import * as GenreDetailsStore from '../../store/GenreDetails'; import * as GenreDetailsStore from '../../store/GenreDetails';
import { AlbumTile } from './AlbumTile'; import { AlbumTile } from './AlbumTile';

View File

@@ -1,6 +1,6 @@
import * as React from 'react'; import * as React from 'react';
import { Link } from 'react-router'; import { Link } from 'react-router';
import { provide } from '../../TypedRedux'; import { provide } from '../../fx/TypedRedux';
import { ApplicationState } from '../../store'; import { ApplicationState } from '../../store';
import * as GenreList from '../../store/GenreList'; import * as GenreList from '../../store/GenreList';

View File

@@ -1,6 +1,6 @@
import * as React from 'react'; import * as React from 'react';
import { Link } from 'react-router'; import { Link } from 'react-router';
import { provide } from '../../TypedRedux'; import { provide } from '../../fx/TypedRedux';
import { ApplicationState } from '../../store'; import { ApplicationState } from '../../store';
import { actionCreators } from '../../store/FeaturedAlbums'; import { actionCreators } from '../../store/FeaturedAlbums';
import { AlbumTile } from './AlbumTile'; import { AlbumTile } from './AlbumTile';

View File

@@ -2,7 +2,7 @@ import { createStore, applyMiddleware, compose, combineReducers } from 'redux';
import * as thunkModule from 'redux-thunk'; import * as thunkModule from 'redux-thunk';
import { syncHistory, routeReducer } from 'react-router-redux'; import { syncHistory, routeReducer } from 'react-router-redux';
import * as Store from './store'; import * as Store from './store';
import { typedToPlain } from './TypedRedux'; import { typedToPlain } from './fx/TypedRedux';
export default function configureStore(history: HistoryModule.History, initialState?: Store.ApplicationState) { export default function configureStore(history: HistoryModule.History, initialState?: Store.ApplicationState) {
// Build middleware // Build middleware

View File

@@ -23,7 +23,7 @@ function loadViaBabel(module, filename) {
} }
var domainTasks = require('./domain-tasks.js'); var domainTasks = require('./domain-tasks.js');
var bootServer = require('./boot-server.jsx').default; var bootServer = require('../boot-server.jsx').default;
function render(requestUrl, callback) { function render(requestUrl, callback) {
var store; var store;

View File

@@ -1,5 +1,5 @@
import { fetch } from '../tracked-fetch'; import { fetch } from '../fx/tracked-fetch';
import { typeName, isActionType, Action, Reducer } from '../TypedRedux'; import { typeName, isActionType, Action, Reducer } from '../fx/TypedRedux';
import { ActionCreator } from './'; import { ActionCreator } from './';
import { Genre } from './GenreList'; import { Genre } from './GenreList';

View File

@@ -1,5 +1,5 @@
import { fetch } from '../tracked-fetch'; import { fetch } from '../fx/tracked-fetch';
import { typeName, isActionType, Action, Reducer } from '../TypedRedux'; import { typeName, isActionType, Action, Reducer } from '../fx/TypedRedux';
import { ActionCreator } from './'; import { ActionCreator } from './';
// ----------------- // -----------------

View File

@@ -1,5 +1,5 @@
import { fetch } from '../tracked-fetch'; import { fetch } from '../fx/tracked-fetch';
import { typeName, isActionType, Action, Reducer } from '../TypedRedux'; import { typeName, isActionType, Action, Reducer } from '../fx/TypedRedux';
import { ActionCreator } from './'; import { ActionCreator } from './';
import { Album } from './FeaturedAlbums'; import { Album } from './FeaturedAlbums';

View File

@@ -1,5 +1,5 @@
import { fetch } from '../tracked-fetch'; import { fetch } from '../fx/tracked-fetch';
import { typeName, isActionType, Action, Reducer } from '../TypedRedux'; import { typeName, isActionType, Action, Reducer } from '../fx/TypedRedux';
import { ActionCreator } from './'; import { ActionCreator } from './';
// ----------------- // -----------------

View File

@@ -1,4 +1,4 @@
import { ActionCreatorGeneric } from '../TypedRedux'; import { ActionCreatorGeneric } from '../fx/TypedRedux';
import * as FeaturedAlbums from './FeaturedAlbums'; import * as FeaturedAlbums from './FeaturedAlbums';
import * as GenreList from './GenreList'; import * as GenreList from './GenreList';
import * as GenreDetails from './GenreDetails'; import * as GenreDetails from './GenreDetails';