mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
Move framework stuff into 'fx' folder
This commit is contained in:
@@ -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';
|
||||||
|
|
||||||
|
|||||||
@@ -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';
|
||||||
|
|
||||||
|
|||||||
@@ -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';
|
||||||
|
|||||||
@@ -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';
|
||||||
|
|
||||||
|
|||||||
@@ -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';
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
@@ -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';
|
||||||
|
|
||||||
|
|||||||
@@ -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 './';
|
||||||
|
|
||||||
// -----------------
|
// -----------------
|
||||||
|
|||||||
@@ -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';
|
||||||
|
|
||||||
|
|||||||
@@ -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 './';
|
||||||
|
|
||||||
// -----------------
|
// -----------------
|
||||||
|
|||||||
@@ -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';
|
||||||
|
|||||||
Reference in New Issue
Block a user