Skip to content

Commit

Permalink
React Router 4 (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
rybon authored Jan 12, 2018
1 parent 9ae3b18 commit c6af63e
Show file tree
Hide file tree
Showing 24 changed files with 702 additions and 165 deletions.
144 changes: 144 additions & 0 deletions flow-typed/npm/connected-react-router_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
// flow-typed signature: 6e245267dc2c77f3c65b17a86ac788dc
// flow-typed version: <<STUB>>/connected-react-router_v^4.3.0/flow_v0.63.1

/**
* This is an autogenerated libdef stub for:
*
* 'connected-react-router'
*
* 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 'connected-react-router' {
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 'connected-react-router/immutable' {
declare module.exports: any;
}

declare module 'connected-react-router/lib/actions' {
declare module.exports: any;
}

declare module 'connected-react-router/lib/ConnectedRouter' {
declare module.exports: any;
}

declare module 'connected-react-router/lib/createAll' {
declare module.exports: any;
}

declare module 'connected-react-router/lib/immutable' {
declare module.exports: any;
}

declare module 'connected-react-router/lib/index' {
declare module.exports: any;
}

declare module 'connected-react-router/lib/middleware' {
declare module.exports: any;
}

declare module 'connected-react-router/lib/reducer' {
declare module.exports: any;
}

declare module 'connected-react-router/lib/structure/immutable/getIn' {
declare module.exports: any;
}

declare module 'connected-react-router/lib/structure/immutable/index' {
declare module.exports: any;
}

declare module 'connected-react-router/lib/structure/immutable/setIn' {
declare module.exports: any;
}

declare module 'connected-react-router/lib/structure/plain/getIn' {
declare module.exports: any;
}

declare module 'connected-react-router/lib/structure/plain/index' {
declare module.exports: any;
}

declare module 'connected-react-router/lib/structure/plain/setIn' {
declare module.exports: any;
}

declare module 'connected-react-router/umd/ConnectedReactRouter' {
declare module.exports: any;
}

declare module 'connected-react-router/umd/ConnectedReactRouter.min' {
declare module.exports: any;
}

declare module 'connected-react-router/webpack.config' {
declare module.exports: any;
}

// Filename aliases
declare module 'connected-react-router/immutable.js' {
declare module.exports: $Exports<'connected-react-router/immutable'>;
}
declare module 'connected-react-router/lib/actions.js' {
declare module.exports: $Exports<'connected-react-router/lib/actions'>;
}
declare module 'connected-react-router/lib/ConnectedRouter.js' {
declare module.exports: $Exports<'connected-react-router/lib/ConnectedRouter'>;
}
declare module 'connected-react-router/lib/createAll.js' {
declare module.exports: $Exports<'connected-react-router/lib/createAll'>;
}
declare module 'connected-react-router/lib/immutable.js' {
declare module.exports: $Exports<'connected-react-router/lib/immutable'>;
}
declare module 'connected-react-router/lib/index.js' {
declare module.exports: $Exports<'connected-react-router/lib/index'>;
}
declare module 'connected-react-router/lib/middleware.js' {
declare module.exports: $Exports<'connected-react-router/lib/middleware'>;
}
declare module 'connected-react-router/lib/reducer.js' {
declare module.exports: $Exports<'connected-react-router/lib/reducer'>;
}
declare module 'connected-react-router/lib/structure/immutable/getIn.js' {
declare module.exports: $Exports<'connected-react-router/lib/structure/immutable/getIn'>;
}
declare module 'connected-react-router/lib/structure/immutable/index.js' {
declare module.exports: $Exports<'connected-react-router/lib/structure/immutable/index'>;
}
declare module 'connected-react-router/lib/structure/immutable/setIn.js' {
declare module.exports: $Exports<'connected-react-router/lib/structure/immutable/setIn'>;
}
declare module 'connected-react-router/lib/structure/plain/getIn.js' {
declare module.exports: $Exports<'connected-react-router/lib/structure/plain/getIn'>;
}
declare module 'connected-react-router/lib/structure/plain/index.js' {
declare module.exports: $Exports<'connected-react-router/lib/structure/plain/index'>;
}
declare module 'connected-react-router/lib/structure/plain/setIn.js' {
declare module.exports: $Exports<'connected-react-router/lib/structure/plain/setIn'>;
}
declare module 'connected-react-router/umd/ConnectedReactRouter.js' {
declare module.exports: $Exports<'connected-react-router/umd/ConnectedReactRouter'>;
}
declare module 'connected-react-router/umd/ConnectedReactRouter.min.js' {
declare module.exports: $Exports<'connected-react-router/umd/ConnectedReactRouter.min'>;
}
declare module 'connected-react-router/webpack.config.js' {
declare module.exports: $Exports<'connected-react-router/webpack.config'>;
}
150 changes: 150 additions & 0 deletions flow-typed/npm/history_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
// flow-typed signature: ddd881205b06d6253ca3f8ef26407f59
// flow-typed version: <<STUB>>/history_v^4.7.2/flow_v0.63.1

/**
* 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'>;
}
58 changes: 58 additions & 0 deletions flow-typed/npm/qs_v6.5.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
// flow-typed signature: 715c2f8b80fc0049acaff07253098596
// flow-typed version: a7cda84c32/qs_v6.5.x/flow_>=v0.45.x

declare module "qs" {
declare type ParseOptions = {
allowPrototypes?: boolean,
arrayLimit?: number,
decoder?: Function,
delimiter?: string,
depth?: number,
parameterLimit?: number,
plainObjects?: boolean,
strictNullHandling?: boolean,
ignoreQueryPrefix?: boolean,
parseArrays?: boolean,
allowDots?: boolean
};

declare type ArrayFormat = "brackets" | "indices" | "repeat";

declare type FilterFunction = (prefix: string, value: any) => any;
declare type FilterArray = Array<string | number>;
declare type Filter = FilterArray | FilterFunction;

declare type StringifyOptions = {
encoder?: Function,
delimiter?: string,
strictNullHandling?: boolean,
skipNulls?: boolean,
encode?: boolean,
sort?: Function,
allowDots?: boolean,
serializeDate?: Function,
encodeValuesOnly?: boolean,
format?: string,
addQueryPrefix?: boolean,
arrayFormat?: ArrayFormat,
filter?: Filter
};

declare type Formatter = (any) => string;

declare type Formats = {
RFC1738: string,
RFC3986: string,
"default": string,
formatters: {
RFC1738: Formatter,
RFC3986: Formatter
}
};

declare module.exports: {
parse(str: string, opts?: ParseOptions): Object,
stringify(obj: Object | Array<any>, opts?: StringifyOptions): string,
formats: Formats
};
}
Loading

0 comments on commit c6af63e

Please sign in to comment.