mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
Reference external redux-typed package
This commit is contained in:
@@ -2,7 +2,7 @@ import * as React from 'react';
|
||||
import { Navbar, Nav, NavItem, NavDropdown, MenuItem } from 'react-bootstrap';
|
||||
import { Link } from 'react-router';
|
||||
import { LinkContainer } from 'react-router-bootstrap';
|
||||
import { provide } from '../fx/TypedRedux';
|
||||
import { provide } from 'redux-typed';
|
||||
import { ApplicationState } from '../store';
|
||||
import * as GenreList from '../store/GenreList';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import * as React from 'react';
|
||||
import { Link } from 'react-router';
|
||||
import { provide } from '../../fx/TypedRedux';
|
||||
import { provide } from 'redux-typed';
|
||||
import { ApplicationState } from '../../store';
|
||||
import * as AlbumDetailsState from '../../store/AlbumDetails';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import * as React from 'react';
|
||||
import { Link } from 'react-router';
|
||||
import { provide } from '../../fx/TypedRedux';
|
||||
import { provide } from 'redux-typed';
|
||||
import { ApplicationState } from '../../store';
|
||||
import * as GenreDetailsStore from '../../store/GenreDetails';
|
||||
import { AlbumTile } from './AlbumTile';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import * as React from 'react';
|
||||
import { Link } from 'react-router';
|
||||
import { provide } from '../../fx/TypedRedux';
|
||||
import { provide } from 'redux-typed';
|
||||
import { ApplicationState } from '../../store';
|
||||
import * as GenreList from '../../store/GenreList';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import * as React from 'react';
|
||||
import { Link } from 'react-router';
|
||||
import { provide } from '../../fx/TypedRedux';
|
||||
import { provide } from 'redux-typed';
|
||||
import { ApplicationState } from '../../store';
|
||||
import { actionCreators } from '../../store/FeaturedAlbums';
|
||||
import { AlbumTile } from './AlbumTile';
|
||||
|
||||
@@ -2,7 +2,7 @@ import { createStore, applyMiddleware, compose, combineReducers } from 'redux';
|
||||
import * as thunkModule from 'redux-thunk';
|
||||
import { syncHistory, routeReducer } from 'react-router-redux';
|
||||
import * as Store from './store';
|
||||
import { typedToPlain } from './fx/TypedRedux';
|
||||
import { typedToPlain } from 'redux-typed';
|
||||
|
||||
export default function configureStore(history: HistoryModule.History, initialState?: Store.ApplicationState) {
|
||||
// Build middleware
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { fetch } from 'domain-task/fetch';
|
||||
import { typeName, isActionType, Action, Reducer } from '../fx/TypedRedux';
|
||||
import { typeName, isActionType, Action, Reducer } from 'redux-typed';
|
||||
import { ActionCreator } from './';
|
||||
import { Genre } from './GenreList';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { fetch } from 'domain-task/fetch';
|
||||
import { typeName, isActionType, Action, Reducer } from '../fx/TypedRedux';
|
||||
import { typeName, isActionType, Action, Reducer } from 'redux-typed';
|
||||
import { ActionCreator } from './';
|
||||
|
||||
// -----------------
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { fetch } from 'domain-task/fetch';
|
||||
import { typeName, isActionType, Action, Reducer } from '../fx/TypedRedux';
|
||||
import { typeName, isActionType, Action, Reducer } from 'redux-typed';
|
||||
import { ActionCreator } from './';
|
||||
import { Album } from './FeaturedAlbums';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { fetch } from 'domain-task/fetch';
|
||||
import { typeName, isActionType, Action, Reducer } from '../fx/TypedRedux';
|
||||
import { typeName, isActionType, Action, Reducer } from 'redux-typed';
|
||||
import { ActionCreator } from './';
|
||||
|
||||
// -----------------
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ActionCreatorGeneric } from '../fx/TypedRedux';
|
||||
import { ActionCreatorGeneric } from 'redux-typed';
|
||||
import * as FeaturedAlbums from './FeaturedAlbums';
|
||||
import * as GenreList from './GenreList';
|
||||
import * as GenreDetails from './GenreDetails';
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
"react-router-bootstrap": "^0.20.1",
|
||||
"react-router-redux": "^2.1.0",
|
||||
"redux": "^3.2.1",
|
||||
"redux-thunk": "^1.0.3"
|
||||
"redux-thunk": "^1.0.3",
|
||||
"redux-typed": "^1.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user