configure flow

This commit is contained in:
Sebastian Sdorra
2019-10-08 14:02:01 +02:00
parent 7ec1a8dd01
commit aac264224c
107 changed files with 136155 additions and 228 deletions

View File

@@ -1,8 +0,0 @@
[ignore]
.*/node_modules/module-deps/.*
[include]
[libs]
[options]

View File

@@ -17,7 +17,7 @@
"babel-loader": "^8.0.6", "babel-loader": "^8.0.6",
"css-loader": "^3.2.0", "css-loader": "^3.2.0",
"file-loader": "^4.2.0", "file-loader": "^4.2.0",
"flow-bin": "^0.108.0", "flow-mono-cli": "^1.5.0",
"mustache": "^3.1.0", "mustache": "^3.1.0",
"node-sass": "^4.12.0", "node-sass": "^4.12.0",
"sass-loader": "^8.0.0", "sass-loader": "^8.0.0",

View File

@@ -1,9 +1,12 @@
[ignore] [declarations]
.*/node_modules/module-deps/.* ../../scm-ui/ui-types/.*
../../scm-ui/ui-components/.*
[include] [include]
./src/**
[libs] ../../scm-ui/ui-types/.*
./node_modules/@scm-manager/ui-components/flow-typed ../../scm-ui/ui-components/.*
[options] [options]
module.system.node.resolve_dirname=../../node_modules
module.name_mapper='^@scm-manager\/ui-\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/../../scm-ui/ui-\1'

View File

@@ -0,0 +1,49 @@
// flow-typed signature: e87b860fca7047001bcde4b8780a8655
// flow-typed version: <<STUB>>/@scm-manager/ui-extensions_v0.1.2/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* '@scm-manager/ui-extensions'
*
* 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 '@scm-manager/ui-extensions' {
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 '@scm-manager/ui-extensions/lib/binder' {
declare module.exports: any;
}
declare module '@scm-manager/ui-extensions/lib/ExtensionPoint' {
declare module.exports: any;
}
declare module '@scm-manager/ui-extensions/lib' {
declare module.exports: any;
}
// Filename aliases
declare module '@scm-manager/ui-extensions/lib/binder.js' {
declare module.exports: $Exports<'@scm-manager/ui-extensions/lib/binder'>;
}
declare module '@scm-manager/ui-extensions/lib/ExtensionPoint.js' {
declare module.exports: $Exports<'@scm-manager/ui-extensions/lib/ExtensionPoint'>;
}
declare module '@scm-manager/ui-extensions/lib/index' {
declare module.exports: $Exports<'@scm-manager/ui-extensions/lib'>;
}
declare module '@scm-manager/ui-extensions/lib/index.js' {
declare module.exports: $Exports<'@scm-manager/ui-extensions/lib'>;
}

View File

@@ -0,0 +1,23 @@
// flow-typed signature: cf86673cc32d185bdab1d2ea90578d37
// flow-typed version: 614bf49aa8/classnames_v2.x.x/flow_>=v0.25.x
type $npm$classnames$Classes =
| string
| { [className: string]: * }
| false
| void
| null;
declare module "classnames" {
declare module.exports: (
...classes: Array<$npm$classnames$Classes | $npm$classnames$Classes[]>
) => string;
}
declare module "classnames/bind" {
declare module.exports: $Exports<"classnames">;
}
declare module "classnames/dedupe" {
declare module.exports: $Exports<"classnames">;
}

View File

@@ -0,0 +1,269 @@
// flow-typed signature: 761f01d8db9f91fa67135cb2120c2b8e
// flow-typed version: <<STUB>>/enzyme_v3.10.0/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'enzyme'
*
* 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 'enzyme' {
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 'enzyme/build/configuration' {
declare module.exports: any;
}
declare module 'enzyme/build/Debug' {
declare module.exports: any;
}
declare module 'enzyme/build/EnzymeAdapter' {
declare module.exports: any;
}
declare module 'enzyme/build/getAdapter' {
declare module.exports: any;
}
declare module 'enzyme/build' {
declare module.exports: any;
}
declare module 'enzyme/build/mount' {
declare module.exports: any;
}
declare module 'enzyme/build/ReactWrapper' {
declare module.exports: any;
}
declare module 'enzyme/build/render' {
declare module.exports: any;
}
declare module 'enzyme/build/RSTTraversal' {
declare module.exports: any;
}
declare module 'enzyme/build/selectors' {
declare module.exports: any;
}
declare module 'enzyme/build/shallow' {
declare module.exports: any;
}
declare module 'enzyme/build/ShallowWrapper' {
declare module.exports: any;
}
declare module 'enzyme/build/Utils' {
declare module.exports: any;
}
declare module 'enzyme/build/validateAdapter' {
declare module.exports: any;
}
declare module 'enzyme/mount' {
declare module.exports: any;
}
declare module 'enzyme/ReactWrapper' {
declare module.exports: any;
}
declare module 'enzyme/render' {
declare module.exports: any;
}
declare module 'enzyme/shallow' {
declare module.exports: any;
}
declare module 'enzyme/ShallowWrapper' {
declare module.exports: any;
}
declare module 'enzyme/src/configuration' {
declare module.exports: any;
}
declare module 'enzyme/src/Debug' {
declare module.exports: any;
}
declare module 'enzyme/src/EnzymeAdapter' {
declare module.exports: any;
}
declare module 'enzyme/src/getAdapter' {
declare module.exports: any;
}
declare module 'enzyme/src' {
declare module.exports: any;
}
declare module 'enzyme/src/mount' {
declare module.exports: any;
}
declare module 'enzyme/src/ReactWrapper' {
declare module.exports: any;
}
declare module 'enzyme/src/render' {
declare module.exports: any;
}
declare module 'enzyme/src/RSTTraversal' {
declare module.exports: any;
}
declare module 'enzyme/src/selectors' {
declare module.exports: any;
}
declare module 'enzyme/src/shallow' {
declare module.exports: any;
}
declare module 'enzyme/src/ShallowWrapper' {
declare module.exports: any;
}
declare module 'enzyme/src/Utils' {
declare module.exports: any;
}
declare module 'enzyme/src/validateAdapter' {
declare module.exports: any;
}
declare module 'enzyme/withDom' {
declare module.exports: any;
}
// Filename aliases
declare module 'enzyme/build/configuration.js' {
declare module.exports: $Exports<'enzyme/build/configuration'>;
}
declare module 'enzyme/build/Debug.js' {
declare module.exports: $Exports<'enzyme/build/Debug'>;
}
declare module 'enzyme/build/EnzymeAdapter.js' {
declare module.exports: $Exports<'enzyme/build/EnzymeAdapter'>;
}
declare module 'enzyme/build/getAdapter.js' {
declare module.exports: $Exports<'enzyme/build/getAdapter'>;
}
declare module 'enzyme/build/index' {
declare module.exports: $Exports<'enzyme/build'>;
}
declare module 'enzyme/build/index.js' {
declare module.exports: $Exports<'enzyme/build'>;
}
declare module 'enzyme/build/mount.js' {
declare module.exports: $Exports<'enzyme/build/mount'>;
}
declare module 'enzyme/build/ReactWrapper.js' {
declare module.exports: $Exports<'enzyme/build/ReactWrapper'>;
}
declare module 'enzyme/build/render.js' {
declare module.exports: $Exports<'enzyme/build/render'>;
}
declare module 'enzyme/build/RSTTraversal.js' {
declare module.exports: $Exports<'enzyme/build/RSTTraversal'>;
}
declare module 'enzyme/build/selectors.js' {
declare module.exports: $Exports<'enzyme/build/selectors'>;
}
declare module 'enzyme/build/shallow.js' {
declare module.exports: $Exports<'enzyme/build/shallow'>;
}
declare module 'enzyme/build/ShallowWrapper.js' {
declare module.exports: $Exports<'enzyme/build/ShallowWrapper'>;
}
declare module 'enzyme/build/Utils.js' {
declare module.exports: $Exports<'enzyme/build/Utils'>;
}
declare module 'enzyme/build/validateAdapter.js' {
declare module.exports: $Exports<'enzyme/build/validateAdapter'>;
}
declare module 'enzyme/mount.js' {
declare module.exports: $Exports<'enzyme/mount'>;
}
declare module 'enzyme/ReactWrapper.js' {
declare module.exports: $Exports<'enzyme/ReactWrapper'>;
}
declare module 'enzyme/render.js' {
declare module.exports: $Exports<'enzyme/render'>;
}
declare module 'enzyme/shallow.js' {
declare module.exports: $Exports<'enzyme/shallow'>;
}
declare module 'enzyme/ShallowWrapper.js' {
declare module.exports: $Exports<'enzyme/ShallowWrapper'>;
}
declare module 'enzyme/src/configuration.js' {
declare module.exports: $Exports<'enzyme/src/configuration'>;
}
declare module 'enzyme/src/Debug.js' {
declare module.exports: $Exports<'enzyme/src/Debug'>;
}
declare module 'enzyme/src/EnzymeAdapter.js' {
declare module.exports: $Exports<'enzyme/src/EnzymeAdapter'>;
}
declare module 'enzyme/src/getAdapter.js' {
declare module.exports: $Exports<'enzyme/src/getAdapter'>;
}
declare module 'enzyme/src/index' {
declare module.exports: $Exports<'enzyme/src'>;
}
declare module 'enzyme/src/index.js' {
declare module.exports: $Exports<'enzyme/src'>;
}
declare module 'enzyme/src/mount.js' {
declare module.exports: $Exports<'enzyme/src/mount'>;
}
declare module 'enzyme/src/ReactWrapper.js' {
declare module.exports: $Exports<'enzyme/src/ReactWrapper'>;
}
declare module 'enzyme/src/render.js' {
declare module.exports: $Exports<'enzyme/src/render'>;
}
declare module 'enzyme/src/RSTTraversal.js' {
declare module.exports: $Exports<'enzyme/src/RSTTraversal'>;
}
declare module 'enzyme/src/selectors.js' {
declare module.exports: $Exports<'enzyme/src/selectors'>;
}
declare module 'enzyme/src/shallow.js' {
declare module.exports: $Exports<'enzyme/src/shallow'>;
}
declare module 'enzyme/src/ShallowWrapper.js' {
declare module.exports: $Exports<'enzyme/src/ShallowWrapper'>;
}
declare module 'enzyme/src/Utils.js' {
declare module.exports: $Exports<'enzyme/src/Utils'>;
}
declare module 'enzyme/src/validateAdapter.js' {
declare module.exports: $Exports<'enzyme/src/validateAdapter'>;
}
declare module 'enzyme/withDom.js' {
declare module.exports: $Exports<'enzyme/withDom'>;
}

View File

@@ -0,0 +1,66 @@
// flow-typed signature: 9be79ea52a669f6c266677d1d0bd3e9d
// flow-typed version: <<STUB>>/gitdiff-parser_v0.1.2/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'gitdiff-parser'
*
* 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 'gitdiff-parser' {
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 'gitdiff-parser/test/git.test' {
declare module.exports: any;
}
declare module 'gitdiff-parser/test/hg' {
declare module.exports: any;
}
declare module 'gitdiff-parser/test/hg.test' {
declare module.exports: any;
}
declare module 'gitdiff-parser/test/perf-parse-diff' {
declare module.exports: any;
}
declare module 'gitdiff-parser/test/perf' {
declare module.exports: any;
}
// Filename aliases
declare module 'gitdiff-parser/index' {
declare module.exports: $Exports<'gitdiff-parser'>;
}
declare module 'gitdiff-parser/index.js' {
declare module.exports: $Exports<'gitdiff-parser'>;
}
declare module 'gitdiff-parser/test/git.test.js' {
declare module.exports: $Exports<'gitdiff-parser/test/git.test'>;
}
declare module 'gitdiff-parser/test/hg.js' {
declare module.exports: $Exports<'gitdiff-parser/test/hg'>;
}
declare module 'gitdiff-parser/test/hg.test.js' {
declare module.exports: $Exports<'gitdiff-parser/test/hg.test'>;
}
declare module 'gitdiff-parser/test/perf-parse-diff.js' {
declare module.exports: $Exports<'gitdiff-parser/test/perf-parse-diff'>;
}
declare module 'gitdiff-parser/test/perf.js' {
declare module.exports: $Exports<'gitdiff-parser/test/perf'>;
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,331 @@
// flow-typed signature: 23b805356f90ad9384dd88489654e380
// flow-typed version: e9374c5fe9/moment_v2.3.x/flow_>=v0.25.x
type moment$MomentOptions = {
y?: number | string,
year?: number | string,
years?: number | string,
M?: number | string,
month?: number | string,
months?: number | string,
d?: number | string,
day?: number | string,
days?: number | string,
date?: number | string,
h?: number | string,
hour?: number | string,
hours?: number | string,
m?: number | string,
minute?: number | string,
minutes?: number | string,
s?: number | string,
second?: number | string,
seconds?: number | string,
ms?: number | string,
millisecond?: number | string,
milliseconds?: number | string
};
type moment$MomentObject = {
years: number,
months: number,
date: number,
hours: number,
minutes: number,
seconds: number,
milliseconds: number
};
type moment$MomentCreationData = {
input: string,
format: string,
locale: Object,
isUTC: boolean,
strict: boolean
};
type moment$CalendarFormat = string | ((moment: moment$Moment) => string);
type moment$CalendarFormats = {
sameDay?: moment$CalendarFormat,
nextDay?: moment$CalendarFormat,
nextWeek?: moment$CalendarFormat,
lastDay?: moment$CalendarFormat,
lastWeek?: moment$CalendarFormat,
sameElse?: moment$CalendarFormat
};
declare class moment$LocaleData {
months(moment: moment$Moment): string,
monthsShort(moment: moment$Moment): string,
monthsParse(month: string): number,
weekdays(moment: moment$Moment): string,
weekdaysShort(moment: moment$Moment): string,
weekdaysMin(moment: moment$Moment): string,
weekdaysParse(weekDay: string): number,
longDateFormat(dateFormat: string): string,
isPM(date: string): boolean,
meridiem(hours: number, minutes: number, isLower: boolean): string,
calendar(
key:
| "sameDay"
| "nextDay"
| "lastDay"
| "nextWeek"
| "prevWeek"
| "sameElse",
moment: moment$Moment
): string,
relativeTime(
number: number,
withoutSuffix: boolean,
key: "s" | "m" | "mm" | "h" | "hh" | "d" | "dd" | "M" | "MM" | "y" | "yy",
isFuture: boolean
): string,
pastFuture(diff: any, relTime: string): string,
ordinal(number: number): string,
preparse(str: string): any,
postformat(str: string): any,
week(moment: moment$Moment): string,
invalidDate(): string,
firstDayOfWeek(): number,
firstDayOfYear(): number
}
declare class moment$MomentDuration {
humanize(suffix?: boolean): string,
milliseconds(): number,
asMilliseconds(): number,
seconds(): number,
asSeconds(): number,
minutes(): number,
asMinutes(): number,
hours(): number,
asHours(): number,
days(): number,
asDays(): number,
months(): number,
asWeeks(): number,
weeks(): number,
asMonths(): number,
years(): number,
asYears(): number,
add(value: number | moment$MomentDuration | Object, unit?: string): this,
subtract(value: number | moment$MomentDuration | Object, unit?: string): this,
as(unit: string): number,
get(unit: string): number,
toJSON(): string,
toISOString(): string,
isValid(): boolean
}
declare class moment$Moment {
static ISO_8601: string,
static (
string?: string,
format?: string | Array<string>,
strict?: boolean
): moment$Moment,
static (
string?: string,
format?: string | Array<string>,
locale?: string,
strict?: boolean
): moment$Moment,
static (
initDate: ?Object | number | Date | Array<number> | moment$Moment | string
): moment$Moment,
static unix(seconds: number): moment$Moment,
static utc(): moment$Moment,
static utc(number: number | Array<number>): moment$Moment,
static utc(
str: string,
str2?: string | Array<string>,
str3?: string
): moment$Moment,
static utc(moment: moment$Moment): moment$Moment,
static utc(date: Date): moment$Moment,
static parseZone(): moment$Moment,
static parseZone(rawDate: string): moment$Moment,
static parseZone(
rawDate: string,
format: string | Array<string>
): moment$Moment,
static parseZone(
rawDate: string,
format: string,
strict: boolean
): moment$Moment,
static parseZone(
rawDate: string,
format: string,
locale: string,
strict: boolean
): moment$Moment,
isValid(): boolean,
invalidAt(): 0 | 1 | 2 | 3 | 4 | 5 | 6,
creationData(): moment$MomentCreationData,
millisecond(number: number): this,
milliseconds(number: number): this,
millisecond(): number,
milliseconds(): number,
second(number: number): this,
seconds(number: number): this,
second(): number,
seconds(): number,
minute(number: number): this,
minutes(number: number): this,
minute(): number,
minutes(): number,
hour(number: number): this,
hours(number: number): this,
hour(): number,
hours(): number,
date(number: number): this,
dates(number: number): this,
date(): number,
dates(): number,
day(day: number | string): this,
days(day: number | string): this,
day(): number,
days(): number,
weekday(number: number): this,
weekday(): number,
isoWeekday(number: number): this,
isoWeekday(): number,
dayOfYear(number: number): this,
dayOfYear(): number,
week(number: number): this,
weeks(number: number): this,
week(): number,
weeks(): number,
isoWeek(number: number): this,
isoWeeks(number: number): this,
isoWeek(): number,
isoWeeks(): number,
month(number: number): this,
months(number: number): this,
month(): number,
months(): number,
quarter(number: number): this,
quarter(): number,
year(number: number): this,
years(number: number): this,
year(): number,
years(): number,
weekYear(number: number): this,
weekYear(): number,
isoWeekYear(number: number): this,
isoWeekYear(): number,
weeksInYear(): number,
isoWeeksInYear(): number,
get(string: string): number,
set(unit: string, value: number): this,
set(options: { [unit: string]: number }): this,
static max(...dates: Array<moment$Moment>): moment$Moment,
static max(dates: Array<moment$Moment>): moment$Moment,
static min(...dates: Array<moment$Moment>): moment$Moment,
static min(dates: Array<moment$Moment>): moment$Moment,
add(
value: number | moment$MomentDuration | moment$Moment | Object,
unit?: string
): this,
subtract(
value: number | moment$MomentDuration | moment$Moment | string | Object,
unit?: string
): this,
startOf(unit: string): this,
endOf(unit: string): this,
local(): this,
utc(): this,
utcOffset(
offset: number | string,
keepLocalTime?: boolean,
keepMinutes?: boolean
): this,
utcOffset(): number,
format(format?: string): string,
fromNow(removeSuffix?: boolean): string,
from(
value: moment$Moment | string | number | Date | Array<number>,
removePrefix?: boolean
): string,
toNow(removePrefix?: boolean): string,
to(
value: moment$Moment | string | number | Date | Array<number>,
removePrefix?: boolean
): string,
calendar(refTime?: any, formats?: moment$CalendarFormats): string,
diff(
date: moment$Moment | string | number | Date | Array<number>,
format?: string,
floating?: boolean
): number,
valueOf(): number,
unix(): number,
daysInMonth(): number,
toDate(): Date,
toArray(): Array<number>,
toJSON(): string,
toISOString(
keepOffset?: boolean
): string,
toObject(): moment$MomentObject,
isBefore(
date?: moment$Moment | string | number | Date | Array<number>,
units?: ?string
): boolean,
isSame(
date?: moment$Moment | string | number | Date | Array<number>,
units?: ?string
): boolean,
isAfter(
date?: moment$Moment | string | number | Date | Array<number>,
units?: ?string
): boolean,
isSameOrBefore(
date?: moment$Moment | string | number | Date | Array<number>,
units?: ?string
): boolean,
isSameOrAfter(
date?: moment$Moment | string | number | Date | Array<number>,
units?: ?string
): boolean,
isBetween(
fromDate: moment$Moment | string | number | Date | Array<number>,
toDate?: ?moment$Moment | string | number | Date | Array<number>,
granularity?: ?string,
inclusion?: ?string
): boolean,
isDST(): boolean,
isDSTShifted(): boolean,
isLeapYear(): boolean,
clone(): moment$Moment,
static isMoment(obj: any): boolean,
static isDate(obj: any): boolean,
static locale(locale: string, localeData?: Object): string,
static updateLocale(locale: string, localeData?: ?Object): void,
static locale(locales: Array<string>): string,
locale(locale: string, customization?: Object | null): moment$Moment,
locale(): string,
static months(): Array<string>,
static monthsShort(): Array<string>,
static weekdays(): Array<string>,
static weekdaysShort(): Array<string>,
static weekdaysMin(): Array<string>,
static months(): string,
static monthsShort(): string,
static weekdays(): string,
static weekdaysShort(): string,
static weekdaysMin(): string,
static localeData(key?: string): moment$LocaleData,
static duration(
value: number | Object | string,
unit?: string
): moment$MomentDuration,
static isDuration(obj: any): boolean,
static normalizeUnits(unit: string): string,
static invalid(object: any): moment$Moment
}
declare module "moment" {
declare module.exports: Class<moment$Moment>;
}

View File

@@ -0,0 +1,22 @@
// flow-typed signature: 45d44f189fa426ca21dee3f5149a4f99
// flow-typed version: c6154227d1/query-string_v5.x.x/flow_>=v0.104.x
declare module "query-string" {
declare type ArrayFormat = "none" | "bracket" | "index";
declare type ParseOptions = {|
arrayFormat?: ArrayFormat
|};
declare type StringifyOptions = {|
arrayFormat?: ArrayFormat,
encode?: boolean,
strict?: boolean
|};
declare module.exports: {
extract(str: string): string,
parse(str: string, opts?: ParseOptions): Object,
stringify(obj: Object, opts?: StringifyOptions): string,
...
};
}

View File

@@ -0,0 +1,139 @@
// flow-typed signature: 35264e970923e4f3cda147e7c17e2407
// flow-typed version: <<STUB>>/react-diff-view_v1.8.1/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'react-diff-view'
*
* 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 'react-diff-view' {
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 'react-diff-view/parse' {
declare module.exports: any;
}
declare module 'react-diff-view/src/CodeCell' {
declare module.exports: any;
}
declare module 'react-diff-view/src/Diff' {
declare module.exports: any;
}
declare module 'react-diff-view/src/Hunk' {
declare module.exports: any;
}
declare module 'react-diff-view/src' {
declare module.exports: any;
}
declare module 'react-diff-view/src/parse' {
declare module.exports: any;
}
declare module 'react-diff-view/src/propTypes' {
declare module.exports: any;
}
declare module 'react-diff-view/src/selectors' {
declare module.exports: any;
}
declare module 'react-diff-view/src/SplitChange' {
declare module.exports: any;
}
declare module 'react-diff-view/src/SplitHunk' {
declare module.exports: any;
}
declare module 'react-diff-view/src/SplitWidget' {
declare module.exports: any;
}
declare module 'react-diff-view/src/UnifiedChange' {
declare module.exports: any;
}
declare module 'react-diff-view/src/UnifiedHunk' {
declare module.exports: any;
}
declare module 'react-diff-view/src/UnifiedWidget' {
declare module.exports: any;
}
declare module 'react-diff-view/src/utils' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-diff-view/index' {
declare module.exports: $Exports<'react-diff-view'>;
}
declare module 'react-diff-view/index.js' {
declare module.exports: $Exports<'react-diff-view'>;
}
declare module 'react-diff-view/parse.js' {
declare module.exports: $Exports<'react-diff-view/parse'>;
}
declare module 'react-diff-view/src/CodeCell.js' {
declare module.exports: $Exports<'react-diff-view/src/CodeCell'>;
}
declare module 'react-diff-view/src/Diff.js' {
declare module.exports: $Exports<'react-diff-view/src/Diff'>;
}
declare module 'react-diff-view/src/Hunk.js' {
declare module.exports: $Exports<'react-diff-view/src/Hunk'>;
}
declare module 'react-diff-view/src/index' {
declare module.exports: $Exports<'react-diff-view/src'>;
}
declare module 'react-diff-view/src/index.js' {
declare module.exports: $Exports<'react-diff-view/src'>;
}
declare module 'react-diff-view/src/parse.js' {
declare module.exports: $Exports<'react-diff-view/src/parse'>;
}
declare module 'react-diff-view/src/propTypes.js' {
declare module.exports: $Exports<'react-diff-view/src/propTypes'>;
}
declare module 'react-diff-view/src/selectors.js' {
declare module.exports: $Exports<'react-diff-view/src/selectors'>;
}
declare module 'react-diff-view/src/SplitChange.js' {
declare module.exports: $Exports<'react-diff-view/src/SplitChange'>;
}
declare module 'react-diff-view/src/SplitHunk.js' {
declare module.exports: $Exports<'react-diff-view/src/SplitHunk'>;
}
declare module 'react-diff-view/src/SplitWidget.js' {
declare module.exports: $Exports<'react-diff-view/src/SplitWidget'>;
}
declare module 'react-diff-view/src/UnifiedChange.js' {
declare module.exports: $Exports<'react-diff-view/src/UnifiedChange'>;
}
declare module 'react-diff-view/src/UnifiedHunk.js' {
declare module.exports: $Exports<'react-diff-view/src/UnifiedHunk'>;
}
declare module 'react-diff-view/src/UnifiedWidget.js' {
declare module.exports: $Exports<'react-diff-view/src/UnifiedWidget'>;
}
declare module 'react-diff-view/src/utils.js' {
declare module.exports: $Exports<'react-diff-view/src/utils'>;
}

View File

@@ -0,0 +1,110 @@
// flow-typed signature: e48526194d458ea4787ca56d830092da
// flow-typed version: c6154227d1/react-i18next_v7.x.x/flow_>=v0.104.x
declare module "react-i18next" {
declare type TFunction = (key?: ?string, data?: ?Object) => string;
declare type TranslatorProps = {|
t: TFunction,
i18nLoadedAt: Date,
i18n: Object
|};
declare type TranslatorPropsVoid = {
t: TFunction | void,
i18nLoadedAt: Date | void,
i18n: Object | void,
...
};
declare type Translator<P: {...}, Component: React$ComponentType<P>> = (
WrappedComponent: Component
) => React$ComponentType<
$Diff<React$ElementConfig<Component>, TranslatorPropsVoid>
>;
declare type TranslateOptions = $Shape<{
wait: boolean,
nsMode: "default" | "fallback",
bindi18n: false | string,
bindStore: false | string,
withRef: boolean,
translateFuncName: string,
i18n: Object,
usePureComponent: boolean,
...
}>;
declare function translate<P: {...}, Component: React$ComponentType<P>>(
namespaces?: | string
| Array<string>
| (($Diff<P, TranslatorPropsVoid>) => string | Array<string>),
options?: TranslateOptions
): Translator<P, Component>;
declare type I18nProps = {
i18n?: Object,
ns?: string | Array<string>,
children: (t: TFunction, {
i18n: Object,
t: TFunction,
...
}) => React$Node,
initialI18nStore?: Object,
initialLanguage?: string,
...
};
declare var I18n: React$ComponentType<I18nProps>;
declare type InterpolateProps = {
className?: string,
dangerouslySetInnerHTMLPartElement?: string,
i18n?: Object,
i18nKey?: string,
options?: Object,
parent?: string,
style?: Object,
t?: TFunction,
useDangerouslySetInnerHTML?: boolean,
...
};
declare var Interpolate: React$ComponentType<InterpolateProps>;
declare type TransProps = {
count?: number,
parent?: string,
i18n?: Object,
i18nKey?: string,
t?: TFunction,
...
};
declare var Trans: React$ComponentType<TransProps>;
declare type ProviderProps = {
i18n: Object,
children: React$Element<*>,
...
};
declare var I18nextProvider: React$ComponentType<ProviderProps>;
declare type NamespacesProps = {
components: Array<React$ComponentType<*>>,
i18n: { loadNamespaces: Function, ... },
...
};
declare function loadNamespaces(props: NamespacesProps): Promise<void>;
declare var reactI18nextModule: {
type: "3rdParty",
init: (instance: Object) => void,
...
};
declare function setDefaults(options: TranslateOptions): void;
declare function getDefaults(): TranslateOptions;
declare function getI18n(): Object;
declare function setI18n(instance: Object): void;
}

View File

@@ -0,0 +1,137 @@
// flow-typed signature: ba35d02d668b0d0a3e04a63a6847974e
// flow-typed version: <<STUB>>/react-jss_v8.6.1/flow_v0.79.1
/**
* This is an autogenerated libdef stub for:
*
* 'react-jss'
*
* 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 'react-jss' {
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 'react-jss/dist/react-jss' {
declare module.exports: any;
}
declare module 'react-jss/dist/react-jss.min' {
declare module.exports: any;
}
declare module 'react-jss/lib/compose' {
declare module.exports: any;
}
declare module 'react-jss/lib/compose.test' {
declare module.exports: any;
}
declare module 'react-jss/lib/contextTypes' {
declare module.exports: any;
}
declare module 'react-jss/lib/createHoc' {
declare module.exports: any;
}
declare module 'react-jss/lib/getDisplayName' {
declare module.exports: any;
}
declare module 'react-jss/lib/index' {
declare module.exports: any;
}
declare module 'react-jss/lib/index.test' {
declare module.exports: any;
}
declare module 'react-jss/lib/injectSheet' {
declare module.exports: any;
}
declare module 'react-jss/lib/injectSheet.test' {
declare module.exports: any;
}
declare module 'react-jss/lib/jss' {
declare module.exports: any;
}
declare module 'react-jss/lib/JssProvider' {
declare module.exports: any;
}
declare module 'react-jss/lib/JssProvider.test' {
declare module.exports: any;
}
declare module 'react-jss/lib/ns' {
declare module.exports: any;
}
declare module 'react-jss/lib/propTypes' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-jss/dist/react-jss.js' {
declare module.exports: $Exports<'react-jss/dist/react-jss'>;
}
declare module 'react-jss/dist/react-jss.min.js' {
declare module.exports: $Exports<'react-jss/dist/react-jss.min'>;
}
declare module 'react-jss/lib/compose.js' {
declare module.exports: $Exports<'react-jss/lib/compose'>;
}
declare module 'react-jss/lib/compose.test.js' {
declare module.exports: $Exports<'react-jss/lib/compose.test'>;
}
declare module 'react-jss/lib/contextTypes.js' {
declare module.exports: $Exports<'react-jss/lib/contextTypes'>;
}
declare module 'react-jss/lib/createHoc.js' {
declare module.exports: $Exports<'react-jss/lib/createHoc'>;
}
declare module 'react-jss/lib/getDisplayName.js' {
declare module.exports: $Exports<'react-jss/lib/getDisplayName'>;
}
declare module 'react-jss/lib/index.js' {
declare module.exports: $Exports<'react-jss/lib/index'>;
}
declare module 'react-jss/lib/index.test.js' {
declare module.exports: $Exports<'react-jss/lib/index.test'>;
}
declare module 'react-jss/lib/injectSheet.js' {
declare module.exports: $Exports<'react-jss/lib/injectSheet'>;
}
declare module 'react-jss/lib/injectSheet.test.js' {
declare module.exports: $Exports<'react-jss/lib/injectSheet.test'>;
}
declare module 'react-jss/lib/jss.js' {
declare module.exports: $Exports<'react-jss/lib/jss'>;
}
declare module 'react-jss/lib/JssProvider.js' {
declare module.exports: $Exports<'react-jss/lib/JssProvider'>;
}
declare module 'react-jss/lib/JssProvider.test.js' {
declare module.exports: $Exports<'react-jss/lib/JssProvider.test'>;
}
declare module 'react-jss/lib/ns.js' {
declare module.exports: $Exports<'react-jss/lib/ns'>;
}
declare module 'react-jss/lib/propTypes.js' {
declare module.exports: $Exports<'react-jss/lib/propTypes'>;
}

View File

@@ -0,0 +1,123 @@
// flow-typed signature: 6bcbadac27a01caf160321668f1e53ce
// flow-typed version: <<STUB>>/react-markdown_v4.2.2/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'react-markdown'
*
* 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 'react-markdown' {
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 'react-markdown/lib/ast-to-react' {
declare module.exports: any;
}
declare module 'react-markdown/lib/get-definitions' {
declare module.exports: any;
}
declare module 'react-markdown/lib/plugins/disallow-node' {
declare module.exports: any;
}
declare module 'react-markdown/lib/plugins/html-parser' {
declare module.exports: any;
}
declare module 'react-markdown/lib/plugins/naive-html' {
declare module.exports: any;
}
declare module 'react-markdown/lib/react-markdown' {
declare module.exports: any;
}
declare module 'react-markdown/lib/renderers' {
declare module.exports: any;
}
declare module 'react-markdown/lib/symbols' {
declare module.exports: any;
}
declare module 'react-markdown/lib/uri-transformer' {
declare module.exports: any;
}
declare module 'react-markdown/lib/with-html' {
declare module.exports: any;
}
declare module 'react-markdown/lib/wrap-table-rows' {
declare module.exports: any;
}
declare module 'react-markdown/plugins/html-parser' {
declare module.exports: any;
}
declare module 'react-markdown/umd/react-markdown' {
declare module.exports: any;
}
declare module 'react-markdown/with-html' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-markdown/lib/ast-to-react.js' {
declare module.exports: $Exports<'react-markdown/lib/ast-to-react'>;
}
declare module 'react-markdown/lib/get-definitions.js' {
declare module.exports: $Exports<'react-markdown/lib/get-definitions'>;
}
declare module 'react-markdown/lib/plugins/disallow-node.js' {
declare module.exports: $Exports<'react-markdown/lib/plugins/disallow-node'>;
}
declare module 'react-markdown/lib/plugins/html-parser.js' {
declare module.exports: $Exports<'react-markdown/lib/plugins/html-parser'>;
}
declare module 'react-markdown/lib/plugins/naive-html.js' {
declare module.exports: $Exports<'react-markdown/lib/plugins/naive-html'>;
}
declare module 'react-markdown/lib/react-markdown.js' {
declare module.exports: $Exports<'react-markdown/lib/react-markdown'>;
}
declare module 'react-markdown/lib/renderers.js' {
declare module.exports: $Exports<'react-markdown/lib/renderers'>;
}
declare module 'react-markdown/lib/symbols.js' {
declare module.exports: $Exports<'react-markdown/lib/symbols'>;
}
declare module 'react-markdown/lib/uri-transformer.js' {
declare module.exports: $Exports<'react-markdown/lib/uri-transformer'>;
}
declare module 'react-markdown/lib/with-html.js' {
declare module.exports: $Exports<'react-markdown/lib/with-html'>;
}
declare module 'react-markdown/lib/wrap-table-rows.js' {
declare module.exports: $Exports<'react-markdown/lib/wrap-table-rows'>;
}
declare module 'react-markdown/plugins/html-parser.js' {
declare module.exports: $Exports<'react-markdown/plugins/html-parser'>;
}
declare module 'react-markdown/umd/react-markdown.js' {
declare module.exports: $Exports<'react-markdown/umd/react-markdown'>;
}
declare module 'react-markdown/with-html.js' {
declare module.exports: $Exports<'react-markdown/with-html'>;
}

View File

@@ -0,0 +1,182 @@
// flow-typed signature: 0bc486c8fc04d0bb37efa138223e4f67
// flow-typed version: c6154227d1/react-router-dom_v4.x.x/flow_>=v0.104.x
declare module "react-router-dom" {
declare export var BrowserRouter: React$ComponentType<{|
basename?: string,
forceRefresh?: boolean,
getUserConfirmation?: GetUserConfirmation,
keyLength?: number,
children?: React$Node
|}>
declare export var HashRouter: React$ComponentType<{|
basename?: string,
getUserConfirmation?: GetUserConfirmation,
hashType?: "slash" | "noslash" | "hashbang",
children?: React$Node
|}>
declare export var Link: React$ComponentType<{
className?: string,
to: string | LocationShape,
replace?: boolean,
children?: React$Node,
...
}>
declare export var NavLink: React$ComponentType<{
to: string | LocationShape,
activeClassName?: string,
className?: string,
activeStyle?: Object,
style?: Object,
isActive?: (match: Match, location: Location) => boolean,
children?: React$Node,
exact?: boolean,
strict?: boolean,
...
}>
// 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) => boolean,
block(
callback: string | (location: Location, action: HistoryAction) => ?string
): () => void,
// createMemoryHistory
index?: number,
entries?: Array<Location>,
...
};
declare export type Match = {
params: { [key: string]: ?string, ... },
isExact: boolean,
path: string,
url: string,
...
};
declare export type ContextRouter = {|
history: RouterHistory,
location: Location,
match: Match,
staticContext?: StaticRouterContext
|};
declare type ContextRouterVoid = {
history: RouterHistory | void,
location: Location | void,
match: Match | void,
staticContext?: StaticRouterContext | void,
...
};
declare export type GetUserConfirmation = (
message: string,
callback: (confirmed: boolean) => void
) => void;
declare export type StaticRouterContext = { url?: string, ... };
declare export var StaticRouter: React$ComponentType<{|
basename?: string,
location?: string | Location,
context: StaticRouterContext,
children?: React$Node
|}>
declare export var MemoryRouter: React$ComponentType<{|
initialEntries?: Array<LocationShape | string>,
initialIndex?: number,
getUserConfirmation?: GetUserConfirmation,
keyLength?: number,
children?: React$Node
|}>
declare export var Router: React$ComponentType<{|
history: RouterHistory,
children?: React$Node
|}>
declare export var Prompt: React$ComponentType<{|
message: string | ((location: Location) => string | boolean),
when?: boolean
|}>
declare export var Redirect: React$ComponentType<{|
to: string | LocationShape,
push?: boolean,
from?: string,
exact?: boolean,
strict?: boolean
|}>
declare export var Route: React$ComponentType<{|
component?: React$ComponentType<*>,
render?: (router: ContextRouter) => React$Node,
children?: React$ComponentType<ContextRouter> | React$Node,
path?: string | Array<string>,
exact?: boolean,
strict?: boolean,
location?: LocationShape,
sensitive?: boolean
|}>
declare export var Switch: React$ComponentType<{|
children?: React$Node,
location?: Location
|}>
declare export function withRouter<Props: {...}, Component: React$ComponentType<Props>>(
WrappedComponent: Component
): React$ComponentType<$Diff<React$ElementConfig<Component>, ContextRouterVoid>>;
declare type MatchPathOptions = {
path?: string,
exact?: boolean,
sensitive?: boolean,
strict?: boolean,
...
};
declare export function matchPath(
pathname: string,
options?: MatchPathOptions | string,
parent?: Match
): null | Match;
declare export function generatePath(pattern?: string, params?: Object): string;
}

View File

@@ -0,0 +1,56 @@
// flow-typed signature: 030a0d51d7da2db8716b0c796bcd8992
// flow-typed version: <<STUB>>/react-router-enzyme-context_v1.2.0/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'react-router-enzyme-context'
*
* 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 'react-router-enzyme-context' {
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 'react-router-enzyme-context/dist/react-router-enzyme-context.cjs' {
declare module.exports: any;
}
declare module 'react-router-enzyme-context/dist/react-router-enzyme-context.esm' {
declare module.exports: any;
}
declare module 'react-router-enzyme-context/rollup.config' {
declare module.exports: any;
}
declare module 'react-router-enzyme-context/src' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-router-enzyme-context/dist/react-router-enzyme-context.cjs.js' {
declare module.exports: $Exports<'react-router-enzyme-context/dist/react-router-enzyme-context.cjs'>;
}
declare module 'react-router-enzyme-context/dist/react-router-enzyme-context.esm.js' {
declare module.exports: $Exports<'react-router-enzyme-context/dist/react-router-enzyme-context.esm'>;
}
declare module 'react-router-enzyme-context/rollup.config.js' {
declare module.exports: $Exports<'react-router-enzyme-context/rollup.config'>;
}
declare module 'react-router-enzyme-context/src/index' {
declare module.exports: $Exports<'react-router-enzyme-context/src'>;
}
declare module 'react-router-enzyme-context/src/index.js' {
declare module.exports: $Exports<'react-router-enzyme-context/src'>;
}

View File

@@ -0,0 +1,726 @@
// flow-typed signature: 0b6edc6705aa28ab46a24d08242af068
// flow-typed version: <<STUB>>/react-select_v2.4.4/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'react-select'
*
* 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 'react-select' {
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 'react-select/dist/react-select.esm' {
declare module.exports: any;
}
declare module 'react-select/dist/react-select' {
declare module.exports: any;
}
declare module 'react-select/dist/react-select.min' {
declare module.exports: any;
}
declare module 'react-select/lib/accessibility' {
declare module.exports: any;
}
declare module 'react-select/lib/animated' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/Input' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/MultiValue' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/Placeholder' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/SingleValue' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/transitions' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/ValueContainer' {
declare module.exports: any;
}
declare module 'react-select/lib/Async' {
declare module.exports: any;
}
declare module 'react-select/lib/AsyncCreatable' {
declare module.exports: any;
}
declare module 'react-select/lib/builtins' {
declare module.exports: any;
}
declare module 'react-select/lib/components/containers' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Control' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Group' {
declare module.exports: any;
}
declare module 'react-select/lib/components' {
declare module.exports: any;
}
declare module 'react-select/lib/components/indicators' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Input' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Menu' {
declare module.exports: any;
}
declare module 'react-select/lib/components/MultiValue' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Option' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Placeholder' {
declare module.exports: any;
}
declare module 'react-select/lib/components/SingleValue' {
declare module.exports: any;
}
declare module 'react-select/lib/Creatable' {
declare module.exports: any;
}
declare module 'react-select/lib/diacritics' {
declare module.exports: any;
}
declare module 'react-select/lib/filters' {
declare module.exports: any;
}
declare module 'react-select/lib' {
declare module.exports: any;
}
declare module 'react-select/lib/index.umd' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/A11yText' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/DummyInput' {
declare module.exports: any;
}
declare module 'react-select/lib/internal' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/NodeResolver' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/react-fast-compare' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/ScrollBlock' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/ScrollCaptor' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/ScrollLock/constants' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/ScrollLock' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/ScrollLock/utils' {
declare module.exports: any;
}
declare module 'react-select/lib/Select' {
declare module.exports: any;
}
declare module 'react-select/lib/stateManager' {
declare module.exports: any;
}
declare module 'react-select/lib/styles' {
declare module.exports: any;
}
declare module 'react-select/lib/theme' {
declare module.exports: any;
}
declare module 'react-select/lib/types' {
declare module.exports: any;
}
declare module 'react-select/lib/utils' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/Async.test' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/AsyncCreatable.test' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/constants' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/Creatable.test' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/Select.test' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/StateManaged.test' {
declare module.exports: any;
}
declare module 'react-select/src/accessibility' {
declare module.exports: any;
}
declare module 'react-select/src/animated' {
declare module.exports: any;
}
declare module 'react-select/src/animated/Input' {
declare module.exports: any;
}
declare module 'react-select/src/animated/MultiValue' {
declare module.exports: any;
}
declare module 'react-select/src/animated/Placeholder' {
declare module.exports: any;
}
declare module 'react-select/src/animated/SingleValue' {
declare module.exports: any;
}
declare module 'react-select/src/animated/transitions' {
declare module.exports: any;
}
declare module 'react-select/src/animated/ValueContainer' {
declare module.exports: any;
}
declare module 'react-select/src/Async' {
declare module.exports: any;
}
declare module 'react-select/src/AsyncCreatable' {
declare module.exports: any;
}
declare module 'react-select/src/builtins' {
declare module.exports: any;
}
declare module 'react-select/src/components/containers' {
declare module.exports: any;
}
declare module 'react-select/src/components/Control' {
declare module.exports: any;
}
declare module 'react-select/src/components/Group' {
declare module.exports: any;
}
declare module 'react-select/src/components' {
declare module.exports: any;
}
declare module 'react-select/src/components/indicators' {
declare module.exports: any;
}
declare module 'react-select/src/components/Input' {
declare module.exports: any;
}
declare module 'react-select/src/components/Menu' {
declare module.exports: any;
}
declare module 'react-select/src/components/MultiValue' {
declare module.exports: any;
}
declare module 'react-select/src/components/Option' {
declare module.exports: any;
}
declare module 'react-select/src/components/Placeholder' {
declare module.exports: any;
}
declare module 'react-select/src/components/SingleValue' {
declare module.exports: any;
}
declare module 'react-select/src/Creatable' {
declare module.exports: any;
}
declare module 'react-select/src/diacritics' {
declare module.exports: any;
}
declare module 'react-select/src/filters' {
declare module.exports: any;
}
declare module 'react-select/src' {
declare module.exports: any;
}
declare module 'react-select/src/index.umd' {
declare module.exports: any;
}
declare module 'react-select/src/internal/A11yText' {
declare module.exports: any;
}
declare module 'react-select/src/internal/DummyInput' {
declare module.exports: any;
}
declare module 'react-select/src/internal' {
declare module.exports: any;
}
declare module 'react-select/src/internal/NodeResolver' {
declare module.exports: any;
}
declare module 'react-select/src/internal/react-fast-compare' {
declare module.exports: any;
}
declare module 'react-select/src/internal/ScrollBlock' {
declare module.exports: any;
}
declare module 'react-select/src/internal/ScrollCaptor' {
declare module.exports: any;
}
declare module 'react-select/src/internal/ScrollLock/constants' {
declare module.exports: any;
}
declare module 'react-select/src/internal/ScrollLock' {
declare module.exports: any;
}
declare module 'react-select/src/internal/ScrollLock/utils' {
declare module.exports: any;
}
declare module 'react-select/src/Select' {
declare module.exports: any;
}
declare module 'react-select/src/stateManager' {
declare module.exports: any;
}
declare module 'react-select/src/styles' {
declare module.exports: any;
}
declare module 'react-select/src/theme' {
declare module.exports: any;
}
declare module 'react-select/src/types' {
declare module.exports: any;
}
declare module 'react-select/src/utils' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-select/dist/react-select.esm.js' {
declare module.exports: $Exports<'react-select/dist/react-select.esm'>;
}
declare module 'react-select/dist/react-select.js' {
declare module.exports: $Exports<'react-select/dist/react-select'>;
}
declare module 'react-select/dist/react-select.min.js' {
declare module.exports: $Exports<'react-select/dist/react-select.min'>;
}
declare module 'react-select/lib/accessibility/index' {
declare module.exports: $Exports<'react-select/lib/accessibility'>;
}
declare module 'react-select/lib/accessibility/index.js' {
declare module.exports: $Exports<'react-select/lib/accessibility'>;
}
declare module 'react-select/lib/animated/index' {
declare module.exports: $Exports<'react-select/lib/animated'>;
}
declare module 'react-select/lib/animated/index.js' {
declare module.exports: $Exports<'react-select/lib/animated'>;
}
declare module 'react-select/lib/animated/Input.js' {
declare module.exports: $Exports<'react-select/lib/animated/Input'>;
}
declare module 'react-select/lib/animated/MultiValue.js' {
declare module.exports: $Exports<'react-select/lib/animated/MultiValue'>;
}
declare module 'react-select/lib/animated/Placeholder.js' {
declare module.exports: $Exports<'react-select/lib/animated/Placeholder'>;
}
declare module 'react-select/lib/animated/SingleValue.js' {
declare module.exports: $Exports<'react-select/lib/animated/SingleValue'>;
}
declare module 'react-select/lib/animated/transitions.js' {
declare module.exports: $Exports<'react-select/lib/animated/transitions'>;
}
declare module 'react-select/lib/animated/ValueContainer.js' {
declare module.exports: $Exports<'react-select/lib/animated/ValueContainer'>;
}
declare module 'react-select/lib/Async.js' {
declare module.exports: $Exports<'react-select/lib/Async'>;
}
declare module 'react-select/lib/AsyncCreatable.js' {
declare module.exports: $Exports<'react-select/lib/AsyncCreatable'>;
}
declare module 'react-select/lib/builtins.js' {
declare module.exports: $Exports<'react-select/lib/builtins'>;
}
declare module 'react-select/lib/components/containers.js' {
declare module.exports: $Exports<'react-select/lib/components/containers'>;
}
declare module 'react-select/lib/components/Control.js' {
declare module.exports: $Exports<'react-select/lib/components/Control'>;
}
declare module 'react-select/lib/components/Group.js' {
declare module.exports: $Exports<'react-select/lib/components/Group'>;
}
declare module 'react-select/lib/components/index' {
declare module.exports: $Exports<'react-select/lib/components'>;
}
declare module 'react-select/lib/components/index.js' {
declare module.exports: $Exports<'react-select/lib/components'>;
}
declare module 'react-select/lib/components/indicators.js' {
declare module.exports: $Exports<'react-select/lib/components/indicators'>;
}
declare module 'react-select/lib/components/Input.js' {
declare module.exports: $Exports<'react-select/lib/components/Input'>;
}
declare module 'react-select/lib/components/Menu.js' {
declare module.exports: $Exports<'react-select/lib/components/Menu'>;
}
declare module 'react-select/lib/components/MultiValue.js' {
declare module.exports: $Exports<'react-select/lib/components/MultiValue'>;
}
declare module 'react-select/lib/components/Option.js' {
declare module.exports: $Exports<'react-select/lib/components/Option'>;
}
declare module 'react-select/lib/components/Placeholder.js' {
declare module.exports: $Exports<'react-select/lib/components/Placeholder'>;
}
declare module 'react-select/lib/components/SingleValue.js' {
declare module.exports: $Exports<'react-select/lib/components/SingleValue'>;
}
declare module 'react-select/lib/Creatable.js' {
declare module.exports: $Exports<'react-select/lib/Creatable'>;
}
declare module 'react-select/lib/diacritics.js' {
declare module.exports: $Exports<'react-select/lib/diacritics'>;
}
declare module 'react-select/lib/filters.js' {
declare module.exports: $Exports<'react-select/lib/filters'>;
}
declare module 'react-select/lib/index' {
declare module.exports: $Exports<'react-select/lib'>;
}
declare module 'react-select/lib/index.js' {
declare module.exports: $Exports<'react-select/lib'>;
}
declare module 'react-select/lib/index.umd.js' {
declare module.exports: $Exports<'react-select/lib/index.umd'>;
}
declare module 'react-select/lib/internal/A11yText.js' {
declare module.exports: $Exports<'react-select/lib/internal/A11yText'>;
}
declare module 'react-select/lib/internal/DummyInput.js' {
declare module.exports: $Exports<'react-select/lib/internal/DummyInput'>;
}
declare module 'react-select/lib/internal/index' {
declare module.exports: $Exports<'react-select/lib/internal'>;
}
declare module 'react-select/lib/internal/index.js' {
declare module.exports: $Exports<'react-select/lib/internal'>;
}
declare module 'react-select/lib/internal/NodeResolver.js' {
declare module.exports: $Exports<'react-select/lib/internal/NodeResolver'>;
}
declare module 'react-select/lib/internal/react-fast-compare.js' {
declare module.exports: $Exports<'react-select/lib/internal/react-fast-compare'>;
}
declare module 'react-select/lib/internal/ScrollBlock.js' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollBlock'>;
}
declare module 'react-select/lib/internal/ScrollCaptor.js' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollCaptor'>;
}
declare module 'react-select/lib/internal/ScrollLock/constants.js' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollLock/constants'>;
}
declare module 'react-select/lib/internal/ScrollLock/index' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollLock'>;
}
declare module 'react-select/lib/internal/ScrollLock/index.js' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollLock'>;
}
declare module 'react-select/lib/internal/ScrollLock/utils.js' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollLock/utils'>;
}
declare module 'react-select/lib/Select.js' {
declare module.exports: $Exports<'react-select/lib/Select'>;
}
declare module 'react-select/lib/stateManager.js' {
declare module.exports: $Exports<'react-select/lib/stateManager'>;
}
declare module 'react-select/lib/styles.js' {
declare module.exports: $Exports<'react-select/lib/styles'>;
}
declare module 'react-select/lib/theme.js' {
declare module.exports: $Exports<'react-select/lib/theme'>;
}
declare module 'react-select/lib/types.js' {
declare module.exports: $Exports<'react-select/lib/types'>;
}
declare module 'react-select/lib/utils.js' {
declare module.exports: $Exports<'react-select/lib/utils'>;
}
declare module 'react-select/src/__tests__/Async.test.js' {
declare module.exports: $Exports<'react-select/src/__tests__/Async.test'>;
}
declare module 'react-select/src/__tests__/AsyncCreatable.test.js' {
declare module.exports: $Exports<'react-select/src/__tests__/AsyncCreatable.test'>;
}
declare module 'react-select/src/__tests__/constants.js' {
declare module.exports: $Exports<'react-select/src/__tests__/constants'>;
}
declare module 'react-select/src/__tests__/Creatable.test.js' {
declare module.exports: $Exports<'react-select/src/__tests__/Creatable.test'>;
}
declare module 'react-select/src/__tests__/Select.test.js' {
declare module.exports: $Exports<'react-select/src/__tests__/Select.test'>;
}
declare module 'react-select/src/__tests__/StateManaged.test.js' {
declare module.exports: $Exports<'react-select/src/__tests__/StateManaged.test'>;
}
declare module 'react-select/src/accessibility/index' {
declare module.exports: $Exports<'react-select/src/accessibility'>;
}
declare module 'react-select/src/accessibility/index.js' {
declare module.exports: $Exports<'react-select/src/accessibility'>;
}
declare module 'react-select/src/animated/index' {
declare module.exports: $Exports<'react-select/src/animated'>;
}
declare module 'react-select/src/animated/index.js' {
declare module.exports: $Exports<'react-select/src/animated'>;
}
declare module 'react-select/src/animated/Input.js' {
declare module.exports: $Exports<'react-select/src/animated/Input'>;
}
declare module 'react-select/src/animated/MultiValue.js' {
declare module.exports: $Exports<'react-select/src/animated/MultiValue'>;
}
declare module 'react-select/src/animated/Placeholder.js' {
declare module.exports: $Exports<'react-select/src/animated/Placeholder'>;
}
declare module 'react-select/src/animated/SingleValue.js' {
declare module.exports: $Exports<'react-select/src/animated/SingleValue'>;
}
declare module 'react-select/src/animated/transitions.js' {
declare module.exports: $Exports<'react-select/src/animated/transitions'>;
}
declare module 'react-select/src/animated/ValueContainer.js' {
declare module.exports: $Exports<'react-select/src/animated/ValueContainer'>;
}
declare module 'react-select/src/Async.js' {
declare module.exports: $Exports<'react-select/src/Async'>;
}
declare module 'react-select/src/AsyncCreatable.js' {
declare module.exports: $Exports<'react-select/src/AsyncCreatable'>;
}
declare module 'react-select/src/builtins.js' {
declare module.exports: $Exports<'react-select/src/builtins'>;
}
declare module 'react-select/src/components/containers.js' {
declare module.exports: $Exports<'react-select/src/components/containers'>;
}
declare module 'react-select/src/components/Control.js' {
declare module.exports: $Exports<'react-select/src/components/Control'>;
}
declare module 'react-select/src/components/Group.js' {
declare module.exports: $Exports<'react-select/src/components/Group'>;
}
declare module 'react-select/src/components/index' {
declare module.exports: $Exports<'react-select/src/components'>;
}
declare module 'react-select/src/components/index.js' {
declare module.exports: $Exports<'react-select/src/components'>;
}
declare module 'react-select/src/components/indicators.js' {
declare module.exports: $Exports<'react-select/src/components/indicators'>;
}
declare module 'react-select/src/components/Input.js' {
declare module.exports: $Exports<'react-select/src/components/Input'>;
}
declare module 'react-select/src/components/Menu.js' {
declare module.exports: $Exports<'react-select/src/components/Menu'>;
}
declare module 'react-select/src/components/MultiValue.js' {
declare module.exports: $Exports<'react-select/src/components/MultiValue'>;
}
declare module 'react-select/src/components/Option.js' {
declare module.exports: $Exports<'react-select/src/components/Option'>;
}
declare module 'react-select/src/components/Placeholder.js' {
declare module.exports: $Exports<'react-select/src/components/Placeholder'>;
}
declare module 'react-select/src/components/SingleValue.js' {
declare module.exports: $Exports<'react-select/src/components/SingleValue'>;
}
declare module 'react-select/src/Creatable.js' {
declare module.exports: $Exports<'react-select/src/Creatable'>;
}
declare module 'react-select/src/diacritics.js' {
declare module.exports: $Exports<'react-select/src/diacritics'>;
}
declare module 'react-select/src/filters.js' {
declare module.exports: $Exports<'react-select/src/filters'>;
}
declare module 'react-select/src/index' {
declare module.exports: $Exports<'react-select/src'>;
}
declare module 'react-select/src/index.js' {
declare module.exports: $Exports<'react-select/src'>;
}
declare module 'react-select/src/index.umd.js' {
declare module.exports: $Exports<'react-select/src/index.umd'>;
}
declare module 'react-select/src/internal/A11yText.js' {
declare module.exports: $Exports<'react-select/src/internal/A11yText'>;
}
declare module 'react-select/src/internal/DummyInput.js' {
declare module.exports: $Exports<'react-select/src/internal/DummyInput'>;
}
declare module 'react-select/src/internal/index' {
declare module.exports: $Exports<'react-select/src/internal'>;
}
declare module 'react-select/src/internal/index.js' {
declare module.exports: $Exports<'react-select/src/internal'>;
}
declare module 'react-select/src/internal/NodeResolver.js' {
declare module.exports: $Exports<'react-select/src/internal/NodeResolver'>;
}
declare module 'react-select/src/internal/react-fast-compare.js' {
declare module.exports: $Exports<'react-select/src/internal/react-fast-compare'>;
}
declare module 'react-select/src/internal/ScrollBlock.js' {
declare module.exports: $Exports<'react-select/src/internal/ScrollBlock'>;
}
declare module 'react-select/src/internal/ScrollCaptor.js' {
declare module.exports: $Exports<'react-select/src/internal/ScrollCaptor'>;
}
declare module 'react-select/src/internal/ScrollLock/constants.js' {
declare module.exports: $Exports<'react-select/src/internal/ScrollLock/constants'>;
}
declare module 'react-select/src/internal/ScrollLock/index' {
declare module.exports: $Exports<'react-select/src/internal/ScrollLock'>;
}
declare module 'react-select/src/internal/ScrollLock/index.js' {
declare module.exports: $Exports<'react-select/src/internal/ScrollLock'>;
}
declare module 'react-select/src/internal/ScrollLock/utils.js' {
declare module.exports: $Exports<'react-select/src/internal/ScrollLock/utils'>;
}
declare module 'react-select/src/Select.js' {
declare module.exports: $Exports<'react-select/src/Select'>;
}
declare module 'react-select/src/stateManager.js' {
declare module.exports: $Exports<'react-select/src/stateManager'>;
}
declare module 'react-select/src/styles.js' {
declare module.exports: $Exports<'react-select/src/styles'>;
}
declare module 'react-select/src/theme.js' {
declare module.exports: $Exports<'react-select/src/theme'>;
}
declare module 'react-select/src/types.js' {
declare module.exports: $Exports<'react-select/src/types'>;
}
declare module 'react-select/src/utils.js' {
declare module.exports: $Exports<'react-select/src/utils'>;
}

File diff suppressed because it is too large Load Diff

View File

@@ -4,5 +4,9 @@
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"scripts": { "scripts": {
"build": "webpack --mode=development" "build": "webpack --mode=development"
},
"devDependencies": {
"flow-bin": "^0.109.0",
"flow-typed": "^2.6.1"
} }
} }

View File

@@ -1,9 +1,12 @@
[ignore] [declarations]
.*/node_modules/module-deps/.* ../../scm-ui/ui-types/.*
../../scm-ui/ui-components/.*
[include] [include]
./src/**
[libs] ../../scm-ui/ui-types/.*
./node_modules/@scm-manager/ui-components/flow-typed ../../scm-ui/ui-components/.*
[options] [options]
module.system.node.resolve_dirname=../../node_modules
module.name_mapper='^@scm-manager\/ui-\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/../../scm-ui/ui-\1'

View File

@@ -0,0 +1,49 @@
// flow-typed signature: e87b860fca7047001bcde4b8780a8655
// flow-typed version: <<STUB>>/@scm-manager/ui-extensions_v0.1.2/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* '@scm-manager/ui-extensions'
*
* 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 '@scm-manager/ui-extensions' {
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 '@scm-manager/ui-extensions/lib/binder' {
declare module.exports: any;
}
declare module '@scm-manager/ui-extensions/lib/ExtensionPoint' {
declare module.exports: any;
}
declare module '@scm-manager/ui-extensions/lib' {
declare module.exports: any;
}
// Filename aliases
declare module '@scm-manager/ui-extensions/lib/binder.js' {
declare module.exports: $Exports<'@scm-manager/ui-extensions/lib/binder'>;
}
declare module '@scm-manager/ui-extensions/lib/ExtensionPoint.js' {
declare module.exports: $Exports<'@scm-manager/ui-extensions/lib/ExtensionPoint'>;
}
declare module '@scm-manager/ui-extensions/lib/index' {
declare module.exports: $Exports<'@scm-manager/ui-extensions/lib'>;
}
declare module '@scm-manager/ui-extensions/lib/index.js' {
declare module.exports: $Exports<'@scm-manager/ui-extensions/lib'>;
}

View File

@@ -0,0 +1,23 @@
// flow-typed signature: cf86673cc32d185bdab1d2ea90578d37
// flow-typed version: 614bf49aa8/classnames_v2.x.x/flow_>=v0.25.x
type $npm$classnames$Classes =
| string
| { [className: string]: * }
| false
| void
| null;
declare module "classnames" {
declare module.exports: (
...classes: Array<$npm$classnames$Classes | $npm$classnames$Classes[]>
) => string;
}
declare module "classnames/bind" {
declare module.exports: $Exports<"classnames">;
}
declare module "classnames/dedupe" {
declare module.exports: $Exports<"classnames">;
}

View File

@@ -0,0 +1,269 @@
// flow-typed signature: 761f01d8db9f91fa67135cb2120c2b8e
// flow-typed version: <<STUB>>/enzyme_v3.10.0/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'enzyme'
*
* 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 'enzyme' {
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 'enzyme/build/configuration' {
declare module.exports: any;
}
declare module 'enzyme/build/Debug' {
declare module.exports: any;
}
declare module 'enzyme/build/EnzymeAdapter' {
declare module.exports: any;
}
declare module 'enzyme/build/getAdapter' {
declare module.exports: any;
}
declare module 'enzyme/build' {
declare module.exports: any;
}
declare module 'enzyme/build/mount' {
declare module.exports: any;
}
declare module 'enzyme/build/ReactWrapper' {
declare module.exports: any;
}
declare module 'enzyme/build/render' {
declare module.exports: any;
}
declare module 'enzyme/build/RSTTraversal' {
declare module.exports: any;
}
declare module 'enzyme/build/selectors' {
declare module.exports: any;
}
declare module 'enzyme/build/shallow' {
declare module.exports: any;
}
declare module 'enzyme/build/ShallowWrapper' {
declare module.exports: any;
}
declare module 'enzyme/build/Utils' {
declare module.exports: any;
}
declare module 'enzyme/build/validateAdapter' {
declare module.exports: any;
}
declare module 'enzyme/mount' {
declare module.exports: any;
}
declare module 'enzyme/ReactWrapper' {
declare module.exports: any;
}
declare module 'enzyme/render' {
declare module.exports: any;
}
declare module 'enzyme/shallow' {
declare module.exports: any;
}
declare module 'enzyme/ShallowWrapper' {
declare module.exports: any;
}
declare module 'enzyme/src/configuration' {
declare module.exports: any;
}
declare module 'enzyme/src/Debug' {
declare module.exports: any;
}
declare module 'enzyme/src/EnzymeAdapter' {
declare module.exports: any;
}
declare module 'enzyme/src/getAdapter' {
declare module.exports: any;
}
declare module 'enzyme/src' {
declare module.exports: any;
}
declare module 'enzyme/src/mount' {
declare module.exports: any;
}
declare module 'enzyme/src/ReactWrapper' {
declare module.exports: any;
}
declare module 'enzyme/src/render' {
declare module.exports: any;
}
declare module 'enzyme/src/RSTTraversal' {
declare module.exports: any;
}
declare module 'enzyme/src/selectors' {
declare module.exports: any;
}
declare module 'enzyme/src/shallow' {
declare module.exports: any;
}
declare module 'enzyme/src/ShallowWrapper' {
declare module.exports: any;
}
declare module 'enzyme/src/Utils' {
declare module.exports: any;
}
declare module 'enzyme/src/validateAdapter' {
declare module.exports: any;
}
declare module 'enzyme/withDom' {
declare module.exports: any;
}
// Filename aliases
declare module 'enzyme/build/configuration.js' {
declare module.exports: $Exports<'enzyme/build/configuration'>;
}
declare module 'enzyme/build/Debug.js' {
declare module.exports: $Exports<'enzyme/build/Debug'>;
}
declare module 'enzyme/build/EnzymeAdapter.js' {
declare module.exports: $Exports<'enzyme/build/EnzymeAdapter'>;
}
declare module 'enzyme/build/getAdapter.js' {
declare module.exports: $Exports<'enzyme/build/getAdapter'>;
}
declare module 'enzyme/build/index' {
declare module.exports: $Exports<'enzyme/build'>;
}
declare module 'enzyme/build/index.js' {
declare module.exports: $Exports<'enzyme/build'>;
}
declare module 'enzyme/build/mount.js' {
declare module.exports: $Exports<'enzyme/build/mount'>;
}
declare module 'enzyme/build/ReactWrapper.js' {
declare module.exports: $Exports<'enzyme/build/ReactWrapper'>;
}
declare module 'enzyme/build/render.js' {
declare module.exports: $Exports<'enzyme/build/render'>;
}
declare module 'enzyme/build/RSTTraversal.js' {
declare module.exports: $Exports<'enzyme/build/RSTTraversal'>;
}
declare module 'enzyme/build/selectors.js' {
declare module.exports: $Exports<'enzyme/build/selectors'>;
}
declare module 'enzyme/build/shallow.js' {
declare module.exports: $Exports<'enzyme/build/shallow'>;
}
declare module 'enzyme/build/ShallowWrapper.js' {
declare module.exports: $Exports<'enzyme/build/ShallowWrapper'>;
}
declare module 'enzyme/build/Utils.js' {
declare module.exports: $Exports<'enzyme/build/Utils'>;
}
declare module 'enzyme/build/validateAdapter.js' {
declare module.exports: $Exports<'enzyme/build/validateAdapter'>;
}
declare module 'enzyme/mount.js' {
declare module.exports: $Exports<'enzyme/mount'>;
}
declare module 'enzyme/ReactWrapper.js' {
declare module.exports: $Exports<'enzyme/ReactWrapper'>;
}
declare module 'enzyme/render.js' {
declare module.exports: $Exports<'enzyme/render'>;
}
declare module 'enzyme/shallow.js' {
declare module.exports: $Exports<'enzyme/shallow'>;
}
declare module 'enzyme/ShallowWrapper.js' {
declare module.exports: $Exports<'enzyme/ShallowWrapper'>;
}
declare module 'enzyme/src/configuration.js' {
declare module.exports: $Exports<'enzyme/src/configuration'>;
}
declare module 'enzyme/src/Debug.js' {
declare module.exports: $Exports<'enzyme/src/Debug'>;
}
declare module 'enzyme/src/EnzymeAdapter.js' {
declare module.exports: $Exports<'enzyme/src/EnzymeAdapter'>;
}
declare module 'enzyme/src/getAdapter.js' {
declare module.exports: $Exports<'enzyme/src/getAdapter'>;
}
declare module 'enzyme/src/index' {
declare module.exports: $Exports<'enzyme/src'>;
}
declare module 'enzyme/src/index.js' {
declare module.exports: $Exports<'enzyme/src'>;
}
declare module 'enzyme/src/mount.js' {
declare module.exports: $Exports<'enzyme/src/mount'>;
}
declare module 'enzyme/src/ReactWrapper.js' {
declare module.exports: $Exports<'enzyme/src/ReactWrapper'>;
}
declare module 'enzyme/src/render.js' {
declare module.exports: $Exports<'enzyme/src/render'>;
}
declare module 'enzyme/src/RSTTraversal.js' {
declare module.exports: $Exports<'enzyme/src/RSTTraversal'>;
}
declare module 'enzyme/src/selectors.js' {
declare module.exports: $Exports<'enzyme/src/selectors'>;
}
declare module 'enzyme/src/shallow.js' {
declare module.exports: $Exports<'enzyme/src/shallow'>;
}
declare module 'enzyme/src/ShallowWrapper.js' {
declare module.exports: $Exports<'enzyme/src/ShallowWrapper'>;
}
declare module 'enzyme/src/Utils.js' {
declare module.exports: $Exports<'enzyme/src/Utils'>;
}
declare module 'enzyme/src/validateAdapter.js' {
declare module.exports: $Exports<'enzyme/src/validateAdapter'>;
}
declare module 'enzyme/withDom.js' {
declare module.exports: $Exports<'enzyme/withDom'>;
}

View File

@@ -0,0 +1,66 @@
// flow-typed signature: 9be79ea52a669f6c266677d1d0bd3e9d
// flow-typed version: <<STUB>>/gitdiff-parser_v0.1.2/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'gitdiff-parser'
*
* 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 'gitdiff-parser' {
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 'gitdiff-parser/test/git.test' {
declare module.exports: any;
}
declare module 'gitdiff-parser/test/hg' {
declare module.exports: any;
}
declare module 'gitdiff-parser/test/hg.test' {
declare module.exports: any;
}
declare module 'gitdiff-parser/test/perf-parse-diff' {
declare module.exports: any;
}
declare module 'gitdiff-parser/test/perf' {
declare module.exports: any;
}
// Filename aliases
declare module 'gitdiff-parser/index' {
declare module.exports: $Exports<'gitdiff-parser'>;
}
declare module 'gitdiff-parser/index.js' {
declare module.exports: $Exports<'gitdiff-parser'>;
}
declare module 'gitdiff-parser/test/git.test.js' {
declare module.exports: $Exports<'gitdiff-parser/test/git.test'>;
}
declare module 'gitdiff-parser/test/hg.js' {
declare module.exports: $Exports<'gitdiff-parser/test/hg'>;
}
declare module 'gitdiff-parser/test/hg.test.js' {
declare module.exports: $Exports<'gitdiff-parser/test/hg.test'>;
}
declare module 'gitdiff-parser/test/perf-parse-diff.js' {
declare module.exports: $Exports<'gitdiff-parser/test/perf-parse-diff'>;
}
declare module 'gitdiff-parser/test/perf.js' {
declare module.exports: $Exports<'gitdiff-parser/test/perf'>;
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,331 @@
// flow-typed signature: 23b805356f90ad9384dd88489654e380
// flow-typed version: e9374c5fe9/moment_v2.3.x/flow_>=v0.25.x
type moment$MomentOptions = {
y?: number | string,
year?: number | string,
years?: number | string,
M?: number | string,
month?: number | string,
months?: number | string,
d?: number | string,
day?: number | string,
days?: number | string,
date?: number | string,
h?: number | string,
hour?: number | string,
hours?: number | string,
m?: number | string,
minute?: number | string,
minutes?: number | string,
s?: number | string,
second?: number | string,
seconds?: number | string,
ms?: number | string,
millisecond?: number | string,
milliseconds?: number | string
};
type moment$MomentObject = {
years: number,
months: number,
date: number,
hours: number,
minutes: number,
seconds: number,
milliseconds: number
};
type moment$MomentCreationData = {
input: string,
format: string,
locale: Object,
isUTC: boolean,
strict: boolean
};
type moment$CalendarFormat = string | ((moment: moment$Moment) => string);
type moment$CalendarFormats = {
sameDay?: moment$CalendarFormat,
nextDay?: moment$CalendarFormat,
nextWeek?: moment$CalendarFormat,
lastDay?: moment$CalendarFormat,
lastWeek?: moment$CalendarFormat,
sameElse?: moment$CalendarFormat
};
declare class moment$LocaleData {
months(moment: moment$Moment): string,
monthsShort(moment: moment$Moment): string,
monthsParse(month: string): number,
weekdays(moment: moment$Moment): string,
weekdaysShort(moment: moment$Moment): string,
weekdaysMin(moment: moment$Moment): string,
weekdaysParse(weekDay: string): number,
longDateFormat(dateFormat: string): string,
isPM(date: string): boolean,
meridiem(hours: number, minutes: number, isLower: boolean): string,
calendar(
key:
| "sameDay"
| "nextDay"
| "lastDay"
| "nextWeek"
| "prevWeek"
| "sameElse",
moment: moment$Moment
): string,
relativeTime(
number: number,
withoutSuffix: boolean,
key: "s" | "m" | "mm" | "h" | "hh" | "d" | "dd" | "M" | "MM" | "y" | "yy",
isFuture: boolean
): string,
pastFuture(diff: any, relTime: string): string,
ordinal(number: number): string,
preparse(str: string): any,
postformat(str: string): any,
week(moment: moment$Moment): string,
invalidDate(): string,
firstDayOfWeek(): number,
firstDayOfYear(): number
}
declare class moment$MomentDuration {
humanize(suffix?: boolean): string,
milliseconds(): number,
asMilliseconds(): number,
seconds(): number,
asSeconds(): number,
minutes(): number,
asMinutes(): number,
hours(): number,
asHours(): number,
days(): number,
asDays(): number,
months(): number,
asWeeks(): number,
weeks(): number,
asMonths(): number,
years(): number,
asYears(): number,
add(value: number | moment$MomentDuration | Object, unit?: string): this,
subtract(value: number | moment$MomentDuration | Object, unit?: string): this,
as(unit: string): number,
get(unit: string): number,
toJSON(): string,
toISOString(): string,
isValid(): boolean
}
declare class moment$Moment {
static ISO_8601: string,
static (
string?: string,
format?: string | Array<string>,
strict?: boolean
): moment$Moment,
static (
string?: string,
format?: string | Array<string>,
locale?: string,
strict?: boolean
): moment$Moment,
static (
initDate: ?Object | number | Date | Array<number> | moment$Moment | string
): moment$Moment,
static unix(seconds: number): moment$Moment,
static utc(): moment$Moment,
static utc(number: number | Array<number>): moment$Moment,
static utc(
str: string,
str2?: string | Array<string>,
str3?: string
): moment$Moment,
static utc(moment: moment$Moment): moment$Moment,
static utc(date: Date): moment$Moment,
static parseZone(): moment$Moment,
static parseZone(rawDate: string): moment$Moment,
static parseZone(
rawDate: string,
format: string | Array<string>
): moment$Moment,
static parseZone(
rawDate: string,
format: string,
strict: boolean
): moment$Moment,
static parseZone(
rawDate: string,
format: string,
locale: string,
strict: boolean
): moment$Moment,
isValid(): boolean,
invalidAt(): 0 | 1 | 2 | 3 | 4 | 5 | 6,
creationData(): moment$MomentCreationData,
millisecond(number: number): this,
milliseconds(number: number): this,
millisecond(): number,
milliseconds(): number,
second(number: number): this,
seconds(number: number): this,
second(): number,
seconds(): number,
minute(number: number): this,
minutes(number: number): this,
minute(): number,
minutes(): number,
hour(number: number): this,
hours(number: number): this,
hour(): number,
hours(): number,
date(number: number): this,
dates(number: number): this,
date(): number,
dates(): number,
day(day: number | string): this,
days(day: number | string): this,
day(): number,
days(): number,
weekday(number: number): this,
weekday(): number,
isoWeekday(number: number): this,
isoWeekday(): number,
dayOfYear(number: number): this,
dayOfYear(): number,
week(number: number): this,
weeks(number: number): this,
week(): number,
weeks(): number,
isoWeek(number: number): this,
isoWeeks(number: number): this,
isoWeek(): number,
isoWeeks(): number,
month(number: number): this,
months(number: number): this,
month(): number,
months(): number,
quarter(number: number): this,
quarter(): number,
year(number: number): this,
years(number: number): this,
year(): number,
years(): number,
weekYear(number: number): this,
weekYear(): number,
isoWeekYear(number: number): this,
isoWeekYear(): number,
weeksInYear(): number,
isoWeeksInYear(): number,
get(string: string): number,
set(unit: string, value: number): this,
set(options: { [unit: string]: number }): this,
static max(...dates: Array<moment$Moment>): moment$Moment,
static max(dates: Array<moment$Moment>): moment$Moment,
static min(...dates: Array<moment$Moment>): moment$Moment,
static min(dates: Array<moment$Moment>): moment$Moment,
add(
value: number | moment$MomentDuration | moment$Moment | Object,
unit?: string
): this,
subtract(
value: number | moment$MomentDuration | moment$Moment | string | Object,
unit?: string
): this,
startOf(unit: string): this,
endOf(unit: string): this,
local(): this,
utc(): this,
utcOffset(
offset: number | string,
keepLocalTime?: boolean,
keepMinutes?: boolean
): this,
utcOffset(): number,
format(format?: string): string,
fromNow(removeSuffix?: boolean): string,
from(
value: moment$Moment | string | number | Date | Array<number>,
removePrefix?: boolean
): string,
toNow(removePrefix?: boolean): string,
to(
value: moment$Moment | string | number | Date | Array<number>,
removePrefix?: boolean
): string,
calendar(refTime?: any, formats?: moment$CalendarFormats): string,
diff(
date: moment$Moment | string | number | Date | Array<number>,
format?: string,
floating?: boolean
): number,
valueOf(): number,
unix(): number,
daysInMonth(): number,
toDate(): Date,
toArray(): Array<number>,
toJSON(): string,
toISOString(
keepOffset?: boolean
): string,
toObject(): moment$MomentObject,
isBefore(
date?: moment$Moment | string | number | Date | Array<number>,
units?: ?string
): boolean,
isSame(
date?: moment$Moment | string | number | Date | Array<number>,
units?: ?string
): boolean,
isAfter(
date?: moment$Moment | string | number | Date | Array<number>,
units?: ?string
): boolean,
isSameOrBefore(
date?: moment$Moment | string | number | Date | Array<number>,
units?: ?string
): boolean,
isSameOrAfter(
date?: moment$Moment | string | number | Date | Array<number>,
units?: ?string
): boolean,
isBetween(
fromDate: moment$Moment | string | number | Date | Array<number>,
toDate?: ?moment$Moment | string | number | Date | Array<number>,
granularity?: ?string,
inclusion?: ?string
): boolean,
isDST(): boolean,
isDSTShifted(): boolean,
isLeapYear(): boolean,
clone(): moment$Moment,
static isMoment(obj: any): boolean,
static isDate(obj: any): boolean,
static locale(locale: string, localeData?: Object): string,
static updateLocale(locale: string, localeData?: ?Object): void,
static locale(locales: Array<string>): string,
locale(locale: string, customization?: Object | null): moment$Moment,
locale(): string,
static months(): Array<string>,
static monthsShort(): Array<string>,
static weekdays(): Array<string>,
static weekdaysShort(): Array<string>,
static weekdaysMin(): Array<string>,
static months(): string,
static monthsShort(): string,
static weekdays(): string,
static weekdaysShort(): string,
static weekdaysMin(): string,
static localeData(key?: string): moment$LocaleData,
static duration(
value: number | Object | string,
unit?: string
): moment$MomentDuration,
static isDuration(obj: any): boolean,
static normalizeUnits(unit: string): string,
static invalid(object: any): moment$Moment
}
declare module "moment" {
declare module.exports: Class<moment$Moment>;
}

View File

@@ -0,0 +1,22 @@
// flow-typed signature: 45d44f189fa426ca21dee3f5149a4f99
// flow-typed version: c6154227d1/query-string_v5.x.x/flow_>=v0.104.x
declare module "query-string" {
declare type ArrayFormat = "none" | "bracket" | "index";
declare type ParseOptions = {|
arrayFormat?: ArrayFormat
|};
declare type StringifyOptions = {|
arrayFormat?: ArrayFormat,
encode?: boolean,
strict?: boolean
|};
declare module.exports: {
extract(str: string): string,
parse(str: string, opts?: ParseOptions): Object,
stringify(obj: Object, opts?: StringifyOptions): string,
...
};
}

View File

@@ -0,0 +1,139 @@
// flow-typed signature: 35264e970923e4f3cda147e7c17e2407
// flow-typed version: <<STUB>>/react-diff-view_v1.8.1/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'react-diff-view'
*
* 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 'react-diff-view' {
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 'react-diff-view/parse' {
declare module.exports: any;
}
declare module 'react-diff-view/src/CodeCell' {
declare module.exports: any;
}
declare module 'react-diff-view/src/Diff' {
declare module.exports: any;
}
declare module 'react-diff-view/src/Hunk' {
declare module.exports: any;
}
declare module 'react-diff-view/src' {
declare module.exports: any;
}
declare module 'react-diff-view/src/parse' {
declare module.exports: any;
}
declare module 'react-diff-view/src/propTypes' {
declare module.exports: any;
}
declare module 'react-diff-view/src/selectors' {
declare module.exports: any;
}
declare module 'react-diff-view/src/SplitChange' {
declare module.exports: any;
}
declare module 'react-diff-view/src/SplitHunk' {
declare module.exports: any;
}
declare module 'react-diff-view/src/SplitWidget' {
declare module.exports: any;
}
declare module 'react-diff-view/src/UnifiedChange' {
declare module.exports: any;
}
declare module 'react-diff-view/src/UnifiedHunk' {
declare module.exports: any;
}
declare module 'react-diff-view/src/UnifiedWidget' {
declare module.exports: any;
}
declare module 'react-diff-view/src/utils' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-diff-view/index' {
declare module.exports: $Exports<'react-diff-view'>;
}
declare module 'react-diff-view/index.js' {
declare module.exports: $Exports<'react-diff-view'>;
}
declare module 'react-diff-view/parse.js' {
declare module.exports: $Exports<'react-diff-view/parse'>;
}
declare module 'react-diff-view/src/CodeCell.js' {
declare module.exports: $Exports<'react-diff-view/src/CodeCell'>;
}
declare module 'react-diff-view/src/Diff.js' {
declare module.exports: $Exports<'react-diff-view/src/Diff'>;
}
declare module 'react-diff-view/src/Hunk.js' {
declare module.exports: $Exports<'react-diff-view/src/Hunk'>;
}
declare module 'react-diff-view/src/index' {
declare module.exports: $Exports<'react-diff-view/src'>;
}
declare module 'react-diff-view/src/index.js' {
declare module.exports: $Exports<'react-diff-view/src'>;
}
declare module 'react-diff-view/src/parse.js' {
declare module.exports: $Exports<'react-diff-view/src/parse'>;
}
declare module 'react-diff-view/src/propTypes.js' {
declare module.exports: $Exports<'react-diff-view/src/propTypes'>;
}
declare module 'react-diff-view/src/selectors.js' {
declare module.exports: $Exports<'react-diff-view/src/selectors'>;
}
declare module 'react-diff-view/src/SplitChange.js' {
declare module.exports: $Exports<'react-diff-view/src/SplitChange'>;
}
declare module 'react-diff-view/src/SplitHunk.js' {
declare module.exports: $Exports<'react-diff-view/src/SplitHunk'>;
}
declare module 'react-diff-view/src/SplitWidget.js' {
declare module.exports: $Exports<'react-diff-view/src/SplitWidget'>;
}
declare module 'react-diff-view/src/UnifiedChange.js' {
declare module.exports: $Exports<'react-diff-view/src/UnifiedChange'>;
}
declare module 'react-diff-view/src/UnifiedHunk.js' {
declare module.exports: $Exports<'react-diff-view/src/UnifiedHunk'>;
}
declare module 'react-diff-view/src/UnifiedWidget.js' {
declare module.exports: $Exports<'react-diff-view/src/UnifiedWidget'>;
}
declare module 'react-diff-view/src/utils.js' {
declare module.exports: $Exports<'react-diff-view/src/utils'>;
}

View File

@@ -0,0 +1,110 @@
// flow-typed signature: e48526194d458ea4787ca56d830092da
// flow-typed version: c6154227d1/react-i18next_v7.x.x/flow_>=v0.104.x
declare module "react-i18next" {
declare type TFunction = (key?: ?string, data?: ?Object) => string;
declare type TranslatorProps = {|
t: TFunction,
i18nLoadedAt: Date,
i18n: Object
|};
declare type TranslatorPropsVoid = {
t: TFunction | void,
i18nLoadedAt: Date | void,
i18n: Object | void,
...
};
declare type Translator<P: {...}, Component: React$ComponentType<P>> = (
WrappedComponent: Component
) => React$ComponentType<
$Diff<React$ElementConfig<Component>, TranslatorPropsVoid>
>;
declare type TranslateOptions = $Shape<{
wait: boolean,
nsMode: "default" | "fallback",
bindi18n: false | string,
bindStore: false | string,
withRef: boolean,
translateFuncName: string,
i18n: Object,
usePureComponent: boolean,
...
}>;
declare function translate<P: {...}, Component: React$ComponentType<P>>(
namespaces?: | string
| Array<string>
| (($Diff<P, TranslatorPropsVoid>) => string | Array<string>),
options?: TranslateOptions
): Translator<P, Component>;
declare type I18nProps = {
i18n?: Object,
ns?: string | Array<string>,
children: (t: TFunction, {
i18n: Object,
t: TFunction,
...
}) => React$Node,
initialI18nStore?: Object,
initialLanguage?: string,
...
};
declare var I18n: React$ComponentType<I18nProps>;
declare type InterpolateProps = {
className?: string,
dangerouslySetInnerHTMLPartElement?: string,
i18n?: Object,
i18nKey?: string,
options?: Object,
parent?: string,
style?: Object,
t?: TFunction,
useDangerouslySetInnerHTML?: boolean,
...
};
declare var Interpolate: React$ComponentType<InterpolateProps>;
declare type TransProps = {
count?: number,
parent?: string,
i18n?: Object,
i18nKey?: string,
t?: TFunction,
...
};
declare var Trans: React$ComponentType<TransProps>;
declare type ProviderProps = {
i18n: Object,
children: React$Element<*>,
...
};
declare var I18nextProvider: React$ComponentType<ProviderProps>;
declare type NamespacesProps = {
components: Array<React$ComponentType<*>>,
i18n: { loadNamespaces: Function, ... },
...
};
declare function loadNamespaces(props: NamespacesProps): Promise<void>;
declare var reactI18nextModule: {
type: "3rdParty",
init: (instance: Object) => void,
...
};
declare function setDefaults(options: TranslateOptions): void;
declare function getDefaults(): TranslateOptions;
declare function getI18n(): Object;
declare function setI18n(instance: Object): void;
}

View File

@@ -0,0 +1,137 @@
// flow-typed signature: ba35d02d668b0d0a3e04a63a6847974e
// flow-typed version: <<STUB>>/react-jss_v8.6.1/flow_v0.79.1
/**
* This is an autogenerated libdef stub for:
*
* 'react-jss'
*
* 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 'react-jss' {
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 'react-jss/dist/react-jss' {
declare module.exports: any;
}
declare module 'react-jss/dist/react-jss.min' {
declare module.exports: any;
}
declare module 'react-jss/lib/compose' {
declare module.exports: any;
}
declare module 'react-jss/lib/compose.test' {
declare module.exports: any;
}
declare module 'react-jss/lib/contextTypes' {
declare module.exports: any;
}
declare module 'react-jss/lib/createHoc' {
declare module.exports: any;
}
declare module 'react-jss/lib/getDisplayName' {
declare module.exports: any;
}
declare module 'react-jss/lib/index' {
declare module.exports: any;
}
declare module 'react-jss/lib/index.test' {
declare module.exports: any;
}
declare module 'react-jss/lib/injectSheet' {
declare module.exports: any;
}
declare module 'react-jss/lib/injectSheet.test' {
declare module.exports: any;
}
declare module 'react-jss/lib/jss' {
declare module.exports: any;
}
declare module 'react-jss/lib/JssProvider' {
declare module.exports: any;
}
declare module 'react-jss/lib/JssProvider.test' {
declare module.exports: any;
}
declare module 'react-jss/lib/ns' {
declare module.exports: any;
}
declare module 'react-jss/lib/propTypes' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-jss/dist/react-jss.js' {
declare module.exports: $Exports<'react-jss/dist/react-jss'>;
}
declare module 'react-jss/dist/react-jss.min.js' {
declare module.exports: $Exports<'react-jss/dist/react-jss.min'>;
}
declare module 'react-jss/lib/compose.js' {
declare module.exports: $Exports<'react-jss/lib/compose'>;
}
declare module 'react-jss/lib/compose.test.js' {
declare module.exports: $Exports<'react-jss/lib/compose.test'>;
}
declare module 'react-jss/lib/contextTypes.js' {
declare module.exports: $Exports<'react-jss/lib/contextTypes'>;
}
declare module 'react-jss/lib/createHoc.js' {
declare module.exports: $Exports<'react-jss/lib/createHoc'>;
}
declare module 'react-jss/lib/getDisplayName.js' {
declare module.exports: $Exports<'react-jss/lib/getDisplayName'>;
}
declare module 'react-jss/lib/index.js' {
declare module.exports: $Exports<'react-jss/lib/index'>;
}
declare module 'react-jss/lib/index.test.js' {
declare module.exports: $Exports<'react-jss/lib/index.test'>;
}
declare module 'react-jss/lib/injectSheet.js' {
declare module.exports: $Exports<'react-jss/lib/injectSheet'>;
}
declare module 'react-jss/lib/injectSheet.test.js' {
declare module.exports: $Exports<'react-jss/lib/injectSheet.test'>;
}
declare module 'react-jss/lib/jss.js' {
declare module.exports: $Exports<'react-jss/lib/jss'>;
}
declare module 'react-jss/lib/JssProvider.js' {
declare module.exports: $Exports<'react-jss/lib/JssProvider'>;
}
declare module 'react-jss/lib/JssProvider.test.js' {
declare module.exports: $Exports<'react-jss/lib/JssProvider.test'>;
}
declare module 'react-jss/lib/ns.js' {
declare module.exports: $Exports<'react-jss/lib/ns'>;
}
declare module 'react-jss/lib/propTypes.js' {
declare module.exports: $Exports<'react-jss/lib/propTypes'>;
}

View File

@@ -0,0 +1,123 @@
// flow-typed signature: 6bcbadac27a01caf160321668f1e53ce
// flow-typed version: <<STUB>>/react-markdown_v4.2.2/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'react-markdown'
*
* 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 'react-markdown' {
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 'react-markdown/lib/ast-to-react' {
declare module.exports: any;
}
declare module 'react-markdown/lib/get-definitions' {
declare module.exports: any;
}
declare module 'react-markdown/lib/plugins/disallow-node' {
declare module.exports: any;
}
declare module 'react-markdown/lib/plugins/html-parser' {
declare module.exports: any;
}
declare module 'react-markdown/lib/plugins/naive-html' {
declare module.exports: any;
}
declare module 'react-markdown/lib/react-markdown' {
declare module.exports: any;
}
declare module 'react-markdown/lib/renderers' {
declare module.exports: any;
}
declare module 'react-markdown/lib/symbols' {
declare module.exports: any;
}
declare module 'react-markdown/lib/uri-transformer' {
declare module.exports: any;
}
declare module 'react-markdown/lib/with-html' {
declare module.exports: any;
}
declare module 'react-markdown/lib/wrap-table-rows' {
declare module.exports: any;
}
declare module 'react-markdown/plugins/html-parser' {
declare module.exports: any;
}
declare module 'react-markdown/umd/react-markdown' {
declare module.exports: any;
}
declare module 'react-markdown/with-html' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-markdown/lib/ast-to-react.js' {
declare module.exports: $Exports<'react-markdown/lib/ast-to-react'>;
}
declare module 'react-markdown/lib/get-definitions.js' {
declare module.exports: $Exports<'react-markdown/lib/get-definitions'>;
}
declare module 'react-markdown/lib/plugins/disallow-node.js' {
declare module.exports: $Exports<'react-markdown/lib/plugins/disallow-node'>;
}
declare module 'react-markdown/lib/plugins/html-parser.js' {
declare module.exports: $Exports<'react-markdown/lib/plugins/html-parser'>;
}
declare module 'react-markdown/lib/plugins/naive-html.js' {
declare module.exports: $Exports<'react-markdown/lib/plugins/naive-html'>;
}
declare module 'react-markdown/lib/react-markdown.js' {
declare module.exports: $Exports<'react-markdown/lib/react-markdown'>;
}
declare module 'react-markdown/lib/renderers.js' {
declare module.exports: $Exports<'react-markdown/lib/renderers'>;
}
declare module 'react-markdown/lib/symbols.js' {
declare module.exports: $Exports<'react-markdown/lib/symbols'>;
}
declare module 'react-markdown/lib/uri-transformer.js' {
declare module.exports: $Exports<'react-markdown/lib/uri-transformer'>;
}
declare module 'react-markdown/lib/with-html.js' {
declare module.exports: $Exports<'react-markdown/lib/with-html'>;
}
declare module 'react-markdown/lib/wrap-table-rows.js' {
declare module.exports: $Exports<'react-markdown/lib/wrap-table-rows'>;
}
declare module 'react-markdown/plugins/html-parser.js' {
declare module.exports: $Exports<'react-markdown/plugins/html-parser'>;
}
declare module 'react-markdown/umd/react-markdown.js' {
declare module.exports: $Exports<'react-markdown/umd/react-markdown'>;
}
declare module 'react-markdown/with-html.js' {
declare module.exports: $Exports<'react-markdown/with-html'>;
}

View File

@@ -0,0 +1,182 @@
// flow-typed signature: 0bc486c8fc04d0bb37efa138223e4f67
// flow-typed version: c6154227d1/react-router-dom_v4.x.x/flow_>=v0.104.x
declare module "react-router-dom" {
declare export var BrowserRouter: React$ComponentType<{|
basename?: string,
forceRefresh?: boolean,
getUserConfirmation?: GetUserConfirmation,
keyLength?: number,
children?: React$Node
|}>
declare export var HashRouter: React$ComponentType<{|
basename?: string,
getUserConfirmation?: GetUserConfirmation,
hashType?: "slash" | "noslash" | "hashbang",
children?: React$Node
|}>
declare export var Link: React$ComponentType<{
className?: string,
to: string | LocationShape,
replace?: boolean,
children?: React$Node,
...
}>
declare export var NavLink: React$ComponentType<{
to: string | LocationShape,
activeClassName?: string,
className?: string,
activeStyle?: Object,
style?: Object,
isActive?: (match: Match, location: Location) => boolean,
children?: React$Node,
exact?: boolean,
strict?: boolean,
...
}>
// 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) => boolean,
block(
callback: string | (location: Location, action: HistoryAction) => ?string
): () => void,
// createMemoryHistory
index?: number,
entries?: Array<Location>,
...
};
declare export type Match = {
params: { [key: string]: ?string, ... },
isExact: boolean,
path: string,
url: string,
...
};
declare export type ContextRouter = {|
history: RouterHistory,
location: Location,
match: Match,
staticContext?: StaticRouterContext
|};
declare type ContextRouterVoid = {
history: RouterHistory | void,
location: Location | void,
match: Match | void,
staticContext?: StaticRouterContext | void,
...
};
declare export type GetUserConfirmation = (
message: string,
callback: (confirmed: boolean) => void
) => void;
declare export type StaticRouterContext = { url?: string, ... };
declare export var StaticRouter: React$ComponentType<{|
basename?: string,
location?: string | Location,
context: StaticRouterContext,
children?: React$Node
|}>
declare export var MemoryRouter: React$ComponentType<{|
initialEntries?: Array<LocationShape | string>,
initialIndex?: number,
getUserConfirmation?: GetUserConfirmation,
keyLength?: number,
children?: React$Node
|}>
declare export var Router: React$ComponentType<{|
history: RouterHistory,
children?: React$Node
|}>
declare export var Prompt: React$ComponentType<{|
message: string | ((location: Location) => string | boolean),
when?: boolean
|}>
declare export var Redirect: React$ComponentType<{|
to: string | LocationShape,
push?: boolean,
from?: string,
exact?: boolean,
strict?: boolean
|}>
declare export var Route: React$ComponentType<{|
component?: React$ComponentType<*>,
render?: (router: ContextRouter) => React$Node,
children?: React$ComponentType<ContextRouter> | React$Node,
path?: string | Array<string>,
exact?: boolean,
strict?: boolean,
location?: LocationShape,
sensitive?: boolean
|}>
declare export var Switch: React$ComponentType<{|
children?: React$Node,
location?: Location
|}>
declare export function withRouter<Props: {...}, Component: React$ComponentType<Props>>(
WrappedComponent: Component
): React$ComponentType<$Diff<React$ElementConfig<Component>, ContextRouterVoid>>;
declare type MatchPathOptions = {
path?: string,
exact?: boolean,
sensitive?: boolean,
strict?: boolean,
...
};
declare export function matchPath(
pathname: string,
options?: MatchPathOptions | string,
parent?: Match
): null | Match;
declare export function generatePath(pattern?: string, params?: Object): string;
}

View File

@@ -0,0 +1,56 @@
// flow-typed signature: 030a0d51d7da2db8716b0c796bcd8992
// flow-typed version: <<STUB>>/react-router-enzyme-context_v1.2.0/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'react-router-enzyme-context'
*
* 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 'react-router-enzyme-context' {
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 'react-router-enzyme-context/dist/react-router-enzyme-context.cjs' {
declare module.exports: any;
}
declare module 'react-router-enzyme-context/dist/react-router-enzyme-context.esm' {
declare module.exports: any;
}
declare module 'react-router-enzyme-context/rollup.config' {
declare module.exports: any;
}
declare module 'react-router-enzyme-context/src' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-router-enzyme-context/dist/react-router-enzyme-context.cjs.js' {
declare module.exports: $Exports<'react-router-enzyme-context/dist/react-router-enzyme-context.cjs'>;
}
declare module 'react-router-enzyme-context/dist/react-router-enzyme-context.esm.js' {
declare module.exports: $Exports<'react-router-enzyme-context/dist/react-router-enzyme-context.esm'>;
}
declare module 'react-router-enzyme-context/rollup.config.js' {
declare module.exports: $Exports<'react-router-enzyme-context/rollup.config'>;
}
declare module 'react-router-enzyme-context/src/index' {
declare module.exports: $Exports<'react-router-enzyme-context/src'>;
}
declare module 'react-router-enzyme-context/src/index.js' {
declare module.exports: $Exports<'react-router-enzyme-context/src'>;
}

View File

@@ -0,0 +1,726 @@
// flow-typed signature: 0b6edc6705aa28ab46a24d08242af068
// flow-typed version: <<STUB>>/react-select_v2.4.4/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'react-select'
*
* 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 'react-select' {
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 'react-select/dist/react-select.esm' {
declare module.exports: any;
}
declare module 'react-select/dist/react-select' {
declare module.exports: any;
}
declare module 'react-select/dist/react-select.min' {
declare module.exports: any;
}
declare module 'react-select/lib/accessibility' {
declare module.exports: any;
}
declare module 'react-select/lib/animated' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/Input' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/MultiValue' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/Placeholder' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/SingleValue' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/transitions' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/ValueContainer' {
declare module.exports: any;
}
declare module 'react-select/lib/Async' {
declare module.exports: any;
}
declare module 'react-select/lib/AsyncCreatable' {
declare module.exports: any;
}
declare module 'react-select/lib/builtins' {
declare module.exports: any;
}
declare module 'react-select/lib/components/containers' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Control' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Group' {
declare module.exports: any;
}
declare module 'react-select/lib/components' {
declare module.exports: any;
}
declare module 'react-select/lib/components/indicators' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Input' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Menu' {
declare module.exports: any;
}
declare module 'react-select/lib/components/MultiValue' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Option' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Placeholder' {
declare module.exports: any;
}
declare module 'react-select/lib/components/SingleValue' {
declare module.exports: any;
}
declare module 'react-select/lib/Creatable' {
declare module.exports: any;
}
declare module 'react-select/lib/diacritics' {
declare module.exports: any;
}
declare module 'react-select/lib/filters' {
declare module.exports: any;
}
declare module 'react-select/lib' {
declare module.exports: any;
}
declare module 'react-select/lib/index.umd' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/A11yText' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/DummyInput' {
declare module.exports: any;
}
declare module 'react-select/lib/internal' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/NodeResolver' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/react-fast-compare' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/ScrollBlock' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/ScrollCaptor' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/ScrollLock/constants' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/ScrollLock' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/ScrollLock/utils' {
declare module.exports: any;
}
declare module 'react-select/lib/Select' {
declare module.exports: any;
}
declare module 'react-select/lib/stateManager' {
declare module.exports: any;
}
declare module 'react-select/lib/styles' {
declare module.exports: any;
}
declare module 'react-select/lib/theme' {
declare module.exports: any;
}
declare module 'react-select/lib/types' {
declare module.exports: any;
}
declare module 'react-select/lib/utils' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/Async.test' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/AsyncCreatable.test' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/constants' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/Creatable.test' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/Select.test' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/StateManaged.test' {
declare module.exports: any;
}
declare module 'react-select/src/accessibility' {
declare module.exports: any;
}
declare module 'react-select/src/animated' {
declare module.exports: any;
}
declare module 'react-select/src/animated/Input' {
declare module.exports: any;
}
declare module 'react-select/src/animated/MultiValue' {
declare module.exports: any;
}
declare module 'react-select/src/animated/Placeholder' {
declare module.exports: any;
}
declare module 'react-select/src/animated/SingleValue' {
declare module.exports: any;
}
declare module 'react-select/src/animated/transitions' {
declare module.exports: any;
}
declare module 'react-select/src/animated/ValueContainer' {
declare module.exports: any;
}
declare module 'react-select/src/Async' {
declare module.exports: any;
}
declare module 'react-select/src/AsyncCreatable' {
declare module.exports: any;
}
declare module 'react-select/src/builtins' {
declare module.exports: any;
}
declare module 'react-select/src/components/containers' {
declare module.exports: any;
}
declare module 'react-select/src/components/Control' {
declare module.exports: any;
}
declare module 'react-select/src/components/Group' {
declare module.exports: any;
}
declare module 'react-select/src/components' {
declare module.exports: any;
}
declare module 'react-select/src/components/indicators' {
declare module.exports: any;
}
declare module 'react-select/src/components/Input' {
declare module.exports: any;
}
declare module 'react-select/src/components/Menu' {
declare module.exports: any;
}
declare module 'react-select/src/components/MultiValue' {
declare module.exports: any;
}
declare module 'react-select/src/components/Option' {
declare module.exports: any;
}
declare module 'react-select/src/components/Placeholder' {
declare module.exports: any;
}
declare module 'react-select/src/components/SingleValue' {
declare module.exports: any;
}
declare module 'react-select/src/Creatable' {
declare module.exports: any;
}
declare module 'react-select/src/diacritics' {
declare module.exports: any;
}
declare module 'react-select/src/filters' {
declare module.exports: any;
}
declare module 'react-select/src' {
declare module.exports: any;
}
declare module 'react-select/src/index.umd' {
declare module.exports: any;
}
declare module 'react-select/src/internal/A11yText' {
declare module.exports: any;
}
declare module 'react-select/src/internal/DummyInput' {
declare module.exports: any;
}
declare module 'react-select/src/internal' {
declare module.exports: any;
}
declare module 'react-select/src/internal/NodeResolver' {
declare module.exports: any;
}
declare module 'react-select/src/internal/react-fast-compare' {
declare module.exports: any;
}
declare module 'react-select/src/internal/ScrollBlock' {
declare module.exports: any;
}
declare module 'react-select/src/internal/ScrollCaptor' {
declare module.exports: any;
}
declare module 'react-select/src/internal/ScrollLock/constants' {
declare module.exports: any;
}
declare module 'react-select/src/internal/ScrollLock' {
declare module.exports: any;
}
declare module 'react-select/src/internal/ScrollLock/utils' {
declare module.exports: any;
}
declare module 'react-select/src/Select' {
declare module.exports: any;
}
declare module 'react-select/src/stateManager' {
declare module.exports: any;
}
declare module 'react-select/src/styles' {
declare module.exports: any;
}
declare module 'react-select/src/theme' {
declare module.exports: any;
}
declare module 'react-select/src/types' {
declare module.exports: any;
}
declare module 'react-select/src/utils' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-select/dist/react-select.esm.js' {
declare module.exports: $Exports<'react-select/dist/react-select.esm'>;
}
declare module 'react-select/dist/react-select.js' {
declare module.exports: $Exports<'react-select/dist/react-select'>;
}
declare module 'react-select/dist/react-select.min.js' {
declare module.exports: $Exports<'react-select/dist/react-select.min'>;
}
declare module 'react-select/lib/accessibility/index' {
declare module.exports: $Exports<'react-select/lib/accessibility'>;
}
declare module 'react-select/lib/accessibility/index.js' {
declare module.exports: $Exports<'react-select/lib/accessibility'>;
}
declare module 'react-select/lib/animated/index' {
declare module.exports: $Exports<'react-select/lib/animated'>;
}
declare module 'react-select/lib/animated/index.js' {
declare module.exports: $Exports<'react-select/lib/animated'>;
}
declare module 'react-select/lib/animated/Input.js' {
declare module.exports: $Exports<'react-select/lib/animated/Input'>;
}
declare module 'react-select/lib/animated/MultiValue.js' {
declare module.exports: $Exports<'react-select/lib/animated/MultiValue'>;
}
declare module 'react-select/lib/animated/Placeholder.js' {
declare module.exports: $Exports<'react-select/lib/animated/Placeholder'>;
}
declare module 'react-select/lib/animated/SingleValue.js' {
declare module.exports: $Exports<'react-select/lib/animated/SingleValue'>;
}
declare module 'react-select/lib/animated/transitions.js' {
declare module.exports: $Exports<'react-select/lib/animated/transitions'>;
}
declare module 'react-select/lib/animated/ValueContainer.js' {
declare module.exports: $Exports<'react-select/lib/animated/ValueContainer'>;
}
declare module 'react-select/lib/Async.js' {
declare module.exports: $Exports<'react-select/lib/Async'>;
}
declare module 'react-select/lib/AsyncCreatable.js' {
declare module.exports: $Exports<'react-select/lib/AsyncCreatable'>;
}
declare module 'react-select/lib/builtins.js' {
declare module.exports: $Exports<'react-select/lib/builtins'>;
}
declare module 'react-select/lib/components/containers.js' {
declare module.exports: $Exports<'react-select/lib/components/containers'>;
}
declare module 'react-select/lib/components/Control.js' {
declare module.exports: $Exports<'react-select/lib/components/Control'>;
}
declare module 'react-select/lib/components/Group.js' {
declare module.exports: $Exports<'react-select/lib/components/Group'>;
}
declare module 'react-select/lib/components/index' {
declare module.exports: $Exports<'react-select/lib/components'>;
}
declare module 'react-select/lib/components/index.js' {
declare module.exports: $Exports<'react-select/lib/components'>;
}
declare module 'react-select/lib/components/indicators.js' {
declare module.exports: $Exports<'react-select/lib/components/indicators'>;
}
declare module 'react-select/lib/components/Input.js' {
declare module.exports: $Exports<'react-select/lib/components/Input'>;
}
declare module 'react-select/lib/components/Menu.js' {
declare module.exports: $Exports<'react-select/lib/components/Menu'>;
}
declare module 'react-select/lib/components/MultiValue.js' {
declare module.exports: $Exports<'react-select/lib/components/MultiValue'>;
}
declare module 'react-select/lib/components/Option.js' {
declare module.exports: $Exports<'react-select/lib/components/Option'>;
}
declare module 'react-select/lib/components/Placeholder.js' {
declare module.exports: $Exports<'react-select/lib/components/Placeholder'>;
}
declare module 'react-select/lib/components/SingleValue.js' {
declare module.exports: $Exports<'react-select/lib/components/SingleValue'>;
}
declare module 'react-select/lib/Creatable.js' {
declare module.exports: $Exports<'react-select/lib/Creatable'>;
}
declare module 'react-select/lib/diacritics.js' {
declare module.exports: $Exports<'react-select/lib/diacritics'>;
}
declare module 'react-select/lib/filters.js' {
declare module.exports: $Exports<'react-select/lib/filters'>;
}
declare module 'react-select/lib/index' {
declare module.exports: $Exports<'react-select/lib'>;
}
declare module 'react-select/lib/index.js' {
declare module.exports: $Exports<'react-select/lib'>;
}
declare module 'react-select/lib/index.umd.js' {
declare module.exports: $Exports<'react-select/lib/index.umd'>;
}
declare module 'react-select/lib/internal/A11yText.js' {
declare module.exports: $Exports<'react-select/lib/internal/A11yText'>;
}
declare module 'react-select/lib/internal/DummyInput.js' {
declare module.exports: $Exports<'react-select/lib/internal/DummyInput'>;
}
declare module 'react-select/lib/internal/index' {
declare module.exports: $Exports<'react-select/lib/internal'>;
}
declare module 'react-select/lib/internal/index.js' {
declare module.exports: $Exports<'react-select/lib/internal'>;
}
declare module 'react-select/lib/internal/NodeResolver.js' {
declare module.exports: $Exports<'react-select/lib/internal/NodeResolver'>;
}
declare module 'react-select/lib/internal/react-fast-compare.js' {
declare module.exports: $Exports<'react-select/lib/internal/react-fast-compare'>;
}
declare module 'react-select/lib/internal/ScrollBlock.js' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollBlock'>;
}
declare module 'react-select/lib/internal/ScrollCaptor.js' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollCaptor'>;
}
declare module 'react-select/lib/internal/ScrollLock/constants.js' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollLock/constants'>;
}
declare module 'react-select/lib/internal/ScrollLock/index' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollLock'>;
}
declare module 'react-select/lib/internal/ScrollLock/index.js' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollLock'>;
}
declare module 'react-select/lib/internal/ScrollLock/utils.js' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollLock/utils'>;
}
declare module 'react-select/lib/Select.js' {
declare module.exports: $Exports<'react-select/lib/Select'>;
}
declare module 'react-select/lib/stateManager.js' {
declare module.exports: $Exports<'react-select/lib/stateManager'>;
}
declare module 'react-select/lib/styles.js' {
declare module.exports: $Exports<'react-select/lib/styles'>;
}
declare module 'react-select/lib/theme.js' {
declare module.exports: $Exports<'react-select/lib/theme'>;
}
declare module 'react-select/lib/types.js' {
declare module.exports: $Exports<'react-select/lib/types'>;
}
declare module 'react-select/lib/utils.js' {
declare module.exports: $Exports<'react-select/lib/utils'>;
}
declare module 'react-select/src/__tests__/Async.test.js' {
declare module.exports: $Exports<'react-select/src/__tests__/Async.test'>;
}
declare module 'react-select/src/__tests__/AsyncCreatable.test.js' {
declare module.exports: $Exports<'react-select/src/__tests__/AsyncCreatable.test'>;
}
declare module 'react-select/src/__tests__/constants.js' {
declare module.exports: $Exports<'react-select/src/__tests__/constants'>;
}
declare module 'react-select/src/__tests__/Creatable.test.js' {
declare module.exports: $Exports<'react-select/src/__tests__/Creatable.test'>;
}
declare module 'react-select/src/__tests__/Select.test.js' {
declare module.exports: $Exports<'react-select/src/__tests__/Select.test'>;
}
declare module 'react-select/src/__tests__/StateManaged.test.js' {
declare module.exports: $Exports<'react-select/src/__tests__/StateManaged.test'>;
}
declare module 'react-select/src/accessibility/index' {
declare module.exports: $Exports<'react-select/src/accessibility'>;
}
declare module 'react-select/src/accessibility/index.js' {
declare module.exports: $Exports<'react-select/src/accessibility'>;
}
declare module 'react-select/src/animated/index' {
declare module.exports: $Exports<'react-select/src/animated'>;
}
declare module 'react-select/src/animated/index.js' {
declare module.exports: $Exports<'react-select/src/animated'>;
}
declare module 'react-select/src/animated/Input.js' {
declare module.exports: $Exports<'react-select/src/animated/Input'>;
}
declare module 'react-select/src/animated/MultiValue.js' {
declare module.exports: $Exports<'react-select/src/animated/MultiValue'>;
}
declare module 'react-select/src/animated/Placeholder.js' {
declare module.exports: $Exports<'react-select/src/animated/Placeholder'>;
}
declare module 'react-select/src/animated/SingleValue.js' {
declare module.exports: $Exports<'react-select/src/animated/SingleValue'>;
}
declare module 'react-select/src/animated/transitions.js' {
declare module.exports: $Exports<'react-select/src/animated/transitions'>;
}
declare module 'react-select/src/animated/ValueContainer.js' {
declare module.exports: $Exports<'react-select/src/animated/ValueContainer'>;
}
declare module 'react-select/src/Async.js' {
declare module.exports: $Exports<'react-select/src/Async'>;
}
declare module 'react-select/src/AsyncCreatable.js' {
declare module.exports: $Exports<'react-select/src/AsyncCreatable'>;
}
declare module 'react-select/src/builtins.js' {
declare module.exports: $Exports<'react-select/src/builtins'>;
}
declare module 'react-select/src/components/containers.js' {
declare module.exports: $Exports<'react-select/src/components/containers'>;
}
declare module 'react-select/src/components/Control.js' {
declare module.exports: $Exports<'react-select/src/components/Control'>;
}
declare module 'react-select/src/components/Group.js' {
declare module.exports: $Exports<'react-select/src/components/Group'>;
}
declare module 'react-select/src/components/index' {
declare module.exports: $Exports<'react-select/src/components'>;
}
declare module 'react-select/src/components/index.js' {
declare module.exports: $Exports<'react-select/src/components'>;
}
declare module 'react-select/src/components/indicators.js' {
declare module.exports: $Exports<'react-select/src/components/indicators'>;
}
declare module 'react-select/src/components/Input.js' {
declare module.exports: $Exports<'react-select/src/components/Input'>;
}
declare module 'react-select/src/components/Menu.js' {
declare module.exports: $Exports<'react-select/src/components/Menu'>;
}
declare module 'react-select/src/components/MultiValue.js' {
declare module.exports: $Exports<'react-select/src/components/MultiValue'>;
}
declare module 'react-select/src/components/Option.js' {
declare module.exports: $Exports<'react-select/src/components/Option'>;
}
declare module 'react-select/src/components/Placeholder.js' {
declare module.exports: $Exports<'react-select/src/components/Placeholder'>;
}
declare module 'react-select/src/components/SingleValue.js' {
declare module.exports: $Exports<'react-select/src/components/SingleValue'>;
}
declare module 'react-select/src/Creatable.js' {
declare module.exports: $Exports<'react-select/src/Creatable'>;
}
declare module 'react-select/src/diacritics.js' {
declare module.exports: $Exports<'react-select/src/diacritics'>;
}
declare module 'react-select/src/filters.js' {
declare module.exports: $Exports<'react-select/src/filters'>;
}
declare module 'react-select/src/index' {
declare module.exports: $Exports<'react-select/src'>;
}
declare module 'react-select/src/index.js' {
declare module.exports: $Exports<'react-select/src'>;
}
declare module 'react-select/src/index.umd.js' {
declare module.exports: $Exports<'react-select/src/index.umd'>;
}
declare module 'react-select/src/internal/A11yText.js' {
declare module.exports: $Exports<'react-select/src/internal/A11yText'>;
}
declare module 'react-select/src/internal/DummyInput.js' {
declare module.exports: $Exports<'react-select/src/internal/DummyInput'>;
}
declare module 'react-select/src/internal/index' {
declare module.exports: $Exports<'react-select/src/internal'>;
}
declare module 'react-select/src/internal/index.js' {
declare module.exports: $Exports<'react-select/src/internal'>;
}
declare module 'react-select/src/internal/NodeResolver.js' {
declare module.exports: $Exports<'react-select/src/internal/NodeResolver'>;
}
declare module 'react-select/src/internal/react-fast-compare.js' {
declare module.exports: $Exports<'react-select/src/internal/react-fast-compare'>;
}
declare module 'react-select/src/internal/ScrollBlock.js' {
declare module.exports: $Exports<'react-select/src/internal/ScrollBlock'>;
}
declare module 'react-select/src/internal/ScrollCaptor.js' {
declare module.exports: $Exports<'react-select/src/internal/ScrollCaptor'>;
}
declare module 'react-select/src/internal/ScrollLock/constants.js' {
declare module.exports: $Exports<'react-select/src/internal/ScrollLock/constants'>;
}
declare module 'react-select/src/internal/ScrollLock/index' {
declare module.exports: $Exports<'react-select/src/internal/ScrollLock'>;
}
declare module 'react-select/src/internal/ScrollLock/index.js' {
declare module.exports: $Exports<'react-select/src/internal/ScrollLock'>;
}
declare module 'react-select/src/internal/ScrollLock/utils.js' {
declare module.exports: $Exports<'react-select/src/internal/ScrollLock/utils'>;
}
declare module 'react-select/src/Select.js' {
declare module.exports: $Exports<'react-select/src/Select'>;
}
declare module 'react-select/src/stateManager.js' {
declare module.exports: $Exports<'react-select/src/stateManager'>;
}
declare module 'react-select/src/styles.js' {
declare module.exports: $Exports<'react-select/src/styles'>;
}
declare module 'react-select/src/theme.js' {
declare module.exports: $Exports<'react-select/src/theme'>;
}
declare module 'react-select/src/types.js' {
declare module.exports: $Exports<'react-select/src/types'>;
}
declare module 'react-select/src/utils.js' {
declare module.exports: $Exports<'react-select/src/utils'>;
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,12 @@
[declarations]
../../scm-ui/ui-types/.*
../../scm-ui/ui-components/.*
[include]
./src/**
../../scm-ui/ui-types/.*
../../scm-ui/ui-components/.*
[options]
module.system.node.resolve_dirname=../../node_modules
module.name_mapper='^@scm-manager\/ui-\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/../../scm-ui/ui-\1'

View File

@@ -0,0 +1,49 @@
// flow-typed signature: e87b860fca7047001bcde4b8780a8655
// flow-typed version: <<STUB>>/@scm-manager/ui-extensions_v0.1.2/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* '@scm-manager/ui-extensions'
*
* 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 '@scm-manager/ui-extensions' {
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 '@scm-manager/ui-extensions/lib/binder' {
declare module.exports: any;
}
declare module '@scm-manager/ui-extensions/lib/ExtensionPoint' {
declare module.exports: any;
}
declare module '@scm-manager/ui-extensions/lib' {
declare module.exports: any;
}
// Filename aliases
declare module '@scm-manager/ui-extensions/lib/binder.js' {
declare module.exports: $Exports<'@scm-manager/ui-extensions/lib/binder'>;
}
declare module '@scm-manager/ui-extensions/lib/ExtensionPoint.js' {
declare module.exports: $Exports<'@scm-manager/ui-extensions/lib/ExtensionPoint'>;
}
declare module '@scm-manager/ui-extensions/lib/index' {
declare module.exports: $Exports<'@scm-manager/ui-extensions/lib'>;
}
declare module '@scm-manager/ui-extensions/lib/index.js' {
declare module.exports: $Exports<'@scm-manager/ui-extensions/lib'>;
}

View File

@@ -0,0 +1,23 @@
// flow-typed signature: cf86673cc32d185bdab1d2ea90578d37
// flow-typed version: 614bf49aa8/classnames_v2.x.x/flow_>=v0.25.x
type $npm$classnames$Classes =
| string
| { [className: string]: * }
| false
| void
| null;
declare module "classnames" {
declare module.exports: (
...classes: Array<$npm$classnames$Classes | $npm$classnames$Classes[]>
) => string;
}
declare module "classnames/bind" {
declare module.exports: $Exports<"classnames">;
}
declare module "classnames/dedupe" {
declare module.exports: $Exports<"classnames">;
}

View File

@@ -0,0 +1,269 @@
// flow-typed signature: 761f01d8db9f91fa67135cb2120c2b8e
// flow-typed version: <<STUB>>/enzyme_v3.10.0/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'enzyme'
*
* 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 'enzyme' {
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 'enzyme/build/configuration' {
declare module.exports: any;
}
declare module 'enzyme/build/Debug' {
declare module.exports: any;
}
declare module 'enzyme/build/EnzymeAdapter' {
declare module.exports: any;
}
declare module 'enzyme/build/getAdapter' {
declare module.exports: any;
}
declare module 'enzyme/build' {
declare module.exports: any;
}
declare module 'enzyme/build/mount' {
declare module.exports: any;
}
declare module 'enzyme/build/ReactWrapper' {
declare module.exports: any;
}
declare module 'enzyme/build/render' {
declare module.exports: any;
}
declare module 'enzyme/build/RSTTraversal' {
declare module.exports: any;
}
declare module 'enzyme/build/selectors' {
declare module.exports: any;
}
declare module 'enzyme/build/shallow' {
declare module.exports: any;
}
declare module 'enzyme/build/ShallowWrapper' {
declare module.exports: any;
}
declare module 'enzyme/build/Utils' {
declare module.exports: any;
}
declare module 'enzyme/build/validateAdapter' {
declare module.exports: any;
}
declare module 'enzyme/mount' {
declare module.exports: any;
}
declare module 'enzyme/ReactWrapper' {
declare module.exports: any;
}
declare module 'enzyme/render' {
declare module.exports: any;
}
declare module 'enzyme/shallow' {
declare module.exports: any;
}
declare module 'enzyme/ShallowWrapper' {
declare module.exports: any;
}
declare module 'enzyme/src/configuration' {
declare module.exports: any;
}
declare module 'enzyme/src/Debug' {
declare module.exports: any;
}
declare module 'enzyme/src/EnzymeAdapter' {
declare module.exports: any;
}
declare module 'enzyme/src/getAdapter' {
declare module.exports: any;
}
declare module 'enzyme/src' {
declare module.exports: any;
}
declare module 'enzyme/src/mount' {
declare module.exports: any;
}
declare module 'enzyme/src/ReactWrapper' {
declare module.exports: any;
}
declare module 'enzyme/src/render' {
declare module.exports: any;
}
declare module 'enzyme/src/RSTTraversal' {
declare module.exports: any;
}
declare module 'enzyme/src/selectors' {
declare module.exports: any;
}
declare module 'enzyme/src/shallow' {
declare module.exports: any;
}
declare module 'enzyme/src/ShallowWrapper' {
declare module.exports: any;
}
declare module 'enzyme/src/Utils' {
declare module.exports: any;
}
declare module 'enzyme/src/validateAdapter' {
declare module.exports: any;
}
declare module 'enzyme/withDom' {
declare module.exports: any;
}
// Filename aliases
declare module 'enzyme/build/configuration.js' {
declare module.exports: $Exports<'enzyme/build/configuration'>;
}
declare module 'enzyme/build/Debug.js' {
declare module.exports: $Exports<'enzyme/build/Debug'>;
}
declare module 'enzyme/build/EnzymeAdapter.js' {
declare module.exports: $Exports<'enzyme/build/EnzymeAdapter'>;
}
declare module 'enzyme/build/getAdapter.js' {
declare module.exports: $Exports<'enzyme/build/getAdapter'>;
}
declare module 'enzyme/build/index' {
declare module.exports: $Exports<'enzyme/build'>;
}
declare module 'enzyme/build/index.js' {
declare module.exports: $Exports<'enzyme/build'>;
}
declare module 'enzyme/build/mount.js' {
declare module.exports: $Exports<'enzyme/build/mount'>;
}
declare module 'enzyme/build/ReactWrapper.js' {
declare module.exports: $Exports<'enzyme/build/ReactWrapper'>;
}
declare module 'enzyme/build/render.js' {
declare module.exports: $Exports<'enzyme/build/render'>;
}
declare module 'enzyme/build/RSTTraversal.js' {
declare module.exports: $Exports<'enzyme/build/RSTTraversal'>;
}
declare module 'enzyme/build/selectors.js' {
declare module.exports: $Exports<'enzyme/build/selectors'>;
}
declare module 'enzyme/build/shallow.js' {
declare module.exports: $Exports<'enzyme/build/shallow'>;
}
declare module 'enzyme/build/ShallowWrapper.js' {
declare module.exports: $Exports<'enzyme/build/ShallowWrapper'>;
}
declare module 'enzyme/build/Utils.js' {
declare module.exports: $Exports<'enzyme/build/Utils'>;
}
declare module 'enzyme/build/validateAdapter.js' {
declare module.exports: $Exports<'enzyme/build/validateAdapter'>;
}
declare module 'enzyme/mount.js' {
declare module.exports: $Exports<'enzyme/mount'>;
}
declare module 'enzyme/ReactWrapper.js' {
declare module.exports: $Exports<'enzyme/ReactWrapper'>;
}
declare module 'enzyme/render.js' {
declare module.exports: $Exports<'enzyme/render'>;
}
declare module 'enzyme/shallow.js' {
declare module.exports: $Exports<'enzyme/shallow'>;
}
declare module 'enzyme/ShallowWrapper.js' {
declare module.exports: $Exports<'enzyme/ShallowWrapper'>;
}
declare module 'enzyme/src/configuration.js' {
declare module.exports: $Exports<'enzyme/src/configuration'>;
}
declare module 'enzyme/src/Debug.js' {
declare module.exports: $Exports<'enzyme/src/Debug'>;
}
declare module 'enzyme/src/EnzymeAdapter.js' {
declare module.exports: $Exports<'enzyme/src/EnzymeAdapter'>;
}
declare module 'enzyme/src/getAdapter.js' {
declare module.exports: $Exports<'enzyme/src/getAdapter'>;
}
declare module 'enzyme/src/index' {
declare module.exports: $Exports<'enzyme/src'>;
}
declare module 'enzyme/src/index.js' {
declare module.exports: $Exports<'enzyme/src'>;
}
declare module 'enzyme/src/mount.js' {
declare module.exports: $Exports<'enzyme/src/mount'>;
}
declare module 'enzyme/src/ReactWrapper.js' {
declare module.exports: $Exports<'enzyme/src/ReactWrapper'>;
}
declare module 'enzyme/src/render.js' {
declare module.exports: $Exports<'enzyme/src/render'>;
}
declare module 'enzyme/src/RSTTraversal.js' {
declare module.exports: $Exports<'enzyme/src/RSTTraversal'>;
}
declare module 'enzyme/src/selectors.js' {
declare module.exports: $Exports<'enzyme/src/selectors'>;
}
declare module 'enzyme/src/shallow.js' {
declare module.exports: $Exports<'enzyme/src/shallow'>;
}
declare module 'enzyme/src/ShallowWrapper.js' {
declare module.exports: $Exports<'enzyme/src/ShallowWrapper'>;
}
declare module 'enzyme/src/Utils.js' {
declare module.exports: $Exports<'enzyme/src/Utils'>;
}
declare module 'enzyme/src/validateAdapter.js' {
declare module.exports: $Exports<'enzyme/src/validateAdapter'>;
}
declare module 'enzyme/withDom.js' {
declare module.exports: $Exports<'enzyme/withDom'>;
}

View File

@@ -0,0 +1,66 @@
// flow-typed signature: 9be79ea52a669f6c266677d1d0bd3e9d
// flow-typed version: <<STUB>>/gitdiff-parser_v0.1.2/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'gitdiff-parser'
*
* 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 'gitdiff-parser' {
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 'gitdiff-parser/test/git.test' {
declare module.exports: any;
}
declare module 'gitdiff-parser/test/hg' {
declare module.exports: any;
}
declare module 'gitdiff-parser/test/hg.test' {
declare module.exports: any;
}
declare module 'gitdiff-parser/test/perf-parse-diff' {
declare module.exports: any;
}
declare module 'gitdiff-parser/test/perf' {
declare module.exports: any;
}
// Filename aliases
declare module 'gitdiff-parser/index' {
declare module.exports: $Exports<'gitdiff-parser'>;
}
declare module 'gitdiff-parser/index.js' {
declare module.exports: $Exports<'gitdiff-parser'>;
}
declare module 'gitdiff-parser/test/git.test.js' {
declare module.exports: $Exports<'gitdiff-parser/test/git.test'>;
}
declare module 'gitdiff-parser/test/hg.js' {
declare module.exports: $Exports<'gitdiff-parser/test/hg'>;
}
declare module 'gitdiff-parser/test/hg.test.js' {
declare module.exports: $Exports<'gitdiff-parser/test/hg.test'>;
}
declare module 'gitdiff-parser/test/perf-parse-diff.js' {
declare module.exports: $Exports<'gitdiff-parser/test/perf-parse-diff'>;
}
declare module 'gitdiff-parser/test/perf.js' {
declare module.exports: $Exports<'gitdiff-parser/test/perf'>;
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,331 @@
// flow-typed signature: 23b805356f90ad9384dd88489654e380
// flow-typed version: e9374c5fe9/moment_v2.3.x/flow_>=v0.25.x
type moment$MomentOptions = {
y?: number | string,
year?: number | string,
years?: number | string,
M?: number | string,
month?: number | string,
months?: number | string,
d?: number | string,
day?: number | string,
days?: number | string,
date?: number | string,
h?: number | string,
hour?: number | string,
hours?: number | string,
m?: number | string,
minute?: number | string,
minutes?: number | string,
s?: number | string,
second?: number | string,
seconds?: number | string,
ms?: number | string,
millisecond?: number | string,
milliseconds?: number | string
};
type moment$MomentObject = {
years: number,
months: number,
date: number,
hours: number,
minutes: number,
seconds: number,
milliseconds: number
};
type moment$MomentCreationData = {
input: string,
format: string,
locale: Object,
isUTC: boolean,
strict: boolean
};
type moment$CalendarFormat = string | ((moment: moment$Moment) => string);
type moment$CalendarFormats = {
sameDay?: moment$CalendarFormat,
nextDay?: moment$CalendarFormat,
nextWeek?: moment$CalendarFormat,
lastDay?: moment$CalendarFormat,
lastWeek?: moment$CalendarFormat,
sameElse?: moment$CalendarFormat
};
declare class moment$LocaleData {
months(moment: moment$Moment): string,
monthsShort(moment: moment$Moment): string,
monthsParse(month: string): number,
weekdays(moment: moment$Moment): string,
weekdaysShort(moment: moment$Moment): string,
weekdaysMin(moment: moment$Moment): string,
weekdaysParse(weekDay: string): number,
longDateFormat(dateFormat: string): string,
isPM(date: string): boolean,
meridiem(hours: number, minutes: number, isLower: boolean): string,
calendar(
key:
| "sameDay"
| "nextDay"
| "lastDay"
| "nextWeek"
| "prevWeek"
| "sameElse",
moment: moment$Moment
): string,
relativeTime(
number: number,
withoutSuffix: boolean,
key: "s" | "m" | "mm" | "h" | "hh" | "d" | "dd" | "M" | "MM" | "y" | "yy",
isFuture: boolean
): string,
pastFuture(diff: any, relTime: string): string,
ordinal(number: number): string,
preparse(str: string): any,
postformat(str: string): any,
week(moment: moment$Moment): string,
invalidDate(): string,
firstDayOfWeek(): number,
firstDayOfYear(): number
}
declare class moment$MomentDuration {
humanize(suffix?: boolean): string,
milliseconds(): number,
asMilliseconds(): number,
seconds(): number,
asSeconds(): number,
minutes(): number,
asMinutes(): number,
hours(): number,
asHours(): number,
days(): number,
asDays(): number,
months(): number,
asWeeks(): number,
weeks(): number,
asMonths(): number,
years(): number,
asYears(): number,
add(value: number | moment$MomentDuration | Object, unit?: string): this,
subtract(value: number | moment$MomentDuration | Object, unit?: string): this,
as(unit: string): number,
get(unit: string): number,
toJSON(): string,
toISOString(): string,
isValid(): boolean
}
declare class moment$Moment {
static ISO_8601: string,
static (
string?: string,
format?: string | Array<string>,
strict?: boolean
): moment$Moment,
static (
string?: string,
format?: string | Array<string>,
locale?: string,
strict?: boolean
): moment$Moment,
static (
initDate: ?Object | number | Date | Array<number> | moment$Moment | string
): moment$Moment,
static unix(seconds: number): moment$Moment,
static utc(): moment$Moment,
static utc(number: number | Array<number>): moment$Moment,
static utc(
str: string,
str2?: string | Array<string>,
str3?: string
): moment$Moment,
static utc(moment: moment$Moment): moment$Moment,
static utc(date: Date): moment$Moment,
static parseZone(): moment$Moment,
static parseZone(rawDate: string): moment$Moment,
static parseZone(
rawDate: string,
format: string | Array<string>
): moment$Moment,
static parseZone(
rawDate: string,
format: string,
strict: boolean
): moment$Moment,
static parseZone(
rawDate: string,
format: string,
locale: string,
strict: boolean
): moment$Moment,
isValid(): boolean,
invalidAt(): 0 | 1 | 2 | 3 | 4 | 5 | 6,
creationData(): moment$MomentCreationData,
millisecond(number: number): this,
milliseconds(number: number): this,
millisecond(): number,
milliseconds(): number,
second(number: number): this,
seconds(number: number): this,
second(): number,
seconds(): number,
minute(number: number): this,
minutes(number: number): this,
minute(): number,
minutes(): number,
hour(number: number): this,
hours(number: number): this,
hour(): number,
hours(): number,
date(number: number): this,
dates(number: number): this,
date(): number,
dates(): number,
day(day: number | string): this,
days(day: number | string): this,
day(): number,
days(): number,
weekday(number: number): this,
weekday(): number,
isoWeekday(number: number): this,
isoWeekday(): number,
dayOfYear(number: number): this,
dayOfYear(): number,
week(number: number): this,
weeks(number: number): this,
week(): number,
weeks(): number,
isoWeek(number: number): this,
isoWeeks(number: number): this,
isoWeek(): number,
isoWeeks(): number,
month(number: number): this,
months(number: number): this,
month(): number,
months(): number,
quarter(number: number): this,
quarter(): number,
year(number: number): this,
years(number: number): this,
year(): number,
years(): number,
weekYear(number: number): this,
weekYear(): number,
isoWeekYear(number: number): this,
isoWeekYear(): number,
weeksInYear(): number,
isoWeeksInYear(): number,
get(string: string): number,
set(unit: string, value: number): this,
set(options: { [unit: string]: number }): this,
static max(...dates: Array<moment$Moment>): moment$Moment,
static max(dates: Array<moment$Moment>): moment$Moment,
static min(...dates: Array<moment$Moment>): moment$Moment,
static min(dates: Array<moment$Moment>): moment$Moment,
add(
value: number | moment$MomentDuration | moment$Moment | Object,
unit?: string
): this,
subtract(
value: number | moment$MomentDuration | moment$Moment | string | Object,
unit?: string
): this,
startOf(unit: string): this,
endOf(unit: string): this,
local(): this,
utc(): this,
utcOffset(
offset: number | string,
keepLocalTime?: boolean,
keepMinutes?: boolean
): this,
utcOffset(): number,
format(format?: string): string,
fromNow(removeSuffix?: boolean): string,
from(
value: moment$Moment | string | number | Date | Array<number>,
removePrefix?: boolean
): string,
toNow(removePrefix?: boolean): string,
to(
value: moment$Moment | string | number | Date | Array<number>,
removePrefix?: boolean
): string,
calendar(refTime?: any, formats?: moment$CalendarFormats): string,
diff(
date: moment$Moment | string | number | Date | Array<number>,
format?: string,
floating?: boolean
): number,
valueOf(): number,
unix(): number,
daysInMonth(): number,
toDate(): Date,
toArray(): Array<number>,
toJSON(): string,
toISOString(
keepOffset?: boolean
): string,
toObject(): moment$MomentObject,
isBefore(
date?: moment$Moment | string | number | Date | Array<number>,
units?: ?string
): boolean,
isSame(
date?: moment$Moment | string | number | Date | Array<number>,
units?: ?string
): boolean,
isAfter(
date?: moment$Moment | string | number | Date | Array<number>,
units?: ?string
): boolean,
isSameOrBefore(
date?: moment$Moment | string | number | Date | Array<number>,
units?: ?string
): boolean,
isSameOrAfter(
date?: moment$Moment | string | number | Date | Array<number>,
units?: ?string
): boolean,
isBetween(
fromDate: moment$Moment | string | number | Date | Array<number>,
toDate?: ?moment$Moment | string | number | Date | Array<number>,
granularity?: ?string,
inclusion?: ?string
): boolean,
isDST(): boolean,
isDSTShifted(): boolean,
isLeapYear(): boolean,
clone(): moment$Moment,
static isMoment(obj: any): boolean,
static isDate(obj: any): boolean,
static locale(locale: string, localeData?: Object): string,
static updateLocale(locale: string, localeData?: ?Object): void,
static locale(locales: Array<string>): string,
locale(locale: string, customization?: Object | null): moment$Moment,
locale(): string,
static months(): Array<string>,
static monthsShort(): Array<string>,
static weekdays(): Array<string>,
static weekdaysShort(): Array<string>,
static weekdaysMin(): Array<string>,
static months(): string,
static monthsShort(): string,
static weekdays(): string,
static weekdaysShort(): string,
static weekdaysMin(): string,
static localeData(key?: string): moment$LocaleData,
static duration(
value: number | Object | string,
unit?: string
): moment$MomentDuration,
static isDuration(obj: any): boolean,
static normalizeUnits(unit: string): string,
static invalid(object: any): moment$Moment
}
declare module "moment" {
declare module.exports: Class<moment$Moment>;
}

View File

@@ -0,0 +1,22 @@
// flow-typed signature: 45d44f189fa426ca21dee3f5149a4f99
// flow-typed version: c6154227d1/query-string_v5.x.x/flow_>=v0.104.x
declare module "query-string" {
declare type ArrayFormat = "none" | "bracket" | "index";
declare type ParseOptions = {|
arrayFormat?: ArrayFormat
|};
declare type StringifyOptions = {|
arrayFormat?: ArrayFormat,
encode?: boolean,
strict?: boolean
|};
declare module.exports: {
extract(str: string): string,
parse(str: string, opts?: ParseOptions): Object,
stringify(obj: Object, opts?: StringifyOptions): string,
...
};
}

View File

@@ -0,0 +1,139 @@
// flow-typed signature: 35264e970923e4f3cda147e7c17e2407
// flow-typed version: <<STUB>>/react-diff-view_v1.8.1/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'react-diff-view'
*
* 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 'react-diff-view' {
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 'react-diff-view/parse' {
declare module.exports: any;
}
declare module 'react-diff-view/src/CodeCell' {
declare module.exports: any;
}
declare module 'react-diff-view/src/Diff' {
declare module.exports: any;
}
declare module 'react-diff-view/src/Hunk' {
declare module.exports: any;
}
declare module 'react-diff-view/src' {
declare module.exports: any;
}
declare module 'react-diff-view/src/parse' {
declare module.exports: any;
}
declare module 'react-diff-view/src/propTypes' {
declare module.exports: any;
}
declare module 'react-diff-view/src/selectors' {
declare module.exports: any;
}
declare module 'react-diff-view/src/SplitChange' {
declare module.exports: any;
}
declare module 'react-diff-view/src/SplitHunk' {
declare module.exports: any;
}
declare module 'react-diff-view/src/SplitWidget' {
declare module.exports: any;
}
declare module 'react-diff-view/src/UnifiedChange' {
declare module.exports: any;
}
declare module 'react-diff-view/src/UnifiedHunk' {
declare module.exports: any;
}
declare module 'react-diff-view/src/UnifiedWidget' {
declare module.exports: any;
}
declare module 'react-diff-view/src/utils' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-diff-view/index' {
declare module.exports: $Exports<'react-diff-view'>;
}
declare module 'react-diff-view/index.js' {
declare module.exports: $Exports<'react-diff-view'>;
}
declare module 'react-diff-view/parse.js' {
declare module.exports: $Exports<'react-diff-view/parse'>;
}
declare module 'react-diff-view/src/CodeCell.js' {
declare module.exports: $Exports<'react-diff-view/src/CodeCell'>;
}
declare module 'react-diff-view/src/Diff.js' {
declare module.exports: $Exports<'react-diff-view/src/Diff'>;
}
declare module 'react-diff-view/src/Hunk.js' {
declare module.exports: $Exports<'react-diff-view/src/Hunk'>;
}
declare module 'react-diff-view/src/index' {
declare module.exports: $Exports<'react-diff-view/src'>;
}
declare module 'react-diff-view/src/index.js' {
declare module.exports: $Exports<'react-diff-view/src'>;
}
declare module 'react-diff-view/src/parse.js' {
declare module.exports: $Exports<'react-diff-view/src/parse'>;
}
declare module 'react-diff-view/src/propTypes.js' {
declare module.exports: $Exports<'react-diff-view/src/propTypes'>;
}
declare module 'react-diff-view/src/selectors.js' {
declare module.exports: $Exports<'react-diff-view/src/selectors'>;
}
declare module 'react-diff-view/src/SplitChange.js' {
declare module.exports: $Exports<'react-diff-view/src/SplitChange'>;
}
declare module 'react-diff-view/src/SplitHunk.js' {
declare module.exports: $Exports<'react-diff-view/src/SplitHunk'>;
}
declare module 'react-diff-view/src/SplitWidget.js' {
declare module.exports: $Exports<'react-diff-view/src/SplitWidget'>;
}
declare module 'react-diff-view/src/UnifiedChange.js' {
declare module.exports: $Exports<'react-diff-view/src/UnifiedChange'>;
}
declare module 'react-diff-view/src/UnifiedHunk.js' {
declare module.exports: $Exports<'react-diff-view/src/UnifiedHunk'>;
}
declare module 'react-diff-view/src/UnifiedWidget.js' {
declare module.exports: $Exports<'react-diff-view/src/UnifiedWidget'>;
}
declare module 'react-diff-view/src/utils.js' {
declare module.exports: $Exports<'react-diff-view/src/utils'>;
}

View File

@@ -0,0 +1,110 @@
// flow-typed signature: e48526194d458ea4787ca56d830092da
// flow-typed version: c6154227d1/react-i18next_v7.x.x/flow_>=v0.104.x
declare module "react-i18next" {
declare type TFunction = (key?: ?string, data?: ?Object) => string;
declare type TranslatorProps = {|
t: TFunction,
i18nLoadedAt: Date,
i18n: Object
|};
declare type TranslatorPropsVoid = {
t: TFunction | void,
i18nLoadedAt: Date | void,
i18n: Object | void,
...
};
declare type Translator<P: {...}, Component: React$ComponentType<P>> = (
WrappedComponent: Component
) => React$ComponentType<
$Diff<React$ElementConfig<Component>, TranslatorPropsVoid>
>;
declare type TranslateOptions = $Shape<{
wait: boolean,
nsMode: "default" | "fallback",
bindi18n: false | string,
bindStore: false | string,
withRef: boolean,
translateFuncName: string,
i18n: Object,
usePureComponent: boolean,
...
}>;
declare function translate<P: {...}, Component: React$ComponentType<P>>(
namespaces?: | string
| Array<string>
| (($Diff<P, TranslatorPropsVoid>) => string | Array<string>),
options?: TranslateOptions
): Translator<P, Component>;
declare type I18nProps = {
i18n?: Object,
ns?: string | Array<string>,
children: (t: TFunction, {
i18n: Object,
t: TFunction,
...
}) => React$Node,
initialI18nStore?: Object,
initialLanguage?: string,
...
};
declare var I18n: React$ComponentType<I18nProps>;
declare type InterpolateProps = {
className?: string,
dangerouslySetInnerHTMLPartElement?: string,
i18n?: Object,
i18nKey?: string,
options?: Object,
parent?: string,
style?: Object,
t?: TFunction,
useDangerouslySetInnerHTML?: boolean,
...
};
declare var Interpolate: React$ComponentType<InterpolateProps>;
declare type TransProps = {
count?: number,
parent?: string,
i18n?: Object,
i18nKey?: string,
t?: TFunction,
...
};
declare var Trans: React$ComponentType<TransProps>;
declare type ProviderProps = {
i18n: Object,
children: React$Element<*>,
...
};
declare var I18nextProvider: React$ComponentType<ProviderProps>;
declare type NamespacesProps = {
components: Array<React$ComponentType<*>>,
i18n: { loadNamespaces: Function, ... },
...
};
declare function loadNamespaces(props: NamespacesProps): Promise<void>;
declare var reactI18nextModule: {
type: "3rdParty",
init: (instance: Object) => void,
...
};
declare function setDefaults(options: TranslateOptions): void;
declare function getDefaults(): TranslateOptions;
declare function getI18n(): Object;
declare function setI18n(instance: Object): void;
}

View File

@@ -0,0 +1,137 @@
// flow-typed signature: ba35d02d668b0d0a3e04a63a6847974e
// flow-typed version: <<STUB>>/react-jss_v8.6.1/flow_v0.79.1
/**
* This is an autogenerated libdef stub for:
*
* 'react-jss'
*
* 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 'react-jss' {
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 'react-jss/dist/react-jss' {
declare module.exports: any;
}
declare module 'react-jss/dist/react-jss.min' {
declare module.exports: any;
}
declare module 'react-jss/lib/compose' {
declare module.exports: any;
}
declare module 'react-jss/lib/compose.test' {
declare module.exports: any;
}
declare module 'react-jss/lib/contextTypes' {
declare module.exports: any;
}
declare module 'react-jss/lib/createHoc' {
declare module.exports: any;
}
declare module 'react-jss/lib/getDisplayName' {
declare module.exports: any;
}
declare module 'react-jss/lib/index' {
declare module.exports: any;
}
declare module 'react-jss/lib/index.test' {
declare module.exports: any;
}
declare module 'react-jss/lib/injectSheet' {
declare module.exports: any;
}
declare module 'react-jss/lib/injectSheet.test' {
declare module.exports: any;
}
declare module 'react-jss/lib/jss' {
declare module.exports: any;
}
declare module 'react-jss/lib/JssProvider' {
declare module.exports: any;
}
declare module 'react-jss/lib/JssProvider.test' {
declare module.exports: any;
}
declare module 'react-jss/lib/ns' {
declare module.exports: any;
}
declare module 'react-jss/lib/propTypes' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-jss/dist/react-jss.js' {
declare module.exports: $Exports<'react-jss/dist/react-jss'>;
}
declare module 'react-jss/dist/react-jss.min.js' {
declare module.exports: $Exports<'react-jss/dist/react-jss.min'>;
}
declare module 'react-jss/lib/compose.js' {
declare module.exports: $Exports<'react-jss/lib/compose'>;
}
declare module 'react-jss/lib/compose.test.js' {
declare module.exports: $Exports<'react-jss/lib/compose.test'>;
}
declare module 'react-jss/lib/contextTypes.js' {
declare module.exports: $Exports<'react-jss/lib/contextTypes'>;
}
declare module 'react-jss/lib/createHoc.js' {
declare module.exports: $Exports<'react-jss/lib/createHoc'>;
}
declare module 'react-jss/lib/getDisplayName.js' {
declare module.exports: $Exports<'react-jss/lib/getDisplayName'>;
}
declare module 'react-jss/lib/index.js' {
declare module.exports: $Exports<'react-jss/lib/index'>;
}
declare module 'react-jss/lib/index.test.js' {
declare module.exports: $Exports<'react-jss/lib/index.test'>;
}
declare module 'react-jss/lib/injectSheet.js' {
declare module.exports: $Exports<'react-jss/lib/injectSheet'>;
}
declare module 'react-jss/lib/injectSheet.test.js' {
declare module.exports: $Exports<'react-jss/lib/injectSheet.test'>;
}
declare module 'react-jss/lib/jss.js' {
declare module.exports: $Exports<'react-jss/lib/jss'>;
}
declare module 'react-jss/lib/JssProvider.js' {
declare module.exports: $Exports<'react-jss/lib/JssProvider'>;
}
declare module 'react-jss/lib/JssProvider.test.js' {
declare module.exports: $Exports<'react-jss/lib/JssProvider.test'>;
}
declare module 'react-jss/lib/ns.js' {
declare module.exports: $Exports<'react-jss/lib/ns'>;
}
declare module 'react-jss/lib/propTypes.js' {
declare module.exports: $Exports<'react-jss/lib/propTypes'>;
}

View File

@@ -0,0 +1,123 @@
// flow-typed signature: 6bcbadac27a01caf160321668f1e53ce
// flow-typed version: <<STUB>>/react-markdown_v4.2.2/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'react-markdown'
*
* 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 'react-markdown' {
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 'react-markdown/lib/ast-to-react' {
declare module.exports: any;
}
declare module 'react-markdown/lib/get-definitions' {
declare module.exports: any;
}
declare module 'react-markdown/lib/plugins/disallow-node' {
declare module.exports: any;
}
declare module 'react-markdown/lib/plugins/html-parser' {
declare module.exports: any;
}
declare module 'react-markdown/lib/plugins/naive-html' {
declare module.exports: any;
}
declare module 'react-markdown/lib/react-markdown' {
declare module.exports: any;
}
declare module 'react-markdown/lib/renderers' {
declare module.exports: any;
}
declare module 'react-markdown/lib/symbols' {
declare module.exports: any;
}
declare module 'react-markdown/lib/uri-transformer' {
declare module.exports: any;
}
declare module 'react-markdown/lib/with-html' {
declare module.exports: any;
}
declare module 'react-markdown/lib/wrap-table-rows' {
declare module.exports: any;
}
declare module 'react-markdown/plugins/html-parser' {
declare module.exports: any;
}
declare module 'react-markdown/umd/react-markdown' {
declare module.exports: any;
}
declare module 'react-markdown/with-html' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-markdown/lib/ast-to-react.js' {
declare module.exports: $Exports<'react-markdown/lib/ast-to-react'>;
}
declare module 'react-markdown/lib/get-definitions.js' {
declare module.exports: $Exports<'react-markdown/lib/get-definitions'>;
}
declare module 'react-markdown/lib/plugins/disallow-node.js' {
declare module.exports: $Exports<'react-markdown/lib/plugins/disallow-node'>;
}
declare module 'react-markdown/lib/plugins/html-parser.js' {
declare module.exports: $Exports<'react-markdown/lib/plugins/html-parser'>;
}
declare module 'react-markdown/lib/plugins/naive-html.js' {
declare module.exports: $Exports<'react-markdown/lib/plugins/naive-html'>;
}
declare module 'react-markdown/lib/react-markdown.js' {
declare module.exports: $Exports<'react-markdown/lib/react-markdown'>;
}
declare module 'react-markdown/lib/renderers.js' {
declare module.exports: $Exports<'react-markdown/lib/renderers'>;
}
declare module 'react-markdown/lib/symbols.js' {
declare module.exports: $Exports<'react-markdown/lib/symbols'>;
}
declare module 'react-markdown/lib/uri-transformer.js' {
declare module.exports: $Exports<'react-markdown/lib/uri-transformer'>;
}
declare module 'react-markdown/lib/with-html.js' {
declare module.exports: $Exports<'react-markdown/lib/with-html'>;
}
declare module 'react-markdown/lib/wrap-table-rows.js' {
declare module.exports: $Exports<'react-markdown/lib/wrap-table-rows'>;
}
declare module 'react-markdown/plugins/html-parser.js' {
declare module.exports: $Exports<'react-markdown/plugins/html-parser'>;
}
declare module 'react-markdown/umd/react-markdown.js' {
declare module.exports: $Exports<'react-markdown/umd/react-markdown'>;
}
declare module 'react-markdown/with-html.js' {
declare module.exports: $Exports<'react-markdown/with-html'>;
}

View File

@@ -0,0 +1,182 @@
// flow-typed signature: 0bc486c8fc04d0bb37efa138223e4f67
// flow-typed version: c6154227d1/react-router-dom_v4.x.x/flow_>=v0.104.x
declare module "react-router-dom" {
declare export var BrowserRouter: React$ComponentType<{|
basename?: string,
forceRefresh?: boolean,
getUserConfirmation?: GetUserConfirmation,
keyLength?: number,
children?: React$Node
|}>
declare export var HashRouter: React$ComponentType<{|
basename?: string,
getUserConfirmation?: GetUserConfirmation,
hashType?: "slash" | "noslash" | "hashbang",
children?: React$Node
|}>
declare export var Link: React$ComponentType<{
className?: string,
to: string | LocationShape,
replace?: boolean,
children?: React$Node,
...
}>
declare export var NavLink: React$ComponentType<{
to: string | LocationShape,
activeClassName?: string,
className?: string,
activeStyle?: Object,
style?: Object,
isActive?: (match: Match, location: Location) => boolean,
children?: React$Node,
exact?: boolean,
strict?: boolean,
...
}>
// 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) => boolean,
block(
callback: string | (location: Location, action: HistoryAction) => ?string
): () => void,
// createMemoryHistory
index?: number,
entries?: Array<Location>,
...
};
declare export type Match = {
params: { [key: string]: ?string, ... },
isExact: boolean,
path: string,
url: string,
...
};
declare export type ContextRouter = {|
history: RouterHistory,
location: Location,
match: Match,
staticContext?: StaticRouterContext
|};
declare type ContextRouterVoid = {
history: RouterHistory | void,
location: Location | void,
match: Match | void,
staticContext?: StaticRouterContext | void,
...
};
declare export type GetUserConfirmation = (
message: string,
callback: (confirmed: boolean) => void
) => void;
declare export type StaticRouterContext = { url?: string, ... };
declare export var StaticRouter: React$ComponentType<{|
basename?: string,
location?: string | Location,
context: StaticRouterContext,
children?: React$Node
|}>
declare export var MemoryRouter: React$ComponentType<{|
initialEntries?: Array<LocationShape | string>,
initialIndex?: number,
getUserConfirmation?: GetUserConfirmation,
keyLength?: number,
children?: React$Node
|}>
declare export var Router: React$ComponentType<{|
history: RouterHistory,
children?: React$Node
|}>
declare export var Prompt: React$ComponentType<{|
message: string | ((location: Location) => string | boolean),
when?: boolean
|}>
declare export var Redirect: React$ComponentType<{|
to: string | LocationShape,
push?: boolean,
from?: string,
exact?: boolean,
strict?: boolean
|}>
declare export var Route: React$ComponentType<{|
component?: React$ComponentType<*>,
render?: (router: ContextRouter) => React$Node,
children?: React$ComponentType<ContextRouter> | React$Node,
path?: string | Array<string>,
exact?: boolean,
strict?: boolean,
location?: LocationShape,
sensitive?: boolean
|}>
declare export var Switch: React$ComponentType<{|
children?: React$Node,
location?: Location
|}>
declare export function withRouter<Props: {...}, Component: React$ComponentType<Props>>(
WrappedComponent: Component
): React$ComponentType<$Diff<React$ElementConfig<Component>, ContextRouterVoid>>;
declare type MatchPathOptions = {
path?: string,
exact?: boolean,
sensitive?: boolean,
strict?: boolean,
...
};
declare export function matchPath(
pathname: string,
options?: MatchPathOptions | string,
parent?: Match
): null | Match;
declare export function generatePath(pattern?: string, params?: Object): string;
}

View File

@@ -0,0 +1,56 @@
// flow-typed signature: 030a0d51d7da2db8716b0c796bcd8992
// flow-typed version: <<STUB>>/react-router-enzyme-context_v1.2.0/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'react-router-enzyme-context'
*
* 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 'react-router-enzyme-context' {
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 'react-router-enzyme-context/dist/react-router-enzyme-context.cjs' {
declare module.exports: any;
}
declare module 'react-router-enzyme-context/dist/react-router-enzyme-context.esm' {
declare module.exports: any;
}
declare module 'react-router-enzyme-context/rollup.config' {
declare module.exports: any;
}
declare module 'react-router-enzyme-context/src' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-router-enzyme-context/dist/react-router-enzyme-context.cjs.js' {
declare module.exports: $Exports<'react-router-enzyme-context/dist/react-router-enzyme-context.cjs'>;
}
declare module 'react-router-enzyme-context/dist/react-router-enzyme-context.esm.js' {
declare module.exports: $Exports<'react-router-enzyme-context/dist/react-router-enzyme-context.esm'>;
}
declare module 'react-router-enzyme-context/rollup.config.js' {
declare module.exports: $Exports<'react-router-enzyme-context/rollup.config'>;
}
declare module 'react-router-enzyme-context/src/index' {
declare module.exports: $Exports<'react-router-enzyme-context/src'>;
}
declare module 'react-router-enzyme-context/src/index.js' {
declare module.exports: $Exports<'react-router-enzyme-context/src'>;
}

View File

@@ -0,0 +1,726 @@
// flow-typed signature: 0b6edc6705aa28ab46a24d08242af068
// flow-typed version: <<STUB>>/react-select_v2.4.4/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'react-select'
*
* 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 'react-select' {
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 'react-select/dist/react-select.esm' {
declare module.exports: any;
}
declare module 'react-select/dist/react-select' {
declare module.exports: any;
}
declare module 'react-select/dist/react-select.min' {
declare module.exports: any;
}
declare module 'react-select/lib/accessibility' {
declare module.exports: any;
}
declare module 'react-select/lib/animated' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/Input' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/MultiValue' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/Placeholder' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/SingleValue' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/transitions' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/ValueContainer' {
declare module.exports: any;
}
declare module 'react-select/lib/Async' {
declare module.exports: any;
}
declare module 'react-select/lib/AsyncCreatable' {
declare module.exports: any;
}
declare module 'react-select/lib/builtins' {
declare module.exports: any;
}
declare module 'react-select/lib/components/containers' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Control' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Group' {
declare module.exports: any;
}
declare module 'react-select/lib/components' {
declare module.exports: any;
}
declare module 'react-select/lib/components/indicators' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Input' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Menu' {
declare module.exports: any;
}
declare module 'react-select/lib/components/MultiValue' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Option' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Placeholder' {
declare module.exports: any;
}
declare module 'react-select/lib/components/SingleValue' {
declare module.exports: any;
}
declare module 'react-select/lib/Creatable' {
declare module.exports: any;
}
declare module 'react-select/lib/diacritics' {
declare module.exports: any;
}
declare module 'react-select/lib/filters' {
declare module.exports: any;
}
declare module 'react-select/lib' {
declare module.exports: any;
}
declare module 'react-select/lib/index.umd' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/A11yText' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/DummyInput' {
declare module.exports: any;
}
declare module 'react-select/lib/internal' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/NodeResolver' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/react-fast-compare' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/ScrollBlock' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/ScrollCaptor' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/ScrollLock/constants' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/ScrollLock' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/ScrollLock/utils' {
declare module.exports: any;
}
declare module 'react-select/lib/Select' {
declare module.exports: any;
}
declare module 'react-select/lib/stateManager' {
declare module.exports: any;
}
declare module 'react-select/lib/styles' {
declare module.exports: any;
}
declare module 'react-select/lib/theme' {
declare module.exports: any;
}
declare module 'react-select/lib/types' {
declare module.exports: any;
}
declare module 'react-select/lib/utils' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/Async.test' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/AsyncCreatable.test' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/constants' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/Creatable.test' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/Select.test' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/StateManaged.test' {
declare module.exports: any;
}
declare module 'react-select/src/accessibility' {
declare module.exports: any;
}
declare module 'react-select/src/animated' {
declare module.exports: any;
}
declare module 'react-select/src/animated/Input' {
declare module.exports: any;
}
declare module 'react-select/src/animated/MultiValue' {
declare module.exports: any;
}
declare module 'react-select/src/animated/Placeholder' {
declare module.exports: any;
}
declare module 'react-select/src/animated/SingleValue' {
declare module.exports: any;
}
declare module 'react-select/src/animated/transitions' {
declare module.exports: any;
}
declare module 'react-select/src/animated/ValueContainer' {
declare module.exports: any;
}
declare module 'react-select/src/Async' {
declare module.exports: any;
}
declare module 'react-select/src/AsyncCreatable' {
declare module.exports: any;
}
declare module 'react-select/src/builtins' {
declare module.exports: any;
}
declare module 'react-select/src/components/containers' {
declare module.exports: any;
}
declare module 'react-select/src/components/Control' {
declare module.exports: any;
}
declare module 'react-select/src/components/Group' {
declare module.exports: any;
}
declare module 'react-select/src/components' {
declare module.exports: any;
}
declare module 'react-select/src/components/indicators' {
declare module.exports: any;
}
declare module 'react-select/src/components/Input' {
declare module.exports: any;
}
declare module 'react-select/src/components/Menu' {
declare module.exports: any;
}
declare module 'react-select/src/components/MultiValue' {
declare module.exports: any;
}
declare module 'react-select/src/components/Option' {
declare module.exports: any;
}
declare module 'react-select/src/components/Placeholder' {
declare module.exports: any;
}
declare module 'react-select/src/components/SingleValue' {
declare module.exports: any;
}
declare module 'react-select/src/Creatable' {
declare module.exports: any;
}
declare module 'react-select/src/diacritics' {
declare module.exports: any;
}
declare module 'react-select/src/filters' {
declare module.exports: any;
}
declare module 'react-select/src' {
declare module.exports: any;
}
declare module 'react-select/src/index.umd' {
declare module.exports: any;
}
declare module 'react-select/src/internal/A11yText' {
declare module.exports: any;
}
declare module 'react-select/src/internal/DummyInput' {
declare module.exports: any;
}
declare module 'react-select/src/internal' {
declare module.exports: any;
}
declare module 'react-select/src/internal/NodeResolver' {
declare module.exports: any;
}
declare module 'react-select/src/internal/react-fast-compare' {
declare module.exports: any;
}
declare module 'react-select/src/internal/ScrollBlock' {
declare module.exports: any;
}
declare module 'react-select/src/internal/ScrollCaptor' {
declare module.exports: any;
}
declare module 'react-select/src/internal/ScrollLock/constants' {
declare module.exports: any;
}
declare module 'react-select/src/internal/ScrollLock' {
declare module.exports: any;
}
declare module 'react-select/src/internal/ScrollLock/utils' {
declare module.exports: any;
}
declare module 'react-select/src/Select' {
declare module.exports: any;
}
declare module 'react-select/src/stateManager' {
declare module.exports: any;
}
declare module 'react-select/src/styles' {
declare module.exports: any;
}
declare module 'react-select/src/theme' {
declare module.exports: any;
}
declare module 'react-select/src/types' {
declare module.exports: any;
}
declare module 'react-select/src/utils' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-select/dist/react-select.esm.js' {
declare module.exports: $Exports<'react-select/dist/react-select.esm'>;
}
declare module 'react-select/dist/react-select.js' {
declare module.exports: $Exports<'react-select/dist/react-select'>;
}
declare module 'react-select/dist/react-select.min.js' {
declare module.exports: $Exports<'react-select/dist/react-select.min'>;
}
declare module 'react-select/lib/accessibility/index' {
declare module.exports: $Exports<'react-select/lib/accessibility'>;
}
declare module 'react-select/lib/accessibility/index.js' {
declare module.exports: $Exports<'react-select/lib/accessibility'>;
}
declare module 'react-select/lib/animated/index' {
declare module.exports: $Exports<'react-select/lib/animated'>;
}
declare module 'react-select/lib/animated/index.js' {
declare module.exports: $Exports<'react-select/lib/animated'>;
}
declare module 'react-select/lib/animated/Input.js' {
declare module.exports: $Exports<'react-select/lib/animated/Input'>;
}
declare module 'react-select/lib/animated/MultiValue.js' {
declare module.exports: $Exports<'react-select/lib/animated/MultiValue'>;
}
declare module 'react-select/lib/animated/Placeholder.js' {
declare module.exports: $Exports<'react-select/lib/animated/Placeholder'>;
}
declare module 'react-select/lib/animated/SingleValue.js' {
declare module.exports: $Exports<'react-select/lib/animated/SingleValue'>;
}
declare module 'react-select/lib/animated/transitions.js' {
declare module.exports: $Exports<'react-select/lib/animated/transitions'>;
}
declare module 'react-select/lib/animated/ValueContainer.js' {
declare module.exports: $Exports<'react-select/lib/animated/ValueContainer'>;
}
declare module 'react-select/lib/Async.js' {
declare module.exports: $Exports<'react-select/lib/Async'>;
}
declare module 'react-select/lib/AsyncCreatable.js' {
declare module.exports: $Exports<'react-select/lib/AsyncCreatable'>;
}
declare module 'react-select/lib/builtins.js' {
declare module.exports: $Exports<'react-select/lib/builtins'>;
}
declare module 'react-select/lib/components/containers.js' {
declare module.exports: $Exports<'react-select/lib/components/containers'>;
}
declare module 'react-select/lib/components/Control.js' {
declare module.exports: $Exports<'react-select/lib/components/Control'>;
}
declare module 'react-select/lib/components/Group.js' {
declare module.exports: $Exports<'react-select/lib/components/Group'>;
}
declare module 'react-select/lib/components/index' {
declare module.exports: $Exports<'react-select/lib/components'>;
}
declare module 'react-select/lib/components/index.js' {
declare module.exports: $Exports<'react-select/lib/components'>;
}
declare module 'react-select/lib/components/indicators.js' {
declare module.exports: $Exports<'react-select/lib/components/indicators'>;
}
declare module 'react-select/lib/components/Input.js' {
declare module.exports: $Exports<'react-select/lib/components/Input'>;
}
declare module 'react-select/lib/components/Menu.js' {
declare module.exports: $Exports<'react-select/lib/components/Menu'>;
}
declare module 'react-select/lib/components/MultiValue.js' {
declare module.exports: $Exports<'react-select/lib/components/MultiValue'>;
}
declare module 'react-select/lib/components/Option.js' {
declare module.exports: $Exports<'react-select/lib/components/Option'>;
}
declare module 'react-select/lib/components/Placeholder.js' {
declare module.exports: $Exports<'react-select/lib/components/Placeholder'>;
}
declare module 'react-select/lib/components/SingleValue.js' {
declare module.exports: $Exports<'react-select/lib/components/SingleValue'>;
}
declare module 'react-select/lib/Creatable.js' {
declare module.exports: $Exports<'react-select/lib/Creatable'>;
}
declare module 'react-select/lib/diacritics.js' {
declare module.exports: $Exports<'react-select/lib/diacritics'>;
}
declare module 'react-select/lib/filters.js' {
declare module.exports: $Exports<'react-select/lib/filters'>;
}
declare module 'react-select/lib/index' {
declare module.exports: $Exports<'react-select/lib'>;
}
declare module 'react-select/lib/index.js' {
declare module.exports: $Exports<'react-select/lib'>;
}
declare module 'react-select/lib/index.umd.js' {
declare module.exports: $Exports<'react-select/lib/index.umd'>;
}
declare module 'react-select/lib/internal/A11yText.js' {
declare module.exports: $Exports<'react-select/lib/internal/A11yText'>;
}
declare module 'react-select/lib/internal/DummyInput.js' {
declare module.exports: $Exports<'react-select/lib/internal/DummyInput'>;
}
declare module 'react-select/lib/internal/index' {
declare module.exports: $Exports<'react-select/lib/internal'>;
}
declare module 'react-select/lib/internal/index.js' {
declare module.exports: $Exports<'react-select/lib/internal'>;
}
declare module 'react-select/lib/internal/NodeResolver.js' {
declare module.exports: $Exports<'react-select/lib/internal/NodeResolver'>;
}
declare module 'react-select/lib/internal/react-fast-compare.js' {
declare module.exports: $Exports<'react-select/lib/internal/react-fast-compare'>;
}
declare module 'react-select/lib/internal/ScrollBlock.js' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollBlock'>;
}
declare module 'react-select/lib/internal/ScrollCaptor.js' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollCaptor'>;
}
declare module 'react-select/lib/internal/ScrollLock/constants.js' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollLock/constants'>;
}
declare module 'react-select/lib/internal/ScrollLock/index' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollLock'>;
}
declare module 'react-select/lib/internal/ScrollLock/index.js' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollLock'>;
}
declare module 'react-select/lib/internal/ScrollLock/utils.js' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollLock/utils'>;
}
declare module 'react-select/lib/Select.js' {
declare module.exports: $Exports<'react-select/lib/Select'>;
}
declare module 'react-select/lib/stateManager.js' {
declare module.exports: $Exports<'react-select/lib/stateManager'>;
}
declare module 'react-select/lib/styles.js' {
declare module.exports: $Exports<'react-select/lib/styles'>;
}
declare module 'react-select/lib/theme.js' {
declare module.exports: $Exports<'react-select/lib/theme'>;
}
declare module 'react-select/lib/types.js' {
declare module.exports: $Exports<'react-select/lib/types'>;
}
declare module 'react-select/lib/utils.js' {
declare module.exports: $Exports<'react-select/lib/utils'>;
}
declare module 'react-select/src/__tests__/Async.test.js' {
declare module.exports: $Exports<'react-select/src/__tests__/Async.test'>;
}
declare module 'react-select/src/__tests__/AsyncCreatable.test.js' {
declare module.exports: $Exports<'react-select/src/__tests__/AsyncCreatable.test'>;
}
declare module 'react-select/src/__tests__/constants.js' {
declare module.exports: $Exports<'react-select/src/__tests__/constants'>;
}
declare module 'react-select/src/__tests__/Creatable.test.js' {
declare module.exports: $Exports<'react-select/src/__tests__/Creatable.test'>;
}
declare module 'react-select/src/__tests__/Select.test.js' {
declare module.exports: $Exports<'react-select/src/__tests__/Select.test'>;
}
declare module 'react-select/src/__tests__/StateManaged.test.js' {
declare module.exports: $Exports<'react-select/src/__tests__/StateManaged.test'>;
}
declare module 'react-select/src/accessibility/index' {
declare module.exports: $Exports<'react-select/src/accessibility'>;
}
declare module 'react-select/src/accessibility/index.js' {
declare module.exports: $Exports<'react-select/src/accessibility'>;
}
declare module 'react-select/src/animated/index' {
declare module.exports: $Exports<'react-select/src/animated'>;
}
declare module 'react-select/src/animated/index.js' {
declare module.exports: $Exports<'react-select/src/animated'>;
}
declare module 'react-select/src/animated/Input.js' {
declare module.exports: $Exports<'react-select/src/animated/Input'>;
}
declare module 'react-select/src/animated/MultiValue.js' {
declare module.exports: $Exports<'react-select/src/animated/MultiValue'>;
}
declare module 'react-select/src/animated/Placeholder.js' {
declare module.exports: $Exports<'react-select/src/animated/Placeholder'>;
}
declare module 'react-select/src/animated/SingleValue.js' {
declare module.exports: $Exports<'react-select/src/animated/SingleValue'>;
}
declare module 'react-select/src/animated/transitions.js' {
declare module.exports: $Exports<'react-select/src/animated/transitions'>;
}
declare module 'react-select/src/animated/ValueContainer.js' {
declare module.exports: $Exports<'react-select/src/animated/ValueContainer'>;
}
declare module 'react-select/src/Async.js' {
declare module.exports: $Exports<'react-select/src/Async'>;
}
declare module 'react-select/src/AsyncCreatable.js' {
declare module.exports: $Exports<'react-select/src/AsyncCreatable'>;
}
declare module 'react-select/src/builtins.js' {
declare module.exports: $Exports<'react-select/src/builtins'>;
}
declare module 'react-select/src/components/containers.js' {
declare module.exports: $Exports<'react-select/src/components/containers'>;
}
declare module 'react-select/src/components/Control.js' {
declare module.exports: $Exports<'react-select/src/components/Control'>;
}
declare module 'react-select/src/components/Group.js' {
declare module.exports: $Exports<'react-select/src/components/Group'>;
}
declare module 'react-select/src/components/index' {
declare module.exports: $Exports<'react-select/src/components'>;
}
declare module 'react-select/src/components/index.js' {
declare module.exports: $Exports<'react-select/src/components'>;
}
declare module 'react-select/src/components/indicators.js' {
declare module.exports: $Exports<'react-select/src/components/indicators'>;
}
declare module 'react-select/src/components/Input.js' {
declare module.exports: $Exports<'react-select/src/components/Input'>;
}
declare module 'react-select/src/components/Menu.js' {
declare module.exports: $Exports<'react-select/src/components/Menu'>;
}
declare module 'react-select/src/components/MultiValue.js' {
declare module.exports: $Exports<'react-select/src/components/MultiValue'>;
}
declare module 'react-select/src/components/Option.js' {
declare module.exports: $Exports<'react-select/src/components/Option'>;
}
declare module 'react-select/src/components/Placeholder.js' {
declare module.exports: $Exports<'react-select/src/components/Placeholder'>;
}
declare module 'react-select/src/components/SingleValue.js' {
declare module.exports: $Exports<'react-select/src/components/SingleValue'>;
}
declare module 'react-select/src/Creatable.js' {
declare module.exports: $Exports<'react-select/src/Creatable'>;
}
declare module 'react-select/src/diacritics.js' {
declare module.exports: $Exports<'react-select/src/diacritics'>;
}
declare module 'react-select/src/filters.js' {
declare module.exports: $Exports<'react-select/src/filters'>;
}
declare module 'react-select/src/index' {
declare module.exports: $Exports<'react-select/src'>;
}
declare module 'react-select/src/index.js' {
declare module.exports: $Exports<'react-select/src'>;
}
declare module 'react-select/src/index.umd.js' {
declare module.exports: $Exports<'react-select/src/index.umd'>;
}
declare module 'react-select/src/internal/A11yText.js' {
declare module.exports: $Exports<'react-select/src/internal/A11yText'>;
}
declare module 'react-select/src/internal/DummyInput.js' {
declare module.exports: $Exports<'react-select/src/internal/DummyInput'>;
}
declare module 'react-select/src/internal/index' {
declare module.exports: $Exports<'react-select/src/internal'>;
}
declare module 'react-select/src/internal/index.js' {
declare module.exports: $Exports<'react-select/src/internal'>;
}
declare module 'react-select/src/internal/NodeResolver.js' {
declare module.exports: $Exports<'react-select/src/internal/NodeResolver'>;
}
declare module 'react-select/src/internal/react-fast-compare.js' {
declare module.exports: $Exports<'react-select/src/internal/react-fast-compare'>;
}
declare module 'react-select/src/internal/ScrollBlock.js' {
declare module.exports: $Exports<'react-select/src/internal/ScrollBlock'>;
}
declare module 'react-select/src/internal/ScrollCaptor.js' {
declare module.exports: $Exports<'react-select/src/internal/ScrollCaptor'>;
}
declare module 'react-select/src/internal/ScrollLock/constants.js' {
declare module.exports: $Exports<'react-select/src/internal/ScrollLock/constants'>;
}
declare module 'react-select/src/internal/ScrollLock/index' {
declare module.exports: $Exports<'react-select/src/internal/ScrollLock'>;
}
declare module 'react-select/src/internal/ScrollLock/index.js' {
declare module.exports: $Exports<'react-select/src/internal/ScrollLock'>;
}
declare module 'react-select/src/internal/ScrollLock/utils.js' {
declare module.exports: $Exports<'react-select/src/internal/ScrollLock/utils'>;
}
declare module 'react-select/src/Select.js' {
declare module.exports: $Exports<'react-select/src/Select'>;
}
declare module 'react-select/src/stateManager.js' {
declare module.exports: $Exports<'react-select/src/stateManager'>;
}
declare module 'react-select/src/styles.js' {
declare module.exports: $Exports<'react-select/src/styles'>;
}
declare module 'react-select/src/theme.js' {
declare module.exports: $Exports<'react-select/src/theme'>;
}
declare module 'react-select/src/types.js' {
declare module.exports: $Exports<'react-select/src/types'>;
}
declare module 'react-select/src/utils.js' {
declare module.exports: $Exports<'react-select/src/utils'>;
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,9 +1,12 @@
[ignore] [declarations]
.*/node_modules/module-deps/.* ../../scm-ui/ui-types/.*
../../scm-ui/ui-components/.*
[include] [include]
./src/**
[libs] ../../scm-ui/ui-types/.*
./node_modules/@scm-manager/ui-components/flow-typed ../../scm-ui/ui-components/.*
[options] [options]
module.system.node.resolve_dirname=../../node_modules
module.name_mapper='^@scm-manager\/ui-\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/../../scm-ui/ui-\1'

View File

@@ -0,0 +1,49 @@
// flow-typed signature: e87b860fca7047001bcde4b8780a8655
// flow-typed version: <<STUB>>/@scm-manager/ui-extensions_v0.1.2/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* '@scm-manager/ui-extensions'
*
* 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 '@scm-manager/ui-extensions' {
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 '@scm-manager/ui-extensions/lib/binder' {
declare module.exports: any;
}
declare module '@scm-manager/ui-extensions/lib/ExtensionPoint' {
declare module.exports: any;
}
declare module '@scm-manager/ui-extensions/lib' {
declare module.exports: any;
}
// Filename aliases
declare module '@scm-manager/ui-extensions/lib/binder.js' {
declare module.exports: $Exports<'@scm-manager/ui-extensions/lib/binder'>;
}
declare module '@scm-manager/ui-extensions/lib/ExtensionPoint.js' {
declare module.exports: $Exports<'@scm-manager/ui-extensions/lib/ExtensionPoint'>;
}
declare module '@scm-manager/ui-extensions/lib/index' {
declare module.exports: $Exports<'@scm-manager/ui-extensions/lib'>;
}
declare module '@scm-manager/ui-extensions/lib/index.js' {
declare module.exports: $Exports<'@scm-manager/ui-extensions/lib'>;
}

View File

@@ -0,0 +1,23 @@
// flow-typed signature: cf86673cc32d185bdab1d2ea90578d37
// flow-typed version: 614bf49aa8/classnames_v2.x.x/flow_>=v0.25.x
type $npm$classnames$Classes =
| string
| { [className: string]: * }
| false
| void
| null;
declare module "classnames" {
declare module.exports: (
...classes: Array<$npm$classnames$Classes | $npm$classnames$Classes[]>
) => string;
}
declare module "classnames/bind" {
declare module.exports: $Exports<"classnames">;
}
declare module "classnames/dedupe" {
declare module.exports: $Exports<"classnames">;
}

View File

@@ -0,0 +1,269 @@
// flow-typed signature: 761f01d8db9f91fa67135cb2120c2b8e
// flow-typed version: <<STUB>>/enzyme_v3.10.0/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'enzyme'
*
* 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 'enzyme' {
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 'enzyme/build/configuration' {
declare module.exports: any;
}
declare module 'enzyme/build/Debug' {
declare module.exports: any;
}
declare module 'enzyme/build/EnzymeAdapter' {
declare module.exports: any;
}
declare module 'enzyme/build/getAdapter' {
declare module.exports: any;
}
declare module 'enzyme/build' {
declare module.exports: any;
}
declare module 'enzyme/build/mount' {
declare module.exports: any;
}
declare module 'enzyme/build/ReactWrapper' {
declare module.exports: any;
}
declare module 'enzyme/build/render' {
declare module.exports: any;
}
declare module 'enzyme/build/RSTTraversal' {
declare module.exports: any;
}
declare module 'enzyme/build/selectors' {
declare module.exports: any;
}
declare module 'enzyme/build/shallow' {
declare module.exports: any;
}
declare module 'enzyme/build/ShallowWrapper' {
declare module.exports: any;
}
declare module 'enzyme/build/Utils' {
declare module.exports: any;
}
declare module 'enzyme/build/validateAdapter' {
declare module.exports: any;
}
declare module 'enzyme/mount' {
declare module.exports: any;
}
declare module 'enzyme/ReactWrapper' {
declare module.exports: any;
}
declare module 'enzyme/render' {
declare module.exports: any;
}
declare module 'enzyme/shallow' {
declare module.exports: any;
}
declare module 'enzyme/ShallowWrapper' {
declare module.exports: any;
}
declare module 'enzyme/src/configuration' {
declare module.exports: any;
}
declare module 'enzyme/src/Debug' {
declare module.exports: any;
}
declare module 'enzyme/src/EnzymeAdapter' {
declare module.exports: any;
}
declare module 'enzyme/src/getAdapter' {
declare module.exports: any;
}
declare module 'enzyme/src' {
declare module.exports: any;
}
declare module 'enzyme/src/mount' {
declare module.exports: any;
}
declare module 'enzyme/src/ReactWrapper' {
declare module.exports: any;
}
declare module 'enzyme/src/render' {
declare module.exports: any;
}
declare module 'enzyme/src/RSTTraversal' {
declare module.exports: any;
}
declare module 'enzyme/src/selectors' {
declare module.exports: any;
}
declare module 'enzyme/src/shallow' {
declare module.exports: any;
}
declare module 'enzyme/src/ShallowWrapper' {
declare module.exports: any;
}
declare module 'enzyme/src/Utils' {
declare module.exports: any;
}
declare module 'enzyme/src/validateAdapter' {
declare module.exports: any;
}
declare module 'enzyme/withDom' {
declare module.exports: any;
}
// Filename aliases
declare module 'enzyme/build/configuration.js' {
declare module.exports: $Exports<'enzyme/build/configuration'>;
}
declare module 'enzyme/build/Debug.js' {
declare module.exports: $Exports<'enzyme/build/Debug'>;
}
declare module 'enzyme/build/EnzymeAdapter.js' {
declare module.exports: $Exports<'enzyme/build/EnzymeAdapter'>;
}
declare module 'enzyme/build/getAdapter.js' {
declare module.exports: $Exports<'enzyme/build/getAdapter'>;
}
declare module 'enzyme/build/index' {
declare module.exports: $Exports<'enzyme/build'>;
}
declare module 'enzyme/build/index.js' {
declare module.exports: $Exports<'enzyme/build'>;
}
declare module 'enzyme/build/mount.js' {
declare module.exports: $Exports<'enzyme/build/mount'>;
}
declare module 'enzyme/build/ReactWrapper.js' {
declare module.exports: $Exports<'enzyme/build/ReactWrapper'>;
}
declare module 'enzyme/build/render.js' {
declare module.exports: $Exports<'enzyme/build/render'>;
}
declare module 'enzyme/build/RSTTraversal.js' {
declare module.exports: $Exports<'enzyme/build/RSTTraversal'>;
}
declare module 'enzyme/build/selectors.js' {
declare module.exports: $Exports<'enzyme/build/selectors'>;
}
declare module 'enzyme/build/shallow.js' {
declare module.exports: $Exports<'enzyme/build/shallow'>;
}
declare module 'enzyme/build/ShallowWrapper.js' {
declare module.exports: $Exports<'enzyme/build/ShallowWrapper'>;
}
declare module 'enzyme/build/Utils.js' {
declare module.exports: $Exports<'enzyme/build/Utils'>;
}
declare module 'enzyme/build/validateAdapter.js' {
declare module.exports: $Exports<'enzyme/build/validateAdapter'>;
}
declare module 'enzyme/mount.js' {
declare module.exports: $Exports<'enzyme/mount'>;
}
declare module 'enzyme/ReactWrapper.js' {
declare module.exports: $Exports<'enzyme/ReactWrapper'>;
}
declare module 'enzyme/render.js' {
declare module.exports: $Exports<'enzyme/render'>;
}
declare module 'enzyme/shallow.js' {
declare module.exports: $Exports<'enzyme/shallow'>;
}
declare module 'enzyme/ShallowWrapper.js' {
declare module.exports: $Exports<'enzyme/ShallowWrapper'>;
}
declare module 'enzyme/src/configuration.js' {
declare module.exports: $Exports<'enzyme/src/configuration'>;
}
declare module 'enzyme/src/Debug.js' {
declare module.exports: $Exports<'enzyme/src/Debug'>;
}
declare module 'enzyme/src/EnzymeAdapter.js' {
declare module.exports: $Exports<'enzyme/src/EnzymeAdapter'>;
}
declare module 'enzyme/src/getAdapter.js' {
declare module.exports: $Exports<'enzyme/src/getAdapter'>;
}
declare module 'enzyme/src/index' {
declare module.exports: $Exports<'enzyme/src'>;
}
declare module 'enzyme/src/index.js' {
declare module.exports: $Exports<'enzyme/src'>;
}
declare module 'enzyme/src/mount.js' {
declare module.exports: $Exports<'enzyme/src/mount'>;
}
declare module 'enzyme/src/ReactWrapper.js' {
declare module.exports: $Exports<'enzyme/src/ReactWrapper'>;
}
declare module 'enzyme/src/render.js' {
declare module.exports: $Exports<'enzyme/src/render'>;
}
declare module 'enzyme/src/RSTTraversal.js' {
declare module.exports: $Exports<'enzyme/src/RSTTraversal'>;
}
declare module 'enzyme/src/selectors.js' {
declare module.exports: $Exports<'enzyme/src/selectors'>;
}
declare module 'enzyme/src/shallow.js' {
declare module.exports: $Exports<'enzyme/src/shallow'>;
}
declare module 'enzyme/src/ShallowWrapper.js' {
declare module.exports: $Exports<'enzyme/src/ShallowWrapper'>;
}
declare module 'enzyme/src/Utils.js' {
declare module.exports: $Exports<'enzyme/src/Utils'>;
}
declare module 'enzyme/src/validateAdapter.js' {
declare module.exports: $Exports<'enzyme/src/validateAdapter'>;
}
declare module 'enzyme/withDom.js' {
declare module.exports: $Exports<'enzyme/withDom'>;
}

View File

@@ -0,0 +1,66 @@
// flow-typed signature: 9be79ea52a669f6c266677d1d0bd3e9d
// flow-typed version: <<STUB>>/gitdiff-parser_v0.1.2/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'gitdiff-parser'
*
* 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 'gitdiff-parser' {
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 'gitdiff-parser/test/git.test' {
declare module.exports: any;
}
declare module 'gitdiff-parser/test/hg' {
declare module.exports: any;
}
declare module 'gitdiff-parser/test/hg.test' {
declare module.exports: any;
}
declare module 'gitdiff-parser/test/perf-parse-diff' {
declare module.exports: any;
}
declare module 'gitdiff-parser/test/perf' {
declare module.exports: any;
}
// Filename aliases
declare module 'gitdiff-parser/index' {
declare module.exports: $Exports<'gitdiff-parser'>;
}
declare module 'gitdiff-parser/index.js' {
declare module.exports: $Exports<'gitdiff-parser'>;
}
declare module 'gitdiff-parser/test/git.test.js' {
declare module.exports: $Exports<'gitdiff-parser/test/git.test'>;
}
declare module 'gitdiff-parser/test/hg.js' {
declare module.exports: $Exports<'gitdiff-parser/test/hg'>;
}
declare module 'gitdiff-parser/test/hg.test.js' {
declare module.exports: $Exports<'gitdiff-parser/test/hg.test'>;
}
declare module 'gitdiff-parser/test/perf-parse-diff.js' {
declare module.exports: $Exports<'gitdiff-parser/test/perf-parse-diff'>;
}
declare module 'gitdiff-parser/test/perf.js' {
declare module.exports: $Exports<'gitdiff-parser/test/perf'>;
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,331 @@
// flow-typed signature: 23b805356f90ad9384dd88489654e380
// flow-typed version: e9374c5fe9/moment_v2.3.x/flow_>=v0.25.x
type moment$MomentOptions = {
y?: number | string,
year?: number | string,
years?: number | string,
M?: number | string,
month?: number | string,
months?: number | string,
d?: number | string,
day?: number | string,
days?: number | string,
date?: number | string,
h?: number | string,
hour?: number | string,
hours?: number | string,
m?: number | string,
minute?: number | string,
minutes?: number | string,
s?: number | string,
second?: number | string,
seconds?: number | string,
ms?: number | string,
millisecond?: number | string,
milliseconds?: number | string
};
type moment$MomentObject = {
years: number,
months: number,
date: number,
hours: number,
minutes: number,
seconds: number,
milliseconds: number
};
type moment$MomentCreationData = {
input: string,
format: string,
locale: Object,
isUTC: boolean,
strict: boolean
};
type moment$CalendarFormat = string | ((moment: moment$Moment) => string);
type moment$CalendarFormats = {
sameDay?: moment$CalendarFormat,
nextDay?: moment$CalendarFormat,
nextWeek?: moment$CalendarFormat,
lastDay?: moment$CalendarFormat,
lastWeek?: moment$CalendarFormat,
sameElse?: moment$CalendarFormat
};
declare class moment$LocaleData {
months(moment: moment$Moment): string,
monthsShort(moment: moment$Moment): string,
monthsParse(month: string): number,
weekdays(moment: moment$Moment): string,
weekdaysShort(moment: moment$Moment): string,
weekdaysMin(moment: moment$Moment): string,
weekdaysParse(weekDay: string): number,
longDateFormat(dateFormat: string): string,
isPM(date: string): boolean,
meridiem(hours: number, minutes: number, isLower: boolean): string,
calendar(
key:
| "sameDay"
| "nextDay"
| "lastDay"
| "nextWeek"
| "prevWeek"
| "sameElse",
moment: moment$Moment
): string,
relativeTime(
number: number,
withoutSuffix: boolean,
key: "s" | "m" | "mm" | "h" | "hh" | "d" | "dd" | "M" | "MM" | "y" | "yy",
isFuture: boolean
): string,
pastFuture(diff: any, relTime: string): string,
ordinal(number: number): string,
preparse(str: string): any,
postformat(str: string): any,
week(moment: moment$Moment): string,
invalidDate(): string,
firstDayOfWeek(): number,
firstDayOfYear(): number
}
declare class moment$MomentDuration {
humanize(suffix?: boolean): string,
milliseconds(): number,
asMilliseconds(): number,
seconds(): number,
asSeconds(): number,
minutes(): number,
asMinutes(): number,
hours(): number,
asHours(): number,
days(): number,
asDays(): number,
months(): number,
asWeeks(): number,
weeks(): number,
asMonths(): number,
years(): number,
asYears(): number,
add(value: number | moment$MomentDuration | Object, unit?: string): this,
subtract(value: number | moment$MomentDuration | Object, unit?: string): this,
as(unit: string): number,
get(unit: string): number,
toJSON(): string,
toISOString(): string,
isValid(): boolean
}
declare class moment$Moment {
static ISO_8601: string,
static (
string?: string,
format?: string | Array<string>,
strict?: boolean
): moment$Moment,
static (
string?: string,
format?: string | Array<string>,
locale?: string,
strict?: boolean
): moment$Moment,
static (
initDate: ?Object | number | Date | Array<number> | moment$Moment | string
): moment$Moment,
static unix(seconds: number): moment$Moment,
static utc(): moment$Moment,
static utc(number: number | Array<number>): moment$Moment,
static utc(
str: string,
str2?: string | Array<string>,
str3?: string
): moment$Moment,
static utc(moment: moment$Moment): moment$Moment,
static utc(date: Date): moment$Moment,
static parseZone(): moment$Moment,
static parseZone(rawDate: string): moment$Moment,
static parseZone(
rawDate: string,
format: string | Array<string>
): moment$Moment,
static parseZone(
rawDate: string,
format: string,
strict: boolean
): moment$Moment,
static parseZone(
rawDate: string,
format: string,
locale: string,
strict: boolean
): moment$Moment,
isValid(): boolean,
invalidAt(): 0 | 1 | 2 | 3 | 4 | 5 | 6,
creationData(): moment$MomentCreationData,
millisecond(number: number): this,
milliseconds(number: number): this,
millisecond(): number,
milliseconds(): number,
second(number: number): this,
seconds(number: number): this,
second(): number,
seconds(): number,
minute(number: number): this,
minutes(number: number): this,
minute(): number,
minutes(): number,
hour(number: number): this,
hours(number: number): this,
hour(): number,
hours(): number,
date(number: number): this,
dates(number: number): this,
date(): number,
dates(): number,
day(day: number | string): this,
days(day: number | string): this,
day(): number,
days(): number,
weekday(number: number): this,
weekday(): number,
isoWeekday(number: number): this,
isoWeekday(): number,
dayOfYear(number: number): this,
dayOfYear(): number,
week(number: number): this,
weeks(number: number): this,
week(): number,
weeks(): number,
isoWeek(number: number): this,
isoWeeks(number: number): this,
isoWeek(): number,
isoWeeks(): number,
month(number: number): this,
months(number: number): this,
month(): number,
months(): number,
quarter(number: number): this,
quarter(): number,
year(number: number): this,
years(number: number): this,
year(): number,
years(): number,
weekYear(number: number): this,
weekYear(): number,
isoWeekYear(number: number): this,
isoWeekYear(): number,
weeksInYear(): number,
isoWeeksInYear(): number,
get(string: string): number,
set(unit: string, value: number): this,
set(options: { [unit: string]: number }): this,
static max(...dates: Array<moment$Moment>): moment$Moment,
static max(dates: Array<moment$Moment>): moment$Moment,
static min(...dates: Array<moment$Moment>): moment$Moment,
static min(dates: Array<moment$Moment>): moment$Moment,
add(
value: number | moment$MomentDuration | moment$Moment | Object,
unit?: string
): this,
subtract(
value: number | moment$MomentDuration | moment$Moment | string | Object,
unit?: string
): this,
startOf(unit: string): this,
endOf(unit: string): this,
local(): this,
utc(): this,
utcOffset(
offset: number | string,
keepLocalTime?: boolean,
keepMinutes?: boolean
): this,
utcOffset(): number,
format(format?: string): string,
fromNow(removeSuffix?: boolean): string,
from(
value: moment$Moment | string | number | Date | Array<number>,
removePrefix?: boolean
): string,
toNow(removePrefix?: boolean): string,
to(
value: moment$Moment | string | number | Date | Array<number>,
removePrefix?: boolean
): string,
calendar(refTime?: any, formats?: moment$CalendarFormats): string,
diff(
date: moment$Moment | string | number | Date | Array<number>,
format?: string,
floating?: boolean
): number,
valueOf(): number,
unix(): number,
daysInMonth(): number,
toDate(): Date,
toArray(): Array<number>,
toJSON(): string,
toISOString(
keepOffset?: boolean
): string,
toObject(): moment$MomentObject,
isBefore(
date?: moment$Moment | string | number | Date | Array<number>,
units?: ?string
): boolean,
isSame(
date?: moment$Moment | string | number | Date | Array<number>,
units?: ?string
): boolean,
isAfter(
date?: moment$Moment | string | number | Date | Array<number>,
units?: ?string
): boolean,
isSameOrBefore(
date?: moment$Moment | string | number | Date | Array<number>,
units?: ?string
): boolean,
isSameOrAfter(
date?: moment$Moment | string | number | Date | Array<number>,
units?: ?string
): boolean,
isBetween(
fromDate: moment$Moment | string | number | Date | Array<number>,
toDate?: ?moment$Moment | string | number | Date | Array<number>,
granularity?: ?string,
inclusion?: ?string
): boolean,
isDST(): boolean,
isDSTShifted(): boolean,
isLeapYear(): boolean,
clone(): moment$Moment,
static isMoment(obj: any): boolean,
static isDate(obj: any): boolean,
static locale(locale: string, localeData?: Object): string,
static updateLocale(locale: string, localeData?: ?Object): void,
static locale(locales: Array<string>): string,
locale(locale: string, customization?: Object | null): moment$Moment,
locale(): string,
static months(): Array<string>,
static monthsShort(): Array<string>,
static weekdays(): Array<string>,
static weekdaysShort(): Array<string>,
static weekdaysMin(): Array<string>,
static months(): string,
static monthsShort(): string,
static weekdays(): string,
static weekdaysShort(): string,
static weekdaysMin(): string,
static localeData(key?: string): moment$LocaleData,
static duration(
value: number | Object | string,
unit?: string
): moment$MomentDuration,
static isDuration(obj: any): boolean,
static normalizeUnits(unit: string): string,
static invalid(object: any): moment$Moment
}
declare module "moment" {
declare module.exports: Class<moment$Moment>;
}

View File

@@ -0,0 +1,22 @@
// flow-typed signature: 45d44f189fa426ca21dee3f5149a4f99
// flow-typed version: c6154227d1/query-string_v5.x.x/flow_>=v0.104.x
declare module "query-string" {
declare type ArrayFormat = "none" | "bracket" | "index";
declare type ParseOptions = {|
arrayFormat?: ArrayFormat
|};
declare type StringifyOptions = {|
arrayFormat?: ArrayFormat,
encode?: boolean,
strict?: boolean
|};
declare module.exports: {
extract(str: string): string,
parse(str: string, opts?: ParseOptions): Object,
stringify(obj: Object, opts?: StringifyOptions): string,
...
};
}

View File

@@ -0,0 +1,139 @@
// flow-typed signature: 35264e970923e4f3cda147e7c17e2407
// flow-typed version: <<STUB>>/react-diff-view_v1.8.1/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'react-diff-view'
*
* 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 'react-diff-view' {
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 'react-diff-view/parse' {
declare module.exports: any;
}
declare module 'react-diff-view/src/CodeCell' {
declare module.exports: any;
}
declare module 'react-diff-view/src/Diff' {
declare module.exports: any;
}
declare module 'react-diff-view/src/Hunk' {
declare module.exports: any;
}
declare module 'react-diff-view/src' {
declare module.exports: any;
}
declare module 'react-diff-view/src/parse' {
declare module.exports: any;
}
declare module 'react-diff-view/src/propTypes' {
declare module.exports: any;
}
declare module 'react-diff-view/src/selectors' {
declare module.exports: any;
}
declare module 'react-diff-view/src/SplitChange' {
declare module.exports: any;
}
declare module 'react-diff-view/src/SplitHunk' {
declare module.exports: any;
}
declare module 'react-diff-view/src/SplitWidget' {
declare module.exports: any;
}
declare module 'react-diff-view/src/UnifiedChange' {
declare module.exports: any;
}
declare module 'react-diff-view/src/UnifiedHunk' {
declare module.exports: any;
}
declare module 'react-diff-view/src/UnifiedWidget' {
declare module.exports: any;
}
declare module 'react-diff-view/src/utils' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-diff-view/index' {
declare module.exports: $Exports<'react-diff-view'>;
}
declare module 'react-diff-view/index.js' {
declare module.exports: $Exports<'react-diff-view'>;
}
declare module 'react-diff-view/parse.js' {
declare module.exports: $Exports<'react-diff-view/parse'>;
}
declare module 'react-diff-view/src/CodeCell.js' {
declare module.exports: $Exports<'react-diff-view/src/CodeCell'>;
}
declare module 'react-diff-view/src/Diff.js' {
declare module.exports: $Exports<'react-diff-view/src/Diff'>;
}
declare module 'react-diff-view/src/Hunk.js' {
declare module.exports: $Exports<'react-diff-view/src/Hunk'>;
}
declare module 'react-diff-view/src/index' {
declare module.exports: $Exports<'react-diff-view/src'>;
}
declare module 'react-diff-view/src/index.js' {
declare module.exports: $Exports<'react-diff-view/src'>;
}
declare module 'react-diff-view/src/parse.js' {
declare module.exports: $Exports<'react-diff-view/src/parse'>;
}
declare module 'react-diff-view/src/propTypes.js' {
declare module.exports: $Exports<'react-diff-view/src/propTypes'>;
}
declare module 'react-diff-view/src/selectors.js' {
declare module.exports: $Exports<'react-diff-view/src/selectors'>;
}
declare module 'react-diff-view/src/SplitChange.js' {
declare module.exports: $Exports<'react-diff-view/src/SplitChange'>;
}
declare module 'react-diff-view/src/SplitHunk.js' {
declare module.exports: $Exports<'react-diff-view/src/SplitHunk'>;
}
declare module 'react-diff-view/src/SplitWidget.js' {
declare module.exports: $Exports<'react-diff-view/src/SplitWidget'>;
}
declare module 'react-diff-view/src/UnifiedChange.js' {
declare module.exports: $Exports<'react-diff-view/src/UnifiedChange'>;
}
declare module 'react-diff-view/src/UnifiedHunk.js' {
declare module.exports: $Exports<'react-diff-view/src/UnifiedHunk'>;
}
declare module 'react-diff-view/src/UnifiedWidget.js' {
declare module.exports: $Exports<'react-diff-view/src/UnifiedWidget'>;
}
declare module 'react-diff-view/src/utils.js' {
declare module.exports: $Exports<'react-diff-view/src/utils'>;
}

View File

@@ -0,0 +1,110 @@
// flow-typed signature: e48526194d458ea4787ca56d830092da
// flow-typed version: c6154227d1/react-i18next_v7.x.x/flow_>=v0.104.x
declare module "react-i18next" {
declare type TFunction = (key?: ?string, data?: ?Object) => string;
declare type TranslatorProps = {|
t: TFunction,
i18nLoadedAt: Date,
i18n: Object
|};
declare type TranslatorPropsVoid = {
t: TFunction | void,
i18nLoadedAt: Date | void,
i18n: Object | void,
...
};
declare type Translator<P: {...}, Component: React$ComponentType<P>> = (
WrappedComponent: Component
) => React$ComponentType<
$Diff<React$ElementConfig<Component>, TranslatorPropsVoid>
>;
declare type TranslateOptions = $Shape<{
wait: boolean,
nsMode: "default" | "fallback",
bindi18n: false | string,
bindStore: false | string,
withRef: boolean,
translateFuncName: string,
i18n: Object,
usePureComponent: boolean,
...
}>;
declare function translate<P: {...}, Component: React$ComponentType<P>>(
namespaces?: | string
| Array<string>
| (($Diff<P, TranslatorPropsVoid>) => string | Array<string>),
options?: TranslateOptions
): Translator<P, Component>;
declare type I18nProps = {
i18n?: Object,
ns?: string | Array<string>,
children: (t: TFunction, {
i18n: Object,
t: TFunction,
...
}) => React$Node,
initialI18nStore?: Object,
initialLanguage?: string,
...
};
declare var I18n: React$ComponentType<I18nProps>;
declare type InterpolateProps = {
className?: string,
dangerouslySetInnerHTMLPartElement?: string,
i18n?: Object,
i18nKey?: string,
options?: Object,
parent?: string,
style?: Object,
t?: TFunction,
useDangerouslySetInnerHTML?: boolean,
...
};
declare var Interpolate: React$ComponentType<InterpolateProps>;
declare type TransProps = {
count?: number,
parent?: string,
i18n?: Object,
i18nKey?: string,
t?: TFunction,
...
};
declare var Trans: React$ComponentType<TransProps>;
declare type ProviderProps = {
i18n: Object,
children: React$Element<*>,
...
};
declare var I18nextProvider: React$ComponentType<ProviderProps>;
declare type NamespacesProps = {
components: Array<React$ComponentType<*>>,
i18n: { loadNamespaces: Function, ... },
...
};
declare function loadNamespaces(props: NamespacesProps): Promise<void>;
declare var reactI18nextModule: {
type: "3rdParty",
init: (instance: Object) => void,
...
};
declare function setDefaults(options: TranslateOptions): void;
declare function getDefaults(): TranslateOptions;
declare function getI18n(): Object;
declare function setI18n(instance: Object): void;
}

View File

@@ -0,0 +1,137 @@
// flow-typed signature: ba35d02d668b0d0a3e04a63a6847974e
// flow-typed version: <<STUB>>/react-jss_v8.6.1/flow_v0.79.1
/**
* This is an autogenerated libdef stub for:
*
* 'react-jss'
*
* 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 'react-jss' {
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 'react-jss/dist/react-jss' {
declare module.exports: any;
}
declare module 'react-jss/dist/react-jss.min' {
declare module.exports: any;
}
declare module 'react-jss/lib/compose' {
declare module.exports: any;
}
declare module 'react-jss/lib/compose.test' {
declare module.exports: any;
}
declare module 'react-jss/lib/contextTypes' {
declare module.exports: any;
}
declare module 'react-jss/lib/createHoc' {
declare module.exports: any;
}
declare module 'react-jss/lib/getDisplayName' {
declare module.exports: any;
}
declare module 'react-jss/lib/index' {
declare module.exports: any;
}
declare module 'react-jss/lib/index.test' {
declare module.exports: any;
}
declare module 'react-jss/lib/injectSheet' {
declare module.exports: any;
}
declare module 'react-jss/lib/injectSheet.test' {
declare module.exports: any;
}
declare module 'react-jss/lib/jss' {
declare module.exports: any;
}
declare module 'react-jss/lib/JssProvider' {
declare module.exports: any;
}
declare module 'react-jss/lib/JssProvider.test' {
declare module.exports: any;
}
declare module 'react-jss/lib/ns' {
declare module.exports: any;
}
declare module 'react-jss/lib/propTypes' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-jss/dist/react-jss.js' {
declare module.exports: $Exports<'react-jss/dist/react-jss'>;
}
declare module 'react-jss/dist/react-jss.min.js' {
declare module.exports: $Exports<'react-jss/dist/react-jss.min'>;
}
declare module 'react-jss/lib/compose.js' {
declare module.exports: $Exports<'react-jss/lib/compose'>;
}
declare module 'react-jss/lib/compose.test.js' {
declare module.exports: $Exports<'react-jss/lib/compose.test'>;
}
declare module 'react-jss/lib/contextTypes.js' {
declare module.exports: $Exports<'react-jss/lib/contextTypes'>;
}
declare module 'react-jss/lib/createHoc.js' {
declare module.exports: $Exports<'react-jss/lib/createHoc'>;
}
declare module 'react-jss/lib/getDisplayName.js' {
declare module.exports: $Exports<'react-jss/lib/getDisplayName'>;
}
declare module 'react-jss/lib/index.js' {
declare module.exports: $Exports<'react-jss/lib/index'>;
}
declare module 'react-jss/lib/index.test.js' {
declare module.exports: $Exports<'react-jss/lib/index.test'>;
}
declare module 'react-jss/lib/injectSheet.js' {
declare module.exports: $Exports<'react-jss/lib/injectSheet'>;
}
declare module 'react-jss/lib/injectSheet.test.js' {
declare module.exports: $Exports<'react-jss/lib/injectSheet.test'>;
}
declare module 'react-jss/lib/jss.js' {
declare module.exports: $Exports<'react-jss/lib/jss'>;
}
declare module 'react-jss/lib/JssProvider.js' {
declare module.exports: $Exports<'react-jss/lib/JssProvider'>;
}
declare module 'react-jss/lib/JssProvider.test.js' {
declare module.exports: $Exports<'react-jss/lib/JssProvider.test'>;
}
declare module 'react-jss/lib/ns.js' {
declare module.exports: $Exports<'react-jss/lib/ns'>;
}
declare module 'react-jss/lib/propTypes.js' {
declare module.exports: $Exports<'react-jss/lib/propTypes'>;
}

View File

@@ -0,0 +1,123 @@
// flow-typed signature: 6bcbadac27a01caf160321668f1e53ce
// flow-typed version: <<STUB>>/react-markdown_v4.2.2/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'react-markdown'
*
* 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 'react-markdown' {
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 'react-markdown/lib/ast-to-react' {
declare module.exports: any;
}
declare module 'react-markdown/lib/get-definitions' {
declare module.exports: any;
}
declare module 'react-markdown/lib/plugins/disallow-node' {
declare module.exports: any;
}
declare module 'react-markdown/lib/plugins/html-parser' {
declare module.exports: any;
}
declare module 'react-markdown/lib/plugins/naive-html' {
declare module.exports: any;
}
declare module 'react-markdown/lib/react-markdown' {
declare module.exports: any;
}
declare module 'react-markdown/lib/renderers' {
declare module.exports: any;
}
declare module 'react-markdown/lib/symbols' {
declare module.exports: any;
}
declare module 'react-markdown/lib/uri-transformer' {
declare module.exports: any;
}
declare module 'react-markdown/lib/with-html' {
declare module.exports: any;
}
declare module 'react-markdown/lib/wrap-table-rows' {
declare module.exports: any;
}
declare module 'react-markdown/plugins/html-parser' {
declare module.exports: any;
}
declare module 'react-markdown/umd/react-markdown' {
declare module.exports: any;
}
declare module 'react-markdown/with-html' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-markdown/lib/ast-to-react.js' {
declare module.exports: $Exports<'react-markdown/lib/ast-to-react'>;
}
declare module 'react-markdown/lib/get-definitions.js' {
declare module.exports: $Exports<'react-markdown/lib/get-definitions'>;
}
declare module 'react-markdown/lib/plugins/disallow-node.js' {
declare module.exports: $Exports<'react-markdown/lib/plugins/disallow-node'>;
}
declare module 'react-markdown/lib/plugins/html-parser.js' {
declare module.exports: $Exports<'react-markdown/lib/plugins/html-parser'>;
}
declare module 'react-markdown/lib/plugins/naive-html.js' {
declare module.exports: $Exports<'react-markdown/lib/plugins/naive-html'>;
}
declare module 'react-markdown/lib/react-markdown.js' {
declare module.exports: $Exports<'react-markdown/lib/react-markdown'>;
}
declare module 'react-markdown/lib/renderers.js' {
declare module.exports: $Exports<'react-markdown/lib/renderers'>;
}
declare module 'react-markdown/lib/symbols.js' {
declare module.exports: $Exports<'react-markdown/lib/symbols'>;
}
declare module 'react-markdown/lib/uri-transformer.js' {
declare module.exports: $Exports<'react-markdown/lib/uri-transformer'>;
}
declare module 'react-markdown/lib/with-html.js' {
declare module.exports: $Exports<'react-markdown/lib/with-html'>;
}
declare module 'react-markdown/lib/wrap-table-rows.js' {
declare module.exports: $Exports<'react-markdown/lib/wrap-table-rows'>;
}
declare module 'react-markdown/plugins/html-parser.js' {
declare module.exports: $Exports<'react-markdown/plugins/html-parser'>;
}
declare module 'react-markdown/umd/react-markdown.js' {
declare module.exports: $Exports<'react-markdown/umd/react-markdown'>;
}
declare module 'react-markdown/with-html.js' {
declare module.exports: $Exports<'react-markdown/with-html'>;
}

View File

@@ -0,0 +1,182 @@
// flow-typed signature: 0bc486c8fc04d0bb37efa138223e4f67
// flow-typed version: c6154227d1/react-router-dom_v4.x.x/flow_>=v0.104.x
declare module "react-router-dom" {
declare export var BrowserRouter: React$ComponentType<{|
basename?: string,
forceRefresh?: boolean,
getUserConfirmation?: GetUserConfirmation,
keyLength?: number,
children?: React$Node
|}>
declare export var HashRouter: React$ComponentType<{|
basename?: string,
getUserConfirmation?: GetUserConfirmation,
hashType?: "slash" | "noslash" | "hashbang",
children?: React$Node
|}>
declare export var Link: React$ComponentType<{
className?: string,
to: string | LocationShape,
replace?: boolean,
children?: React$Node,
...
}>
declare export var NavLink: React$ComponentType<{
to: string | LocationShape,
activeClassName?: string,
className?: string,
activeStyle?: Object,
style?: Object,
isActive?: (match: Match, location: Location) => boolean,
children?: React$Node,
exact?: boolean,
strict?: boolean,
...
}>
// 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) => boolean,
block(
callback: string | (location: Location, action: HistoryAction) => ?string
): () => void,
// createMemoryHistory
index?: number,
entries?: Array<Location>,
...
};
declare export type Match = {
params: { [key: string]: ?string, ... },
isExact: boolean,
path: string,
url: string,
...
};
declare export type ContextRouter = {|
history: RouterHistory,
location: Location,
match: Match,
staticContext?: StaticRouterContext
|};
declare type ContextRouterVoid = {
history: RouterHistory | void,
location: Location | void,
match: Match | void,
staticContext?: StaticRouterContext | void,
...
};
declare export type GetUserConfirmation = (
message: string,
callback: (confirmed: boolean) => void
) => void;
declare export type StaticRouterContext = { url?: string, ... };
declare export var StaticRouter: React$ComponentType<{|
basename?: string,
location?: string | Location,
context: StaticRouterContext,
children?: React$Node
|}>
declare export var MemoryRouter: React$ComponentType<{|
initialEntries?: Array<LocationShape | string>,
initialIndex?: number,
getUserConfirmation?: GetUserConfirmation,
keyLength?: number,
children?: React$Node
|}>
declare export var Router: React$ComponentType<{|
history: RouterHistory,
children?: React$Node
|}>
declare export var Prompt: React$ComponentType<{|
message: string | ((location: Location) => string | boolean),
when?: boolean
|}>
declare export var Redirect: React$ComponentType<{|
to: string | LocationShape,
push?: boolean,
from?: string,
exact?: boolean,
strict?: boolean
|}>
declare export var Route: React$ComponentType<{|
component?: React$ComponentType<*>,
render?: (router: ContextRouter) => React$Node,
children?: React$ComponentType<ContextRouter> | React$Node,
path?: string | Array<string>,
exact?: boolean,
strict?: boolean,
location?: LocationShape,
sensitive?: boolean
|}>
declare export var Switch: React$ComponentType<{|
children?: React$Node,
location?: Location
|}>
declare export function withRouter<Props: {...}, Component: React$ComponentType<Props>>(
WrappedComponent: Component
): React$ComponentType<$Diff<React$ElementConfig<Component>, ContextRouterVoid>>;
declare type MatchPathOptions = {
path?: string,
exact?: boolean,
sensitive?: boolean,
strict?: boolean,
...
};
declare export function matchPath(
pathname: string,
options?: MatchPathOptions | string,
parent?: Match
): null | Match;
declare export function generatePath(pattern?: string, params?: Object): string;
}

View File

@@ -0,0 +1,56 @@
// flow-typed signature: 030a0d51d7da2db8716b0c796bcd8992
// flow-typed version: <<STUB>>/react-router-enzyme-context_v1.2.0/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'react-router-enzyme-context'
*
* 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 'react-router-enzyme-context' {
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 'react-router-enzyme-context/dist/react-router-enzyme-context.cjs' {
declare module.exports: any;
}
declare module 'react-router-enzyme-context/dist/react-router-enzyme-context.esm' {
declare module.exports: any;
}
declare module 'react-router-enzyme-context/rollup.config' {
declare module.exports: any;
}
declare module 'react-router-enzyme-context/src' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-router-enzyme-context/dist/react-router-enzyme-context.cjs.js' {
declare module.exports: $Exports<'react-router-enzyme-context/dist/react-router-enzyme-context.cjs'>;
}
declare module 'react-router-enzyme-context/dist/react-router-enzyme-context.esm.js' {
declare module.exports: $Exports<'react-router-enzyme-context/dist/react-router-enzyme-context.esm'>;
}
declare module 'react-router-enzyme-context/rollup.config.js' {
declare module.exports: $Exports<'react-router-enzyme-context/rollup.config'>;
}
declare module 'react-router-enzyme-context/src/index' {
declare module.exports: $Exports<'react-router-enzyme-context/src'>;
}
declare module 'react-router-enzyme-context/src/index.js' {
declare module.exports: $Exports<'react-router-enzyme-context/src'>;
}

View File

@@ -0,0 +1,726 @@
// flow-typed signature: 0b6edc6705aa28ab46a24d08242af068
// flow-typed version: <<STUB>>/react-select_v2.4.4/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'react-select'
*
* 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 'react-select' {
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 'react-select/dist/react-select.esm' {
declare module.exports: any;
}
declare module 'react-select/dist/react-select' {
declare module.exports: any;
}
declare module 'react-select/dist/react-select.min' {
declare module.exports: any;
}
declare module 'react-select/lib/accessibility' {
declare module.exports: any;
}
declare module 'react-select/lib/animated' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/Input' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/MultiValue' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/Placeholder' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/SingleValue' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/transitions' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/ValueContainer' {
declare module.exports: any;
}
declare module 'react-select/lib/Async' {
declare module.exports: any;
}
declare module 'react-select/lib/AsyncCreatable' {
declare module.exports: any;
}
declare module 'react-select/lib/builtins' {
declare module.exports: any;
}
declare module 'react-select/lib/components/containers' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Control' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Group' {
declare module.exports: any;
}
declare module 'react-select/lib/components' {
declare module.exports: any;
}
declare module 'react-select/lib/components/indicators' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Input' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Menu' {
declare module.exports: any;
}
declare module 'react-select/lib/components/MultiValue' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Option' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Placeholder' {
declare module.exports: any;
}
declare module 'react-select/lib/components/SingleValue' {
declare module.exports: any;
}
declare module 'react-select/lib/Creatable' {
declare module.exports: any;
}
declare module 'react-select/lib/diacritics' {
declare module.exports: any;
}
declare module 'react-select/lib/filters' {
declare module.exports: any;
}
declare module 'react-select/lib' {
declare module.exports: any;
}
declare module 'react-select/lib/index.umd' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/A11yText' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/DummyInput' {
declare module.exports: any;
}
declare module 'react-select/lib/internal' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/NodeResolver' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/react-fast-compare' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/ScrollBlock' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/ScrollCaptor' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/ScrollLock/constants' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/ScrollLock' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/ScrollLock/utils' {
declare module.exports: any;
}
declare module 'react-select/lib/Select' {
declare module.exports: any;
}
declare module 'react-select/lib/stateManager' {
declare module.exports: any;
}
declare module 'react-select/lib/styles' {
declare module.exports: any;
}
declare module 'react-select/lib/theme' {
declare module.exports: any;
}
declare module 'react-select/lib/types' {
declare module.exports: any;
}
declare module 'react-select/lib/utils' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/Async.test' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/AsyncCreatable.test' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/constants' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/Creatable.test' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/Select.test' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/StateManaged.test' {
declare module.exports: any;
}
declare module 'react-select/src/accessibility' {
declare module.exports: any;
}
declare module 'react-select/src/animated' {
declare module.exports: any;
}
declare module 'react-select/src/animated/Input' {
declare module.exports: any;
}
declare module 'react-select/src/animated/MultiValue' {
declare module.exports: any;
}
declare module 'react-select/src/animated/Placeholder' {
declare module.exports: any;
}
declare module 'react-select/src/animated/SingleValue' {
declare module.exports: any;
}
declare module 'react-select/src/animated/transitions' {
declare module.exports: any;
}
declare module 'react-select/src/animated/ValueContainer' {
declare module.exports: any;
}
declare module 'react-select/src/Async' {
declare module.exports: any;
}
declare module 'react-select/src/AsyncCreatable' {
declare module.exports: any;
}
declare module 'react-select/src/builtins' {
declare module.exports: any;
}
declare module 'react-select/src/components/containers' {
declare module.exports: any;
}
declare module 'react-select/src/components/Control' {
declare module.exports: any;
}
declare module 'react-select/src/components/Group' {
declare module.exports: any;
}
declare module 'react-select/src/components' {
declare module.exports: any;
}
declare module 'react-select/src/components/indicators' {
declare module.exports: any;
}
declare module 'react-select/src/components/Input' {
declare module.exports: any;
}
declare module 'react-select/src/components/Menu' {
declare module.exports: any;
}
declare module 'react-select/src/components/MultiValue' {
declare module.exports: any;
}
declare module 'react-select/src/components/Option' {
declare module.exports: any;
}
declare module 'react-select/src/components/Placeholder' {
declare module.exports: any;
}
declare module 'react-select/src/components/SingleValue' {
declare module.exports: any;
}
declare module 'react-select/src/Creatable' {
declare module.exports: any;
}
declare module 'react-select/src/diacritics' {
declare module.exports: any;
}
declare module 'react-select/src/filters' {
declare module.exports: any;
}
declare module 'react-select/src' {
declare module.exports: any;
}
declare module 'react-select/src/index.umd' {
declare module.exports: any;
}
declare module 'react-select/src/internal/A11yText' {
declare module.exports: any;
}
declare module 'react-select/src/internal/DummyInput' {
declare module.exports: any;
}
declare module 'react-select/src/internal' {
declare module.exports: any;
}
declare module 'react-select/src/internal/NodeResolver' {
declare module.exports: any;
}
declare module 'react-select/src/internal/react-fast-compare' {
declare module.exports: any;
}
declare module 'react-select/src/internal/ScrollBlock' {
declare module.exports: any;
}
declare module 'react-select/src/internal/ScrollCaptor' {
declare module.exports: any;
}
declare module 'react-select/src/internal/ScrollLock/constants' {
declare module.exports: any;
}
declare module 'react-select/src/internal/ScrollLock' {
declare module.exports: any;
}
declare module 'react-select/src/internal/ScrollLock/utils' {
declare module.exports: any;
}
declare module 'react-select/src/Select' {
declare module.exports: any;
}
declare module 'react-select/src/stateManager' {
declare module.exports: any;
}
declare module 'react-select/src/styles' {
declare module.exports: any;
}
declare module 'react-select/src/theme' {
declare module.exports: any;
}
declare module 'react-select/src/types' {
declare module.exports: any;
}
declare module 'react-select/src/utils' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-select/dist/react-select.esm.js' {
declare module.exports: $Exports<'react-select/dist/react-select.esm'>;
}
declare module 'react-select/dist/react-select.js' {
declare module.exports: $Exports<'react-select/dist/react-select'>;
}
declare module 'react-select/dist/react-select.min.js' {
declare module.exports: $Exports<'react-select/dist/react-select.min'>;
}
declare module 'react-select/lib/accessibility/index' {
declare module.exports: $Exports<'react-select/lib/accessibility'>;
}
declare module 'react-select/lib/accessibility/index.js' {
declare module.exports: $Exports<'react-select/lib/accessibility'>;
}
declare module 'react-select/lib/animated/index' {
declare module.exports: $Exports<'react-select/lib/animated'>;
}
declare module 'react-select/lib/animated/index.js' {
declare module.exports: $Exports<'react-select/lib/animated'>;
}
declare module 'react-select/lib/animated/Input.js' {
declare module.exports: $Exports<'react-select/lib/animated/Input'>;
}
declare module 'react-select/lib/animated/MultiValue.js' {
declare module.exports: $Exports<'react-select/lib/animated/MultiValue'>;
}
declare module 'react-select/lib/animated/Placeholder.js' {
declare module.exports: $Exports<'react-select/lib/animated/Placeholder'>;
}
declare module 'react-select/lib/animated/SingleValue.js' {
declare module.exports: $Exports<'react-select/lib/animated/SingleValue'>;
}
declare module 'react-select/lib/animated/transitions.js' {
declare module.exports: $Exports<'react-select/lib/animated/transitions'>;
}
declare module 'react-select/lib/animated/ValueContainer.js' {
declare module.exports: $Exports<'react-select/lib/animated/ValueContainer'>;
}
declare module 'react-select/lib/Async.js' {
declare module.exports: $Exports<'react-select/lib/Async'>;
}
declare module 'react-select/lib/AsyncCreatable.js' {
declare module.exports: $Exports<'react-select/lib/AsyncCreatable'>;
}
declare module 'react-select/lib/builtins.js' {
declare module.exports: $Exports<'react-select/lib/builtins'>;
}
declare module 'react-select/lib/components/containers.js' {
declare module.exports: $Exports<'react-select/lib/components/containers'>;
}
declare module 'react-select/lib/components/Control.js' {
declare module.exports: $Exports<'react-select/lib/components/Control'>;
}
declare module 'react-select/lib/components/Group.js' {
declare module.exports: $Exports<'react-select/lib/components/Group'>;
}
declare module 'react-select/lib/components/index' {
declare module.exports: $Exports<'react-select/lib/components'>;
}
declare module 'react-select/lib/components/index.js' {
declare module.exports: $Exports<'react-select/lib/components'>;
}
declare module 'react-select/lib/components/indicators.js' {
declare module.exports: $Exports<'react-select/lib/components/indicators'>;
}
declare module 'react-select/lib/components/Input.js' {
declare module.exports: $Exports<'react-select/lib/components/Input'>;
}
declare module 'react-select/lib/components/Menu.js' {
declare module.exports: $Exports<'react-select/lib/components/Menu'>;
}
declare module 'react-select/lib/components/MultiValue.js' {
declare module.exports: $Exports<'react-select/lib/components/MultiValue'>;
}
declare module 'react-select/lib/components/Option.js' {
declare module.exports: $Exports<'react-select/lib/components/Option'>;
}
declare module 'react-select/lib/components/Placeholder.js' {
declare module.exports: $Exports<'react-select/lib/components/Placeholder'>;
}
declare module 'react-select/lib/components/SingleValue.js' {
declare module.exports: $Exports<'react-select/lib/components/SingleValue'>;
}
declare module 'react-select/lib/Creatable.js' {
declare module.exports: $Exports<'react-select/lib/Creatable'>;
}
declare module 'react-select/lib/diacritics.js' {
declare module.exports: $Exports<'react-select/lib/diacritics'>;
}
declare module 'react-select/lib/filters.js' {
declare module.exports: $Exports<'react-select/lib/filters'>;
}
declare module 'react-select/lib/index' {
declare module.exports: $Exports<'react-select/lib'>;
}
declare module 'react-select/lib/index.js' {
declare module.exports: $Exports<'react-select/lib'>;
}
declare module 'react-select/lib/index.umd.js' {
declare module.exports: $Exports<'react-select/lib/index.umd'>;
}
declare module 'react-select/lib/internal/A11yText.js' {
declare module.exports: $Exports<'react-select/lib/internal/A11yText'>;
}
declare module 'react-select/lib/internal/DummyInput.js' {
declare module.exports: $Exports<'react-select/lib/internal/DummyInput'>;
}
declare module 'react-select/lib/internal/index' {
declare module.exports: $Exports<'react-select/lib/internal'>;
}
declare module 'react-select/lib/internal/index.js' {
declare module.exports: $Exports<'react-select/lib/internal'>;
}
declare module 'react-select/lib/internal/NodeResolver.js' {
declare module.exports: $Exports<'react-select/lib/internal/NodeResolver'>;
}
declare module 'react-select/lib/internal/react-fast-compare.js' {
declare module.exports: $Exports<'react-select/lib/internal/react-fast-compare'>;
}
declare module 'react-select/lib/internal/ScrollBlock.js' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollBlock'>;
}
declare module 'react-select/lib/internal/ScrollCaptor.js' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollCaptor'>;
}
declare module 'react-select/lib/internal/ScrollLock/constants.js' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollLock/constants'>;
}
declare module 'react-select/lib/internal/ScrollLock/index' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollLock'>;
}
declare module 'react-select/lib/internal/ScrollLock/index.js' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollLock'>;
}
declare module 'react-select/lib/internal/ScrollLock/utils.js' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollLock/utils'>;
}
declare module 'react-select/lib/Select.js' {
declare module.exports: $Exports<'react-select/lib/Select'>;
}
declare module 'react-select/lib/stateManager.js' {
declare module.exports: $Exports<'react-select/lib/stateManager'>;
}
declare module 'react-select/lib/styles.js' {
declare module.exports: $Exports<'react-select/lib/styles'>;
}
declare module 'react-select/lib/theme.js' {
declare module.exports: $Exports<'react-select/lib/theme'>;
}
declare module 'react-select/lib/types.js' {
declare module.exports: $Exports<'react-select/lib/types'>;
}
declare module 'react-select/lib/utils.js' {
declare module.exports: $Exports<'react-select/lib/utils'>;
}
declare module 'react-select/src/__tests__/Async.test.js' {
declare module.exports: $Exports<'react-select/src/__tests__/Async.test'>;
}
declare module 'react-select/src/__tests__/AsyncCreatable.test.js' {
declare module.exports: $Exports<'react-select/src/__tests__/AsyncCreatable.test'>;
}
declare module 'react-select/src/__tests__/constants.js' {
declare module.exports: $Exports<'react-select/src/__tests__/constants'>;
}
declare module 'react-select/src/__tests__/Creatable.test.js' {
declare module.exports: $Exports<'react-select/src/__tests__/Creatable.test'>;
}
declare module 'react-select/src/__tests__/Select.test.js' {
declare module.exports: $Exports<'react-select/src/__tests__/Select.test'>;
}
declare module 'react-select/src/__tests__/StateManaged.test.js' {
declare module.exports: $Exports<'react-select/src/__tests__/StateManaged.test'>;
}
declare module 'react-select/src/accessibility/index' {
declare module.exports: $Exports<'react-select/src/accessibility'>;
}
declare module 'react-select/src/accessibility/index.js' {
declare module.exports: $Exports<'react-select/src/accessibility'>;
}
declare module 'react-select/src/animated/index' {
declare module.exports: $Exports<'react-select/src/animated'>;
}
declare module 'react-select/src/animated/index.js' {
declare module.exports: $Exports<'react-select/src/animated'>;
}
declare module 'react-select/src/animated/Input.js' {
declare module.exports: $Exports<'react-select/src/animated/Input'>;
}
declare module 'react-select/src/animated/MultiValue.js' {
declare module.exports: $Exports<'react-select/src/animated/MultiValue'>;
}
declare module 'react-select/src/animated/Placeholder.js' {
declare module.exports: $Exports<'react-select/src/animated/Placeholder'>;
}
declare module 'react-select/src/animated/SingleValue.js' {
declare module.exports: $Exports<'react-select/src/animated/SingleValue'>;
}
declare module 'react-select/src/animated/transitions.js' {
declare module.exports: $Exports<'react-select/src/animated/transitions'>;
}
declare module 'react-select/src/animated/ValueContainer.js' {
declare module.exports: $Exports<'react-select/src/animated/ValueContainer'>;
}
declare module 'react-select/src/Async.js' {
declare module.exports: $Exports<'react-select/src/Async'>;
}
declare module 'react-select/src/AsyncCreatable.js' {
declare module.exports: $Exports<'react-select/src/AsyncCreatable'>;
}
declare module 'react-select/src/builtins.js' {
declare module.exports: $Exports<'react-select/src/builtins'>;
}
declare module 'react-select/src/components/containers.js' {
declare module.exports: $Exports<'react-select/src/components/containers'>;
}
declare module 'react-select/src/components/Control.js' {
declare module.exports: $Exports<'react-select/src/components/Control'>;
}
declare module 'react-select/src/components/Group.js' {
declare module.exports: $Exports<'react-select/src/components/Group'>;
}
declare module 'react-select/src/components/index' {
declare module.exports: $Exports<'react-select/src/components'>;
}
declare module 'react-select/src/components/index.js' {
declare module.exports: $Exports<'react-select/src/components'>;
}
declare module 'react-select/src/components/indicators.js' {
declare module.exports: $Exports<'react-select/src/components/indicators'>;
}
declare module 'react-select/src/components/Input.js' {
declare module.exports: $Exports<'react-select/src/components/Input'>;
}
declare module 'react-select/src/components/Menu.js' {
declare module.exports: $Exports<'react-select/src/components/Menu'>;
}
declare module 'react-select/src/components/MultiValue.js' {
declare module.exports: $Exports<'react-select/src/components/MultiValue'>;
}
declare module 'react-select/src/components/Option.js' {
declare module.exports: $Exports<'react-select/src/components/Option'>;
}
declare module 'react-select/src/components/Placeholder.js' {
declare module.exports: $Exports<'react-select/src/components/Placeholder'>;
}
declare module 'react-select/src/components/SingleValue.js' {
declare module.exports: $Exports<'react-select/src/components/SingleValue'>;
}
declare module 'react-select/src/Creatable.js' {
declare module.exports: $Exports<'react-select/src/Creatable'>;
}
declare module 'react-select/src/diacritics.js' {
declare module.exports: $Exports<'react-select/src/diacritics'>;
}
declare module 'react-select/src/filters.js' {
declare module.exports: $Exports<'react-select/src/filters'>;
}
declare module 'react-select/src/index' {
declare module.exports: $Exports<'react-select/src'>;
}
declare module 'react-select/src/index.js' {
declare module.exports: $Exports<'react-select/src'>;
}
declare module 'react-select/src/index.umd.js' {
declare module.exports: $Exports<'react-select/src/index.umd'>;
}
declare module 'react-select/src/internal/A11yText.js' {
declare module.exports: $Exports<'react-select/src/internal/A11yText'>;
}
declare module 'react-select/src/internal/DummyInput.js' {
declare module.exports: $Exports<'react-select/src/internal/DummyInput'>;
}
declare module 'react-select/src/internal/index' {
declare module.exports: $Exports<'react-select/src/internal'>;
}
declare module 'react-select/src/internal/index.js' {
declare module.exports: $Exports<'react-select/src/internal'>;
}
declare module 'react-select/src/internal/NodeResolver.js' {
declare module.exports: $Exports<'react-select/src/internal/NodeResolver'>;
}
declare module 'react-select/src/internal/react-fast-compare.js' {
declare module.exports: $Exports<'react-select/src/internal/react-fast-compare'>;
}
declare module 'react-select/src/internal/ScrollBlock.js' {
declare module.exports: $Exports<'react-select/src/internal/ScrollBlock'>;
}
declare module 'react-select/src/internal/ScrollCaptor.js' {
declare module.exports: $Exports<'react-select/src/internal/ScrollCaptor'>;
}
declare module 'react-select/src/internal/ScrollLock/constants.js' {
declare module.exports: $Exports<'react-select/src/internal/ScrollLock/constants'>;
}
declare module 'react-select/src/internal/ScrollLock/index' {
declare module.exports: $Exports<'react-select/src/internal/ScrollLock'>;
}
declare module 'react-select/src/internal/ScrollLock/index.js' {
declare module.exports: $Exports<'react-select/src/internal/ScrollLock'>;
}
declare module 'react-select/src/internal/ScrollLock/utils.js' {
declare module.exports: $Exports<'react-select/src/internal/ScrollLock/utils'>;
}
declare module 'react-select/src/Select.js' {
declare module.exports: $Exports<'react-select/src/Select'>;
}
declare module 'react-select/src/stateManager.js' {
declare module.exports: $Exports<'react-select/src/stateManager'>;
}
declare module 'react-select/src/styles.js' {
declare module.exports: $Exports<'react-select/src/styles'>;
}
declare module 'react-select/src/theme.js' {
declare module.exports: $Exports<'react-select/src/theme'>;
}
declare module 'react-select/src/types.js' {
declare module.exports: $Exports<'react-select/src/types'>;
}
declare module 'react-select/src/utils.js' {
declare module.exports: $Exports<'react-select/src/utils'>;
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,8 +1,14 @@
[ignore] [ignore]
.*/node_modules/module-deps/.*
[include] [include]
../ui-types
[libs] [libs]
[lints]
[options] [options]
module.system.node.resolve_dirname=../../node_modules
module.name_mapper='^@scm-manager\/ui-types$' -> '<PROJECT_ROOT>/../ui-types'
[strict]

View File

@@ -0,0 +1,49 @@
// flow-typed signature: e87b860fca7047001bcde4b8780a8655
// flow-typed version: <<STUB>>/@scm-manager/ui-extensions_v0.1.2/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* '@scm-manager/ui-extensions'
*
* 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 '@scm-manager/ui-extensions' {
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 '@scm-manager/ui-extensions/lib/binder' {
declare module.exports: any;
}
declare module '@scm-manager/ui-extensions/lib/ExtensionPoint' {
declare module.exports: any;
}
declare module '@scm-manager/ui-extensions/lib' {
declare module.exports: any;
}
// Filename aliases
declare module '@scm-manager/ui-extensions/lib/binder.js' {
declare module.exports: $Exports<'@scm-manager/ui-extensions/lib/binder'>;
}
declare module '@scm-manager/ui-extensions/lib/ExtensionPoint.js' {
declare module.exports: $Exports<'@scm-manager/ui-extensions/lib/ExtensionPoint'>;
}
declare module '@scm-manager/ui-extensions/lib/index' {
declare module.exports: $Exports<'@scm-manager/ui-extensions/lib'>;
}
declare module '@scm-manager/ui-extensions/lib/index.js' {
declare module.exports: $Exports<'@scm-manager/ui-extensions/lib'>;
}

View File

@@ -0,0 +1,269 @@
// flow-typed signature: 761f01d8db9f91fa67135cb2120c2b8e
// flow-typed version: <<STUB>>/enzyme_v3.10.0/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'enzyme'
*
* 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 'enzyme' {
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 'enzyme/build/configuration' {
declare module.exports: any;
}
declare module 'enzyme/build/Debug' {
declare module.exports: any;
}
declare module 'enzyme/build/EnzymeAdapter' {
declare module.exports: any;
}
declare module 'enzyme/build/getAdapter' {
declare module.exports: any;
}
declare module 'enzyme/build' {
declare module.exports: any;
}
declare module 'enzyme/build/mount' {
declare module.exports: any;
}
declare module 'enzyme/build/ReactWrapper' {
declare module.exports: any;
}
declare module 'enzyme/build/render' {
declare module.exports: any;
}
declare module 'enzyme/build/RSTTraversal' {
declare module.exports: any;
}
declare module 'enzyme/build/selectors' {
declare module.exports: any;
}
declare module 'enzyme/build/shallow' {
declare module.exports: any;
}
declare module 'enzyme/build/ShallowWrapper' {
declare module.exports: any;
}
declare module 'enzyme/build/Utils' {
declare module.exports: any;
}
declare module 'enzyme/build/validateAdapter' {
declare module.exports: any;
}
declare module 'enzyme/mount' {
declare module.exports: any;
}
declare module 'enzyme/ReactWrapper' {
declare module.exports: any;
}
declare module 'enzyme/render' {
declare module.exports: any;
}
declare module 'enzyme/shallow' {
declare module.exports: any;
}
declare module 'enzyme/ShallowWrapper' {
declare module.exports: any;
}
declare module 'enzyme/src/configuration' {
declare module.exports: any;
}
declare module 'enzyme/src/Debug' {
declare module.exports: any;
}
declare module 'enzyme/src/EnzymeAdapter' {
declare module.exports: any;
}
declare module 'enzyme/src/getAdapter' {
declare module.exports: any;
}
declare module 'enzyme/src' {
declare module.exports: any;
}
declare module 'enzyme/src/mount' {
declare module.exports: any;
}
declare module 'enzyme/src/ReactWrapper' {
declare module.exports: any;
}
declare module 'enzyme/src/render' {
declare module.exports: any;
}
declare module 'enzyme/src/RSTTraversal' {
declare module.exports: any;
}
declare module 'enzyme/src/selectors' {
declare module.exports: any;
}
declare module 'enzyme/src/shallow' {
declare module.exports: any;
}
declare module 'enzyme/src/ShallowWrapper' {
declare module.exports: any;
}
declare module 'enzyme/src/Utils' {
declare module.exports: any;
}
declare module 'enzyme/src/validateAdapter' {
declare module.exports: any;
}
declare module 'enzyme/withDom' {
declare module.exports: any;
}
// Filename aliases
declare module 'enzyme/build/configuration.js' {
declare module.exports: $Exports<'enzyme/build/configuration'>;
}
declare module 'enzyme/build/Debug.js' {
declare module.exports: $Exports<'enzyme/build/Debug'>;
}
declare module 'enzyme/build/EnzymeAdapter.js' {
declare module.exports: $Exports<'enzyme/build/EnzymeAdapter'>;
}
declare module 'enzyme/build/getAdapter.js' {
declare module.exports: $Exports<'enzyme/build/getAdapter'>;
}
declare module 'enzyme/build/index' {
declare module.exports: $Exports<'enzyme/build'>;
}
declare module 'enzyme/build/index.js' {
declare module.exports: $Exports<'enzyme/build'>;
}
declare module 'enzyme/build/mount.js' {
declare module.exports: $Exports<'enzyme/build/mount'>;
}
declare module 'enzyme/build/ReactWrapper.js' {
declare module.exports: $Exports<'enzyme/build/ReactWrapper'>;
}
declare module 'enzyme/build/render.js' {
declare module.exports: $Exports<'enzyme/build/render'>;
}
declare module 'enzyme/build/RSTTraversal.js' {
declare module.exports: $Exports<'enzyme/build/RSTTraversal'>;
}
declare module 'enzyme/build/selectors.js' {
declare module.exports: $Exports<'enzyme/build/selectors'>;
}
declare module 'enzyme/build/shallow.js' {
declare module.exports: $Exports<'enzyme/build/shallow'>;
}
declare module 'enzyme/build/ShallowWrapper.js' {
declare module.exports: $Exports<'enzyme/build/ShallowWrapper'>;
}
declare module 'enzyme/build/Utils.js' {
declare module.exports: $Exports<'enzyme/build/Utils'>;
}
declare module 'enzyme/build/validateAdapter.js' {
declare module.exports: $Exports<'enzyme/build/validateAdapter'>;
}
declare module 'enzyme/mount.js' {
declare module.exports: $Exports<'enzyme/mount'>;
}
declare module 'enzyme/ReactWrapper.js' {
declare module.exports: $Exports<'enzyme/ReactWrapper'>;
}
declare module 'enzyme/render.js' {
declare module.exports: $Exports<'enzyme/render'>;
}
declare module 'enzyme/shallow.js' {
declare module.exports: $Exports<'enzyme/shallow'>;
}
declare module 'enzyme/ShallowWrapper.js' {
declare module.exports: $Exports<'enzyme/ShallowWrapper'>;
}
declare module 'enzyme/src/configuration.js' {
declare module.exports: $Exports<'enzyme/src/configuration'>;
}
declare module 'enzyme/src/Debug.js' {
declare module.exports: $Exports<'enzyme/src/Debug'>;
}
declare module 'enzyme/src/EnzymeAdapter.js' {
declare module.exports: $Exports<'enzyme/src/EnzymeAdapter'>;
}
declare module 'enzyme/src/getAdapter.js' {
declare module.exports: $Exports<'enzyme/src/getAdapter'>;
}
declare module 'enzyme/src/index' {
declare module.exports: $Exports<'enzyme/src'>;
}
declare module 'enzyme/src/index.js' {
declare module.exports: $Exports<'enzyme/src'>;
}
declare module 'enzyme/src/mount.js' {
declare module.exports: $Exports<'enzyme/src/mount'>;
}
declare module 'enzyme/src/ReactWrapper.js' {
declare module.exports: $Exports<'enzyme/src/ReactWrapper'>;
}
declare module 'enzyme/src/render.js' {
declare module.exports: $Exports<'enzyme/src/render'>;
}
declare module 'enzyme/src/RSTTraversal.js' {
declare module.exports: $Exports<'enzyme/src/RSTTraversal'>;
}
declare module 'enzyme/src/selectors.js' {
declare module.exports: $Exports<'enzyme/src/selectors'>;
}
declare module 'enzyme/src/shallow.js' {
declare module.exports: $Exports<'enzyme/src/shallow'>;
}
declare module 'enzyme/src/ShallowWrapper.js' {
declare module.exports: $Exports<'enzyme/src/ShallowWrapper'>;
}
declare module 'enzyme/src/Utils.js' {
declare module.exports: $Exports<'enzyme/src/Utils'>;
}
declare module 'enzyme/src/validateAdapter.js' {
declare module.exports: $Exports<'enzyme/src/validateAdapter'>;
}
declare module 'enzyme/withDom.js' {
declare module.exports: $Exports<'enzyme/withDom'>;
}

View File

@@ -0,0 +1,66 @@
// flow-typed signature: 9be79ea52a669f6c266677d1d0bd3e9d
// flow-typed version: <<STUB>>/gitdiff-parser_v0.1.2/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'gitdiff-parser'
*
* 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 'gitdiff-parser' {
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 'gitdiff-parser/test/git.test' {
declare module.exports: any;
}
declare module 'gitdiff-parser/test/hg' {
declare module.exports: any;
}
declare module 'gitdiff-parser/test/hg.test' {
declare module.exports: any;
}
declare module 'gitdiff-parser/test/perf-parse-diff' {
declare module.exports: any;
}
declare module 'gitdiff-parser/test/perf' {
declare module.exports: any;
}
// Filename aliases
declare module 'gitdiff-parser/index' {
declare module.exports: $Exports<'gitdiff-parser'>;
}
declare module 'gitdiff-parser/index.js' {
declare module.exports: $Exports<'gitdiff-parser'>;
}
declare module 'gitdiff-parser/test/git.test.js' {
declare module.exports: $Exports<'gitdiff-parser/test/git.test'>;
}
declare module 'gitdiff-parser/test/hg.js' {
declare module.exports: $Exports<'gitdiff-parser/test/hg'>;
}
declare module 'gitdiff-parser/test/hg.test.js' {
declare module.exports: $Exports<'gitdiff-parser/test/hg.test'>;
}
declare module 'gitdiff-parser/test/perf-parse-diff.js' {
declare module.exports: $Exports<'gitdiff-parser/test/perf-parse-diff'>;
}
declare module 'gitdiff-parser/test/perf.js' {
declare module.exports: $Exports<'gitdiff-parser/test/perf'>;
}

View File

@@ -0,0 +1,22 @@
// flow-typed signature: 45d44f189fa426ca21dee3f5149a4f99
// flow-typed version: c6154227d1/query-string_v5.x.x/flow_>=v0.104.x
declare module "query-string" {
declare type ArrayFormat = "none" | "bracket" | "index";
declare type ParseOptions = {|
arrayFormat?: ArrayFormat
|};
declare type StringifyOptions = {|
arrayFormat?: ArrayFormat,
encode?: boolean,
strict?: boolean
|};
declare module.exports: {
extract(str: string): string,
parse(str: string, opts?: ParseOptions): Object,
stringify(obj: Object, opts?: StringifyOptions): string,
...
};
}

View File

@@ -0,0 +1,139 @@
// flow-typed signature: 35264e970923e4f3cda147e7c17e2407
// flow-typed version: <<STUB>>/react-diff-view_v1.8.1/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'react-diff-view'
*
* 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 'react-diff-view' {
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 'react-diff-view/parse' {
declare module.exports: any;
}
declare module 'react-diff-view/src/CodeCell' {
declare module.exports: any;
}
declare module 'react-diff-view/src/Diff' {
declare module.exports: any;
}
declare module 'react-diff-view/src/Hunk' {
declare module.exports: any;
}
declare module 'react-diff-view/src' {
declare module.exports: any;
}
declare module 'react-diff-view/src/parse' {
declare module.exports: any;
}
declare module 'react-diff-view/src/propTypes' {
declare module.exports: any;
}
declare module 'react-diff-view/src/selectors' {
declare module.exports: any;
}
declare module 'react-diff-view/src/SplitChange' {
declare module.exports: any;
}
declare module 'react-diff-view/src/SplitHunk' {
declare module.exports: any;
}
declare module 'react-diff-view/src/SplitWidget' {
declare module.exports: any;
}
declare module 'react-diff-view/src/UnifiedChange' {
declare module.exports: any;
}
declare module 'react-diff-view/src/UnifiedHunk' {
declare module.exports: any;
}
declare module 'react-diff-view/src/UnifiedWidget' {
declare module.exports: any;
}
declare module 'react-diff-view/src/utils' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-diff-view/index' {
declare module.exports: $Exports<'react-diff-view'>;
}
declare module 'react-diff-view/index.js' {
declare module.exports: $Exports<'react-diff-view'>;
}
declare module 'react-diff-view/parse.js' {
declare module.exports: $Exports<'react-diff-view/parse'>;
}
declare module 'react-diff-view/src/CodeCell.js' {
declare module.exports: $Exports<'react-diff-view/src/CodeCell'>;
}
declare module 'react-diff-view/src/Diff.js' {
declare module.exports: $Exports<'react-diff-view/src/Diff'>;
}
declare module 'react-diff-view/src/Hunk.js' {
declare module.exports: $Exports<'react-diff-view/src/Hunk'>;
}
declare module 'react-diff-view/src/index' {
declare module.exports: $Exports<'react-diff-view/src'>;
}
declare module 'react-diff-view/src/index.js' {
declare module.exports: $Exports<'react-diff-view/src'>;
}
declare module 'react-diff-view/src/parse.js' {
declare module.exports: $Exports<'react-diff-view/src/parse'>;
}
declare module 'react-diff-view/src/propTypes.js' {
declare module.exports: $Exports<'react-diff-view/src/propTypes'>;
}
declare module 'react-diff-view/src/selectors.js' {
declare module.exports: $Exports<'react-diff-view/src/selectors'>;
}
declare module 'react-diff-view/src/SplitChange.js' {
declare module.exports: $Exports<'react-diff-view/src/SplitChange'>;
}
declare module 'react-diff-view/src/SplitHunk.js' {
declare module.exports: $Exports<'react-diff-view/src/SplitHunk'>;
}
declare module 'react-diff-view/src/SplitWidget.js' {
declare module.exports: $Exports<'react-diff-view/src/SplitWidget'>;
}
declare module 'react-diff-view/src/UnifiedChange.js' {
declare module.exports: $Exports<'react-diff-view/src/UnifiedChange'>;
}
declare module 'react-diff-view/src/UnifiedHunk.js' {
declare module.exports: $Exports<'react-diff-view/src/UnifiedHunk'>;
}
declare module 'react-diff-view/src/UnifiedWidget.js' {
declare module.exports: $Exports<'react-diff-view/src/UnifiedWidget'>;
}
declare module 'react-diff-view/src/utils.js' {
declare module.exports: $Exports<'react-diff-view/src/utils'>;
}

View File

@@ -1,5 +1,5 @@
// flow-typed signature: 65d42f62f8de603dcc631ea5a6b00580 // flow-typed signature: e48526194d458ea4787ca56d830092da
// flow-typed version: f3f13164e0/react-i18next_v7.x.x/flow_>=v0.64.x // flow-typed version: c6154227d1/react-i18next_v7.x.x/flow_>=v0.104.x
declare module "react-i18next" { declare module "react-i18next" {
declare type TFunction = (key?: ?string, data?: ?Object) => string; declare type TFunction = (key?: ?string, data?: ?Object) => string;
@@ -13,10 +13,11 @@ declare module "react-i18next" {
declare type TranslatorPropsVoid = { declare type TranslatorPropsVoid = {
t: TFunction | void, t: TFunction | void,
i18nLoadedAt: Date | void, i18nLoadedAt: Date | void,
i18n: Object | void i18n: Object | void,
...
}; };
declare type Translator<P: {}, Component: React$ComponentType<P>> = ( declare type Translator<P: {...}, Component: React$ComponentType<P>> = (
WrappedComponent: Component WrappedComponent: Component
) => React$ComponentType< ) => React$ComponentType<
$Diff<React$ElementConfig<Component>, TranslatorPropsVoid> $Diff<React$ElementConfig<Component>, TranslatorPropsVoid>
@@ -30,10 +31,11 @@ declare module "react-i18next" {
withRef: boolean, withRef: boolean,
translateFuncName: string, translateFuncName: string,
i18n: Object, i18n: Object,
usePureComponent: boolean usePureComponent: boolean,
...
}>; }>;
declare function translate<P: {}, Component: React$ComponentType<P>>( declare function translate<P: {...}, Component: React$ComponentType<P>>(
namespaces?: | string namespaces?: | string
| Array<string> | Array<string>
| (($Diff<P, TranslatorPropsVoid>) => string | Array<string>), | (($Diff<P, TranslatorPropsVoid>) => string | Array<string>),
@@ -43,9 +45,14 @@ declare module "react-i18next" {
declare type I18nProps = { declare type I18nProps = {
i18n?: Object, i18n?: Object,
ns?: string | Array<string>, ns?: string | Array<string>,
children: (t: TFunction, { i18n: Object, t: TFunction }) => React$Node, children: (t: TFunction, {
i18n: Object,
t: TFunction,
...
}) => React$Node,
initialI18nStore?: Object, initialI18nStore?: Object,
initialLanguage?: string initialLanguage?: string,
...
}; };
declare var I18n: React$ComponentType<I18nProps>; declare var I18n: React$ComponentType<I18nProps>;
@@ -58,7 +65,8 @@ declare module "react-i18next" {
parent?: string, parent?: string,
style?: Object, style?: Object,
t?: TFunction, t?: TFunction,
useDangerouslySetInnerHTML?: boolean useDangerouslySetInnerHTML?: boolean,
...
}; };
declare var Interpolate: React$ComponentType<InterpolateProps>; declare var Interpolate: React$ComponentType<InterpolateProps>;
@@ -67,22 +75,29 @@ declare module "react-i18next" {
parent?: string, parent?: string,
i18n?: Object, i18n?: Object,
i18nKey?: string, i18nKey?: string,
t?: TFunction t?: TFunction,
...
}; };
declare var Trans: React$ComponentType<TransProps>; declare var Trans: React$ComponentType<TransProps>;
declare type ProviderProps = { i18n: Object, children: React$Element<*> }; declare type ProviderProps = {
i18n: Object,
children: React$Element<*>,
...
};
declare var I18nextProvider: React$ComponentType<ProviderProps>; declare var I18nextProvider: React$ComponentType<ProviderProps>;
declare type NamespacesProps = { declare type NamespacesProps = {
components: Array<React$ComponentType<*>>, components: Array<React$ComponentType<*>>,
i18n: { loadNamespaces: Function } i18n: { loadNamespaces: Function, ... },
...
}; };
declare function loadNamespaces(props: NamespacesProps): Promise<void>; declare function loadNamespaces(props: NamespacesProps): Promise<void>;
declare var reactI18nextModule: { declare var reactI18nextModule: {
type: "3rdParty", type: "3rdParty",
init: (instance: Object) => void init: (instance: Object) => void,
...
}; };
declare function setDefaults(options: TranslateOptions): void; declare function setDefaults(options: TranslateOptions): void;

View File

@@ -0,0 +1,123 @@
// flow-typed signature: 6bcbadac27a01caf160321668f1e53ce
// flow-typed version: <<STUB>>/react-markdown_v4.2.2/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'react-markdown'
*
* 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 'react-markdown' {
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 'react-markdown/lib/ast-to-react' {
declare module.exports: any;
}
declare module 'react-markdown/lib/get-definitions' {
declare module.exports: any;
}
declare module 'react-markdown/lib/plugins/disallow-node' {
declare module.exports: any;
}
declare module 'react-markdown/lib/plugins/html-parser' {
declare module.exports: any;
}
declare module 'react-markdown/lib/plugins/naive-html' {
declare module.exports: any;
}
declare module 'react-markdown/lib/react-markdown' {
declare module.exports: any;
}
declare module 'react-markdown/lib/renderers' {
declare module.exports: any;
}
declare module 'react-markdown/lib/symbols' {
declare module.exports: any;
}
declare module 'react-markdown/lib/uri-transformer' {
declare module.exports: any;
}
declare module 'react-markdown/lib/with-html' {
declare module.exports: any;
}
declare module 'react-markdown/lib/wrap-table-rows' {
declare module.exports: any;
}
declare module 'react-markdown/plugins/html-parser' {
declare module.exports: any;
}
declare module 'react-markdown/umd/react-markdown' {
declare module.exports: any;
}
declare module 'react-markdown/with-html' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-markdown/lib/ast-to-react.js' {
declare module.exports: $Exports<'react-markdown/lib/ast-to-react'>;
}
declare module 'react-markdown/lib/get-definitions.js' {
declare module.exports: $Exports<'react-markdown/lib/get-definitions'>;
}
declare module 'react-markdown/lib/plugins/disallow-node.js' {
declare module.exports: $Exports<'react-markdown/lib/plugins/disallow-node'>;
}
declare module 'react-markdown/lib/plugins/html-parser.js' {
declare module.exports: $Exports<'react-markdown/lib/plugins/html-parser'>;
}
declare module 'react-markdown/lib/plugins/naive-html.js' {
declare module.exports: $Exports<'react-markdown/lib/plugins/naive-html'>;
}
declare module 'react-markdown/lib/react-markdown.js' {
declare module.exports: $Exports<'react-markdown/lib/react-markdown'>;
}
declare module 'react-markdown/lib/renderers.js' {
declare module.exports: $Exports<'react-markdown/lib/renderers'>;
}
declare module 'react-markdown/lib/symbols.js' {
declare module.exports: $Exports<'react-markdown/lib/symbols'>;
}
declare module 'react-markdown/lib/uri-transformer.js' {
declare module.exports: $Exports<'react-markdown/lib/uri-transformer'>;
}
declare module 'react-markdown/lib/with-html.js' {
declare module.exports: $Exports<'react-markdown/lib/with-html'>;
}
declare module 'react-markdown/lib/wrap-table-rows.js' {
declare module.exports: $Exports<'react-markdown/lib/wrap-table-rows'>;
}
declare module 'react-markdown/plugins/html-parser.js' {
declare module.exports: $Exports<'react-markdown/plugins/html-parser'>;
}
declare module 'react-markdown/umd/react-markdown.js' {
declare module.exports: $Exports<'react-markdown/umd/react-markdown'>;
}
declare module 'react-markdown/with-html.js' {
declare module.exports: $Exports<'react-markdown/with-html'>;
}

View File

@@ -0,0 +1,182 @@
// flow-typed signature: 0bc486c8fc04d0bb37efa138223e4f67
// flow-typed version: c6154227d1/react-router-dom_v4.x.x/flow_>=v0.104.x
declare module "react-router-dom" {
declare export var BrowserRouter: React$ComponentType<{|
basename?: string,
forceRefresh?: boolean,
getUserConfirmation?: GetUserConfirmation,
keyLength?: number,
children?: React$Node
|}>
declare export var HashRouter: React$ComponentType<{|
basename?: string,
getUserConfirmation?: GetUserConfirmation,
hashType?: "slash" | "noslash" | "hashbang",
children?: React$Node
|}>
declare export var Link: React$ComponentType<{
className?: string,
to: string | LocationShape,
replace?: boolean,
children?: React$Node,
...
}>
declare export var NavLink: React$ComponentType<{
to: string | LocationShape,
activeClassName?: string,
className?: string,
activeStyle?: Object,
style?: Object,
isActive?: (match: Match, location: Location) => boolean,
children?: React$Node,
exact?: boolean,
strict?: boolean,
...
}>
// 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) => boolean,
block(
callback: string | (location: Location, action: HistoryAction) => ?string
): () => void,
// createMemoryHistory
index?: number,
entries?: Array<Location>,
...
};
declare export type Match = {
params: { [key: string]: ?string, ... },
isExact: boolean,
path: string,
url: string,
...
};
declare export type ContextRouter = {|
history: RouterHistory,
location: Location,
match: Match,
staticContext?: StaticRouterContext
|};
declare type ContextRouterVoid = {
history: RouterHistory | void,
location: Location | void,
match: Match | void,
staticContext?: StaticRouterContext | void,
...
};
declare export type GetUserConfirmation = (
message: string,
callback: (confirmed: boolean) => void
) => void;
declare export type StaticRouterContext = { url?: string, ... };
declare export var StaticRouter: React$ComponentType<{|
basename?: string,
location?: string | Location,
context: StaticRouterContext,
children?: React$Node
|}>
declare export var MemoryRouter: React$ComponentType<{|
initialEntries?: Array<LocationShape | string>,
initialIndex?: number,
getUserConfirmation?: GetUserConfirmation,
keyLength?: number,
children?: React$Node
|}>
declare export var Router: React$ComponentType<{|
history: RouterHistory,
children?: React$Node
|}>
declare export var Prompt: React$ComponentType<{|
message: string | ((location: Location) => string | boolean),
when?: boolean
|}>
declare export var Redirect: React$ComponentType<{|
to: string | LocationShape,
push?: boolean,
from?: string,
exact?: boolean,
strict?: boolean
|}>
declare export var Route: React$ComponentType<{|
component?: React$ComponentType<*>,
render?: (router: ContextRouter) => React$Node,
children?: React$ComponentType<ContextRouter> | React$Node,
path?: string | Array<string>,
exact?: boolean,
strict?: boolean,
location?: LocationShape,
sensitive?: boolean
|}>
declare export var Switch: React$ComponentType<{|
children?: React$Node,
location?: Location
|}>
declare export function withRouter<Props: {...}, Component: React$ComponentType<Props>>(
WrappedComponent: Component
): React$ComponentType<$Diff<React$ElementConfig<Component>, ContextRouterVoid>>;
declare type MatchPathOptions = {
path?: string,
exact?: boolean,
sensitive?: boolean,
strict?: boolean,
...
};
declare export function matchPath(
pathname: string,
options?: MatchPathOptions | string,
parent?: Match
): null | Match;
declare export function generatePath(pattern?: string, params?: Object): string;
}

View File

@@ -0,0 +1,56 @@
// flow-typed signature: 030a0d51d7da2db8716b0c796bcd8992
// flow-typed version: <<STUB>>/react-router-enzyme-context_v1.2.0/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'react-router-enzyme-context'
*
* 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 'react-router-enzyme-context' {
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 'react-router-enzyme-context/dist/react-router-enzyme-context.cjs' {
declare module.exports: any;
}
declare module 'react-router-enzyme-context/dist/react-router-enzyme-context.esm' {
declare module.exports: any;
}
declare module 'react-router-enzyme-context/rollup.config' {
declare module.exports: any;
}
declare module 'react-router-enzyme-context/src' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-router-enzyme-context/dist/react-router-enzyme-context.cjs.js' {
declare module.exports: $Exports<'react-router-enzyme-context/dist/react-router-enzyme-context.cjs'>;
}
declare module 'react-router-enzyme-context/dist/react-router-enzyme-context.esm.js' {
declare module.exports: $Exports<'react-router-enzyme-context/dist/react-router-enzyme-context.esm'>;
}
declare module 'react-router-enzyme-context/rollup.config.js' {
declare module.exports: $Exports<'react-router-enzyme-context/rollup.config'>;
}
declare module 'react-router-enzyme-context/src/index' {
declare module.exports: $Exports<'react-router-enzyme-context/src'>;
}
declare module 'react-router-enzyme-context/src/index.js' {
declare module.exports: $Exports<'react-router-enzyme-context/src'>;
}

View File

@@ -0,0 +1,726 @@
// flow-typed signature: 0b6edc6705aa28ab46a24d08242af068
// flow-typed version: <<STUB>>/react-select_v2.4.4/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'react-select'
*
* 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 'react-select' {
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 'react-select/dist/react-select.esm' {
declare module.exports: any;
}
declare module 'react-select/dist/react-select' {
declare module.exports: any;
}
declare module 'react-select/dist/react-select.min' {
declare module.exports: any;
}
declare module 'react-select/lib/accessibility' {
declare module.exports: any;
}
declare module 'react-select/lib/animated' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/Input' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/MultiValue' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/Placeholder' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/SingleValue' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/transitions' {
declare module.exports: any;
}
declare module 'react-select/lib/animated/ValueContainer' {
declare module.exports: any;
}
declare module 'react-select/lib/Async' {
declare module.exports: any;
}
declare module 'react-select/lib/AsyncCreatable' {
declare module.exports: any;
}
declare module 'react-select/lib/builtins' {
declare module.exports: any;
}
declare module 'react-select/lib/components/containers' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Control' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Group' {
declare module.exports: any;
}
declare module 'react-select/lib/components' {
declare module.exports: any;
}
declare module 'react-select/lib/components/indicators' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Input' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Menu' {
declare module.exports: any;
}
declare module 'react-select/lib/components/MultiValue' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Option' {
declare module.exports: any;
}
declare module 'react-select/lib/components/Placeholder' {
declare module.exports: any;
}
declare module 'react-select/lib/components/SingleValue' {
declare module.exports: any;
}
declare module 'react-select/lib/Creatable' {
declare module.exports: any;
}
declare module 'react-select/lib/diacritics' {
declare module.exports: any;
}
declare module 'react-select/lib/filters' {
declare module.exports: any;
}
declare module 'react-select/lib' {
declare module.exports: any;
}
declare module 'react-select/lib/index.umd' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/A11yText' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/DummyInput' {
declare module.exports: any;
}
declare module 'react-select/lib/internal' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/NodeResolver' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/react-fast-compare' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/ScrollBlock' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/ScrollCaptor' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/ScrollLock/constants' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/ScrollLock' {
declare module.exports: any;
}
declare module 'react-select/lib/internal/ScrollLock/utils' {
declare module.exports: any;
}
declare module 'react-select/lib/Select' {
declare module.exports: any;
}
declare module 'react-select/lib/stateManager' {
declare module.exports: any;
}
declare module 'react-select/lib/styles' {
declare module.exports: any;
}
declare module 'react-select/lib/theme' {
declare module.exports: any;
}
declare module 'react-select/lib/types' {
declare module.exports: any;
}
declare module 'react-select/lib/utils' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/Async.test' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/AsyncCreatable.test' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/constants' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/Creatable.test' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/Select.test' {
declare module.exports: any;
}
declare module 'react-select/src/__tests__/StateManaged.test' {
declare module.exports: any;
}
declare module 'react-select/src/accessibility' {
declare module.exports: any;
}
declare module 'react-select/src/animated' {
declare module.exports: any;
}
declare module 'react-select/src/animated/Input' {
declare module.exports: any;
}
declare module 'react-select/src/animated/MultiValue' {
declare module.exports: any;
}
declare module 'react-select/src/animated/Placeholder' {
declare module.exports: any;
}
declare module 'react-select/src/animated/SingleValue' {
declare module.exports: any;
}
declare module 'react-select/src/animated/transitions' {
declare module.exports: any;
}
declare module 'react-select/src/animated/ValueContainer' {
declare module.exports: any;
}
declare module 'react-select/src/Async' {
declare module.exports: any;
}
declare module 'react-select/src/AsyncCreatable' {
declare module.exports: any;
}
declare module 'react-select/src/builtins' {
declare module.exports: any;
}
declare module 'react-select/src/components/containers' {
declare module.exports: any;
}
declare module 'react-select/src/components/Control' {
declare module.exports: any;
}
declare module 'react-select/src/components/Group' {
declare module.exports: any;
}
declare module 'react-select/src/components' {
declare module.exports: any;
}
declare module 'react-select/src/components/indicators' {
declare module.exports: any;
}
declare module 'react-select/src/components/Input' {
declare module.exports: any;
}
declare module 'react-select/src/components/Menu' {
declare module.exports: any;
}
declare module 'react-select/src/components/MultiValue' {
declare module.exports: any;
}
declare module 'react-select/src/components/Option' {
declare module.exports: any;
}
declare module 'react-select/src/components/Placeholder' {
declare module.exports: any;
}
declare module 'react-select/src/components/SingleValue' {
declare module.exports: any;
}
declare module 'react-select/src/Creatable' {
declare module.exports: any;
}
declare module 'react-select/src/diacritics' {
declare module.exports: any;
}
declare module 'react-select/src/filters' {
declare module.exports: any;
}
declare module 'react-select/src' {
declare module.exports: any;
}
declare module 'react-select/src/index.umd' {
declare module.exports: any;
}
declare module 'react-select/src/internal/A11yText' {
declare module.exports: any;
}
declare module 'react-select/src/internal/DummyInput' {
declare module.exports: any;
}
declare module 'react-select/src/internal' {
declare module.exports: any;
}
declare module 'react-select/src/internal/NodeResolver' {
declare module.exports: any;
}
declare module 'react-select/src/internal/react-fast-compare' {
declare module.exports: any;
}
declare module 'react-select/src/internal/ScrollBlock' {
declare module.exports: any;
}
declare module 'react-select/src/internal/ScrollCaptor' {
declare module.exports: any;
}
declare module 'react-select/src/internal/ScrollLock/constants' {
declare module.exports: any;
}
declare module 'react-select/src/internal/ScrollLock' {
declare module.exports: any;
}
declare module 'react-select/src/internal/ScrollLock/utils' {
declare module.exports: any;
}
declare module 'react-select/src/Select' {
declare module.exports: any;
}
declare module 'react-select/src/stateManager' {
declare module.exports: any;
}
declare module 'react-select/src/styles' {
declare module.exports: any;
}
declare module 'react-select/src/theme' {
declare module.exports: any;
}
declare module 'react-select/src/types' {
declare module.exports: any;
}
declare module 'react-select/src/utils' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-select/dist/react-select.esm.js' {
declare module.exports: $Exports<'react-select/dist/react-select.esm'>;
}
declare module 'react-select/dist/react-select.js' {
declare module.exports: $Exports<'react-select/dist/react-select'>;
}
declare module 'react-select/dist/react-select.min.js' {
declare module.exports: $Exports<'react-select/dist/react-select.min'>;
}
declare module 'react-select/lib/accessibility/index' {
declare module.exports: $Exports<'react-select/lib/accessibility'>;
}
declare module 'react-select/lib/accessibility/index.js' {
declare module.exports: $Exports<'react-select/lib/accessibility'>;
}
declare module 'react-select/lib/animated/index' {
declare module.exports: $Exports<'react-select/lib/animated'>;
}
declare module 'react-select/lib/animated/index.js' {
declare module.exports: $Exports<'react-select/lib/animated'>;
}
declare module 'react-select/lib/animated/Input.js' {
declare module.exports: $Exports<'react-select/lib/animated/Input'>;
}
declare module 'react-select/lib/animated/MultiValue.js' {
declare module.exports: $Exports<'react-select/lib/animated/MultiValue'>;
}
declare module 'react-select/lib/animated/Placeholder.js' {
declare module.exports: $Exports<'react-select/lib/animated/Placeholder'>;
}
declare module 'react-select/lib/animated/SingleValue.js' {
declare module.exports: $Exports<'react-select/lib/animated/SingleValue'>;
}
declare module 'react-select/lib/animated/transitions.js' {
declare module.exports: $Exports<'react-select/lib/animated/transitions'>;
}
declare module 'react-select/lib/animated/ValueContainer.js' {
declare module.exports: $Exports<'react-select/lib/animated/ValueContainer'>;
}
declare module 'react-select/lib/Async.js' {
declare module.exports: $Exports<'react-select/lib/Async'>;
}
declare module 'react-select/lib/AsyncCreatable.js' {
declare module.exports: $Exports<'react-select/lib/AsyncCreatable'>;
}
declare module 'react-select/lib/builtins.js' {
declare module.exports: $Exports<'react-select/lib/builtins'>;
}
declare module 'react-select/lib/components/containers.js' {
declare module.exports: $Exports<'react-select/lib/components/containers'>;
}
declare module 'react-select/lib/components/Control.js' {
declare module.exports: $Exports<'react-select/lib/components/Control'>;
}
declare module 'react-select/lib/components/Group.js' {
declare module.exports: $Exports<'react-select/lib/components/Group'>;
}
declare module 'react-select/lib/components/index' {
declare module.exports: $Exports<'react-select/lib/components'>;
}
declare module 'react-select/lib/components/index.js' {
declare module.exports: $Exports<'react-select/lib/components'>;
}
declare module 'react-select/lib/components/indicators.js' {
declare module.exports: $Exports<'react-select/lib/components/indicators'>;
}
declare module 'react-select/lib/components/Input.js' {
declare module.exports: $Exports<'react-select/lib/components/Input'>;
}
declare module 'react-select/lib/components/Menu.js' {
declare module.exports: $Exports<'react-select/lib/components/Menu'>;
}
declare module 'react-select/lib/components/MultiValue.js' {
declare module.exports: $Exports<'react-select/lib/components/MultiValue'>;
}
declare module 'react-select/lib/components/Option.js' {
declare module.exports: $Exports<'react-select/lib/components/Option'>;
}
declare module 'react-select/lib/components/Placeholder.js' {
declare module.exports: $Exports<'react-select/lib/components/Placeholder'>;
}
declare module 'react-select/lib/components/SingleValue.js' {
declare module.exports: $Exports<'react-select/lib/components/SingleValue'>;
}
declare module 'react-select/lib/Creatable.js' {
declare module.exports: $Exports<'react-select/lib/Creatable'>;
}
declare module 'react-select/lib/diacritics.js' {
declare module.exports: $Exports<'react-select/lib/diacritics'>;
}
declare module 'react-select/lib/filters.js' {
declare module.exports: $Exports<'react-select/lib/filters'>;
}
declare module 'react-select/lib/index' {
declare module.exports: $Exports<'react-select/lib'>;
}
declare module 'react-select/lib/index.js' {
declare module.exports: $Exports<'react-select/lib'>;
}
declare module 'react-select/lib/index.umd.js' {
declare module.exports: $Exports<'react-select/lib/index.umd'>;
}
declare module 'react-select/lib/internal/A11yText.js' {
declare module.exports: $Exports<'react-select/lib/internal/A11yText'>;
}
declare module 'react-select/lib/internal/DummyInput.js' {
declare module.exports: $Exports<'react-select/lib/internal/DummyInput'>;
}
declare module 'react-select/lib/internal/index' {
declare module.exports: $Exports<'react-select/lib/internal'>;
}
declare module 'react-select/lib/internal/index.js' {
declare module.exports: $Exports<'react-select/lib/internal'>;
}
declare module 'react-select/lib/internal/NodeResolver.js' {
declare module.exports: $Exports<'react-select/lib/internal/NodeResolver'>;
}
declare module 'react-select/lib/internal/react-fast-compare.js' {
declare module.exports: $Exports<'react-select/lib/internal/react-fast-compare'>;
}
declare module 'react-select/lib/internal/ScrollBlock.js' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollBlock'>;
}
declare module 'react-select/lib/internal/ScrollCaptor.js' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollCaptor'>;
}
declare module 'react-select/lib/internal/ScrollLock/constants.js' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollLock/constants'>;
}
declare module 'react-select/lib/internal/ScrollLock/index' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollLock'>;
}
declare module 'react-select/lib/internal/ScrollLock/index.js' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollLock'>;
}
declare module 'react-select/lib/internal/ScrollLock/utils.js' {
declare module.exports: $Exports<'react-select/lib/internal/ScrollLock/utils'>;
}
declare module 'react-select/lib/Select.js' {
declare module.exports: $Exports<'react-select/lib/Select'>;
}
declare module 'react-select/lib/stateManager.js' {
declare module.exports: $Exports<'react-select/lib/stateManager'>;
}
declare module 'react-select/lib/styles.js' {
declare module.exports: $Exports<'react-select/lib/styles'>;
}
declare module 'react-select/lib/theme.js' {
declare module.exports: $Exports<'react-select/lib/theme'>;
}
declare module 'react-select/lib/types.js' {
declare module.exports: $Exports<'react-select/lib/types'>;
}
declare module 'react-select/lib/utils.js' {
declare module.exports: $Exports<'react-select/lib/utils'>;
}
declare module 'react-select/src/__tests__/Async.test.js' {
declare module.exports: $Exports<'react-select/src/__tests__/Async.test'>;
}
declare module 'react-select/src/__tests__/AsyncCreatable.test.js' {
declare module.exports: $Exports<'react-select/src/__tests__/AsyncCreatable.test'>;
}
declare module 'react-select/src/__tests__/constants.js' {
declare module.exports: $Exports<'react-select/src/__tests__/constants'>;
}
declare module 'react-select/src/__tests__/Creatable.test.js' {
declare module.exports: $Exports<'react-select/src/__tests__/Creatable.test'>;
}
declare module 'react-select/src/__tests__/Select.test.js' {
declare module.exports: $Exports<'react-select/src/__tests__/Select.test'>;
}
declare module 'react-select/src/__tests__/StateManaged.test.js' {
declare module.exports: $Exports<'react-select/src/__tests__/StateManaged.test'>;
}
declare module 'react-select/src/accessibility/index' {
declare module.exports: $Exports<'react-select/src/accessibility'>;
}
declare module 'react-select/src/accessibility/index.js' {
declare module.exports: $Exports<'react-select/src/accessibility'>;
}
declare module 'react-select/src/animated/index' {
declare module.exports: $Exports<'react-select/src/animated'>;
}
declare module 'react-select/src/animated/index.js' {
declare module.exports: $Exports<'react-select/src/animated'>;
}
declare module 'react-select/src/animated/Input.js' {
declare module.exports: $Exports<'react-select/src/animated/Input'>;
}
declare module 'react-select/src/animated/MultiValue.js' {
declare module.exports: $Exports<'react-select/src/animated/MultiValue'>;
}
declare module 'react-select/src/animated/Placeholder.js' {
declare module.exports: $Exports<'react-select/src/animated/Placeholder'>;
}
declare module 'react-select/src/animated/SingleValue.js' {
declare module.exports: $Exports<'react-select/src/animated/SingleValue'>;
}
declare module 'react-select/src/animated/transitions.js' {
declare module.exports: $Exports<'react-select/src/animated/transitions'>;
}
declare module 'react-select/src/animated/ValueContainer.js' {
declare module.exports: $Exports<'react-select/src/animated/ValueContainer'>;
}
declare module 'react-select/src/Async.js' {
declare module.exports: $Exports<'react-select/src/Async'>;
}
declare module 'react-select/src/AsyncCreatable.js' {
declare module.exports: $Exports<'react-select/src/AsyncCreatable'>;
}
declare module 'react-select/src/builtins.js' {
declare module.exports: $Exports<'react-select/src/builtins'>;
}
declare module 'react-select/src/components/containers.js' {
declare module.exports: $Exports<'react-select/src/components/containers'>;
}
declare module 'react-select/src/components/Control.js' {
declare module.exports: $Exports<'react-select/src/components/Control'>;
}
declare module 'react-select/src/components/Group.js' {
declare module.exports: $Exports<'react-select/src/components/Group'>;
}
declare module 'react-select/src/components/index' {
declare module.exports: $Exports<'react-select/src/components'>;
}
declare module 'react-select/src/components/index.js' {
declare module.exports: $Exports<'react-select/src/components'>;
}
declare module 'react-select/src/components/indicators.js' {
declare module.exports: $Exports<'react-select/src/components/indicators'>;
}
declare module 'react-select/src/components/Input.js' {
declare module.exports: $Exports<'react-select/src/components/Input'>;
}
declare module 'react-select/src/components/Menu.js' {
declare module.exports: $Exports<'react-select/src/components/Menu'>;
}
declare module 'react-select/src/components/MultiValue.js' {
declare module.exports: $Exports<'react-select/src/components/MultiValue'>;
}
declare module 'react-select/src/components/Option.js' {
declare module.exports: $Exports<'react-select/src/components/Option'>;
}
declare module 'react-select/src/components/Placeholder.js' {
declare module.exports: $Exports<'react-select/src/components/Placeholder'>;
}
declare module 'react-select/src/components/SingleValue.js' {
declare module.exports: $Exports<'react-select/src/components/SingleValue'>;
}
declare module 'react-select/src/Creatable.js' {
declare module.exports: $Exports<'react-select/src/Creatable'>;
}
declare module 'react-select/src/diacritics.js' {
declare module.exports: $Exports<'react-select/src/diacritics'>;
}
declare module 'react-select/src/filters.js' {
declare module.exports: $Exports<'react-select/src/filters'>;
}
declare module 'react-select/src/index' {
declare module.exports: $Exports<'react-select/src'>;
}
declare module 'react-select/src/index.js' {
declare module.exports: $Exports<'react-select/src'>;
}
declare module 'react-select/src/index.umd.js' {
declare module.exports: $Exports<'react-select/src/index.umd'>;
}
declare module 'react-select/src/internal/A11yText.js' {
declare module.exports: $Exports<'react-select/src/internal/A11yText'>;
}
declare module 'react-select/src/internal/DummyInput.js' {
declare module.exports: $Exports<'react-select/src/internal/DummyInput'>;
}
declare module 'react-select/src/internal/index' {
declare module.exports: $Exports<'react-select/src/internal'>;
}
declare module 'react-select/src/internal/index.js' {
declare module.exports: $Exports<'react-select/src/internal'>;
}
declare module 'react-select/src/internal/NodeResolver.js' {
declare module.exports: $Exports<'react-select/src/internal/NodeResolver'>;
}
declare module 'react-select/src/internal/react-fast-compare.js' {
declare module.exports: $Exports<'react-select/src/internal/react-fast-compare'>;
}
declare module 'react-select/src/internal/ScrollBlock.js' {
declare module.exports: $Exports<'react-select/src/internal/ScrollBlock'>;
}
declare module 'react-select/src/internal/ScrollCaptor.js' {
declare module.exports: $Exports<'react-select/src/internal/ScrollCaptor'>;
}
declare module 'react-select/src/internal/ScrollLock/constants.js' {
declare module.exports: $Exports<'react-select/src/internal/ScrollLock/constants'>;
}
declare module 'react-select/src/internal/ScrollLock/index' {
declare module.exports: $Exports<'react-select/src/internal/ScrollLock'>;
}
declare module 'react-select/src/internal/ScrollLock/index.js' {
declare module.exports: $Exports<'react-select/src/internal/ScrollLock'>;
}
declare module 'react-select/src/internal/ScrollLock/utils.js' {
declare module.exports: $Exports<'react-select/src/internal/ScrollLock/utils'>;
}
declare module 'react-select/src/Select.js' {
declare module.exports: $Exports<'react-select/src/Select'>;
}
declare module 'react-select/src/stateManager.js' {
declare module.exports: $Exports<'react-select/src/stateManager'>;
}
declare module 'react-select/src/styles.js' {
declare module.exports: $Exports<'react-select/src/styles'>;
}
declare module 'react-select/src/theme.js' {
declare module.exports: $Exports<'react-select/src/theme'>;
}
declare module 'react-select/src/types.js' {
declare module.exports: $Exports<'react-select/src/types'>;
}
declare module 'react-select/src/utils.js' {
declare module.exports: $Exports<'react-select/src/utils'>;
}

File diff suppressed because it is too large Load Diff

View File

@@ -19,7 +19,7 @@
"enzyme": "^3.5.0", "enzyme": "^3.5.0",
"enzyme-adapter-react-16": "^1.3.1", "enzyme-adapter-react-16": "^1.3.1",
"fetch-mock": "^7.2.5", "fetch-mock": "^7.2.5",
"flow-bin": "^0.79.1", "flow-bin": "^0.109.0",
"flow-typed": "^2.5.1", "flow-typed": "^2.5.1",
"jest": "^23.5.0", "jest": "^23.5.0",
"raf": "^3.4.0", "raf": "^3.4.0",

View File

@@ -1,8 +1,11 @@
[ignore] [ignore]
.*/node_modules/module-deps/.*
[include] [include]
[libs] [libs]
[lints]
[options] [options]
[strict]

View File

@@ -14,6 +14,6 @@
"check": "flow check" "check": "flow check"
}, },
"devDependencies": { "devDependencies": {
"flow-bin": "^0.108.0" "flow-bin": "^0.109.0"
} }
} }

View File

@@ -1,8 +1,16 @@
[ignore] [ignore]
.*/node_modules/module-deps/.*
[include] [include]
<PROJECT_ROOT>/../../ui-types
<PROJECT_ROOT>/../../ui-components
[libs] [libs]
[lints]
[options] [options]
module.system.node.resolve_dirname=../../node_modules
module.name_mapper='^@scm-manager\/ui-\([a-zA-Z0-9_\-]+\)$' -> '<PROJECT_ROOT>/../ui-\1'
[strict]

View File

@@ -0,0 +1,49 @@
// flow-typed signature: e87b860fca7047001bcde4b8780a8655
// flow-typed version: <<STUB>>/@scm-manager/ui-extensions_v0.1.2/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* '@scm-manager/ui-extensions'
*
* 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 '@scm-manager/ui-extensions' {
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 '@scm-manager/ui-extensions/lib/binder' {
declare module.exports: any;
}
declare module '@scm-manager/ui-extensions/lib/ExtensionPoint' {
declare module.exports: any;
}
declare module '@scm-manager/ui-extensions/lib' {
declare module.exports: any;
}
// Filename aliases
declare module '@scm-manager/ui-extensions/lib/binder.js' {
declare module.exports: $Exports<'@scm-manager/ui-extensions/lib/binder'>;
}
declare module '@scm-manager/ui-extensions/lib/ExtensionPoint.js' {
declare module.exports: $Exports<'@scm-manager/ui-extensions/lib/ExtensionPoint'>;
}
declare module '@scm-manager/ui-extensions/lib/index' {
declare module.exports: $Exports<'@scm-manager/ui-extensions/lib'>;
}
declare module '@scm-manager/ui-extensions/lib/index.js' {
declare module.exports: $Exports<'@scm-manager/ui-extensions/lib'>;
}

View File

@@ -0,0 +1,23 @@
// flow-typed signature: cf86673cc32d185bdab1d2ea90578d37
// flow-typed version: 614bf49aa8/classnames_v2.x.x/flow_>=v0.25.x
type $npm$classnames$Classes =
| string
| { [className: string]: * }
| false
| void
| null;
declare module "classnames" {
declare module.exports: (
...classes: Array<$npm$classnames$Classes | $npm$classnames$Classes[]>
) => string;
}
declare module "classnames/bind" {
declare module.exports: $Exports<"classnames">;
}
declare module "classnames/dedupe" {
declare module.exports: $Exports<"classnames">;
}

View File

@@ -0,0 +1,269 @@
// flow-typed signature: 761f01d8db9f91fa67135cb2120c2b8e
// flow-typed version: <<STUB>>/enzyme_v3.10.0/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'enzyme'
*
* 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 'enzyme' {
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 'enzyme/build/configuration' {
declare module.exports: any;
}
declare module 'enzyme/build/Debug' {
declare module.exports: any;
}
declare module 'enzyme/build/EnzymeAdapter' {
declare module.exports: any;
}
declare module 'enzyme/build/getAdapter' {
declare module.exports: any;
}
declare module 'enzyme/build' {
declare module.exports: any;
}
declare module 'enzyme/build/mount' {
declare module.exports: any;
}
declare module 'enzyme/build/ReactWrapper' {
declare module.exports: any;
}
declare module 'enzyme/build/render' {
declare module.exports: any;
}
declare module 'enzyme/build/RSTTraversal' {
declare module.exports: any;
}
declare module 'enzyme/build/selectors' {
declare module.exports: any;
}
declare module 'enzyme/build/shallow' {
declare module.exports: any;
}
declare module 'enzyme/build/ShallowWrapper' {
declare module.exports: any;
}
declare module 'enzyme/build/Utils' {
declare module.exports: any;
}
declare module 'enzyme/build/validateAdapter' {
declare module.exports: any;
}
declare module 'enzyme/mount' {
declare module.exports: any;
}
declare module 'enzyme/ReactWrapper' {
declare module.exports: any;
}
declare module 'enzyme/render' {
declare module.exports: any;
}
declare module 'enzyme/shallow' {
declare module.exports: any;
}
declare module 'enzyme/ShallowWrapper' {
declare module.exports: any;
}
declare module 'enzyme/src/configuration' {
declare module.exports: any;
}
declare module 'enzyme/src/Debug' {
declare module.exports: any;
}
declare module 'enzyme/src/EnzymeAdapter' {
declare module.exports: any;
}
declare module 'enzyme/src/getAdapter' {
declare module.exports: any;
}
declare module 'enzyme/src' {
declare module.exports: any;
}
declare module 'enzyme/src/mount' {
declare module.exports: any;
}
declare module 'enzyme/src/ReactWrapper' {
declare module.exports: any;
}
declare module 'enzyme/src/render' {
declare module.exports: any;
}
declare module 'enzyme/src/RSTTraversal' {
declare module.exports: any;
}
declare module 'enzyme/src/selectors' {
declare module.exports: any;
}
declare module 'enzyme/src/shallow' {
declare module.exports: any;
}
declare module 'enzyme/src/ShallowWrapper' {
declare module.exports: any;
}
declare module 'enzyme/src/Utils' {
declare module.exports: any;
}
declare module 'enzyme/src/validateAdapter' {
declare module.exports: any;
}
declare module 'enzyme/withDom' {
declare module.exports: any;
}
// Filename aliases
declare module 'enzyme/build/configuration.js' {
declare module.exports: $Exports<'enzyme/build/configuration'>;
}
declare module 'enzyme/build/Debug.js' {
declare module.exports: $Exports<'enzyme/build/Debug'>;
}
declare module 'enzyme/build/EnzymeAdapter.js' {
declare module.exports: $Exports<'enzyme/build/EnzymeAdapter'>;
}
declare module 'enzyme/build/getAdapter.js' {
declare module.exports: $Exports<'enzyme/build/getAdapter'>;
}
declare module 'enzyme/build/index' {
declare module.exports: $Exports<'enzyme/build'>;
}
declare module 'enzyme/build/index.js' {
declare module.exports: $Exports<'enzyme/build'>;
}
declare module 'enzyme/build/mount.js' {
declare module.exports: $Exports<'enzyme/build/mount'>;
}
declare module 'enzyme/build/ReactWrapper.js' {
declare module.exports: $Exports<'enzyme/build/ReactWrapper'>;
}
declare module 'enzyme/build/render.js' {
declare module.exports: $Exports<'enzyme/build/render'>;
}
declare module 'enzyme/build/RSTTraversal.js' {
declare module.exports: $Exports<'enzyme/build/RSTTraversal'>;
}
declare module 'enzyme/build/selectors.js' {
declare module.exports: $Exports<'enzyme/build/selectors'>;
}
declare module 'enzyme/build/shallow.js' {
declare module.exports: $Exports<'enzyme/build/shallow'>;
}
declare module 'enzyme/build/ShallowWrapper.js' {
declare module.exports: $Exports<'enzyme/build/ShallowWrapper'>;
}
declare module 'enzyme/build/Utils.js' {
declare module.exports: $Exports<'enzyme/build/Utils'>;
}
declare module 'enzyme/build/validateAdapter.js' {
declare module.exports: $Exports<'enzyme/build/validateAdapter'>;
}
declare module 'enzyme/mount.js' {
declare module.exports: $Exports<'enzyme/mount'>;
}
declare module 'enzyme/ReactWrapper.js' {
declare module.exports: $Exports<'enzyme/ReactWrapper'>;
}
declare module 'enzyme/render.js' {
declare module.exports: $Exports<'enzyme/render'>;
}
declare module 'enzyme/shallow.js' {
declare module.exports: $Exports<'enzyme/shallow'>;
}
declare module 'enzyme/ShallowWrapper.js' {
declare module.exports: $Exports<'enzyme/ShallowWrapper'>;
}
declare module 'enzyme/src/configuration.js' {
declare module.exports: $Exports<'enzyme/src/configuration'>;
}
declare module 'enzyme/src/Debug.js' {
declare module.exports: $Exports<'enzyme/src/Debug'>;
}
declare module 'enzyme/src/EnzymeAdapter.js' {
declare module.exports: $Exports<'enzyme/src/EnzymeAdapter'>;
}
declare module 'enzyme/src/getAdapter.js' {
declare module.exports: $Exports<'enzyme/src/getAdapter'>;
}
declare module 'enzyme/src/index' {
declare module.exports: $Exports<'enzyme/src'>;
}
declare module 'enzyme/src/index.js' {
declare module.exports: $Exports<'enzyme/src'>;
}
declare module 'enzyme/src/mount.js' {
declare module.exports: $Exports<'enzyme/src/mount'>;
}
declare module 'enzyme/src/ReactWrapper.js' {
declare module.exports: $Exports<'enzyme/src/ReactWrapper'>;
}
declare module 'enzyme/src/render.js' {
declare module.exports: $Exports<'enzyme/src/render'>;
}
declare module 'enzyme/src/RSTTraversal.js' {
declare module.exports: $Exports<'enzyme/src/RSTTraversal'>;
}
declare module 'enzyme/src/selectors.js' {
declare module.exports: $Exports<'enzyme/src/selectors'>;
}
declare module 'enzyme/src/shallow.js' {
declare module.exports: $Exports<'enzyme/src/shallow'>;
}
declare module 'enzyme/src/ShallowWrapper.js' {
declare module.exports: $Exports<'enzyme/src/ShallowWrapper'>;
}
declare module 'enzyme/src/Utils.js' {
declare module.exports: $Exports<'enzyme/src/Utils'>;
}
declare module 'enzyme/src/validateAdapter.js' {
declare module.exports: $Exports<'enzyme/src/validateAdapter'>;
}
declare module 'enzyme/withDom.js' {
declare module.exports: $Exports<'enzyme/withDom'>;
}

View File

@@ -0,0 +1,171 @@
// flow-typed signature: 97b9f493816b5bb72fbf5c9e229affd7
// flow-typed version: <<STUB>>/fetch-mock_v6.5.2/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'fetch-mock'
*
* 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 'fetch-mock' {
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 'fetch-mock/dist/es5/client-bundle' {
declare module.exports: any;
}
declare module 'fetch-mock/es5/client' {
declare module.exports: any;
}
declare module 'fetch-mock/es5/lib/compile-route' {
declare module.exports: any;
}
declare module 'fetch-mock/es5/lib/fetch-handler' {
declare module.exports: any;
}
declare module 'fetch-mock/es5/lib' {
declare module.exports: any;
}
declare module 'fetch-mock/es5/lib/inspecting' {
declare module.exports: any;
}
declare module 'fetch-mock/es5/lib/response-builder' {
declare module.exports: any;
}
declare module 'fetch-mock/es5/lib/set-up-and-tear-down' {
declare module.exports: any;
}
declare module 'fetch-mock/es5/lib/status-text' {
declare module.exports: any;
}
declare module 'fetch-mock/es5/server' {
declare module.exports: any;
}
declare module 'fetch-mock/scripts/support-fetch-mock' {
declare module.exports: any;
}
declare module 'fetch-mock/src/client' {
declare module.exports: any;
}
declare module 'fetch-mock/src/lib/compile-route' {
declare module.exports: any;
}
declare module 'fetch-mock/src/lib/fetch-handler' {
declare module.exports: any;
}
declare module 'fetch-mock/src/lib' {
declare module.exports: any;
}
declare module 'fetch-mock/src/lib/inspecting' {
declare module.exports: any;
}
declare module 'fetch-mock/src/lib/response-builder' {
declare module.exports: any;
}
declare module 'fetch-mock/src/lib/set-up-and-tear-down' {
declare module.exports: any;
}
declare module 'fetch-mock/src/lib/status-text' {
declare module.exports: any;
}
declare module 'fetch-mock/src/server' {
declare module.exports: any;
}
// Filename aliases
declare module 'fetch-mock/dist/es5/client-bundle.js' {
declare module.exports: $Exports<'fetch-mock/dist/es5/client-bundle'>;
}
declare module 'fetch-mock/es5/client.js' {
declare module.exports: $Exports<'fetch-mock/es5/client'>;
}
declare module 'fetch-mock/es5/lib/compile-route.js' {
declare module.exports: $Exports<'fetch-mock/es5/lib/compile-route'>;
}
declare module 'fetch-mock/es5/lib/fetch-handler.js' {
declare module.exports: $Exports<'fetch-mock/es5/lib/fetch-handler'>;
}
declare module 'fetch-mock/es5/lib/index' {
declare module.exports: $Exports<'fetch-mock/es5/lib'>;
}
declare module 'fetch-mock/es5/lib/index.js' {
declare module.exports: $Exports<'fetch-mock/es5/lib'>;
}
declare module 'fetch-mock/es5/lib/inspecting.js' {
declare module.exports: $Exports<'fetch-mock/es5/lib/inspecting'>;
}
declare module 'fetch-mock/es5/lib/response-builder.js' {
declare module.exports: $Exports<'fetch-mock/es5/lib/response-builder'>;
}
declare module 'fetch-mock/es5/lib/set-up-and-tear-down.js' {
declare module.exports: $Exports<'fetch-mock/es5/lib/set-up-and-tear-down'>;
}
declare module 'fetch-mock/es5/lib/status-text.js' {
declare module.exports: $Exports<'fetch-mock/es5/lib/status-text'>;
}
declare module 'fetch-mock/es5/server.js' {
declare module.exports: $Exports<'fetch-mock/es5/server'>;
}
declare module 'fetch-mock/scripts/support-fetch-mock.js' {
declare module.exports: $Exports<'fetch-mock/scripts/support-fetch-mock'>;
}
declare module 'fetch-mock/src/client.js' {
declare module.exports: $Exports<'fetch-mock/src/client'>;
}
declare module 'fetch-mock/src/lib/compile-route.js' {
declare module.exports: $Exports<'fetch-mock/src/lib/compile-route'>;
}
declare module 'fetch-mock/src/lib/fetch-handler.js' {
declare module.exports: $Exports<'fetch-mock/src/lib/fetch-handler'>;
}
declare module 'fetch-mock/src/lib/index' {
declare module.exports: $Exports<'fetch-mock/src/lib'>;
}
declare module 'fetch-mock/src/lib/index.js' {
declare module.exports: $Exports<'fetch-mock/src/lib'>;
}
declare module 'fetch-mock/src/lib/inspecting.js' {
declare module.exports: $Exports<'fetch-mock/src/lib/inspecting'>;
}
declare module 'fetch-mock/src/lib/response-builder.js' {
declare module.exports: $Exports<'fetch-mock/src/lib/response-builder'>;
}
declare module 'fetch-mock/src/lib/set-up-and-tear-down.js' {
declare module.exports: $Exports<'fetch-mock/src/lib/set-up-and-tear-down'>;
}
declare module 'fetch-mock/src/lib/status-text.js' {
declare module.exports: $Exports<'fetch-mock/src/lib/status-text'>;
}
declare module 'fetch-mock/src/server.js' {
declare module.exports: $Exports<'fetch-mock/src/server'>;
}

View File

@@ -0,0 +1,66 @@
// flow-typed signature: 9be79ea52a669f6c266677d1d0bd3e9d
// flow-typed version: <<STUB>>/gitdiff-parser_v0.1.2/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'gitdiff-parser'
*
* 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 'gitdiff-parser' {
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 'gitdiff-parser/test/git.test' {
declare module.exports: any;
}
declare module 'gitdiff-parser/test/hg' {
declare module.exports: any;
}
declare module 'gitdiff-parser/test/hg.test' {
declare module.exports: any;
}
declare module 'gitdiff-parser/test/perf-parse-diff' {
declare module.exports: any;
}
declare module 'gitdiff-parser/test/perf' {
declare module.exports: any;
}
// Filename aliases
declare module 'gitdiff-parser/index' {
declare module.exports: $Exports<'gitdiff-parser'>;
}
declare module 'gitdiff-parser/index.js' {
declare module.exports: $Exports<'gitdiff-parser'>;
}
declare module 'gitdiff-parser/test/git.test.js' {
declare module.exports: $Exports<'gitdiff-parser/test/git.test'>;
}
declare module 'gitdiff-parser/test/hg.js' {
declare module.exports: $Exports<'gitdiff-parser/test/hg'>;
}
declare module 'gitdiff-parser/test/hg.test.js' {
declare module.exports: $Exports<'gitdiff-parser/test/hg.test'>;
}
declare module 'gitdiff-parser/test/perf-parse-diff.js' {
declare module.exports: $Exports<'gitdiff-parser/test/perf-parse-diff'>;
}
declare module 'gitdiff-parser/test/perf.js' {
declare module.exports: $Exports<'gitdiff-parser/test/perf'>;
}

View File

@@ -0,0 +1,109 @@
// flow-typed signature: 90337b03d736e9bdaa68004c36c4d3ee
// flow-typed version: 51319746df/history_v4.10.x/flow_>=v0.104.x
declare module 'history' {
declare type Unregister = () => void;
declare export type Action = 'PUSH' | 'REPLACE' | 'POP';
declare export type Location = {|
pathname: string,
search: string,
hash: string,
state: { ... },
key: string,
|};
declare type History<HistoryLocation = Location> = {|
length: number,
location: HistoryLocation,
action: Action,
push: ((path: string, state?: { ... }) => void) &
((location: $Shape<HistoryLocation>) => void),
replace: ((path: string, state?: { ... }) => void) &
((location: $Shape<HistoryLocation>) => void),
go(n: number): void,
goBack(): void,
goForward(): void,
listen((location: HistoryLocation, action: Action) => void): Unregister,
block(
prompt:
| string
| boolean
| ((location: HistoryLocation, action: Action) => string | false | void)
): Unregister,
createHref(location: $Shape<HistoryLocation>): string,
|};
declare export type BrowserHistory = History<>;
declare type BrowserHistoryOpts = {|
basename?: string,
forceRefresh?: boolean,
getUserConfirmation?: (
message: string,
callback: (willContinue: boolean) => void
) => void,
keyLength?: number,
|};
declare function createBrowserHistory(
opts?: BrowserHistoryOpts
): BrowserHistory;
declare export type MemoryHistory = {|
...History<>,
index: number,
entries: Array<string | Location>,
canGo(n: number): boolean,
|};
declare type MemoryHistoryOpts = {|
initialEntries?: Array<string>,
initialIndex?: number,
keyLength?: number,
getUserConfirmation?: (
message: string,
callback: (willContinue: boolean) => void
) => void,
|};
declare function createMemoryHistory(opts?: MemoryHistoryOpts): MemoryHistory;
declare export type HashLocation = {|
...Location,
state: void,
key: void,
|};
declare export type HashHistory = History<HashLocation>;
declare type HashHistoryOpts = {|
basename?: string,
hashType: 'slash' | 'noslash' | 'hashbang',
getUserConfirmation?: (
message: string,
callback: (willContinue: boolean) => void
) => void,
|};
declare function createHashHistory(opts?: HashHistoryOpts): HashHistory;
// PathUtils
declare function parsePath(path: string): Location;
declare function createPath(location: $Shape<Location>): string;
// LocationUtils
declare function locationsAreEqual(
a: $Shape<Location>,
b: $Shape<Location>
): boolean;
declare function createLocation(
path: string | $Shape<Location>,
state?: { ... },
key?: string,
currentLocation?: Location
): Location;
}

View File

@@ -1,128 +0,0 @@
// flow-typed signature: eb8bd974b677b08dfca89de9ac05b60b
// flow-typed version: 43b30482ac/history_v4.x.x/flow_>=v0.25.x
declare module "history/createBrowserHistory" {
declare function Unblock(): void;
declare export type Action = "PUSH" | "REPLACE" | "POP";
declare export type BrowserLocation = {
pathname: string,
search: string,
hash: string,
// Browser and Memory specific
state: string,
key: string,
};
declare export type BrowserHistory = {
length: number,
location: BrowserLocation,
action: Action,
push: (path: string, Array<mixed>) => void,
replace: (path: string, Array<mixed>) => void,
go: (n: number) => void,
goBack: () => void,
goForward: () => void,
listen: Function,
block: (message: string) => Unblock,
block: ((location: BrowserLocation, action: Action) => string) => Unblock,
push: (path: string) => void,
replace: (path: string) => void,
};
declare type HistoryOpts = {
basename?: string,
forceRefresh?: boolean,
getUserConfirmation?: (
message: string,
callback: (willContinue: boolean) => void,
) => void,
};
declare export default (opts?: HistoryOpts) => BrowserHistory;
}
declare module "history/createMemoryHistory" {
declare function Unblock(): void;
declare export type Action = "PUSH" | "REPLACE" | "POP";
declare export type MemoryLocation = {
pathname: string,
search: string,
hash: string,
// Browser and Memory specific
state: string,
key: string,
};
declare export type MemoryHistory = {
length: number,
location: MemoryLocation,
action: Action,
index: number,
entries: Array<string>,
push: (path: string, Array<mixed>) => void,
replace: (path: string, Array<mixed>) => void,
go: (n: number) => void,
goBack: () => void,
goForward: () => void,
// Memory only
canGo: (n: number) => boolean,
listen: Function,
block: (message: string) => Unblock,
block: ((location: MemoryLocation, action: Action) => string) => Unblock,
push: (path: string) => void,
};
declare type HistoryOpts = {
initialEntries?: Array<string>,
initialIndex?: number,
keyLength?: number,
getUserConfirmation?: (
message: string,
callback: (willContinue: boolean) => void,
) => void,
};
declare export default (opts?: HistoryOpts) => MemoryHistory;
}
declare module "history/createHashHistory" {
declare function Unblock(): void;
declare export type Action = "PUSH" | "REPLACE" | "POP";
declare export type HashLocation = {
pathname: string,
search: string,
hash: string,
};
declare export type HashHistory = {
length: number,
location: HashLocation,
action: Action,
push: (path: string, Array<mixed>) => void,
replace: (path: string, Array<mixed>) => void,
go: (n: number) => void,
goBack: () => void,
goForward: () => void,
listen: Function,
block: (message: string) => Unblock,
block: ((location: HashLocation, action: Action) => string) => Unblock,
push: (path: string) => void,
};
declare type HistoryOpts = {
basename?: string,
hashType: "slash" | "noslash" | "hashbang",
getUserConfirmation?: (
message: string,
callback: (willContinue: boolean) => void,
) => void,
};
declare export default (opts?: HistoryOpts) => HashHistory;
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,331 @@
// flow-typed signature: 23b805356f90ad9384dd88489654e380
// flow-typed version: e9374c5fe9/moment_v2.3.x/flow_>=v0.25.x
type moment$MomentOptions = {
y?: number | string,
year?: number | string,
years?: number | string,
M?: number | string,
month?: number | string,
months?: number | string,
d?: number | string,
day?: number | string,
days?: number | string,
date?: number | string,
h?: number | string,
hour?: number | string,
hours?: number | string,
m?: number | string,
minute?: number | string,
minutes?: number | string,
s?: number | string,
second?: number | string,
seconds?: number | string,
ms?: number | string,
millisecond?: number | string,
milliseconds?: number | string
};
type moment$MomentObject = {
years: number,
months: number,
date: number,
hours: number,
minutes: number,
seconds: number,
milliseconds: number
};
type moment$MomentCreationData = {
input: string,
format: string,
locale: Object,
isUTC: boolean,
strict: boolean
};
type moment$CalendarFormat = string | ((moment: moment$Moment) => string);
type moment$CalendarFormats = {
sameDay?: moment$CalendarFormat,
nextDay?: moment$CalendarFormat,
nextWeek?: moment$CalendarFormat,
lastDay?: moment$CalendarFormat,
lastWeek?: moment$CalendarFormat,
sameElse?: moment$CalendarFormat
};
declare class moment$LocaleData {
months(moment: moment$Moment): string,
monthsShort(moment: moment$Moment): string,
monthsParse(month: string): number,
weekdays(moment: moment$Moment): string,
weekdaysShort(moment: moment$Moment): string,
weekdaysMin(moment: moment$Moment): string,
weekdaysParse(weekDay: string): number,
longDateFormat(dateFormat: string): string,
isPM(date: string): boolean,
meridiem(hours: number, minutes: number, isLower: boolean): string,
calendar(
key:
| "sameDay"
| "nextDay"
| "lastDay"
| "nextWeek"
| "prevWeek"
| "sameElse",
moment: moment$Moment
): string,
relativeTime(
number: number,
withoutSuffix: boolean,
key: "s" | "m" | "mm" | "h" | "hh" | "d" | "dd" | "M" | "MM" | "y" | "yy",
isFuture: boolean
): string,
pastFuture(diff: any, relTime: string): string,
ordinal(number: number): string,
preparse(str: string): any,
postformat(str: string): any,
week(moment: moment$Moment): string,
invalidDate(): string,
firstDayOfWeek(): number,
firstDayOfYear(): number
}
declare class moment$MomentDuration {
humanize(suffix?: boolean): string,
milliseconds(): number,
asMilliseconds(): number,
seconds(): number,
asSeconds(): number,
minutes(): number,
asMinutes(): number,
hours(): number,
asHours(): number,
days(): number,
asDays(): number,
months(): number,
asWeeks(): number,
weeks(): number,
asMonths(): number,
years(): number,
asYears(): number,
add(value: number | moment$MomentDuration | Object, unit?: string): this,
subtract(value: number | moment$MomentDuration | Object, unit?: string): this,
as(unit: string): number,
get(unit: string): number,
toJSON(): string,
toISOString(): string,
isValid(): boolean
}
declare class moment$Moment {
static ISO_8601: string,
static (
string?: string,
format?: string | Array<string>,
strict?: boolean
): moment$Moment,
static (
string?: string,
format?: string | Array<string>,
locale?: string,
strict?: boolean
): moment$Moment,
static (
initDate: ?Object | number | Date | Array<number> | moment$Moment | string
): moment$Moment,
static unix(seconds: number): moment$Moment,
static utc(): moment$Moment,
static utc(number: number | Array<number>): moment$Moment,
static utc(
str: string,
str2?: string | Array<string>,
str3?: string
): moment$Moment,
static utc(moment: moment$Moment): moment$Moment,
static utc(date: Date): moment$Moment,
static parseZone(): moment$Moment,
static parseZone(rawDate: string): moment$Moment,
static parseZone(
rawDate: string,
format: string | Array<string>
): moment$Moment,
static parseZone(
rawDate: string,
format: string,
strict: boolean
): moment$Moment,
static parseZone(
rawDate: string,
format: string,
locale: string,
strict: boolean
): moment$Moment,
isValid(): boolean,
invalidAt(): 0 | 1 | 2 | 3 | 4 | 5 | 6,
creationData(): moment$MomentCreationData,
millisecond(number: number): this,
milliseconds(number: number): this,
millisecond(): number,
milliseconds(): number,
second(number: number): this,
seconds(number: number): this,
second(): number,
seconds(): number,
minute(number: number): this,
minutes(number: number): this,
minute(): number,
minutes(): number,
hour(number: number): this,
hours(number: number): this,
hour(): number,
hours(): number,
date(number: number): this,
dates(number: number): this,
date(): number,
dates(): number,
day(day: number | string): this,
days(day: number | string): this,
day(): number,
days(): number,
weekday(number: number): this,
weekday(): number,
isoWeekday(number: number): this,
isoWeekday(): number,
dayOfYear(number: number): this,
dayOfYear(): number,
week(number: number): this,
weeks(number: number): this,
week(): number,
weeks(): number,
isoWeek(number: number): this,
isoWeeks(number: number): this,
isoWeek(): number,
isoWeeks(): number,
month(number: number): this,
months(number: number): this,
month(): number,
months(): number,
quarter(number: number): this,
quarter(): number,
year(number: number): this,
years(number: number): this,
year(): number,
years(): number,
weekYear(number: number): this,
weekYear(): number,
isoWeekYear(number: number): this,
isoWeekYear(): number,
weeksInYear(): number,
isoWeeksInYear(): number,
get(string: string): number,
set(unit: string, value: number): this,
set(options: { [unit: string]: number }): this,
static max(...dates: Array<moment$Moment>): moment$Moment,
static max(dates: Array<moment$Moment>): moment$Moment,
static min(...dates: Array<moment$Moment>): moment$Moment,
static min(dates: Array<moment$Moment>): moment$Moment,
add(
value: number | moment$MomentDuration | moment$Moment | Object,
unit?: string
): this,
subtract(
value: number | moment$MomentDuration | moment$Moment | string | Object,
unit?: string
): this,
startOf(unit: string): this,
endOf(unit: string): this,
local(): this,
utc(): this,
utcOffset(
offset: number | string,
keepLocalTime?: boolean,
keepMinutes?: boolean
): this,
utcOffset(): number,
format(format?: string): string,
fromNow(removeSuffix?: boolean): string,
from(
value: moment$Moment | string | number | Date | Array<number>,
removePrefix?: boolean
): string,
toNow(removePrefix?: boolean): string,
to(
value: moment$Moment | string | number | Date | Array<number>,
removePrefix?: boolean
): string,
calendar(refTime?: any, formats?: moment$CalendarFormats): string,
diff(
date: moment$Moment | string | number | Date | Array<number>,
format?: string,
floating?: boolean
): number,
valueOf(): number,
unix(): number,
daysInMonth(): number,
toDate(): Date,
toArray(): Array<number>,
toJSON(): string,
toISOString(
keepOffset?: boolean
): string,
toObject(): moment$MomentObject,
isBefore(
date?: moment$Moment | string | number | Date | Array<number>,
units?: ?string
): boolean,
isSame(
date?: moment$Moment | string | number | Date | Array<number>,
units?: ?string
): boolean,
isAfter(
date?: moment$Moment | string | number | Date | Array<number>,
units?: ?string
): boolean,
isSameOrBefore(
date?: moment$Moment | string | number | Date | Array<number>,
units?: ?string
): boolean,
isSameOrAfter(
date?: moment$Moment | string | number | Date | Array<number>,
units?: ?string
): boolean,
isBetween(
fromDate: moment$Moment | string | number | Date | Array<number>,
toDate?: ?moment$Moment | string | number | Date | Array<number>,
granularity?: ?string,
inclusion?: ?string
): boolean,
isDST(): boolean,
isDSTShifted(): boolean,
isLeapYear(): boolean,
clone(): moment$Moment,
static isMoment(obj: any): boolean,
static isDate(obj: any): boolean,
static locale(locale: string, localeData?: Object): string,
static updateLocale(locale: string, localeData?: ?Object): void,
static locale(locales: Array<string>): string,
locale(locale: string, customization?: Object | null): moment$Moment,
locale(): string,
static months(): Array<string>,
static monthsShort(): Array<string>,
static weekdays(): Array<string>,
static weekdaysShort(): Array<string>,
static weekdaysMin(): Array<string>,
static months(): string,
static monthsShort(): string,
static weekdays(): string,
static weekdaysShort(): string,
static weekdaysMin(): string,
static localeData(key?: string): moment$LocaleData,
static duration(
value: number | Object | string,
unit?: string
): moment$MomentDuration,
static isDuration(obj: any): boolean,
static normalizeUnits(unit: string): string,
static invalid(object: any): moment$Moment
}
declare module "moment" {
declare module.exports: Class<moment$Moment>;
}

View File

@@ -0,0 +1,22 @@
// flow-typed signature: 45d44f189fa426ca21dee3f5149a4f99
// flow-typed version: c6154227d1/query-string_v5.x.x/flow_>=v0.104.x
declare module "query-string" {
declare type ArrayFormat = "none" | "bracket" | "index";
declare type ParseOptions = {|
arrayFormat?: ArrayFormat
|};
declare type StringifyOptions = {|
arrayFormat?: ArrayFormat,
encode?: boolean,
strict?: boolean
|};
declare module.exports: {
extract(str: string): string,
parse(str: string, opts?: ParseOptions): Object,
stringify(obj: Object, opts?: StringifyOptions): string,
...
};
}

View File

@@ -0,0 +1,139 @@
// flow-typed signature: 35264e970923e4f3cda147e7c17e2407
// flow-typed version: <<STUB>>/react-diff-view_v1.8.1/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'react-diff-view'
*
* 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 'react-diff-view' {
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 'react-diff-view/parse' {
declare module.exports: any;
}
declare module 'react-diff-view/src/CodeCell' {
declare module.exports: any;
}
declare module 'react-diff-view/src/Diff' {
declare module.exports: any;
}
declare module 'react-diff-view/src/Hunk' {
declare module.exports: any;
}
declare module 'react-diff-view/src' {
declare module.exports: any;
}
declare module 'react-diff-view/src/parse' {
declare module.exports: any;
}
declare module 'react-diff-view/src/propTypes' {
declare module.exports: any;
}
declare module 'react-diff-view/src/selectors' {
declare module.exports: any;
}
declare module 'react-diff-view/src/SplitChange' {
declare module.exports: any;
}
declare module 'react-diff-view/src/SplitHunk' {
declare module.exports: any;
}
declare module 'react-diff-view/src/SplitWidget' {
declare module.exports: any;
}
declare module 'react-diff-view/src/UnifiedChange' {
declare module.exports: any;
}
declare module 'react-diff-view/src/UnifiedHunk' {
declare module.exports: any;
}
declare module 'react-diff-view/src/UnifiedWidget' {
declare module.exports: any;
}
declare module 'react-diff-view/src/utils' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-diff-view/index' {
declare module.exports: $Exports<'react-diff-view'>;
}
declare module 'react-diff-view/index.js' {
declare module.exports: $Exports<'react-diff-view'>;
}
declare module 'react-diff-view/parse.js' {
declare module.exports: $Exports<'react-diff-view/parse'>;
}
declare module 'react-diff-view/src/CodeCell.js' {
declare module.exports: $Exports<'react-diff-view/src/CodeCell'>;
}
declare module 'react-diff-view/src/Diff.js' {
declare module.exports: $Exports<'react-diff-view/src/Diff'>;
}
declare module 'react-diff-view/src/Hunk.js' {
declare module.exports: $Exports<'react-diff-view/src/Hunk'>;
}
declare module 'react-diff-view/src/index' {
declare module.exports: $Exports<'react-diff-view/src'>;
}
declare module 'react-diff-view/src/index.js' {
declare module.exports: $Exports<'react-diff-view/src'>;
}
declare module 'react-diff-view/src/parse.js' {
declare module.exports: $Exports<'react-diff-view/src/parse'>;
}
declare module 'react-diff-view/src/propTypes.js' {
declare module.exports: $Exports<'react-diff-view/src/propTypes'>;
}
declare module 'react-diff-view/src/selectors.js' {
declare module.exports: $Exports<'react-diff-view/src/selectors'>;
}
declare module 'react-diff-view/src/SplitChange.js' {
declare module.exports: $Exports<'react-diff-view/src/SplitChange'>;
}
declare module 'react-diff-view/src/SplitHunk.js' {
declare module.exports: $Exports<'react-diff-view/src/SplitHunk'>;
}
declare module 'react-diff-view/src/SplitWidget.js' {
declare module.exports: $Exports<'react-diff-view/src/SplitWidget'>;
}
declare module 'react-diff-view/src/UnifiedChange.js' {
declare module.exports: $Exports<'react-diff-view/src/UnifiedChange'>;
}
declare module 'react-diff-view/src/UnifiedHunk.js' {
declare module.exports: $Exports<'react-diff-view/src/UnifiedHunk'>;
}
declare module 'react-diff-view/src/UnifiedWidget.js' {
declare module.exports: $Exports<'react-diff-view/src/UnifiedWidget'>;
}
declare module 'react-diff-view/src/utils.js' {
declare module.exports: $Exports<'react-diff-view/src/utils'>;
}

View File

@@ -0,0 +1,110 @@
// flow-typed signature: e48526194d458ea4787ca56d830092da
// flow-typed version: c6154227d1/react-i18next_v7.x.x/flow_>=v0.104.x
declare module "react-i18next" {
declare type TFunction = (key?: ?string, data?: ?Object) => string;
declare type TranslatorProps = {|
t: TFunction,
i18nLoadedAt: Date,
i18n: Object
|};
declare type TranslatorPropsVoid = {
t: TFunction | void,
i18nLoadedAt: Date | void,
i18n: Object | void,
...
};
declare type Translator<P: {...}, Component: React$ComponentType<P>> = (
WrappedComponent: Component
) => React$ComponentType<
$Diff<React$ElementConfig<Component>, TranslatorPropsVoid>
>;
declare type TranslateOptions = $Shape<{
wait: boolean,
nsMode: "default" | "fallback",
bindi18n: false | string,
bindStore: false | string,
withRef: boolean,
translateFuncName: string,
i18n: Object,
usePureComponent: boolean,
...
}>;
declare function translate<P: {...}, Component: React$ComponentType<P>>(
namespaces?: | string
| Array<string>
| (($Diff<P, TranslatorPropsVoid>) => string | Array<string>),
options?: TranslateOptions
): Translator<P, Component>;
declare type I18nProps = {
i18n?: Object,
ns?: string | Array<string>,
children: (t: TFunction, {
i18n: Object,
t: TFunction,
...
}) => React$Node,
initialI18nStore?: Object,
initialLanguage?: string,
...
};
declare var I18n: React$ComponentType<I18nProps>;
declare type InterpolateProps = {
className?: string,
dangerouslySetInnerHTMLPartElement?: string,
i18n?: Object,
i18nKey?: string,
options?: Object,
parent?: string,
style?: Object,
t?: TFunction,
useDangerouslySetInnerHTML?: boolean,
...
};
declare var Interpolate: React$ComponentType<InterpolateProps>;
declare type TransProps = {
count?: number,
parent?: string,
i18n?: Object,
i18nKey?: string,
t?: TFunction,
...
};
declare var Trans: React$ComponentType<TransProps>;
declare type ProviderProps = {
i18n: Object,
children: React$Element<*>,
...
};
declare var I18nextProvider: React$ComponentType<ProviderProps>;
declare type NamespacesProps = {
components: Array<React$ComponentType<*>>,
i18n: { loadNamespaces: Function, ... },
...
};
declare function loadNamespaces(props: NamespacesProps): Promise<void>;
declare var reactI18nextModule: {
type: "3rdParty",
init: (instance: Object) => void,
...
};
declare function setDefaults(options: TranslateOptions): void;
declare function getDefaults(): TranslateOptions;
declare function getI18n(): Object;
declare function setI18n(instance: Object): void;
}

View File

@@ -0,0 +1,137 @@
// flow-typed signature: ba35d02d668b0d0a3e04a63a6847974e
// flow-typed version: <<STUB>>/react-jss_v8.6.1/flow_v0.79.1
/**
* This is an autogenerated libdef stub for:
*
* 'react-jss'
*
* 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 'react-jss' {
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 'react-jss/dist/react-jss' {
declare module.exports: any;
}
declare module 'react-jss/dist/react-jss.min' {
declare module.exports: any;
}
declare module 'react-jss/lib/compose' {
declare module.exports: any;
}
declare module 'react-jss/lib/compose.test' {
declare module.exports: any;
}
declare module 'react-jss/lib/contextTypes' {
declare module.exports: any;
}
declare module 'react-jss/lib/createHoc' {
declare module.exports: any;
}
declare module 'react-jss/lib/getDisplayName' {
declare module.exports: any;
}
declare module 'react-jss/lib/index' {
declare module.exports: any;
}
declare module 'react-jss/lib/index.test' {
declare module.exports: any;
}
declare module 'react-jss/lib/injectSheet' {
declare module.exports: any;
}
declare module 'react-jss/lib/injectSheet.test' {
declare module.exports: any;
}
declare module 'react-jss/lib/jss' {
declare module.exports: any;
}
declare module 'react-jss/lib/JssProvider' {
declare module.exports: any;
}
declare module 'react-jss/lib/JssProvider.test' {
declare module.exports: any;
}
declare module 'react-jss/lib/ns' {
declare module.exports: any;
}
declare module 'react-jss/lib/propTypes' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-jss/dist/react-jss.js' {
declare module.exports: $Exports<'react-jss/dist/react-jss'>;
}
declare module 'react-jss/dist/react-jss.min.js' {
declare module.exports: $Exports<'react-jss/dist/react-jss.min'>;
}
declare module 'react-jss/lib/compose.js' {
declare module.exports: $Exports<'react-jss/lib/compose'>;
}
declare module 'react-jss/lib/compose.test.js' {
declare module.exports: $Exports<'react-jss/lib/compose.test'>;
}
declare module 'react-jss/lib/contextTypes.js' {
declare module.exports: $Exports<'react-jss/lib/contextTypes'>;
}
declare module 'react-jss/lib/createHoc.js' {
declare module.exports: $Exports<'react-jss/lib/createHoc'>;
}
declare module 'react-jss/lib/getDisplayName.js' {
declare module.exports: $Exports<'react-jss/lib/getDisplayName'>;
}
declare module 'react-jss/lib/index.js' {
declare module.exports: $Exports<'react-jss/lib/index'>;
}
declare module 'react-jss/lib/index.test.js' {
declare module.exports: $Exports<'react-jss/lib/index.test'>;
}
declare module 'react-jss/lib/injectSheet.js' {
declare module.exports: $Exports<'react-jss/lib/injectSheet'>;
}
declare module 'react-jss/lib/injectSheet.test.js' {
declare module.exports: $Exports<'react-jss/lib/injectSheet.test'>;
}
declare module 'react-jss/lib/jss.js' {
declare module.exports: $Exports<'react-jss/lib/jss'>;
}
declare module 'react-jss/lib/JssProvider.js' {
declare module.exports: $Exports<'react-jss/lib/JssProvider'>;
}
declare module 'react-jss/lib/JssProvider.test.js' {
declare module.exports: $Exports<'react-jss/lib/JssProvider.test'>;
}
declare module 'react-jss/lib/ns.js' {
declare module.exports: $Exports<'react-jss/lib/ns'>;
}
declare module 'react-jss/lib/propTypes.js' {
declare module.exports: $Exports<'react-jss/lib/propTypes'>;
}

View File

@@ -0,0 +1,123 @@
// flow-typed signature: 6bcbadac27a01caf160321668f1e53ce
// flow-typed version: <<STUB>>/react-markdown_v4.2.2/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'react-markdown'
*
* 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 'react-markdown' {
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 'react-markdown/lib/ast-to-react' {
declare module.exports: any;
}
declare module 'react-markdown/lib/get-definitions' {
declare module.exports: any;
}
declare module 'react-markdown/lib/plugins/disallow-node' {
declare module.exports: any;
}
declare module 'react-markdown/lib/plugins/html-parser' {
declare module.exports: any;
}
declare module 'react-markdown/lib/plugins/naive-html' {
declare module.exports: any;
}
declare module 'react-markdown/lib/react-markdown' {
declare module.exports: any;
}
declare module 'react-markdown/lib/renderers' {
declare module.exports: any;
}
declare module 'react-markdown/lib/symbols' {
declare module.exports: any;
}
declare module 'react-markdown/lib/uri-transformer' {
declare module.exports: any;
}
declare module 'react-markdown/lib/with-html' {
declare module.exports: any;
}
declare module 'react-markdown/lib/wrap-table-rows' {
declare module.exports: any;
}
declare module 'react-markdown/plugins/html-parser' {
declare module.exports: any;
}
declare module 'react-markdown/umd/react-markdown' {
declare module.exports: any;
}
declare module 'react-markdown/with-html' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-markdown/lib/ast-to-react.js' {
declare module.exports: $Exports<'react-markdown/lib/ast-to-react'>;
}
declare module 'react-markdown/lib/get-definitions.js' {
declare module.exports: $Exports<'react-markdown/lib/get-definitions'>;
}
declare module 'react-markdown/lib/plugins/disallow-node.js' {
declare module.exports: $Exports<'react-markdown/lib/plugins/disallow-node'>;
}
declare module 'react-markdown/lib/plugins/html-parser.js' {
declare module.exports: $Exports<'react-markdown/lib/plugins/html-parser'>;
}
declare module 'react-markdown/lib/plugins/naive-html.js' {
declare module.exports: $Exports<'react-markdown/lib/plugins/naive-html'>;
}
declare module 'react-markdown/lib/react-markdown.js' {
declare module.exports: $Exports<'react-markdown/lib/react-markdown'>;
}
declare module 'react-markdown/lib/renderers.js' {
declare module.exports: $Exports<'react-markdown/lib/renderers'>;
}
declare module 'react-markdown/lib/symbols.js' {
declare module.exports: $Exports<'react-markdown/lib/symbols'>;
}
declare module 'react-markdown/lib/uri-transformer.js' {
declare module.exports: $Exports<'react-markdown/lib/uri-transformer'>;
}
declare module 'react-markdown/lib/with-html.js' {
declare module.exports: $Exports<'react-markdown/lib/with-html'>;
}
declare module 'react-markdown/lib/wrap-table-rows.js' {
declare module.exports: $Exports<'react-markdown/lib/wrap-table-rows'>;
}
declare module 'react-markdown/plugins/html-parser.js' {
declare module.exports: $Exports<'react-markdown/plugins/html-parser'>;
}
declare module 'react-markdown/umd/react-markdown.js' {
declare module.exports: $Exports<'react-markdown/umd/react-markdown'>;
}
declare module 'react-markdown/with-html.js' {
declare module.exports: $Exports<'react-markdown/with-html'>;
}

View File

@@ -0,0 +1,280 @@
// flow-typed signature: 17b48cc5220dae9fdc0e9614a532a47b
// flow-typed version: c6154227d1/react-redux_v5.x.x/flow_>=v0.104.x
/**
The order of type arguments for connect() is as follows:
connect<Props, OwnProps, StateProps, DispatchProps, State, Dispatch>(…)
In Flow v0.89 only the first two are mandatory to specify. Other 4 can be repaced with the new awesome type placeholder:
connect<Props, OwnProps, _, _, _, _>(…)
But beware, in case of weird type errors somewhere in random places
just type everything and get to a green field and only then try to
remove the definitions you see bogus.
Decrypting the abbreviations:
WC = Component being wrapped
S = State
D = Dispatch
OP = OwnProps
SP = StateProps
DP = DispatchProps
MP = Merge props
RSP = Returned state props
RDP = Returned dispatch props
RMP = Returned merge props
CP = Props for returned component
Com = React Component
ST = Static properties of Com
EFO = Extra factory options (used only in connectAdvanced)
*/
declare module "react-redux" {
// ------------------------------------------------------------
// Typings for connect()
// ------------------------------------------------------------
declare export type Options<S, OP, SP, MP> = {|
pure?: boolean,
withRef?: boolean,
areStatesEqual?: (next: S, prev: S) => boolean,
areOwnPropsEqual?: (next: OP, prev: OP) => boolean,
areStatePropsEqual?: (next: SP, prev: SP) => boolean,
areMergedPropsEqual?: (next: MP, prev: MP) => boolean,
storeKey?: string,
|};
declare type MapStateToProps<-S, -OP, +SP> =
| ((state: S, ownProps: OP) => SP)
// If you want to use the factory function but get a strange error
// like "function is not an object" then just type the factory function
// like this:
// const factory: (State, OwnProps) => (State, OwnProps) => StateProps
// and provide the StateProps type to the SP type parameter.
| ((state: S, ownProps: OP) => (state: S, ownProps: OP) => SP);
declare type Bind<D> = <A, R>((...A) => R) => (...A) => $Call<D, R>;
declare type MapDispatchToPropsFn<D, -OP, +DP> =
| ((dispatch: D, ownProps: OP) => DP)
// If you want to use the factory function but get a strange error
// like "function is not an object" then just type the factory function
// like this:
// const factory: (Dispatch, OwnProps) => (Dispatch, OwnProps) => DispatchProps
// and provide the DispatchProps type to the DP type parameter.
| ((dispatch: D, ownProps: OP) => (dispatch: D, ownProps: OP) => DP);
declare class ConnectedComponent<OP, +WC> extends React$Component<OP> {
static +WrappedComponent: WC;
getWrappedInstance(): React$ElementRef<WC>;
}
// The connection of the Wrapped Component and the Connected Component
// happens here in `MP: P`. It means that type wise MP belongs to P,
// so to say MP >= P.
declare type Connector<P, OP, MP: P> = <WC: React$ComponentType<P>>(
WC,
) => Class<ConnectedComponent<OP, WC>> & WC;
// No `mergeProps` argument
// Got error like inexact OwnProps is incompatible with exact object type?
// Just make the OP parameter for `connect()` an exact object.
declare type MergeOP<OP, D> = {| ...$Exact<OP>, dispatch: D |};
declare type MergeOPSP<OP, SP, D> = {| ...$Exact<OP>, ...SP, dispatch: D |};
declare type MergeOPDP<OP, DP> = {| ...$Exact<OP>, ...DP |};
declare type MergeOPSPDP<OP, SP, DP> = {| ...$Exact<OP>, ...SP, ...DP |};
declare export function connect<-P, -OP, -SP, -DP, -S, -D>(
mapStateToProps?: null | void,
mapDispatchToProps?: null | void,
mergeProps?: null | void,
options?: ?Options<S, OP, {||}, MergeOP<OP, D>>,
): Connector<P, OP, MergeOP<OP, D>>;
declare export function connect<-P, -OP, -SP, -DP, -S, -D>(
// If you get error here try adding return type to your mapStateToProps function
mapStateToProps: MapStateToProps<S, OP, SP>,
mapDispatchToProps?: null | void,
mergeProps?: null | void,
options?: ?Options<S, OP, SP, MergeOPSP<OP, SP, D>>,
): Connector<P, OP, MergeOPSP<OP, SP, D>>;
// In this case DP is an object of functions which has been bound to dispatch
// by the given mapDispatchToProps function.
declare export function connect<-P, -OP, -SP, -DP, S, D>(
mapStateToProps: null | void,
mapDispatchToProps: MapDispatchToPropsFn<D, OP, DP>,
mergeProps?: null | void,
options?: ?Options<S, OP, {||}, MergeOPDP<OP, DP>>,
): Connector<P, OP, MergeOPDP<OP, DP>>;
// In this case DP is an object of action creators not yet bound to dispatch,
// this difference is not important in the vanila redux,
// but in case of usage with redux-thunk, the return type may differ.
declare export function connect<-P, -OP, -SP, -DP, S, D>(
mapStateToProps: null | void,
mapDispatchToProps: DP,
mergeProps?: null | void,
options?: ?Options<S, OP, {||}, MergeOPDP<OP, DP>>,
): Connector<P, OP, MergeOPDP<OP, $ObjMap<DP, Bind<D>>>>;
declare export function connect<-P, -OP, -SP, -DP, S, D>(
// If you get error here try adding return type to your mapStateToProps function
mapStateToProps: MapStateToProps<S, OP, SP>,
mapDispatchToProps: MapDispatchToPropsFn<D, OP, DP>,
mergeProps?: null | void,
options?: ?Options<S, OP, SP, {| ...OP, ...SP, ...DP |}>,
): Connector<P, OP, {| ...OP, ...SP, ...DP |}>;
declare export function connect<-P, -OP, -SP, -DP, S, D>(
// If you get error here try adding return type to your mapStateToProps function
mapStateToProps: MapStateToProps<S, OP, SP>,
mapDispatchToProps: DP,
mergeProps?: null | void,
options?: ?Options<S, OP, SP, MergeOPSPDP<OP, SP, DP>>,
): Connector<P, OP, MergeOPSPDP<OP, SP, $ObjMap<DP, Bind<D>>>>;
// With `mergeProps` argument
declare type MergeProps<+P, -OP, -SP, -DP> = (
stateProps: SP,
dispatchProps: DP,
ownProps: OP,
) => P;
declare export function connect<-P, -OP, -SP: {||}, -DP: {||}, S, D>(
mapStateToProps: null | void,
mapDispatchToProps: null | void,
// If you get error here try adding return type to you mapStateToProps function
mergeProps: MergeProps<P, OP, {||}, {| dispatch: D |}>,
options?: ?Options<S, OP, {||}, P>,
): Connector<P, OP, P>;
declare export function connect<-P, -OP, -SP, -DP: {||}, S, D>(
mapStateToProps: MapStateToProps<S, OP, SP>,
mapDispatchToProps: null | void,
// If you get error here try adding return type to you mapStateToProps function
mergeProps: MergeProps<P, OP, SP, {| dispatch: D |}>,
options?: ?Options<S, OP, SP, P>,
): Connector<P, OP, P>;
// In this case DP is an object of functions which has been bound to dispatch
// by the given mapDispatchToProps function.
declare export function connect<-P, -OP, -SP: {||}, -DP, S, D>(
mapStateToProps: null | void,
mapDispatchToProps: MapDispatchToPropsFn<D, OP, DP>,
mergeProps: MergeProps<P, OP, {||}, DP>,
options?: ?Options<S, OP, {||}, P>,
): Connector<P, OP, P>;
// In this case DP is an object of action creators not yet bound to dispatch,
// this difference is not important in the vanila redux,
// but in case of usage with redux-thunk, the return type may differ.
declare export function connect<-P, -OP, -SP: {||}, -DP, S, D>(
mapStateToProps: null | void,
mapDispatchToProps: DP,
mergeProps: MergeProps<P, OP, {||}, $ObjMap<DP, Bind<D>>>,
options?: ?Options<S, OP, {||}, P>,
): Connector<P, OP, P>;
// In this case DP is an object of functions which has been bound to dispatch
// by the given mapDispatchToProps function.
declare export function connect<-P, -OP, -SP, -DP, S, D>(
mapStateToProps: MapStateToProps<S, OP, SP>,
mapDispatchToProps: MapDispatchToPropsFn<D, OP, DP>,
mergeProps: MergeProps<P, OP, SP, DP>,
options?: ?Options<S, OP, SP, P>,
): Connector<P, OP, P>;
// In this case DP is an object of action creators not yet bound to dispatch,
// this difference is not important in the vanila redux,
// but in case of usage with redux-thunk, the return type may differ.
declare export function connect<-P, -OP, -SP, -DP, S, D>(
mapStateToProps: MapStateToProps<S, OP, SP>,
mapDispatchToProps: DP,
mergeProps: MergeProps<P, OP, SP, $ObjMap<DP, Bind<D>>>,
options?: ?Options<S, OP, SP, P>,
): Connector<P, OP, P>;
// ------------------------------------------------------------
// Typings for Provider
// ------------------------------------------------------------
declare export class Provider<Store> extends React$Component<{
store: Store,
children?: React$Node,
...
}> {}
declare export function createProvider(
storeKey?: string,
subKey?: string,
): Class<Provider<*>>;
// ------------------------------------------------------------
// Typings for connectAdvanced()
// ------------------------------------------------------------
declare type ConnectAdvancedOptions = {
getDisplayName?: (name: string) => string,
methodName?: string,
renderCountProp?: string,
shouldHandleStateChanges?: boolean,
storeKey?: string,
withRef?: boolean,
...
};
declare type SelectorFactoryOptions<Com> = {
getDisplayName: (name: string) => string,
methodName: string,
renderCountProp: ?string,
shouldHandleStateChanges: boolean,
storeKey: string,
withRef: boolean,
displayName: string,
wrappedComponentName: string,
WrappedComponent: Com,
...
};
declare type MapStateToPropsEx<S: Object, SP: Object, RSP: Object> = (
state: S,
props: SP,
) => RSP;
declare type SelectorFactory<
Com: React$ComponentType<*>,
Dispatch,
S: Object,
OP: Object,
EFO: Object,
CP: Object,
> = (
dispatch: Dispatch,
factoryOptions: SelectorFactoryOptions<Com> & EFO,
) => MapStateToPropsEx<S, OP, CP>;
declare export function connectAdvanced<
Com: React$ComponentType<*>,
D,
S: Object,
OP: Object,
CP: Object,
EFO: Object,
ST: { [_: $Keys<Com>]: any, ... },
>(
selectorFactory: SelectorFactory<Com, D, S, OP, EFO, CP>,
connectAdvancedOptions: ?(ConnectAdvancedOptions & EFO),
): (component: Com) => React$ComponentType<OP> & $Shape<ST>;
declare export default {
Provider: typeof Provider,
createProvider: typeof createProvider,
connect: typeof connect,
connectAdvanced: typeof connectAdvanced,
...
};
}

View File

@@ -0,0 +1,182 @@
// flow-typed signature: 0bc486c8fc04d0bb37efa138223e4f67
// flow-typed version: c6154227d1/react-router-dom_v4.x.x/flow_>=v0.104.x
declare module "react-router-dom" {
declare export var BrowserRouter: React$ComponentType<{|
basename?: string,
forceRefresh?: boolean,
getUserConfirmation?: GetUserConfirmation,
keyLength?: number,
children?: React$Node
|}>
declare export var HashRouter: React$ComponentType<{|
basename?: string,
getUserConfirmation?: GetUserConfirmation,
hashType?: "slash" | "noslash" | "hashbang",
children?: React$Node
|}>
declare export var Link: React$ComponentType<{
className?: string,
to: string | LocationShape,
replace?: boolean,
children?: React$Node,
...
}>
declare export var NavLink: React$ComponentType<{
to: string | LocationShape,
activeClassName?: string,
className?: string,
activeStyle?: Object,
style?: Object,
isActive?: (match: Match, location: Location) => boolean,
children?: React$Node,
exact?: boolean,
strict?: boolean,
...
}>
// 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) => boolean,
block(
callback: string | (location: Location, action: HistoryAction) => ?string
): () => void,
// createMemoryHistory
index?: number,
entries?: Array<Location>,
...
};
declare export type Match = {
params: { [key: string]: ?string, ... },
isExact: boolean,
path: string,
url: string,
...
};
declare export type ContextRouter = {|
history: RouterHistory,
location: Location,
match: Match,
staticContext?: StaticRouterContext
|};
declare type ContextRouterVoid = {
history: RouterHistory | void,
location: Location | void,
match: Match | void,
staticContext?: StaticRouterContext | void,
...
};
declare export type GetUserConfirmation = (
message: string,
callback: (confirmed: boolean) => void
) => void;
declare export type StaticRouterContext = { url?: string, ... };
declare export var StaticRouter: React$ComponentType<{|
basename?: string,
location?: string | Location,
context: StaticRouterContext,
children?: React$Node
|}>
declare export var MemoryRouter: React$ComponentType<{|
initialEntries?: Array<LocationShape | string>,
initialIndex?: number,
getUserConfirmation?: GetUserConfirmation,
keyLength?: number,
children?: React$Node
|}>
declare export var Router: React$ComponentType<{|
history: RouterHistory,
children?: React$Node
|}>
declare export var Prompt: React$ComponentType<{|
message: string | ((location: Location) => string | boolean),
when?: boolean
|}>
declare export var Redirect: React$ComponentType<{|
to: string | LocationShape,
push?: boolean,
from?: string,
exact?: boolean,
strict?: boolean
|}>
declare export var Route: React$ComponentType<{|
component?: React$ComponentType<*>,
render?: (router: ContextRouter) => React$Node,
children?: React$ComponentType<ContextRouter> | React$Node,
path?: string | Array<string>,
exact?: boolean,
strict?: boolean,
location?: LocationShape,
sensitive?: boolean
|}>
declare export var Switch: React$ComponentType<{|
children?: React$Node,
location?: Location
|}>
declare export function withRouter<Props: {...}, Component: React$ComponentType<Props>>(
WrappedComponent: Component
): React$ComponentType<$Diff<React$ElementConfig<Component>, ContextRouterVoid>>;
declare type MatchPathOptions = {
path?: string,
exact?: boolean,
sensitive?: boolean,
strict?: boolean,
...
};
declare export function matchPath(
pathname: string,
options?: MatchPathOptions | string,
parent?: Match
): null | Match;
declare export function generatePath(pattern?: string, params?: Object): string;
}

View File

@@ -0,0 +1,56 @@
// flow-typed signature: 030a0d51d7da2db8716b0c796bcd8992
// flow-typed version: <<STUB>>/react-router-enzyme-context_v1.2.0/flow_v0.109.0
/**
* This is an autogenerated libdef stub for:
*
* 'react-router-enzyme-context'
*
* 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 'react-router-enzyme-context' {
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 'react-router-enzyme-context/dist/react-router-enzyme-context.cjs' {
declare module.exports: any;
}
declare module 'react-router-enzyme-context/dist/react-router-enzyme-context.esm' {
declare module.exports: any;
}
declare module 'react-router-enzyme-context/rollup.config' {
declare module.exports: any;
}
declare module 'react-router-enzyme-context/src' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-router-enzyme-context/dist/react-router-enzyme-context.cjs.js' {
declare module.exports: $Exports<'react-router-enzyme-context/dist/react-router-enzyme-context.cjs'>;
}
declare module 'react-router-enzyme-context/dist/react-router-enzyme-context.esm.js' {
declare module.exports: $Exports<'react-router-enzyme-context/dist/react-router-enzyme-context.esm'>;
}
declare module 'react-router-enzyme-context/rollup.config.js' {
declare module.exports: $Exports<'react-router-enzyme-context/rollup.config'>;
}
declare module 'react-router-enzyme-context/src/index' {
declare module.exports: $Exports<'react-router-enzyme-context/src'>;
}
declare module 'react-router-enzyme-context/src/index.js' {
declare module.exports: $Exports<'react-router-enzyme-context/src'>;
}

Some files were not shown because too many files have changed in this diff Show More