From fc88fee26f3bab4f8b16dc305e37a6fb1169ed40 Mon Sep 17 00:00:00 2001 From: Victor Chabbert Date: Mon, 7 Aug 2017 23:00:10 +0200 Subject: Update flow type defs --- frontend/flow-typed/npm/babel-polyfill_vx.x.x.js | 4 +- frontend/flow-typed/npm/flow-typed_vx.x.x.js | 4 +- frontend/flow-typed/npm/history_vx.x.x.js | 150 ++++++++ frontend/flow-typed/npm/normalizr_vx.x.x.js | 4 +- .../flow-typed/npm/prettier-eslint-cli_vx.x.x.js | 4 +- .../flow-typed/npm/react-redux-toastr_vx.x.x.js | 4 +- frontend/flow-typed/npm/react-router-dom_v4.x.x.js | 169 +++++++++ .../flow-typed/npm/react-router-redux_vx.x.x.js | 81 +++-- frontend/flow-typed/npm/react-scripts_vx.x.x.js | 4 +- frontend/flow-typed/npm/rebass_vx.x.x.js | 4 +- frontend/flow-typed/npm/redux-immutable_vx.x.x.js | 4 +- frontend/flow-typed/npm/redux-saga_vx.x.x.js | 382 +++++++++++++++++++++ frontend/flow-typed/npm/redux_v3.x.x.js | 40 ++- frontend/flow-typed/npm/reflexbox_vx.x.x.js | 4 +- frontend/flow-typed/npm/sockjs-client_vx.x.x.js | 4 +- 15 files changed, 782 insertions(+), 80 deletions(-) create mode 100644 frontend/flow-typed/npm/history_vx.x.x.js create mode 100644 frontend/flow-typed/npm/react-router-dom_v4.x.x.js create mode 100644 frontend/flow-typed/npm/redux-saga_vx.x.x.js (limited to 'frontend') diff --git a/frontend/flow-typed/npm/babel-polyfill_vx.x.x.js b/frontend/flow-typed/npm/babel-polyfill_vx.x.x.js index eeca055f..e5ab95c0 100644 --- a/frontend/flow-typed/npm/babel-polyfill_vx.x.x.js +++ b/frontend/flow-typed/npm/babel-polyfill_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: c3d1e2ba5aaeec2c562d938e88fce876 -// flow-typed version: <>/babel-polyfill_vlatest/flow_v0.46.0 +// flow-typed signature: d45c70c5c1dae9187221749f2dbbe93e +// flow-typed version: <>/babel-polyfill_v^6.23.0/flow_v0.52.0 /** * This is an autogenerated libdef stub for: diff --git a/frontend/flow-typed/npm/flow-typed_vx.x.x.js b/frontend/flow-typed/npm/flow-typed_vx.x.x.js index 80d4d099..7215cf97 100644 --- a/frontend/flow-typed/npm/flow-typed_vx.x.x.js +++ b/frontend/flow-typed/npm/flow-typed_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 8898603ed592b58f9cb89fd30a371a09 -// flow-typed version: <>/flow-typed_v^2.1.2/flow_v0.46.0 +// flow-typed signature: 3a7e652c4bf5d2995f585cc8ff03dece +// flow-typed version: <>/flow-typed_v^2.1.5/flow_v0.52.0 /** * This is an autogenerated libdef stub for: diff --git a/frontend/flow-typed/npm/history_vx.x.x.js b/frontend/flow-typed/npm/history_vx.x.x.js new file mode 100644 index 00000000..8f6f53d4 --- /dev/null +++ b/frontend/flow-typed/npm/history_vx.x.x.js @@ -0,0 +1,150 @@ +// flow-typed signature: c81c711af09cb1b7fbd753b2c1781ca7 +// flow-typed version: <>/history_v^4.6.3/flow_v0.52.0 + +/** + * This is an autogenerated libdef stub for: + * + * 'history' + * + * Fill this stub out by replacing all the `any` types. + * + * Once filled out, we encourage you to share your work with the + * community by sending a pull request to: + * https://github.com/flowtype/flow-typed + */ + +declare module 'history' { + declare module.exports: any; +} + +/** + * We include stubs for each file inside this npm package in case you need to + * require those files directly. Feel free to delete any files that aren't + * needed. + */ +declare module 'history/createBrowserHistory' { + declare module.exports: any; +} + +declare module 'history/createHashHistory' { + declare module.exports: any; +} + +declare module 'history/createMemoryHistory' { + declare module.exports: any; +} + +declare module 'history/createTransitionManager' { + declare module.exports: any; +} + +declare module 'history/DOMUtils' { + declare module.exports: any; +} + +declare module 'history/es/createBrowserHistory' { + declare module.exports: any; +} + +declare module 'history/es/createHashHistory' { + declare module.exports: any; +} + +declare module 'history/es/createMemoryHistory' { + declare module.exports: any; +} + +declare module 'history/es/createTransitionManager' { + declare module.exports: any; +} + +declare module 'history/es/DOMUtils' { + declare module.exports: any; +} + +declare module 'history/es/index' { + declare module.exports: any; +} + +declare module 'history/es/LocationUtils' { + declare module.exports: any; +} + +declare module 'history/es/PathUtils' { + declare module.exports: any; +} + +declare module 'history/LocationUtils' { + declare module.exports: any; +} + +declare module 'history/PathUtils' { + declare module.exports: any; +} + +declare module 'history/umd/history' { + declare module.exports: any; +} + +declare module 'history/umd/history.min' { + declare module.exports: any; +} + +// Filename aliases +declare module 'history/createBrowserHistory.js' { + declare module.exports: $Exports<'history/createBrowserHistory'>; +} +declare module 'history/createHashHistory.js' { + declare module.exports: $Exports<'history/createHashHistory'>; +} +declare module 'history/createMemoryHistory.js' { + declare module.exports: $Exports<'history/createMemoryHistory'>; +} +declare module 'history/createTransitionManager.js' { + declare module.exports: $Exports<'history/createTransitionManager'>; +} +declare module 'history/DOMUtils.js' { + declare module.exports: $Exports<'history/DOMUtils'>; +} +declare module 'history/es/createBrowserHistory.js' { + declare module.exports: $Exports<'history/es/createBrowserHistory'>; +} +declare module 'history/es/createHashHistory.js' { + declare module.exports: $Exports<'history/es/createHashHistory'>; +} +declare module 'history/es/createMemoryHistory.js' { + declare module.exports: $Exports<'history/es/createMemoryHistory'>; +} +declare module 'history/es/createTransitionManager.js' { + declare module.exports: $Exports<'history/es/createTransitionManager'>; +} +declare module 'history/es/DOMUtils.js' { + declare module.exports: $Exports<'history/es/DOMUtils'>; +} +declare module 'history/es/index.js' { + declare module.exports: $Exports<'history/es/index'>; +} +declare module 'history/es/LocationUtils.js' { + declare module.exports: $Exports<'history/es/LocationUtils'>; +} +declare module 'history/es/PathUtils.js' { + declare module.exports: $Exports<'history/es/PathUtils'>; +} +declare module 'history/index' { + declare module.exports: $Exports<'history'>; +} +declare module 'history/index.js' { + declare module.exports: $Exports<'history'>; +} +declare module 'history/LocationUtils.js' { + declare module.exports: $Exports<'history/LocationUtils'>; +} +declare module 'history/PathUtils.js' { + declare module.exports: $Exports<'history/PathUtils'>; +} +declare module 'history/umd/history.js' { + declare module.exports: $Exports<'history/umd/history'>; +} +declare module 'history/umd/history.min.js' { + declare module.exports: $Exports<'history/umd/history.min'>; +} diff --git a/frontend/flow-typed/npm/normalizr_vx.x.x.js b/frontend/flow-typed/npm/normalizr_vx.x.x.js index fcae6629..32c67e82 100644 --- a/frontend/flow-typed/npm/normalizr_vx.x.x.js +++ b/frontend/flow-typed/npm/normalizr_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: dba0bfb91ebd13b912fcfb90c37f3136 -// flow-typed version: <>/normalizr_v^3.2.3/flow_v0.46.0 +// flow-typed signature: 101b4be5ca6a77d31f679e05ce64206b +// flow-typed version: <>/normalizr_v^3.2.3/flow_v0.52.0 /** * This is an autogenerated libdef stub for: diff --git a/frontend/flow-typed/npm/prettier-eslint-cli_vx.x.x.js b/frontend/flow-typed/npm/prettier-eslint-cli_vx.x.x.js index 58314443..9539721e 100644 --- a/frontend/flow-typed/npm/prettier-eslint-cli_vx.x.x.js +++ b/frontend/flow-typed/npm/prettier-eslint-cli_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 9be779b508980665b72103ce25a50f75 -// flow-typed version: <>/prettier-eslint-cli_v^4.0.1/flow_v0.46.0 +// flow-typed signature: f1c6e2b006228586c9fddb73b302e031 +// flow-typed version: <>/prettier-eslint-cli_v^4.1.1/flow_v0.52.0 /** * This is an autogenerated libdef stub for: diff --git a/frontend/flow-typed/npm/react-redux-toastr_vx.x.x.js b/frontend/flow-typed/npm/react-redux-toastr_vx.x.x.js index fdb83ee2..0219d8eb 100644 --- a/frontend/flow-typed/npm/react-redux-toastr_vx.x.x.js +++ b/frontend/flow-typed/npm/react-redux-toastr_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 055775aa4fc738b2fe24af223f1fac35 -// flow-typed version: <>/react-redux-toastr_v^6.2.6/flow_v0.46.0 +// flow-typed signature: e83cfa15fc92db4f0f41038e9b327516 +// flow-typed version: <>/react-redux-toastr_v^6.2.6/flow_v0.52.0 /** * This is an autogenerated libdef stub for: diff --git a/frontend/flow-typed/npm/react-router-dom_v4.x.x.js b/frontend/flow-typed/npm/react-router-dom_v4.x.x.js new file mode 100644 index 00000000..f112ec74 --- /dev/null +++ b/frontend/flow-typed/npm/react-router-dom_v4.x.x.js @@ -0,0 +1,169 @@ +// flow-typed signature: 493d39fe9968f54f645635dbec3b2d9a +// flow-typed version: 02d9734356/react-router-dom_v4.x.x/flow_>=v0.38.x + +declare module 'react-router-dom' { + declare export class BrowserRouter extends React$Component { + props: { + basename?: string, + forceRefresh?: boolean, + getUserConfirmation?: GetUserConfirmation, + keyLength?: number, + children?: React$Element<*>, + } + } + + declare export class HashRouter extends React$Component { + props: { + basename?: string, + getUserConfirmation?: GetUserConfirmation, + hashType?: 'slash' | 'noslash' | 'hashbang', + children?: React$Element<*>, + } + } + + declare export class Link extends React$Component { + props: { + to: string | LocationShape, + replace?: boolean, + children?: React$Element<*>, + } + } + + declare export class NavLink extends React$Component { + props: { + to: string | LocationShape, + activeClassName?: string, + className?: string, + activeStyle?: Object, + style?: Object, + isActive?: (match: Match, location: Location) => boolean, + children?: React$Element<*>, + exact?: bool, + strict?: bool, + } + } + + // NOTE: Below are duplicated from react-router. If updating these, please + // update the react-router and react-router-native types as well. + declare export type Location = { + pathname: string, + search: string, + hash: string, + state?: any, + key?: string, + } + + declare export type LocationShape = { + pathname?: string, + search?: string, + hash?: string, + state?: any, + } + + declare export type HistoryAction = 'PUSH' | 'REPLACE' | 'POP' + + declare export type RouterHistory = { + length: number, + location: Location, + action: HistoryAction, + listen(callback: (location: Location, action: HistoryAction) => void): () => void, + push(path: string | LocationShape, state?: any): void, + replace(path: string | LocationShape, state?: any): void, + go(n: number): void, + goBack(): void, + goForward(): void, + canGo?: (n: number) => bool, + block(callback: (location: Location, action: HistoryAction) => boolean): void, + // createMemoryHistory + index?: number, + entries?: Array, + } + + declare export type Match = { + params: { [key: string]: ?string }, + isExact: boolean, + path: string, + url: string, + } + + declare export type ContextRouter = { + history: RouterHistory, + location: Location, + match: Match, + } + + declare export type GetUserConfirmation = + (message: string, callback: (confirmed: boolean) => void) => void + + declare type StaticRouterContext = { + url?: string, + } + + declare export class StaticRouter extends React$Component { + props: { + basename?: string, + location?: string | Location, + context: StaticRouterContext, + children?: React$Element<*>, + } + } + + declare export class MemoryRouter extends React$Component { + props: { + initialEntries?: Array, + initialIndex?: number, + getUserConfirmation?: GetUserConfirmation, + keyLength?: number, + children?: React$Element<*>, + } + } + + declare export class Router extends React$Component { + props: { + history: RouterHistory, + children?: React$Element<*>, + } + } + + declare export class Prompt extends React$Component { + props: { + message: string | (location: Location) => string | true, + when?: boolean, + } + } + + declare export class Redirect extends React$Component { + props: { + to: string | LocationShape, + push?: boolean, + } + } + + declare export class Route extends React$Component { + props: { + component?: ReactClass<*>, + render?: (router: ContextRouter) => React$Element<*>, + children?: (router: ContextRouter) => React$Element<*>, + path?: string, + exact?: bool, + strict?: bool, + } + } + + declare export class Switch extends React$Component { + props: { + children?: Array>, + } + } + + declare type FunctionComponent

= (props: P) => ?React$Element; + declare type ClassComponent = Class>; + declare export function withRouter(Component: ClassComponent | FunctionComponent

): ClassComponent, S>; + + declare type MatchPathOptions = { + path: string, + exact?: boolean, + strict?: boolean, + } + declare export function matchPath(pathname: string, options: MatchPathOptions): null | Match +} diff --git a/frontend/flow-typed/npm/react-router-redux_vx.x.x.js b/frontend/flow-typed/npm/react-router-redux_vx.x.x.js index 4dc81e25..85460f18 100644 --- a/frontend/flow-typed/npm/react-router-redux_vx.x.x.js +++ b/frontend/flow-typed/npm/react-router-redux_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: d9ecad69e3587f25036043ed117832dd -// flow-typed version: <>/react-router-redux_v^4.0.8/flow_v0.46.0 +// flow-typed signature: e20ae771d03ed9ef1dd8fff6bcdd6932 +// flow-typed version: <>/react-router-redux_vnext/flow_v0.52.0 /** * This is an autogenerated libdef stub for: @@ -22,88 +22,87 @@ declare module 'react-router-redux' { * require those files directly. Feel free to delete any files that aren't * needed. */ -declare module 'react-router-redux/dist/ReactRouterRedux' { +declare module 'react-router-redux/actions' { declare module.exports: any; } -declare module 'react-router-redux/dist/ReactRouterRedux.min' { +declare module 'react-router-redux/ConnectedRouter' { declare module.exports: any; } -declare module 'react-router-redux/lib/actions' { +declare module 'react-router-redux/es/actions' { declare module.exports: any; } -declare module 'react-router-redux/lib/index' { +declare module 'react-router-redux/es/ConnectedRouter' { declare module.exports: any; } -declare module 'react-router-redux/lib/middleware' { +declare module 'react-router-redux/es/index' { declare module.exports: any; } -declare module 'react-router-redux/lib/reducer' { +declare module 'react-router-redux/es/middleware' { declare module.exports: any; } -declare module 'react-router-redux/lib/sync' { +declare module 'react-router-redux/es/reducer' { declare module.exports: any; } -declare module 'react-router-redux/src/actions' { +declare module 'react-router-redux/middleware' { declare module.exports: any; } -declare module 'react-router-redux/src/index' { +declare module 'react-router-redux/reducer' { declare module.exports: any; } -declare module 'react-router-redux/src/middleware' { +declare module 'react-router-redux/umd/react-router-redux' { declare module.exports: any; } -declare module 'react-router-redux/src/reducer' { - declare module.exports: any; -} - -declare module 'react-router-redux/src/sync' { +declare module 'react-router-redux/umd/react-router-redux.min' { declare module.exports: any; } // Filename aliases -declare module 'react-router-redux/dist/ReactRouterRedux.js' { - declare module.exports: $Exports<'react-router-redux/dist/ReactRouterRedux'>; +declare module 'react-router-redux/actions.js' { + declare module.exports: $Exports<'react-router-redux/actions'>; +} +declare module 'react-router-redux/ConnectedRouter.js' { + declare module.exports: $Exports<'react-router-redux/ConnectedRouter'>; } -declare module 'react-router-redux/dist/ReactRouterRedux.min.js' { - declare module.exports: $Exports<'react-router-redux/dist/ReactRouterRedux.min'>; +declare module 'react-router-redux/es/actions.js' { + declare module.exports: $Exports<'react-router-redux/es/actions'>; } -declare module 'react-router-redux/lib/actions.js' { - declare module.exports: $Exports<'react-router-redux/lib/actions'>; +declare module 'react-router-redux/es/ConnectedRouter.js' { + declare module.exports: $Exports<'react-router-redux/es/ConnectedRouter'>; } -declare module 'react-router-redux/lib/index.js' { - declare module.exports: $Exports<'react-router-redux/lib/index'>; +declare module 'react-router-redux/es/index.js' { + declare module.exports: $Exports<'react-router-redux/es/index'>; } -declare module 'react-router-redux/lib/middleware.js' { - declare module.exports: $Exports<'react-router-redux/lib/middleware'>; +declare module 'react-router-redux/es/middleware.js' { + declare module.exports: $Exports<'react-router-redux/es/middleware'>; } -declare module 'react-router-redux/lib/reducer.js' { - declare module.exports: $Exports<'react-router-redux/lib/reducer'>; +declare module 'react-router-redux/es/reducer.js' { + declare module.exports: $Exports<'react-router-redux/es/reducer'>; } -declare module 'react-router-redux/lib/sync.js' { - declare module.exports: $Exports<'react-router-redux/lib/sync'>; +declare module 'react-router-redux/index' { + declare module.exports: $Exports<'react-router-redux'>; } -declare module 'react-router-redux/src/actions.js' { - declare module.exports: $Exports<'react-router-redux/src/actions'>; +declare module 'react-router-redux/index.js' { + declare module.exports: $Exports<'react-router-redux'>; } -declare module 'react-router-redux/src/index.js' { - declare module.exports: $Exports<'react-router-redux/src/index'>; +declare module 'react-router-redux/middleware.js' { + declare module.exports: $Exports<'react-router-redux/middleware'>; } -declare module 'react-router-redux/src/middleware.js' { - declare module.exports: $Exports<'react-router-redux/src/middleware'>; +declare module 'react-router-redux/reducer.js' { + declare module.exports: $Exports<'react-router-redux/reducer'>; } -declare module 'react-router-redux/src/reducer.js' { - declare module.exports: $Exports<'react-router-redux/src/reducer'>; +declare module 'react-router-redux/umd/react-router-redux.js' { + declare module.exports: $Exports<'react-router-redux/umd/react-router-redux'>; } -declare module 'react-router-redux/src/sync.js' { - declare module.exports: $Exports<'react-router-redux/src/sync'>; +declare module 'react-router-redux/umd/react-router-redux.min.js' { + declare module.exports: $Exports<'react-router-redux/umd/react-router-redux.min'>; } diff --git a/frontend/flow-typed/npm/react-scripts_vx.x.x.js b/frontend/flow-typed/npm/react-scripts_vx.x.x.js index 6d1fefad..f6c6ef61 100644 --- a/frontend/flow-typed/npm/react-scripts_vx.x.x.js +++ b/frontend/flow-typed/npm/react-scripts_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 7a0c0fd3b532b57e2e916464877c08bd -// flow-typed version: <>/react-scripts_v^1.0.7/flow_v0.46.0 +// flow-typed signature: 6a2edd5c9682d94c057192590e45d4f2 +// flow-typed version: <>/react-scripts_v^1.0.10/flow_v0.52.0 /** * This is an autogenerated libdef stub for: diff --git a/frontend/flow-typed/npm/rebass_vx.x.x.js b/frontend/flow-typed/npm/rebass_vx.x.x.js index 350172b9..24727c40 100644 --- a/frontend/flow-typed/npm/rebass_vx.x.x.js +++ b/frontend/flow-typed/npm/rebass_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 121ce0e5bcf520575c79634106bf4ebb -// flow-typed version: <>/rebass_v^0.3.3/flow_v0.46.0 +// flow-typed signature: f39e7513398f9c3700de5ffd42d8f97d +// flow-typed version: <>/rebass_v^0.3.3/flow_v0.52.0 /** * This is an autogenerated libdef stub for: diff --git a/frontend/flow-typed/npm/redux-immutable_vx.x.x.js b/frontend/flow-typed/npm/redux-immutable_vx.x.x.js index 7bc76710..78f7e5ce 100644 --- a/frontend/flow-typed/npm/redux-immutable_vx.x.x.js +++ b/frontend/flow-typed/npm/redux-immutable_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: f0465fe5b273048a19e890db9b35b2e6 -// flow-typed version: <>/redux-immutable_v^4.0.0/flow_v0.46.0 +// flow-typed signature: 97634adf0ed1d786db40b44663b27d85 +// flow-typed version: <>/redux-immutable_v^4.0.0/flow_v0.52.0 /** * This is an autogenerated libdef stub for: diff --git a/frontend/flow-typed/npm/redux-saga_vx.x.x.js b/frontend/flow-typed/npm/redux-saga_vx.x.x.js new file mode 100644 index 00000000..923e36c0 --- /dev/null +++ b/frontend/flow-typed/npm/redux-saga_vx.x.x.js @@ -0,0 +1,382 @@ +// flow-typed signature: f5e4776a6553b9938ed5817864708a3b +// flow-typed version: <>/redux-saga_v^0.15.6/flow_v0.52.0 + +/** + * This is an autogenerated libdef stub for: + * + * 'redux-saga' + * + * Fill this stub out by replacing all the `any` types. + * + * Once filled out, we encourage you to share your work with the + * community by sending a pull request to: + * https://github.com/flowtype/flow-typed + */ + +declare module 'redux-saga' { + declare module.exports: any; +} + +/** + * We include stubs for each file inside this npm package in case you need to + * require those files directly. Feel free to delete any files that aren't + * needed. + */ +declare module 'redux-saga/dist/redux-saga' { + declare module.exports: any; +} + +declare module 'redux-saga/dist/redux-saga.min' { + declare module.exports: any; +} + +declare module 'redux-saga/es/effects' { + declare module.exports: any; +} + +declare module 'redux-saga/es/index' { + declare module.exports: any; +} + +declare module 'redux-saga/es/internal/buffers' { + declare module.exports: any; +} + +declare module 'redux-saga/es/internal/channel' { + declare module.exports: any; +} + +declare module 'redux-saga/es/internal/io' { + declare module.exports: any; +} + +declare module 'redux-saga/es/internal/middleware' { + declare module.exports: any; +} + +declare module 'redux-saga/es/internal/proc' { + declare module.exports: any; +} + +declare module 'redux-saga/es/internal/runSaga' { + declare module.exports: any; +} + +declare module 'redux-saga/es/internal/sagaHelpers/fsmIterator' { + declare module.exports: any; +} + +declare module 'redux-saga/es/internal/sagaHelpers/index' { + declare module.exports: any; +} + +declare module 'redux-saga/es/internal/sagaHelpers/takeEvery' { + declare module.exports: any; +} + +declare module 'redux-saga/es/internal/sagaHelpers/takeLatest' { + declare module.exports: any; +} + +declare module 'redux-saga/es/internal/sagaHelpers/throttle' { + declare module.exports: any; +} + +declare module 'redux-saga/es/internal/scheduler' { + declare module.exports: any; +} + +declare module 'redux-saga/es/internal/utils' { + declare module.exports: any; +} + +declare module 'redux-saga/es/utils' { + declare module.exports: any; +} + +declare module 'redux-saga/lib/effects' { + declare module.exports: any; +} + +declare module 'redux-saga/lib/index' { + declare module.exports: any; +} + +declare module 'redux-saga/lib/internal/buffers' { + declare module.exports: any; +} + +declare module 'redux-saga/lib/internal/channel' { + declare module.exports: any; +} + +declare module 'redux-saga/lib/internal/io' { + declare module.exports: any; +} + +declare module 'redux-saga/lib/internal/middleware' { + declare module.exports: any; +} + +declare module 'redux-saga/lib/internal/proc' { + declare module.exports: any; +} + +declare module 'redux-saga/lib/internal/runSaga' { + declare module.exports: any; +} + +declare module 'redux-saga/lib/internal/sagaHelpers/fsmIterator' { + declare module.exports: any; +} + +declare module 'redux-saga/lib/internal/sagaHelpers/index' { + declare module.exports: any; +} + +declare module 'redux-saga/lib/internal/sagaHelpers/takeEvery' { + declare module.exports: any; +} + +declare module 'redux-saga/lib/internal/sagaHelpers/takeLatest' { + declare module.exports: any; +} + +declare module 'redux-saga/lib/internal/sagaHelpers/throttle' { + declare module.exports: any; +} + +declare module 'redux-saga/lib/internal/scheduler' { + declare module.exports: any; +} + +declare module 'redux-saga/lib/internal/utils' { + declare module.exports: any; +} + +declare module 'redux-saga/lib/utils' { + declare module.exports: any; +} + +declare module 'redux-saga/rollup.config' { + declare module.exports: any; +} + +declare module 'redux-saga/src/effects' { + declare module.exports: any; +} + +declare module 'redux-saga/src/index' { + declare module.exports: any; +} + +declare module 'redux-saga/src/internal/buffers' { + declare module.exports: any; +} + +declare module 'redux-saga/src/internal/channel' { + declare module.exports: any; +} + +declare module 'redux-saga/src/internal/io' { + declare module.exports: any; +} + +declare module 'redux-saga/src/internal/middleware' { + declare module.exports: any; +} + +declare module 'redux-saga/src/internal/proc' { + declare module.exports: any; +} + +declare module 'redux-saga/src/internal/runSaga' { + declare module.exports: any; +} + +declare module 'redux-saga/src/internal/sagaHelpers/fsmIterator' { + declare module.exports: any; +} + +declare module 'redux-saga/src/internal/sagaHelpers/index' { + declare module.exports: any; +} + +declare module 'redux-saga/src/internal/sagaHelpers/takeEvery' { + declare module.exports: any; +} + +declare module 'redux-saga/src/internal/sagaHelpers/takeLatest' { + declare module.exports: any; +} + +declare module 'redux-saga/src/internal/sagaHelpers/throttle' { + declare module.exports: any; +} + +declare module 'redux-saga/src/internal/scheduler' { + declare module.exports: any; +} + +declare module 'redux-saga/src/internal/utils' { + declare module.exports: any; +} + +declare module 'redux-saga/src/utils' { + declare module.exports: any; +} + +// Filename aliases +declare module 'redux-saga/dist/redux-saga.js' { + declare module.exports: $Exports<'redux-saga/dist/redux-saga'>; +} +declare module 'redux-saga/dist/redux-saga.min.js' { + declare module.exports: $Exports<'redux-saga/dist/redux-saga.min'>; +} +declare module 'redux-saga/es/effects.js' { + declare module.exports: $Exports<'redux-saga/es/effects'>; +} +declare module 'redux-saga/es/index.js' { + declare module.exports: $Exports<'redux-saga/es/index'>; +} +declare module 'redux-saga/es/internal/buffers.js' { + declare module.exports: $Exports<'redux-saga/es/internal/buffers'>; +} +declare module 'redux-saga/es/internal/channel.js' { + declare module.exports: $Exports<'redux-saga/es/internal/channel'>; +} +declare module 'redux-saga/es/internal/io.js' { + declare module.exports: $Exports<'redux-saga/es/internal/io'>; +} +declare module 'redux-saga/es/internal/middleware.js' { + declare module.exports: $Exports<'redux-saga/es/internal/middleware'>; +} +declare module 'redux-saga/es/internal/proc.js' { + declare module.exports: $Exports<'redux-saga/es/internal/proc'>; +} +declare module 'redux-saga/es/internal/runSaga.js' { + declare module.exports: $Exports<'redux-saga/es/internal/runSaga'>; +} +declare module 'redux-saga/es/internal/sagaHelpers/fsmIterator.js' { + declare module.exports: $Exports<'redux-saga/es/internal/sagaHelpers/fsmIterator'>; +} +declare module 'redux-saga/es/internal/sagaHelpers/index.js' { + declare module.exports: $Exports<'redux-saga/es/internal/sagaHelpers/index'>; +} +declare module 'redux-saga/es/internal/sagaHelpers/takeEvery.js' { + declare module.exports: $Exports<'redux-saga/es/internal/sagaHelpers/takeEvery'>; +} +declare module 'redux-saga/es/internal/sagaHelpers/takeLatest.js' { + declare module.exports: $Exports<'redux-saga/es/internal/sagaHelpers/takeLatest'>; +} +declare module 'redux-saga/es/internal/sagaHelpers/throttle.js' { + declare module.exports: $Exports<'redux-saga/es/internal/sagaHelpers/throttle'>; +} +declare module 'redux-saga/es/internal/scheduler.js' { + declare module.exports: $Exports<'redux-saga/es/internal/scheduler'>; +} +declare module 'redux-saga/es/internal/utils.js' { + declare module.exports: $Exports<'redux-saga/es/internal/utils'>; +} +declare module 'redux-saga/es/utils.js' { + declare module.exports: $Exports<'redux-saga/es/utils'>; +} +declare module 'redux-saga/lib/effects.js' { + declare module.exports: $Exports<'redux-saga/lib/effects'>; +} +declare module 'redux-saga/lib/index.js' { + declare module.exports: $Exports<'redux-saga/lib/index'>; +} +declare module 'redux-saga/lib/internal/buffers.js' { + declare module.exports: $Exports<'redux-saga/lib/internal/buffers'>; +} +declare module 'redux-saga/lib/internal/channel.js' { + declare module.exports: $Exports<'redux-saga/lib/internal/channel'>; +} +declare module 'redux-saga/lib/internal/io.js' { + declare module.exports: $Exports<'redux-saga/lib/internal/io'>; +} +declare module 'redux-saga/lib/internal/middleware.js' { + declare module.exports: $Exports<'redux-saga/lib/internal/middleware'>; +} +declare module 'redux-saga/lib/internal/proc.js' { + declare module.exports: $Exports<'redux-saga/lib/internal/proc'>; +} +declare module 'redux-saga/lib/internal/runSaga.js' { + declare module.exports: $Exports<'redux-saga/lib/internal/runSaga'>; +} +declare module 'redux-saga/lib/internal/sagaHelpers/fsmIterator.js' { + declare module.exports: $Exports<'redux-saga/lib/internal/sagaHelpers/fsmIterator'>; +} +declare module 'redux-saga/lib/internal/sagaHelpers/index.js' { + declare module.exports: $Exports<'redux-saga/lib/internal/sagaHelpers/index'>; +} +declare module 'redux-saga/lib/internal/sagaHelpers/takeEvery.js' { + declare module.exports: $Exports<'redux-saga/lib/internal/sagaHelpers/takeEvery'>; +} +declare module 'redux-saga/lib/internal/sagaHelpers/takeLatest.js' { + declare module.exports: $Exports<'redux-saga/lib/internal/sagaHelpers/takeLatest'>; +} +declare module 'redux-saga/lib/internal/sagaHelpers/throttle.js' { + declare module.exports: $Exports<'redux-saga/lib/internal/sagaHelpers/throttle'>; +} +declare module 'redux-saga/lib/internal/scheduler.js' { + declare module.exports: $Exports<'redux-saga/lib/internal/scheduler'>; +} +declare module 'redux-saga/lib/internal/utils.js' { + declare module.exports: $Exports<'redux-saga/lib/internal/utils'>; +} +declare module 'redux-saga/lib/utils.js' { + declare module.exports: $Exports<'redux-saga/lib/utils'>; +} +declare module 'redux-saga/rollup.config.js' { + declare module.exports: $Exports<'redux-saga/rollup.config'>; +} +declare module 'redux-saga/src/effects.js' { + declare module.exports: $Exports<'redux-saga/src/effects'>; +} +declare module 'redux-saga/src/index.js' { + declare module.exports: $Exports<'redux-saga/src/index'>; +} +declare module 'redux-saga/src/internal/buffers.js' { + declare module.exports: $Exports<'redux-saga/src/internal/buffers'>; +} +declare module 'redux-saga/src/internal/channel.js' { + declare module.exports: $Exports<'redux-saga/src/internal/channel'>; +} +declare module 'redux-saga/src/internal/io.js' { + declare module.exports: $Exports<'redux-saga/src/internal/io'>; +} +declare module 'redux-saga/src/internal/middleware.js' { + declare module.exports: $Exports<'redux-saga/src/internal/middleware'>; +} +declare module 'redux-saga/src/internal/proc.js' { + declare module.exports: $Exports<'redux-saga/src/internal/proc'>; +} +declare module 'redux-saga/src/internal/runSaga.js' { + declare module.exports: $Exports<'redux-saga/src/internal/runSaga'>; +} +declare module 'redux-saga/src/internal/sagaHelpers/fsmIterator.js' { + declare module.exports: $Exports<'redux-saga/src/internal/sagaHelpers/fsmIterator'>; +} +declare module 'redux-saga/src/internal/sagaHelpers/index.js' { + declare module.exports: $Exports<'redux-saga/src/internal/sagaHelpers/index'>; +} +declare module 'redux-saga/src/internal/sagaHelpers/takeEvery.js' { + declare module.exports: $Exports<'redux-saga/src/internal/sagaHelpers/takeEvery'>; +} +declare module 'redux-saga/src/internal/sagaHelpers/takeLatest.js' { + declare module.exports: $Exports<'redux-saga/src/internal/sagaHelpers/takeLatest'>; +} +declare module 'redux-saga/src/internal/sagaHelpers/throttle.js' { + declare module.exports: $Exports<'redux-saga/src/internal/sagaHelpers/throttle'>; +} +declare module 'redux-saga/src/internal/scheduler.js' { + declare module.exports: $Exports<'redux-saga/src/internal/scheduler'>; +} +declare module 'redux-saga/src/internal/utils.js' { + declare module.exports: $Exports<'redux-saga/src/internal/utils'>; +} +declare module 'redux-saga/src/utils.js' { + declare module.exports: $Exports<'redux-saga/src/utils'>; +} diff --git a/frontend/flow-typed/npm/redux_v3.x.x.js b/frontend/flow-typed/npm/redux_v3.x.x.js index 711e5991..f6445d9c 100644 --- a/frontend/flow-typed/npm/redux_v3.x.x.js +++ b/frontend/flow-typed/npm/redux_v3.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 76c3dfb5a40ce169d5c08fe80dbd029a -// flow-typed version: 37b1c6d953/redux_v3.x.x/flow_>=v0.33.x +// flow-typed signature: 86993bd000012d3e1ef10d757d16952d +// flow-typed version: a165222d28/redux_v3.x.x/flow_>=v0.33.x declare module 'redux' { @@ -7,19 +7,21 @@ declare module 'redux' { S = State A = Action + D = Dispatch */ - declare type Dispatch }> = (action: A) => A; + declare type DispatchAPI = (action: A) => A; + declare type Dispatch }> = DispatchAPI; - declare type MiddlewareAPI = { - dispatch: Dispatch; + declare type MiddlewareAPI> = { + dispatch: D; getState(): S; }; - declare type Store = { + declare type Store> = { // rewrite MiddlewareAPI members in order to get nicer error messages (intersections produce long messages) - dispatch: Dispatch; + dispatch: D; getState(): S; subscribe(listener: () => void): () => void; replaceReducer(nextReducer: Reducer): void @@ -29,27 +31,27 @@ declare module 'redux' { declare type CombinedReducer = (state: $Shape & {} | void, action: A) => S; - declare type Middleware = - (api: MiddlewareAPI) => - (next: Dispatch) => Dispatch; + declare type Middleware> = + (api: MiddlewareAPI) => + (next: D) => D; - declare type StoreCreator = { - (reducer: Reducer, enhancer?: StoreEnhancer): Store; - (reducer: Reducer, preloadedState: S, enhancer?: StoreEnhancer): Store; + declare type StoreCreator> = { + (reducer: Reducer, enhancer?: StoreEnhancer): Store; + (reducer: Reducer, preloadedState: S, enhancer?: StoreEnhancer): Store; }; - declare type StoreEnhancer = (next: StoreCreator) => StoreCreator; + declare type StoreEnhancer> = (next: StoreCreator) => StoreCreator; - declare function createStore(reducer: Reducer, enhancer?: StoreEnhancer): Store; - declare function createStore(reducer: Reducer, preloadedState: S, enhancer?: StoreEnhancer): Store; + declare function createStore(reducer: Reducer, enhancer?: StoreEnhancer): Store; + declare function createStore(reducer: Reducer, preloadedState: S, enhancer?: StoreEnhancer): Store; - declare function applyMiddleware(...middlewares: Array>): StoreEnhancer; + declare function applyMiddleware(...middlewares: Array>): StoreEnhancer; declare type ActionCreator = (...args: Array) => A; declare type ActionCreators = { [key: K]: ActionCreator }; - declare function bindActionCreators>(actionCreator: C, dispatch: Dispatch): C; - declare function bindActionCreators>(actionCreators: C, dispatch: Dispatch): C; + declare function bindActionCreators, D: DispatchAPI>(actionCreator: C, dispatch: D): C; + declare function bindActionCreators, D: DispatchAPI>(actionCreators: C, dispatch: D): C; declare function combineReducers(reducers: O): CombinedReducer<$ObjMap(r: Reducer) => S>, A>; diff --git a/frontend/flow-typed/npm/reflexbox_vx.x.x.js b/frontend/flow-typed/npm/reflexbox_vx.x.x.js index ca09b37c..738e72db 100644 --- a/frontend/flow-typed/npm/reflexbox_vx.x.x.js +++ b/frontend/flow-typed/npm/reflexbox_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: da178f445bd3af1de640e6c2109c1ad8 -// flow-typed version: <>/reflexbox_v^2.2.3/flow_v0.46.0 +// flow-typed signature: 08ef36f937b4651fb9b62104814384be +// flow-typed version: <>/reflexbox_v^2.2.3/flow_v0.52.0 /** * This is an autogenerated libdef stub for: diff --git a/frontend/flow-typed/npm/sockjs-client_vx.x.x.js b/frontend/flow-typed/npm/sockjs-client_vx.x.x.js index 82272e86..a791deda 100644 --- a/frontend/flow-typed/npm/sockjs-client_vx.x.x.js +++ b/frontend/flow-typed/npm/sockjs-client_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 616e5637166b1a860dab814e0d881ff0 -// flow-typed version: <>/sockjs-client_v^1.1.4/flow_v0.46.0 +// flow-typed signature: 67976f2ba69eef934dde8c0ba365332c +// flow-typed version: <>/sockjs-client_v^1.1.4/flow_v0.52.0 /** * This is an autogenerated libdef stub for: -- cgit