diff --git a/samples/react/MusicStore/ReactApp/components/NavMenu.tsx b/samples/react/MusicStore/ReactApp/components/NavMenu.tsx index 69d0f60..55f0fbb 100644 --- a/samples/react/MusicStore/ReactApp/components/NavMenu.tsx +++ b/samples/react/MusicStore/ReactApp/components/NavMenu.tsx @@ -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'; diff --git a/samples/react/MusicStore/ReactApp/components/public/AlbumDetails.tsx b/samples/react/MusicStore/ReactApp/components/public/AlbumDetails.tsx index 5cf7312..1ea14e8 100644 --- a/samples/react/MusicStore/ReactApp/components/public/AlbumDetails.tsx +++ b/samples/react/MusicStore/ReactApp/components/public/AlbumDetails.tsx @@ -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'; diff --git a/samples/react/MusicStore/ReactApp/components/public/GenreDetails.tsx b/samples/react/MusicStore/ReactApp/components/public/GenreDetails.tsx index 237a8a1..20a68e7 100644 --- a/samples/react/MusicStore/ReactApp/components/public/GenreDetails.tsx +++ b/samples/react/MusicStore/ReactApp/components/public/GenreDetails.tsx @@ -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'; diff --git a/samples/react/MusicStore/ReactApp/components/public/Genres.tsx b/samples/react/MusicStore/ReactApp/components/public/Genres.tsx index 26572d5..84b8b34 100644 --- a/samples/react/MusicStore/ReactApp/components/public/Genres.tsx +++ b/samples/react/MusicStore/ReactApp/components/public/Genres.tsx @@ -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'; diff --git a/samples/react/MusicStore/ReactApp/components/public/Home.tsx b/samples/react/MusicStore/ReactApp/components/public/Home.tsx index 157052d..e82ab96 100644 --- a/samples/react/MusicStore/ReactApp/components/public/Home.tsx +++ b/samples/react/MusicStore/ReactApp/components/public/Home.tsx @@ -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'; diff --git a/samples/react/MusicStore/ReactApp/configureStore.ts b/samples/react/MusicStore/ReactApp/configureStore.ts index 410cac2..9fad3d3 100644 --- a/samples/react/MusicStore/ReactApp/configureStore.ts +++ b/samples/react/MusicStore/ReactApp/configureStore.ts @@ -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 diff --git a/samples/react/MusicStore/ReactApp/store/AlbumDetails.ts b/samples/react/MusicStore/ReactApp/store/AlbumDetails.ts index 8903f16..ee63871 100644 --- a/samples/react/MusicStore/ReactApp/store/AlbumDetails.ts +++ b/samples/react/MusicStore/ReactApp/store/AlbumDetails.ts @@ -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'; diff --git a/samples/react/MusicStore/ReactApp/store/FeaturedAlbums.ts b/samples/react/MusicStore/ReactApp/store/FeaturedAlbums.ts index 8a60ee2..9d46eda 100644 --- a/samples/react/MusicStore/ReactApp/store/FeaturedAlbums.ts +++ b/samples/react/MusicStore/ReactApp/store/FeaturedAlbums.ts @@ -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 './'; // ----------------- diff --git a/samples/react/MusicStore/ReactApp/store/GenreDetails.ts b/samples/react/MusicStore/ReactApp/store/GenreDetails.ts index c7754ae..3db5231 100644 --- a/samples/react/MusicStore/ReactApp/store/GenreDetails.ts +++ b/samples/react/MusicStore/ReactApp/store/GenreDetails.ts @@ -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'; diff --git a/samples/react/MusicStore/ReactApp/store/GenreList.ts b/samples/react/MusicStore/ReactApp/store/GenreList.ts index 4f1107d..fbddbcf 100644 --- a/samples/react/MusicStore/ReactApp/store/GenreList.ts +++ b/samples/react/MusicStore/ReactApp/store/GenreList.ts @@ -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 './'; // ----------------- diff --git a/samples/react/MusicStore/ReactApp/store/index.ts b/samples/react/MusicStore/ReactApp/store/index.ts index 4e99de5..4688b21 100644 --- a/samples/react/MusicStore/ReactApp/store/index.ts +++ b/samples/react/MusicStore/ReactApp/store/index.ts @@ -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'; diff --git a/samples/react/MusicStore/package.json b/samples/react/MusicStore/package.json index 7ba2b0c..5381bbb 100644 --- a/samples/react/MusicStore/package.json +++ b/samples/react/MusicStore/package.json @@ -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" } }