add packages

This commit is contained in:
41666 2019-03-10 15:20:20 -05:00
parent 5f75051af3
commit 02a66ee7b0
10 changed files with 497 additions and 276 deletions

View file

@ -0,0 +1,32 @@
// flow-typed signature: 61486cb068ce21681d4e2d2640db10f1
// flow-typed version: <<STUB>>/@babel/plugin-proposal-class-properties_v^7.3.4/flow_v0.94.0
/**
* This is an autogenerated libdef stub for:
*
* '@babel/plugin-proposal-class-properties'
*
* 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 '@babel/plugin-proposal-class-properties' {
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 '@babel/plugin-proposal-class-properties/lib/index' {
declare module.exports: any;
}
// Filename aliases
declare module '@babel/plugin-proposal-class-properties/lib/index.js' {
declare module.exports: $Exports<'@babel/plugin-proposal-class-properties/lib/index'>;
}

View file

@ -0,0 +1,32 @@
// flow-typed signature: 20310e09a07d4f506d102ac15f99ee77
// flow-typed version: <<STUB>>/@babel/plugin-syntax-dynamic-import_v^7.2.0/flow_v0.94.0
/**
* This is an autogenerated libdef stub for:
*
* '@babel/plugin-syntax-dynamic-import'
*
* 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 '@babel/plugin-syntax-dynamic-import' {
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 '@babel/plugin-syntax-dynamic-import/lib/index' {
declare module.exports: any;
}
// Filename aliases
declare module '@babel/plugin-syntax-dynamic-import/lib/index.js' {
declare module.exports: $Exports<'@babel/plugin-syntax-dynamic-import/lib/index'>;
}

View file

@ -0,0 +1,39 @@
// flow-typed signature: 3bbc69696c5abbcf0994313535fff166
// flow-typed version: <<STUB>>/@babel/plugin-transform-runtime_v^7.3.4/flow_v0.94.0
/**
* This is an autogenerated libdef stub for:
*
* '@babel/plugin-transform-runtime'
*
* 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 '@babel/plugin-transform-runtime' {
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 '@babel/plugin-transform-runtime/lib/definitions' {
declare module.exports: any;
}
declare module '@babel/plugin-transform-runtime/lib/index' {
declare module.exports: any;
}
// Filename aliases
declare module '@babel/plugin-transform-runtime/lib/definitions.js' {
declare module.exports: $Exports<'@babel/plugin-transform-runtime/lib/definitions'>;
}
declare module '@babel/plugin-transform-runtime/lib/index.js' {
declare module.exports: $Exports<'@babel/plugin-transform-runtime/lib/index'>;
}

View file

@ -1,14 +1,9 @@
// flow-typed signature: 32108e9dd6c40b60d7f9e87368b6f966
// flow-typed version: 5a6a98aaa2/koa_v2.x.x/flow_>=v0.93.x
// flow-typed signature: 22454723de346388533aa45cab75d46c
// flow-typed version: 5a6a98aaa2/koa_v2.0.x/flow_>=v0.93.x
/*
* Type def from from source code of koa.
* this: https://github.com/koajs/koa/commit/08eb1a20c3975230aa1fe1c693b0cd1ac7a0752b
* previous: https://github.com/koajs/koa/commit/fabf5864c6a5dca0782b867a263b1b0825a05bf9
*
* Changelog
* breaking: remove unused app.name
* breaking: ctx.throw([status], [msg], [properties]) (caused by http-errors (#957) )
* this: https://github.com/koajs/koa/commit/fabf5864c6a5dca0782b867a263b1b0825a05bf9
**/
declare module 'koa' {
// Currently, import type doesn't work well ?
@ -145,7 +140,7 @@ declare module 'koa' {
request: Request,
// docs/api/response.md#L113.
body: string | Buffer | stream$Stream | JSONObject | JSONArray | null, // JSON contains null
body: string | Buffer | stream$Stream | JSONObject | null, // JSON contains null
etag: string,
header: SimpleHeader,
headers: SimpleHeader, // alias as header
@ -232,8 +227,10 @@ declare module 'koa' {
// context.js#L107
// if (!(err instanceof Error)) err = new Error(`non-error thrown: ${err}`);
onerror: (err?: mixed) => void,
// context.md#L88
throw: ( status: number, msg?: string, opts?: {} ) => void,
// context.js#L70
throw: (( statusOrErr: string|number|Error, errOrStatus?: string|number|Error,
opts?: {}) => void) &
(( statusOrErr: string|number|Error, opts?: Object) => void),
toJSON(): ContextJSON,
inspect(): ContextJSON,
@ -286,7 +283,7 @@ declare module 'koa' {
ips: $PropertyType<Request, 'ips'>,
ip: $PropertyType<Request, 'ip'>,
[key: string]: any, // props added by middlewares.
[key: string]: mixed, // props added by middlewares.
}
declare type Middleware =
@ -303,6 +300,7 @@ declare module 'koa' {
env: string,
keys?: Array<string>|Object, // https://github.com/crypto-utils/keygrip
middleware: Array<Middleware>,
name?: string, // optionally give your application a name
proxy: boolean, // when true proxy header fields will be trusted
request: Request,
response: Response,

46
flow-typed/npm/moniker_vx.x.x.js vendored Normal file
View file

@ -0,0 +1,46 @@
// flow-typed signature: b9bbac2d921d981dee699950c817f667
// flow-typed version: <<STUB>>/moniker_v^0.1.2/flow_v0.94.0
/**
* This is an autogenerated libdef stub for:
*
* 'moniker'
*
* 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 'moniker' {
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 'moniker/examples/moniker' {
declare module.exports: any;
}
declare module 'moniker/lib/moniker' {
declare module.exports: any;
}
declare module 'moniker/test/moniker' {
declare module.exports: any;
}
// Filename aliases
declare module 'moniker/examples/moniker.js' {
declare module.exports: $Exports<'moniker/examples/moniker'>;
}
declare module 'moniker/lib/moniker.js' {
declare module.exports: $Exports<'moniker/lib/moniker'>;
}
declare module 'moniker/test/moniker.js' {
declare module.exports: $Exports<'moniker/test/moniker'>;
}

129
flow-typed/npm/nanoid_vx.x.x.js vendored Normal file
View file

@ -0,0 +1,129 @@
// flow-typed signature: 350975d87c3d65817608a49c0e564f85
// flow-typed version: <<STUB>>/nanoid_v^2.0.1/flow_v0.94.0
/**
* This is an autogenerated libdef stub for:
*
* 'nanoid'
*
* 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 'nanoid' {
declare module.exports: (size?: number) => string;
}
/**
* 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 'nanoid/async/format' {
declare module.exports: any;
}
declare module 'nanoid/async/generate' {
declare module.exports: any;
}
declare module 'nanoid/async/index.browser' {
declare module.exports: any;
}
declare module 'nanoid/async/index' {
declare module.exports: any;
}
declare module 'nanoid/async/random.browser' {
declare module.exports: any;
}
declare module 'nanoid/async/random' {
declare module.exports: any;
}
declare module 'nanoid/format' {
declare module.exports: any;
}
declare module 'nanoid/generate' {
declare module.exports: any;
}
declare module 'nanoid/index.browser' {
declare module.exports: any;
}
declare module 'nanoid/non-secure/generate' {
declare module.exports: any;
}
declare module 'nanoid/non-secure/index' {
declare module.exports: any;
}
declare module 'nanoid/random.browser' {
declare module.exports: any;
}
declare module 'nanoid/random' {
declare module.exports: any;
}
declare module 'nanoid/url' {
declare module.exports: any;
}
// Filename aliases
declare module 'nanoid/async/format.js' {
declare module.exports: $Exports<'nanoid/async/format'>;
}
declare module 'nanoid/async/generate.js' {
declare module.exports: $Exports<'nanoid/async/generate'>;
}
declare module 'nanoid/async/index.browser.js' {
declare module.exports: $Exports<'nanoid/async/index.browser'>;
}
declare module 'nanoid/async/index.js' {
declare module.exports: $Exports<'nanoid/async/index'>;
}
declare module 'nanoid/async/random.browser.js' {
declare module.exports: $Exports<'nanoid/async/random.browser'>;
}
declare module 'nanoid/async/random.js' {
declare module.exports: $Exports<'nanoid/async/random'>;
}
declare module 'nanoid/format.js' {
declare module.exports: $Exports<'nanoid/format'>;
}
declare module 'nanoid/generate.js' {
declare module.exports: $Exports<'nanoid/generate'>;
}
declare module 'nanoid/index.browser.js' {
declare module.exports: $Exports<'nanoid/index.browser'>;
}
declare module 'nanoid/index' {
declare module.exports: $Exports<'nanoid'>;
}
declare module 'nanoid/index.js' {
declare module.exports: $Exports<'nanoid'>;
}
declare module 'nanoid/non-secure/generate.js' {
declare module.exports: $Exports<'nanoid/non-secure/generate'>;
}
declare module 'nanoid/non-secure/index.js' {
declare module.exports: $Exports<'nanoid/non-secure/index'>;
}
declare module 'nanoid/random.browser.js' {
declare module.exports: $Exports<'nanoid/random.browser'>;
}
declare module 'nanoid/random.js' {
declare module.exports: $Exports<'nanoid/random'>;
}
declare module 'nanoid/url.js' {
declare module.exports: $Exports<'nanoid/url'>;
}

186
flow-typed/npm/npm-run-all_vx.x.x.js vendored Normal file
View file

@ -0,0 +1,186 @@
// flow-typed signature: 4814d36a4dc8ac2aa10d9a77fb698dd1
// flow-typed version: <<STUB>>/npm-run-all_v^4.1.5/flow_v0.94.0
/**
* This is an autogenerated libdef stub for:
*
* 'npm-run-all'
*
* 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 'npm-run-all' {
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 'npm-run-all/bin/common/bootstrap' {
declare module.exports: any;
}
declare module 'npm-run-all/bin/common/parse-cli-args' {
declare module.exports: any;
}
declare module 'npm-run-all/bin/common/version' {
declare module.exports: any;
}
declare module 'npm-run-all/bin/npm-run-all/help' {
declare module.exports: any;
}
declare module 'npm-run-all/bin/npm-run-all/index' {
declare module.exports: any;
}
declare module 'npm-run-all/bin/npm-run-all/main' {
declare module.exports: any;
}
declare module 'npm-run-all/bin/run-p/help' {
declare module.exports: any;
}
declare module 'npm-run-all/bin/run-p/index' {
declare module.exports: any;
}
declare module 'npm-run-all/bin/run-p/main' {
declare module.exports: any;
}
declare module 'npm-run-all/bin/run-s/help' {
declare module.exports: any;
}
declare module 'npm-run-all/bin/run-s/index' {
declare module.exports: any;
}
declare module 'npm-run-all/bin/run-s/main' {
declare module.exports: any;
}
declare module 'npm-run-all/lib/create-header' {
declare module.exports: any;
}
declare module 'npm-run-all/lib/create-prefix-transform-stream' {
declare module.exports: any;
}
declare module 'npm-run-all/lib/index' {
declare module.exports: any;
}
declare module 'npm-run-all/lib/match-tasks' {
declare module.exports: any;
}
declare module 'npm-run-all/lib/npm-run-all-error' {
declare module.exports: any;
}
declare module 'npm-run-all/lib/read-package-json' {
declare module.exports: any;
}
declare module 'npm-run-all/lib/run-task' {
declare module.exports: any;
}
declare module 'npm-run-all/lib/run-tasks' {
declare module.exports: any;
}
declare module 'npm-run-all/lib/spawn-posix' {
declare module.exports: any;
}
declare module 'npm-run-all/lib/spawn-win32' {
declare module.exports: any;
}
declare module 'npm-run-all/lib/spawn' {
declare module.exports: any;
}
// Filename aliases
declare module 'npm-run-all/bin/common/bootstrap.js' {
declare module.exports: $Exports<'npm-run-all/bin/common/bootstrap'>;
}
declare module 'npm-run-all/bin/common/parse-cli-args.js' {
declare module.exports: $Exports<'npm-run-all/bin/common/parse-cli-args'>;
}
declare module 'npm-run-all/bin/common/version.js' {
declare module.exports: $Exports<'npm-run-all/bin/common/version'>;
}
declare module 'npm-run-all/bin/npm-run-all/help.js' {
declare module.exports: $Exports<'npm-run-all/bin/npm-run-all/help'>;
}
declare module 'npm-run-all/bin/npm-run-all/index.js' {
declare module.exports: $Exports<'npm-run-all/bin/npm-run-all/index'>;
}
declare module 'npm-run-all/bin/npm-run-all/main.js' {
declare module.exports: $Exports<'npm-run-all/bin/npm-run-all/main'>;
}
declare module 'npm-run-all/bin/run-p/help.js' {
declare module.exports: $Exports<'npm-run-all/bin/run-p/help'>;
}
declare module 'npm-run-all/bin/run-p/index.js' {
declare module.exports: $Exports<'npm-run-all/bin/run-p/index'>;
}
declare module 'npm-run-all/bin/run-p/main.js' {
declare module.exports: $Exports<'npm-run-all/bin/run-p/main'>;
}
declare module 'npm-run-all/bin/run-s/help.js' {
declare module.exports: $Exports<'npm-run-all/bin/run-s/help'>;
}
declare module 'npm-run-all/bin/run-s/index.js' {
declare module.exports: $Exports<'npm-run-all/bin/run-s/index'>;
}
declare module 'npm-run-all/bin/run-s/main.js' {
declare module.exports: $Exports<'npm-run-all/bin/run-s/main'>;
}
declare module 'npm-run-all/lib/create-header.js' {
declare module.exports: $Exports<'npm-run-all/lib/create-header'>;
}
declare module 'npm-run-all/lib/create-prefix-transform-stream.js' {
declare module.exports: $Exports<'npm-run-all/lib/create-prefix-transform-stream'>;
}
declare module 'npm-run-all/lib/index.js' {
declare module.exports: $Exports<'npm-run-all/lib/index'>;
}
declare module 'npm-run-all/lib/match-tasks.js' {
declare module.exports: $Exports<'npm-run-all/lib/match-tasks'>;
}
declare module 'npm-run-all/lib/npm-run-all-error.js' {
declare module.exports: $Exports<'npm-run-all/lib/npm-run-all-error'>;
}
declare module 'npm-run-all/lib/read-package-json.js' {
declare module.exports: $Exports<'npm-run-all/lib/read-package-json'>;
}
declare module 'npm-run-all/lib/run-task.js' {
declare module.exports: $Exports<'npm-run-all/lib/run-task'>;
}
declare module 'npm-run-all/lib/run-tasks.js' {
declare module.exports: $Exports<'npm-run-all/lib/run-tasks'>;
}
declare module 'npm-run-all/lib/spawn-posix.js' {
declare module.exports: $Exports<'npm-run-all/lib/spawn-posix'>;
}
declare module 'npm-run-all/lib/spawn-win32.js' {
declare module.exports: $Exports<'npm-run-all/lib/spawn-win32'>;
}
declare module 'npm-run-all/lib/spawn.js' {
declare module.exports: $Exports<'npm-run-all/lib/spawn'>;
}