Compare commits

...

17 Commits

Author SHA1 Message Date
Tom Moor 0ed4ee4295 ts: 415 errors 2020-12-29 13:44:16 -08:00
Tom Moor 5f6bea5cde ts: server and shared compiles in non-strict 2020-12-29 13:31:59 -08:00
Tom Moor 78d7dd077e ts: root, presenters, test 2020-12-29 13:11:36 -08:00
Tom Moor aa29a96cd0 ts: auth, api, utils 2020-12-29 13:07:18 -08:00
Tom Moor e81605fb9d ts: middlewares, emails, commands 2020-12-29 13:05:55 -08:00
Tom Moor d67d1e3f9b ts: policies, services 2020-12-29 13:04:32 -08:00
Tom Moor db79a2cd1e ts: models 2020-12-29 13:03:20 -08:00
Tom Moor d4bb04e921 fix: Handle linked documents destroyed when document is published
closes #1739
2020-12-29 10:32:09 -08:00
Nan Yu 8a3a279c0e Merge branch 'develop' of github.com:outline/outline into develop 2020-12-28 21:35:37 -08:00
Nan Yu 37f2cc8d55 closes #1752 2020-12-28 21:35:13 -08:00
Gustavo Maronato 89903b4bbe feat: Compress avatar images before upload (#1751)
* compress avatar images before upload

* move compressImage to dedicated file

* Update ImageUpload.js
2020-12-28 21:08:10 -08:00
Malek Hijazi b6ab816bb3 feat: command to upgrade outline (#1727)
* Add upgrade script to package.json

* Update the docs to include docker and yarn guides
2020-12-25 15:23:55 -08:00
Tom Moor ac1120914a fix: Unable to delete archived and templated documents (#1749)
closes #1746
2020-12-24 13:28:08 -08:00
Tom Moor ea57cef89c fix: Reduce double reporting of errors 2020-12-21 21:10:25 -08:00
Translate-O-Tron 7d44e1aeeb New Crowdin updates (#1725)
* fix: New Japanese translations from Crowdin [ci skip]

* fix: New Japanese translations from Crowdin [ci skip]

* fix: New Japanese translations from Crowdin [ci skip]

* fix: New Japanese translations from Crowdin [ci skip]

* fix: New French translations from Crowdin [ci skip]

* fix: New Spanish translations from Crowdin [ci skip]

* fix: New German translations from Crowdin [ci skip]

* fix: New Japanese translations from Crowdin [ci skip]

* fix: New Portuguese translations from Crowdin [ci skip]

* fix: New Russian translations from Crowdin [ci skip]

* fix: New Chinese Simplified translations from Crowdin [ci skip]

* fix: New Portuguese, Brazilian translations from Crowdin [ci skip]

* fix: New Korean translations from Crowdin [ci skip]

* fix: New Japanese translations from Crowdin [ci skip]

* fix: New Japanese translations from Crowdin [ci skip]

* fix: New German translations from Crowdin [ci skip]

* fix: New Japanese translations from Crowdin [ci skip]

* fix: New Portuguese translations from Crowdin [ci skip]

* fix: New Portuguese, Brazilian translations from Crowdin [ci skip]

* fix: New Spanish translations from Crowdin [ci skip]

* fix: New Japanese translations from Crowdin [ci skip]

* fix: New Japanese translations from Crowdin [ci skip]

* fix: New Portuguese, Brazilian translations from Crowdin [ci skip]

* fix: New Spanish translations from Crowdin [ci skip]

* fix: New Spanish translations from Crowdin [ci skip]
2020-12-21 19:28:41 -08:00
Tom Moor 25d5ad8a7e chore: Enable automatic generation of email server in non production environments (#1731) 2020-12-21 19:27:14 -08:00
dependabot[bot] e34ba1457e chore(deps): bump node-notifier from 8.0.0 to 8.0.1 (#1734)
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases)
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md)
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-21 19:26:12 -08:00
342 changed files with 1722 additions and 40981 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{
"presets": [
"@babel/preset-react",
"@babel/preset-flow",
"@babel/preset-typescript",
[
"@babel/preset-env",
{
+1 -1
View File
@@ -18,7 +18,7 @@ PORT=3000
FORCE_HTTPS=true
ENABLE_UPDATES=true
DEBUG=cache,presenters,events
DEBUG=cache,presenters,events,emails,mailer,utils,multiplayer,server,services
# Third party signin credentials (at least one is required)
SLACK_KEY=get_a_key_from_slack
+14
View File
@@ -75,6 +75,20 @@ In development you can quickly get an environment running using Docker by follow
1. Ensure that the bot token scope contains at least `users:read`
1. Run `make up`. This will download dependencies, build and launch a development version of Outline
### Upgrade
#### Docker
If you're running Outline with Docker you'll need to run migrations within the docker container after updating the image. The command will be something like:
```
docker run --rm outlinewiki/outline:latest yarn sequelize:migrate
```
#### Yarn
If you're running Outline by cloning this repository, run the following command to upgrade:
```
yarn upgrade
```
## Development
+5 -3
View File
@@ -51,9 +51,11 @@ class NewChildDocumentMenu extends React.Component<Props> {
items={[
{
title: (
<Trans>
New document in <strong>{{ collectionName }}</strong>
</Trans>
<span>
<Trans>
New document in <strong>{{ collectionName }}</strong>
</Trans>
</span>
),
onClick: this.handleNewDocument,
},
@@ -10,6 +10,7 @@ import Button from "components/Button";
import Flex from "components/Flex";
import LoadingIndicator from "components/LoadingIndicator";
import Modal from "components/Modal";
import { compressImage } from "utils/compressImage";
import { uploadFile, dataUrlToBlob } from "utils/uploadFile";
const EMPTY_OBJECT = {};
@@ -53,7 +54,11 @@ class ImageUpload extends React.Component<Props> {
const canvas = this.avatarEditorRef.getImage();
const imageBlob = dataUrlToBlob(canvas.toDataURL());
try {
const attachment = await uploadFile(imageBlob, {
const compressed = await compressImage(imageBlob, {
maxHeight: 512,
maxWidth: 512,
});
const attachment = await uploadFile(compressed, {
name: this.file.name,
public: true,
});
-1
View File
@@ -28,7 +28,6 @@ class UserDelete extends React.Component<Props> {
this.props.auth.logout();
} catch (error) {
this.props.ui.showToast(error.message);
throw error;
} finally {
this.isDeleting = false;
}
+10
View File
@@ -5,10 +5,12 @@ import stores from "stores";
import download from "./download";
import {
AuthorizationError,
BadRequestError,
NetworkError,
NotFoundError,
OfflineError,
RequestError,
ServiceUnavailableError,
UpdateRequiredError,
} from "./errors";
@@ -141,6 +143,10 @@ class ApiClient {
throw new UpdateRequiredError(error.message);
}
if (response.status === 400) {
throw new BadRequestError(error.message);
}
if (response.status === 403) {
throw new AuthorizationError(error.message);
}
@@ -149,6 +155,10 @@ class ApiClient {
throw new NotFoundError(error.message);
}
if (response.status === 503) {
throw new ServiceUnavailableError(error.message);
}
throw new RequestError(error.message);
};
+17
View File
@@ -0,0 +1,17 @@
// @flow
import Compressor from "compressorjs";
type Options = Omit<Compressor.Options, "success" | "error">;
export const compressImage = async (
file: File | Blob,
options?: Options
): Promise<Blob> => {
return new Promise((resolve, reject) => {
new Compressor(file, {
...options,
success: resolve,
error: reject,
});
});
};
+2
View File
@@ -2,8 +2,10 @@
import ExtendableError from "es6-error";
export class AuthorizationError extends ExtendableError {}
export class BadRequestError extends ExtendableError {}
export class NetworkError extends ExtendableError {}
export class NotFoundError extends ExtendableError {}
export class OfflineError extends ExtendableError {}
export class ServiceUnavailableError extends ExtendableError {}
export class RequestError extends ExtendableError {}
export class UpdateRequiredError extends ExtendableError {}
-8
View File
@@ -1,8 +0,0 @@
// @flow
declare var process: {
env: {
[string]: string,
},
};
declare var EDITOR_VERSION: string;
-309
View File
@@ -1,309 +0,0 @@
// flow-typed signature: 9c614e9038bfd47492a561085bc95586
// flow-typed version: <<STUB>>/@sentry/node_v^5.12.2/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* '@sentry/node'
*
* 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 '@sentry/node' {
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 '@sentry/node/dist/backend' {
declare module.exports: any;
}
declare module '@sentry/node/dist/client' {
declare module.exports: any;
}
declare module '@sentry/node/dist/handlers' {
declare module.exports: any;
}
declare module '@sentry/node/dist' {
declare module.exports: any;
}
declare module '@sentry/node/dist/integrations/console' {
declare module.exports: any;
}
declare module '@sentry/node/dist/integrations/http' {
declare module.exports: any;
}
declare module '@sentry/node/dist/integrations' {
declare module.exports: any;
}
declare module '@sentry/node/dist/integrations/linkederrors' {
declare module.exports: any;
}
declare module '@sentry/node/dist/integrations/modules' {
declare module.exports: any;
}
declare module '@sentry/node/dist/integrations/onuncaughtexception' {
declare module.exports: any;
}
declare module '@sentry/node/dist/integrations/onunhandledrejection' {
declare module.exports: any;
}
declare module '@sentry/node/dist/parsers' {
declare module.exports: any;
}
declare module '@sentry/node/dist/sdk' {
declare module.exports: any;
}
declare module '@sentry/node/dist/stacktrace' {
declare module.exports: any;
}
declare module '@sentry/node/dist/transports/base' {
declare module.exports: any;
}
declare module '@sentry/node/dist/transports/http' {
declare module.exports: any;
}
declare module '@sentry/node/dist/transports/https' {
declare module.exports: any;
}
declare module '@sentry/node/dist/transports' {
declare module.exports: any;
}
declare module '@sentry/node/dist/version' {
declare module.exports: any;
}
declare module '@sentry/node/esm/backend' {
declare module.exports: any;
}
declare module '@sentry/node/esm/client' {
declare module.exports: any;
}
declare module '@sentry/node/esm/handlers' {
declare module.exports: any;
}
declare module '@sentry/node/esm' {
declare module.exports: any;
}
declare module '@sentry/node/esm/integrations/console' {
declare module.exports: any;
}
declare module '@sentry/node/esm/integrations/http' {
declare module.exports: any;
}
declare module '@sentry/node/esm/integrations' {
declare module.exports: any;
}
declare module '@sentry/node/esm/integrations/linkederrors' {
declare module.exports: any;
}
declare module '@sentry/node/esm/integrations/modules' {
declare module.exports: any;
}
declare module '@sentry/node/esm/integrations/onuncaughtexception' {
declare module.exports: any;
}
declare module '@sentry/node/esm/integrations/onunhandledrejection' {
declare module.exports: any;
}
declare module '@sentry/node/esm/parsers' {
declare module.exports: any;
}
declare module '@sentry/node/esm/sdk' {
declare module.exports: any;
}
declare module '@sentry/node/esm/stacktrace' {
declare module.exports: any;
}
declare module '@sentry/node/esm/transports/base' {
declare module.exports: any;
}
declare module '@sentry/node/esm/transports/http' {
declare module.exports: any;
}
declare module '@sentry/node/esm/transports/https' {
declare module.exports: any;
}
declare module '@sentry/node/esm/transports' {
declare module.exports: any;
}
declare module '@sentry/node/esm/version' {
declare module.exports: any;
}
// Filename aliases
declare module '@sentry/node/dist/backend.js' {
declare module.exports: $Exports<'@sentry/node/dist/backend'>;
}
declare module '@sentry/node/dist/client.js' {
declare module.exports: $Exports<'@sentry/node/dist/client'>;
}
declare module '@sentry/node/dist/handlers.js' {
declare module.exports: $Exports<'@sentry/node/dist/handlers'>;
}
declare module '@sentry/node/dist/index' {
declare module.exports: $Exports<'@sentry/node/dist'>;
}
declare module '@sentry/node/dist/index.js' {
declare module.exports: $Exports<'@sentry/node/dist'>;
}
declare module '@sentry/node/dist/integrations/console.js' {
declare module.exports: $Exports<'@sentry/node/dist/integrations/console'>;
}
declare module '@sentry/node/dist/integrations/http.js' {
declare module.exports: $Exports<'@sentry/node/dist/integrations/http'>;
}
declare module '@sentry/node/dist/integrations/index' {
declare module.exports: $Exports<'@sentry/node/dist/integrations'>;
}
declare module '@sentry/node/dist/integrations/index.js' {
declare module.exports: $Exports<'@sentry/node/dist/integrations'>;
}
declare module '@sentry/node/dist/integrations/linkederrors.js' {
declare module.exports: $Exports<'@sentry/node/dist/integrations/linkederrors'>;
}
declare module '@sentry/node/dist/integrations/modules.js' {
declare module.exports: $Exports<'@sentry/node/dist/integrations/modules'>;
}
declare module '@sentry/node/dist/integrations/onuncaughtexception.js' {
declare module.exports: $Exports<'@sentry/node/dist/integrations/onuncaughtexception'>;
}
declare module '@sentry/node/dist/integrations/onunhandledrejection.js' {
declare module.exports: $Exports<'@sentry/node/dist/integrations/onunhandledrejection'>;
}
declare module '@sentry/node/dist/parsers.js' {
declare module.exports: $Exports<'@sentry/node/dist/parsers'>;
}
declare module '@sentry/node/dist/sdk.js' {
declare module.exports: $Exports<'@sentry/node/dist/sdk'>;
}
declare module '@sentry/node/dist/stacktrace.js' {
declare module.exports: $Exports<'@sentry/node/dist/stacktrace'>;
}
declare module '@sentry/node/dist/transports/base.js' {
declare module.exports: $Exports<'@sentry/node/dist/transports/base'>;
}
declare module '@sentry/node/dist/transports/http.js' {
declare module.exports: $Exports<'@sentry/node/dist/transports/http'>;
}
declare module '@sentry/node/dist/transports/https.js' {
declare module.exports: $Exports<'@sentry/node/dist/transports/https'>;
}
declare module '@sentry/node/dist/transports/index' {
declare module.exports: $Exports<'@sentry/node/dist/transports'>;
}
declare module '@sentry/node/dist/transports/index.js' {
declare module.exports: $Exports<'@sentry/node/dist/transports'>;
}
declare module '@sentry/node/dist/version.js' {
declare module.exports: $Exports<'@sentry/node/dist/version'>;
}
declare module '@sentry/node/esm/backend.js' {
declare module.exports: $Exports<'@sentry/node/esm/backend'>;
}
declare module '@sentry/node/esm/client.js' {
declare module.exports: $Exports<'@sentry/node/esm/client'>;
}
declare module '@sentry/node/esm/handlers.js' {
declare module.exports: $Exports<'@sentry/node/esm/handlers'>;
}
declare module '@sentry/node/esm/index' {
declare module.exports: $Exports<'@sentry/node/esm'>;
}
declare module '@sentry/node/esm/index.js' {
declare module.exports: $Exports<'@sentry/node/esm'>;
}
declare module '@sentry/node/esm/integrations/console.js' {
declare module.exports: $Exports<'@sentry/node/esm/integrations/console'>;
}
declare module '@sentry/node/esm/integrations/http.js' {
declare module.exports: $Exports<'@sentry/node/esm/integrations/http'>;
}
declare module '@sentry/node/esm/integrations/index' {
declare module.exports: $Exports<'@sentry/node/esm/integrations'>;
}
declare module '@sentry/node/esm/integrations/index.js' {
declare module.exports: $Exports<'@sentry/node/esm/integrations'>;
}
declare module '@sentry/node/esm/integrations/linkederrors.js' {
declare module.exports: $Exports<'@sentry/node/esm/integrations/linkederrors'>;
}
declare module '@sentry/node/esm/integrations/modules.js' {
declare module.exports: $Exports<'@sentry/node/esm/integrations/modules'>;
}
declare module '@sentry/node/esm/integrations/onuncaughtexception.js' {
declare module.exports: $Exports<'@sentry/node/esm/integrations/onuncaughtexception'>;
}
declare module '@sentry/node/esm/integrations/onunhandledrejection.js' {
declare module.exports: $Exports<'@sentry/node/esm/integrations/onunhandledrejection'>;
}
declare module '@sentry/node/esm/parsers.js' {
declare module.exports: $Exports<'@sentry/node/esm/parsers'>;
}
declare module '@sentry/node/esm/sdk.js' {
declare module.exports: $Exports<'@sentry/node/esm/sdk'>;
}
declare module '@sentry/node/esm/stacktrace.js' {
declare module.exports: $Exports<'@sentry/node/esm/stacktrace'>;
}
declare module '@sentry/node/esm/transports/base.js' {
declare module.exports: $Exports<'@sentry/node/esm/transports/base'>;
}
declare module '@sentry/node/esm/transports/http.js' {
declare module.exports: $Exports<'@sentry/node/esm/transports/http'>;
}
declare module '@sentry/node/esm/transports/https.js' {
declare module.exports: $Exports<'@sentry/node/esm/transports/https'>;
}
declare module '@sentry/node/esm/transports/index' {
declare module.exports: $Exports<'@sentry/node/esm/transports'>;
}
declare module '@sentry/node/esm/transports/index.js' {
declare module.exports: $Exports<'@sentry/node/esm/transports'>;
}
declare module '@sentry/node/esm/version.js' {
declare module.exports: $Exports<'@sentry/node/esm/version'>;
}
-59
View File
@@ -1,59 +0,0 @@
// flow-typed signature: 3a7f9d7c7339a68225914ed21f313279
// flow-typed version: <<STUB>>/@tippy.js/react_v^2.2.2/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* '@tippy.js/react'
*
* 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 '@tippy.js/react' {
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 '@tippy.js/react/esm' {
declare module.exports: any;
}
declare module '@tippy.js/react/esm/index.min' {
declare module.exports: any;
}
declare module '@tippy.js/react/umd' {
declare module.exports: any;
}
declare module '@tippy.js/react/umd/index.min' {
declare module.exports: any;
}
// Filename aliases
declare module '@tippy.js/react/esm/index' {
declare module.exports: $Exports<'@tippy.js/react/esm'>;
}
declare module '@tippy.js/react/esm/index.js' {
declare module.exports: $Exports<'@tippy.js/react/esm'>;
}
declare module '@tippy.js/react/esm/index.min.js' {
declare module.exports: $Exports<'@tippy.js/react/esm/index.min'>;
}
declare module '@tippy.js/react/umd/index' {
declare module.exports: $Exports<'@tippy.js/react/umd'>;
}
declare module '@tippy.js/react/umd/index.js' {
declare module.exports: $Exports<'@tippy.js/react/umd'>;
}
declare module '@tippy.js/react/umd/index.min.js' {
declare module.exports: $Exports<'@tippy.js/react/umd/index.min'>;
}
-38
View File
@@ -1,38 +0,0 @@
// flow-typed signature: 300612c60dee7fa8f0828284182b3ef6
// flow-typed version: <<STUB>>/@tommoor/remove-markdown_v0.3.1/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* '@tommoor/remove-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 '@tommoor/remove-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 '@tommoor/remove-markdown/test/remove-markdown' {
declare module.exports: any;
}
// Filename aliases
declare module '@tommoor/remove-markdown/index' {
declare module.exports: $Exports<'@tommoor/remove-markdown'>;
}
declare module '@tommoor/remove-markdown/index.js' {
declare module.exports: $Exports<'@tommoor/remove-markdown'>;
}
declare module '@tommoor/remove-markdown/test/remove-markdown.js' {
declare module.exports: $Exports<'@tommoor/remove-markdown/test/remove-markdown'>;
}
-434
View File
@@ -1,434 +0,0 @@
// flow-typed signature: f43805453dffac09f37f36e338814526
// flow-typed version: <<STUB>>/autotrack_v^2.4.1/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'autotrack'
*
* 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 'autotrack' {
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 'autotrack/autotrack' {
declare module.exports: any;
}
declare module 'autotrack/bin/build' {
declare module.exports: any;
}
declare module 'autotrack/bin/errors' {
declare module.exports: any;
}
declare module 'autotrack/gulpfile' {
declare module.exports: any;
}
declare module 'autotrack/lib/constants' {
declare module.exports: any;
}
declare module 'autotrack/lib/event-emitter' {
declare module.exports: any;
}
declare module 'autotrack/lib/externs/analytics' {
declare module.exports: any;
}
declare module 'autotrack/lib/externs/clean-url-tracker' {
declare module.exports: any;
}
declare module 'autotrack/lib/externs/event-tracker' {
declare module.exports: any;
}
declare module 'autotrack/lib/externs/impression-tracker' {
declare module.exports: any;
}
declare module 'autotrack/lib/externs/max-scroll-tracker' {
declare module.exports: any;
}
declare module 'autotrack/lib/externs/media-query-tracker' {
declare module.exports: any;
}
declare module 'autotrack/lib/externs/outbound-form-tracker' {
declare module.exports: any;
}
declare module 'autotrack/lib/externs/outbound-link-tracker' {
declare module.exports: any;
}
declare module 'autotrack/lib/externs/page-visibility-tracker' {
declare module.exports: any;
}
declare module 'autotrack/lib/externs/session' {
declare module.exports: any;
}
declare module 'autotrack/lib/externs/social-widget-tracker' {
declare module.exports: any;
}
declare module 'autotrack/lib/externs/url-change-tracker' {
declare module.exports: any;
}
declare module 'autotrack/lib' {
declare module.exports: any;
}
declare module 'autotrack/lib/method-chain' {
declare module.exports: any;
}
declare module 'autotrack/lib/plugins/clean-url-tracker' {
declare module.exports: any;
}
declare module 'autotrack/lib/plugins/event-tracker' {
declare module.exports: any;
}
declare module 'autotrack/lib/plugins/impression-tracker' {
declare module.exports: any;
}
declare module 'autotrack/lib/plugins/max-scroll-tracker' {
declare module.exports: any;
}
declare module 'autotrack/lib/plugins/media-query-tracker' {
declare module.exports: any;
}
declare module 'autotrack/lib/plugins/outbound-form-tracker' {
declare module.exports: any;
}
declare module 'autotrack/lib/plugins/outbound-link-tracker' {
declare module.exports: any;
}
declare module 'autotrack/lib/plugins/page-visibility-tracker' {
declare module.exports: any;
}
declare module 'autotrack/lib/plugins/social-widget-tracker' {
declare module.exports: any;
}
declare module 'autotrack/lib/plugins/url-change-tracker' {
declare module.exports: any;
}
declare module 'autotrack/lib/provide' {
declare module.exports: any;
}
declare module 'autotrack/lib/session' {
declare module.exports: any;
}
declare module 'autotrack/lib/store' {
declare module.exports: any;
}
declare module 'autotrack/lib/usage' {
declare module.exports: any;
}
declare module 'autotrack/lib/utilities' {
declare module.exports: any;
}
declare module 'autotrack/test/analytics_debug' {
declare module.exports: any;
}
declare module 'autotrack/test/analytics' {
declare module.exports: any;
}
declare module 'autotrack/test/e2e/clean-url-tracker-test' {
declare module.exports: any;
}
declare module 'autotrack/test/e2e/event-tracker-test' {
declare module.exports: any;
}
declare module 'autotrack/test/e2e/ga' {
declare module.exports: any;
}
declare module 'autotrack/test/e2e/impression-tracker-test' {
declare module.exports: any;
}
declare module 'autotrack/test/e2e/index-test' {
declare module.exports: any;
}
declare module 'autotrack/test/e2e/max-scroll-tracker-test' {
declare module.exports: any;
}
declare module 'autotrack/test/e2e/media-query-tracker-test' {
declare module.exports: any;
}
declare module 'autotrack/test/e2e/outbound-form-tracker-test' {
declare module.exports: any;
}
declare module 'autotrack/test/e2e/outbound-link-tracker-test' {
declare module.exports: any;
}
declare module 'autotrack/test/e2e/page-visibility-tracker-test' {
declare module.exports: any;
}
declare module 'autotrack/test/e2e/server' {
declare module.exports: any;
}
declare module 'autotrack/test/e2e/social-widget-tracker-test' {
declare module.exports: any;
}
declare module 'autotrack/test/e2e/url-change-tracker-test' {
declare module.exports: any;
}
declare module 'autotrack/test/e2e/wdio.conf' {
declare module.exports: any;
}
declare module 'autotrack/test/unit/event-emitter-test' {
declare module.exports: any;
}
declare module 'autotrack/test/unit/method-chain-test' {
declare module.exports: any;
}
declare module 'autotrack/test/unit/plugins/clean-url-tracker-test' {
declare module.exports: any;
}
declare module 'autotrack/test/unit/plugins/page-visibility-tracker-test' {
declare module.exports: any;
}
declare module 'autotrack/test/unit/session-test' {
declare module.exports: any;
}
declare module 'autotrack/test/unit/store-test' {
declare module.exports: any;
}
declare module 'autotrack/test/unit/utilities-test' {
declare module.exports: any;
}
// Filename aliases
declare module 'autotrack/autotrack.js' {
declare module.exports: $Exports<'autotrack/autotrack'>;
}
declare module 'autotrack/bin/build.js' {
declare module.exports: $Exports<'autotrack/bin/build'>;
}
declare module 'autotrack/bin/errors.js' {
declare module.exports: $Exports<'autotrack/bin/errors'>;
}
declare module 'autotrack/gulpfile.js' {
declare module.exports: $Exports<'autotrack/gulpfile'>;
}
declare module 'autotrack/lib/constants.js' {
declare module.exports: $Exports<'autotrack/lib/constants'>;
}
declare module 'autotrack/lib/event-emitter.js' {
declare module.exports: $Exports<'autotrack/lib/event-emitter'>;
}
declare module 'autotrack/lib/externs/analytics.js' {
declare module.exports: $Exports<'autotrack/lib/externs/analytics'>;
}
declare module 'autotrack/lib/externs/clean-url-tracker.js' {
declare module.exports: $Exports<'autotrack/lib/externs/clean-url-tracker'>;
}
declare module 'autotrack/lib/externs/event-tracker.js' {
declare module.exports: $Exports<'autotrack/lib/externs/event-tracker'>;
}
declare module 'autotrack/lib/externs/impression-tracker.js' {
declare module.exports: $Exports<'autotrack/lib/externs/impression-tracker'>;
}
declare module 'autotrack/lib/externs/max-scroll-tracker.js' {
declare module.exports: $Exports<'autotrack/lib/externs/max-scroll-tracker'>;
}
declare module 'autotrack/lib/externs/media-query-tracker.js' {
declare module.exports: $Exports<'autotrack/lib/externs/media-query-tracker'>;
}
declare module 'autotrack/lib/externs/outbound-form-tracker.js' {
declare module.exports: $Exports<'autotrack/lib/externs/outbound-form-tracker'>;
}
declare module 'autotrack/lib/externs/outbound-link-tracker.js' {
declare module.exports: $Exports<'autotrack/lib/externs/outbound-link-tracker'>;
}
declare module 'autotrack/lib/externs/page-visibility-tracker.js' {
declare module.exports: $Exports<'autotrack/lib/externs/page-visibility-tracker'>;
}
declare module 'autotrack/lib/externs/session.js' {
declare module.exports: $Exports<'autotrack/lib/externs/session'>;
}
declare module 'autotrack/lib/externs/social-widget-tracker.js' {
declare module.exports: $Exports<'autotrack/lib/externs/social-widget-tracker'>;
}
declare module 'autotrack/lib/externs/url-change-tracker.js' {
declare module.exports: $Exports<'autotrack/lib/externs/url-change-tracker'>;
}
declare module 'autotrack/lib/index' {
declare module.exports: $Exports<'autotrack/lib'>;
}
declare module 'autotrack/lib/index.js' {
declare module.exports: $Exports<'autotrack/lib'>;
}
declare module 'autotrack/lib/method-chain.js' {
declare module.exports: $Exports<'autotrack/lib/method-chain'>;
}
declare module 'autotrack/lib/plugins/clean-url-tracker.js' {
declare module.exports: $Exports<'autotrack/lib/plugins/clean-url-tracker'>;
}
declare module 'autotrack/lib/plugins/event-tracker.js' {
declare module.exports: $Exports<'autotrack/lib/plugins/event-tracker'>;
}
declare module 'autotrack/lib/plugins/impression-tracker.js' {
declare module.exports: $Exports<'autotrack/lib/plugins/impression-tracker'>;
}
declare module 'autotrack/lib/plugins/max-scroll-tracker.js' {
declare module.exports: $Exports<'autotrack/lib/plugins/max-scroll-tracker'>;
}
declare module 'autotrack/lib/plugins/media-query-tracker.js' {
declare module.exports: $Exports<'autotrack/lib/plugins/media-query-tracker'>;
}
declare module 'autotrack/lib/plugins/outbound-form-tracker.js' {
declare module.exports: $Exports<'autotrack/lib/plugins/outbound-form-tracker'>;
}
declare module 'autotrack/lib/plugins/outbound-link-tracker.js' {
declare module.exports: $Exports<'autotrack/lib/plugins/outbound-link-tracker'>;
}
declare module 'autotrack/lib/plugins/page-visibility-tracker.js' {
declare module.exports: $Exports<'autotrack/lib/plugins/page-visibility-tracker'>;
}
declare module 'autotrack/lib/plugins/social-widget-tracker.js' {
declare module.exports: $Exports<'autotrack/lib/plugins/social-widget-tracker'>;
}
declare module 'autotrack/lib/plugins/url-change-tracker.js' {
declare module.exports: $Exports<'autotrack/lib/plugins/url-change-tracker'>;
}
declare module 'autotrack/lib/provide.js' {
declare module.exports: $Exports<'autotrack/lib/provide'>;
}
declare module 'autotrack/lib/session.js' {
declare module.exports: $Exports<'autotrack/lib/session'>;
}
declare module 'autotrack/lib/store.js' {
declare module.exports: $Exports<'autotrack/lib/store'>;
}
declare module 'autotrack/lib/usage.js' {
declare module.exports: $Exports<'autotrack/lib/usage'>;
}
declare module 'autotrack/lib/utilities.js' {
declare module.exports: $Exports<'autotrack/lib/utilities'>;
}
declare module 'autotrack/test/analytics_debug.js' {
declare module.exports: $Exports<'autotrack/test/analytics_debug'>;
}
declare module 'autotrack/test/analytics.js' {
declare module.exports: $Exports<'autotrack/test/analytics'>;
}
declare module 'autotrack/test/e2e/clean-url-tracker-test.js' {
declare module.exports: $Exports<'autotrack/test/e2e/clean-url-tracker-test'>;
}
declare module 'autotrack/test/e2e/event-tracker-test.js' {
declare module.exports: $Exports<'autotrack/test/e2e/event-tracker-test'>;
}
declare module 'autotrack/test/e2e/ga.js' {
declare module.exports: $Exports<'autotrack/test/e2e/ga'>;
}
declare module 'autotrack/test/e2e/impression-tracker-test.js' {
declare module.exports: $Exports<'autotrack/test/e2e/impression-tracker-test'>;
}
declare module 'autotrack/test/e2e/index-test.js' {
declare module.exports: $Exports<'autotrack/test/e2e/index-test'>;
}
declare module 'autotrack/test/e2e/max-scroll-tracker-test.js' {
declare module.exports: $Exports<'autotrack/test/e2e/max-scroll-tracker-test'>;
}
declare module 'autotrack/test/e2e/media-query-tracker-test.js' {
declare module.exports: $Exports<'autotrack/test/e2e/media-query-tracker-test'>;
}
declare module 'autotrack/test/e2e/outbound-form-tracker-test.js' {
declare module.exports: $Exports<'autotrack/test/e2e/outbound-form-tracker-test'>;
}
declare module 'autotrack/test/e2e/outbound-link-tracker-test.js' {
declare module.exports: $Exports<'autotrack/test/e2e/outbound-link-tracker-test'>;
}
declare module 'autotrack/test/e2e/page-visibility-tracker-test.js' {
declare module.exports: $Exports<'autotrack/test/e2e/page-visibility-tracker-test'>;
}
declare module 'autotrack/test/e2e/server.js' {
declare module.exports: $Exports<'autotrack/test/e2e/server'>;
}
declare module 'autotrack/test/e2e/social-widget-tracker-test.js' {
declare module.exports: $Exports<'autotrack/test/e2e/social-widget-tracker-test'>;
}
declare module 'autotrack/test/e2e/url-change-tracker-test.js' {
declare module.exports: $Exports<'autotrack/test/e2e/url-change-tracker-test'>;
}
declare module 'autotrack/test/e2e/wdio.conf.js' {
declare module.exports: $Exports<'autotrack/test/e2e/wdio.conf'>;
}
declare module 'autotrack/test/unit/event-emitter-test.js' {
declare module.exports: $Exports<'autotrack/test/unit/event-emitter-test'>;
}
declare module 'autotrack/test/unit/method-chain-test.js' {
declare module.exports: $Exports<'autotrack/test/unit/method-chain-test'>;
}
declare module 'autotrack/test/unit/plugins/clean-url-tracker-test.js' {
declare module.exports: $Exports<'autotrack/test/unit/plugins/clean-url-tracker-test'>;
}
declare module 'autotrack/test/unit/plugins/page-visibility-tracker-test.js' {
declare module.exports: $Exports<'autotrack/test/unit/plugins/page-visibility-tracker-test'>;
}
declare module 'autotrack/test/unit/session-test.js' {
declare module.exports: $Exports<'autotrack/test/unit/session-test'>;
}
declare module 'autotrack/test/unit/store-test.js' {
declare module.exports: $Exports<'autotrack/test/unit/store-test'>;
}
declare module 'autotrack/test/unit/utilities-test.js' {
declare module.exports: $Exports<'autotrack/test/unit/utilities-test'>;
}
-2682
View File
File diff suppressed because it is too large Load Diff
-58
View File
@@ -1,58 +0,0 @@
// flow-typed signature: 124ea3a8df633e16e9901a6e10ec7777
// flow-typed version: <<STUB>>/boundless-arrow-key-navigation_v^1.0.4/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'boundless-arrow-key-navigation'
*
* 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 'boundless-arrow-key-navigation' {
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 'boundless-arrow-key-navigation/build' {
declare module.exports: any;
}
declare module 'boundless-arrow-key-navigation/demo' {
declare module.exports: any;
}
declare module 'boundless-arrow-key-navigation/index.spec' {
declare module.exports: any;
}
// Filename aliases
declare module 'boundless-arrow-key-navigation/build/index' {
declare module.exports: $Exports<'boundless-arrow-key-navigation/build'>;
}
declare module 'boundless-arrow-key-navigation/build/index.js' {
declare module.exports: $Exports<'boundless-arrow-key-navigation/build'>;
}
declare module 'boundless-arrow-key-navigation/demo/index' {
declare module.exports: $Exports<'boundless-arrow-key-navigation/demo'>;
}
declare module 'boundless-arrow-key-navigation/demo/index.js' {
declare module.exports: $Exports<'boundless-arrow-key-navigation/demo'>;
}
declare module 'boundless-arrow-key-navigation/index' {
declare module.exports: $Exports<'boundless-arrow-key-navigation'>;
}
declare module 'boundless-arrow-key-navigation/index.js' {
declare module.exports: $Exports<'boundless-arrow-key-navigation'>;
}
declare module 'boundless-arrow-key-navigation/index.spec.js' {
declare module.exports: $Exports<'boundless-arrow-key-navigation/index.spec'>;
}
-58
View File
@@ -1,58 +0,0 @@
// flow-typed signature: 81720de1e8cfea1529815ce45326fdff
// flow-typed version: <<STUB>>/boundless-popover_v^1.0.4/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'boundless-popover'
*
* 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 'boundless-popover' {
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 'boundless-popover/build' {
declare module.exports: any;
}
declare module 'boundless-popover/demo' {
declare module.exports: any;
}
declare module 'boundless-popover/index.spec' {
declare module.exports: any;
}
// Filename aliases
declare module 'boundless-popover/build/index' {
declare module.exports: $Exports<'boundless-popover/build'>;
}
declare module 'boundless-popover/build/index.js' {
declare module.exports: $Exports<'boundless-popover/build'>;
}
declare module 'boundless-popover/demo/index' {
declare module.exports: $Exports<'boundless-popover/demo'>;
}
declare module 'boundless-popover/demo/index.js' {
declare module.exports: $Exports<'boundless-popover/demo'>;
}
declare module 'boundless-popover/index' {
declare module.exports: $Exports<'boundless-popover'>;
}
declare module 'boundless-popover/index.js' {
declare module.exports: $Exports<'boundless-popover'>;
}
declare module 'boundless-popover/index.spec.js' {
declare module.exports: $Exports<'boundless-popover/index.spec'>;
}
-132
View File
@@ -1,132 +0,0 @@
// flow-typed signature: 7ef49570a788f5303976a16379421a35
// flow-typed version: <<STUB>>/bull_v^3.5.2/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'bull'
*
* 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 'bull' {
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 'bull/lib/backoffs' {
declare module.exports: any;
}
declare module 'bull/lib/commands' {
declare module.exports: any;
}
declare module 'bull/lib/errors' {
declare module.exports: any;
}
declare module 'bull/lib/getters' {
declare module.exports: any;
}
declare module 'bull/lib/job' {
declare module.exports: any;
}
declare module 'bull/lib/process/child-pool' {
declare module.exports: any;
}
declare module 'bull/lib/process/master' {
declare module.exports: any;
}
declare module 'bull/lib/process/sandbox' {
declare module.exports: any;
}
declare module 'bull/lib/queue' {
declare module.exports: any;
}
declare module 'bull/lib/repeatable' {
declare module.exports: any;
}
declare module 'bull/lib/scripts' {
declare module.exports: any;
}
declare module 'bull/lib/timer-manager' {
declare module.exports: any;
}
declare module 'bull/lib/utils' {
declare module.exports: any;
}
declare module 'bull/lib/worker' {
declare module.exports: any;
}
// Filename aliases
declare module 'bull/index' {
declare module.exports: $Exports<'bull'>;
}
declare module 'bull/index.js' {
declare module.exports: $Exports<'bull'>;
}
declare module 'bull/lib/backoffs.js' {
declare module.exports: $Exports<'bull/lib/backoffs'>;
}
declare module 'bull/lib/commands/index' {
declare module.exports: $Exports<'bull/lib/commands'>;
}
declare module 'bull/lib/commands/index.js' {
declare module.exports: $Exports<'bull/lib/commands'>;
}
declare module 'bull/lib/errors.js' {
declare module.exports: $Exports<'bull/lib/errors'>;
}
declare module 'bull/lib/getters.js' {
declare module.exports: $Exports<'bull/lib/getters'>;
}
declare module 'bull/lib/job.js' {
declare module.exports: $Exports<'bull/lib/job'>;
}
declare module 'bull/lib/process/child-pool.js' {
declare module.exports: $Exports<'bull/lib/process/child-pool'>;
}
declare module 'bull/lib/process/master.js' {
declare module.exports: $Exports<'bull/lib/process/master'>;
}
declare module 'bull/lib/process/sandbox.js' {
declare module.exports: $Exports<'bull/lib/process/sandbox'>;
}
declare module 'bull/lib/queue.js' {
declare module.exports: $Exports<'bull/lib/queue'>;
}
declare module 'bull/lib/repeatable.js' {
declare module.exports: $Exports<'bull/lib/repeatable'>;
}
declare module 'bull/lib/scripts.js' {
declare module.exports: $Exports<'bull/lib/scripts'>;
}
declare module 'bull/lib/timer-manager.js' {
declare module.exports: $Exports<'bull/lib/timer-manager'>;
}
declare module 'bull/lib/utils.js' {
declare module.exports: $Exports<'bull/lib/utils'>;
}
declare module 'bull/lib/worker.js' {
declare module.exports: $Exports<'bull/lib/worker'>;
}
-33
View File
@@ -1,33 +0,0 @@
// flow-typed signature: 5902d2130f75742810972de490b1bc44
// flow-typed version: <<STUB>>/cancan_v3.1.0/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'cancan'
*
* 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 'cancan' {
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.
*/
// Filename aliases
declare module 'cancan/index' {
declare module.exports: $Exports<'cancan'>;
}
declare module 'cancan/index.js' {
declare module.exports: $Exports<'cancan'>;
}
-18
View File
@@ -1,18 +0,0 @@
// flow-typed signature: 04e310e8c98cdb5de377193da621970b
// flow-typed version: 7fd0a6404e/classnames_v2.x.x/flow_>=v0.25.x
type $npm$classnames$Classes =
| string
| { [className: string]: * }
| Array<string>
| false
| void
| null;
declare module 'classnames' {
declare function exports(...classes: Array<$npm$classnames$Classes>): string;
}
declare module 'classnames/bind' {
declare module.exports: $Exports<'classnames'>;
}
-11
View File
@@ -1,11 +0,0 @@
// flow-typed signature: 350413ab85bd03f3d1450c0ae307d106
// flow-typed version: c6154227d1/copy-to-clipboard_v3.x.x/flow_>=v0.104.x
declare module 'copy-to-clipboard' {
declare export type Options = {|
debug?: boolean,
message?: string,
|};
declare module.exports: (text: string, options?: Options) => boolean;
}
-12113
View File
File diff suppressed because it is too large Load Diff
-30
View File
@@ -1,30 +0,0 @@
// flow-typed signature: c7b1e1d8d9c2230d131299ddc21dcb0e
// flow-typed version: da30fe6876/debug_v2.x.x/flow_>=v0.28.x
declare module "debug" {
declare type Debugger = {
(...args: Array<mixed>): void,
(formatter: string, ...args: Array<mixed>): void,
(err: Error, ...args: Array<mixed>): void,
enabled: boolean,
log: () => {},
namespace: string
};
declare module.exports: (namespace: string) => Debugger;
declare var names: Array<string>;
declare var skips: Array<string>;
declare var colors: Array<number>;
declare function disable(): void;
declare function enable(namespaces: string): void;
declare function enabled(name: string): boolean;
declare function humanize(): void;
declare function useColors(): boolean;
declare function log(): void;
declare var formatters: {
[formatter: string]: () => {}
};
}
-63
View File
@@ -1,63 +0,0 @@
// flow-typed signature: f4912858ca837a6d9d9172650118f223
// flow-typed version: <<STUB>>/debug_v^4.1.1/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'debug'
*
* 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 'debug' {
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 'debug/dist/debug' {
declare module.exports: any;
}
declare module 'debug/src/browser' {
declare module.exports: any;
}
declare module 'debug/src/common' {
declare module.exports: any;
}
declare module 'debug/src' {
declare module.exports: any;
}
declare module 'debug/src/node' {
declare module.exports: any;
}
// Filename aliases
declare module 'debug/dist/debug.js' {
declare module.exports: $Exports<'debug/dist/debug'>;
}
declare module 'debug/src/browser.js' {
declare module.exports: $Exports<'debug/src/browser'>;
}
declare module 'debug/src/common.js' {
declare module.exports: $Exports<'debug/src/common'>;
}
declare module 'debug/src/index' {
declare module.exports: $Exports<'debug/src'>;
}
declare module 'debug/src/index.js' {
declare module.exports: $Exports<'debug/src'>;
}
declare module 'debug/src/node.js' {
declare module.exports: $Exports<'debug/src/node'>;
}
-172
View File
@@ -1,172 +0,0 @@
// flow-typed signature: 0f5b991da0eab55a46333d265138ba11
// flow-typed version: <<STUB>>/diff_v3.5.0/flow_v0.71.0
/**
* This is an autogenerated libdef stub for:
*
* 'diff'
*
* 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 'diff' {
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 'diff/dist/diff' {
declare module.exports: any;
}
declare module 'diff/dist/diff.min' {
declare module.exports: any;
}
declare module 'diff/lib/convert/dmp' {
declare module.exports: any;
}
declare module 'diff/lib/convert/xml' {
declare module.exports: any;
}
declare module 'diff/lib/diff/array' {
declare module.exports: any;
}
declare module 'diff/lib/diff/base' {
declare module.exports: any;
}
declare module 'diff/lib/diff/character' {
declare module.exports: any;
}
declare module 'diff/lib/diff/css' {
declare module.exports: any;
}
declare module 'diff/lib/diff/json' {
declare module.exports: any;
}
declare module 'diff/lib/diff/line' {
declare module.exports: any;
}
declare module 'diff/lib/diff/sentence' {
declare module.exports: any;
}
declare module 'diff/lib/diff/word' {
declare module.exports: any;
}
declare module 'diff/lib/index' {
declare module.exports: any;
}
declare module 'diff/lib/patch/apply' {
declare module.exports: any;
}
declare module 'diff/lib/patch/create' {
declare module.exports: any;
}
declare module 'diff/lib/patch/merge' {
declare module.exports: any;
}
declare module 'diff/lib/patch/parse' {
declare module.exports: any;
}
declare module 'diff/lib/util/array' {
declare module.exports: any;
}
declare module 'diff/lib/util/distance-iterator' {
declare module.exports: any;
}
declare module 'diff/lib/util/params' {
declare module.exports: any;
}
declare module 'diff/runtime' {
declare module.exports: any;
}
// Filename aliases
declare module 'diff/dist/diff.js' {
declare module.exports: $Exports<'diff/dist/diff'>;
}
declare module 'diff/dist/diff.min.js' {
declare module.exports: $Exports<'diff/dist/diff.min'>;
}
declare module 'diff/lib/convert/dmp.js' {
declare module.exports: $Exports<'diff/lib/convert/dmp'>;
}
declare module 'diff/lib/convert/xml.js' {
declare module.exports: $Exports<'diff/lib/convert/xml'>;
}
declare module 'diff/lib/diff/array.js' {
declare module.exports: $Exports<'diff/lib/diff/array'>;
}
declare module 'diff/lib/diff/base.js' {
declare module.exports: $Exports<'diff/lib/diff/base'>;
}
declare module 'diff/lib/diff/character.js' {
declare module.exports: $Exports<'diff/lib/diff/character'>;
}
declare module 'diff/lib/diff/css.js' {
declare module.exports: $Exports<'diff/lib/diff/css'>;
}
declare module 'diff/lib/diff/json.js' {
declare module.exports: $Exports<'diff/lib/diff/json'>;
}
declare module 'diff/lib/diff/line.js' {
declare module.exports: $Exports<'diff/lib/diff/line'>;
}
declare module 'diff/lib/diff/sentence.js' {
declare module.exports: $Exports<'diff/lib/diff/sentence'>;
}
declare module 'diff/lib/diff/word.js' {
declare module.exports: $Exports<'diff/lib/diff/word'>;
}
declare module 'diff/lib/index.js' {
declare module.exports: $Exports<'diff/lib/index'>;
}
declare module 'diff/lib/patch/apply.js' {
declare module.exports: $Exports<'diff/lib/patch/apply'>;
}
declare module 'diff/lib/patch/create.js' {
declare module.exports: $Exports<'diff/lib/patch/create'>;
}
declare module 'diff/lib/patch/merge.js' {
declare module.exports: $Exports<'diff/lib/patch/merge'>;
}
declare module 'diff/lib/patch/parse.js' {
declare module.exports: $Exports<'diff/lib/patch/parse'>;
}
declare module 'diff/lib/util/array.js' {
declare module.exports: $Exports<'diff/lib/util/array'>;
}
declare module 'diff/lib/util/distance-iterator.js' {
declare module.exports: $Exports<'diff/lib/util/distance-iterator'>;
}
declare module 'diff/lib/util/params.js' {
declare module.exports: $Exports<'diff/lib/util/params'>;
}
declare module 'diff/runtime.js' {
declare module.exports: $Exports<'diff/runtime'>;
}
-19
View File
@@ -1,19 +0,0 @@
// flow-typed signature: c7992a5788422caaab5074361a292df3
// flow-typed version: c6154227d1/dotenv_v4.x.x/flow_>=v0.104.x
declare module "dotenv" {
declare type DotenvOptions = {
encoding?: string,
path?: string,
...
};
declare function config(options?: DotenvOptions): boolean;
declare module.exports: {
config: typeof config,
load: typeof config,
parse: (src: string | Buffer) => { [string]: string, ... },
...
}
}
-32
View File
@@ -1,32 +0,0 @@
// flow-typed signature: 888162d35c5fa47c9c59847ba9874bd9
// flow-typed version: <<STUB>>/emoji-name-map_v1.1.2/flow_v0.49.1
/**
* This is an autogenerated libdef stub for:
*
* 'emoji-name-map'
*
* 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 'emoji-name-map' {
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 'emoji-name-map/lib/index' {
declare module.exports: any;
}
// Filename aliases
declare module 'emoji-name-map/lib/index.js' {
declare module.exports: $Exports<'emoji-name-map/lib/index'>;
}
-55
View File
@@ -1,55 +0,0 @@
// flow-typed signature: df3a77883deb7981fa0bc043d8bd64b5
// flow-typed version: <<STUB>>/emoji-regex_v^6.5.1/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'emoji-regex'
*
* 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 'emoji-regex' {
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 'emoji-regex/es2015' {
declare module.exports: any;
}
declare module 'emoji-regex/es2015/text' {
declare module.exports: any;
}
declare module 'emoji-regex/text' {
declare module.exports: any;
}
// Filename aliases
declare module 'emoji-regex/es2015/index' {
declare module.exports: $Exports<'emoji-regex/es2015'>;
}
declare module 'emoji-regex/es2015/index.js' {
declare module.exports: $Exports<'emoji-regex/es2015'>;
}
declare module 'emoji-regex/es2015/text.js' {
declare module.exports: $Exports<'emoji-regex/es2015/text'>;
}
declare module 'emoji-regex/index' {
declare module.exports: $Exports<'emoji-regex'>;
}
declare module 'emoji-regex/index.js' {
declare module.exports: $Exports<'emoji-regex'>;
}
declare module 'emoji-regex/text.js' {
declare module.exports: $Exports<'emoji-regex/text'>;
}
-74
View File
@@ -1,74 +0,0 @@
// flow-typed signature: b3402ec9029514be297b23c7a794f1ea
// flow-typed version: <<STUB>>/enzyme-to-json_v^1.5.1/flow_v0.86.0
/**
* This is an autogenerated libdef stub for:
*
* 'enzyme-to-json'
*
* 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-to-json' {
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-to-json/build/index' {
declare module.exports: any;
}
declare module 'enzyme-to-json/build/mount' {
declare module.exports: any;
}
declare module 'enzyme-to-json/build/render' {
declare module.exports: any;
}
declare module 'enzyme-to-json/build/serializer' {
declare module.exports: any;
}
declare module 'enzyme-to-json/build/shallow' {
declare module.exports: any;
}
declare module 'enzyme-to-json/build/utils' {
declare module.exports: any;
}
declare module 'enzyme-to-json/serializer' {
declare module.exports: any;
}
// Filename aliases
declare module 'enzyme-to-json/build/index.js' {
declare module.exports: $Exports<'enzyme-to-json/build/index'>;
}
declare module 'enzyme-to-json/build/mount.js' {
declare module.exports: $Exports<'enzyme-to-json/build/mount'>;
}
declare module 'enzyme-to-json/build/render.js' {
declare module.exports: $Exports<'enzyme-to-json/build/render'>;
}
declare module 'enzyme-to-json/build/serializer.js' {
declare module.exports: $Exports<'enzyme-to-json/build/serializer'>;
}
declare module 'enzyme-to-json/build/shallow.js' {
declare module.exports: $Exports<'enzyme-to-json/build/shallow'>;
}
declare module 'enzyme-to-json/build/utils.js' {
declare module.exports: $Exports<'enzyme-to-json/build/utils'>;
}
declare module 'enzyme-to-json/serializer.js' {
declare module.exports: $Exports<'enzyme-to-json/serializer'>;
}
-110
View File
@@ -1,110 +0,0 @@
// flow-typed signature: ac18e8756b9f77851123c33e78aaa670
// flow-typed version: 792f604e07/enzyme_v2.3.x/flow_>=v0.53.x
import * as React from "react";
declare module "enzyme" {
declare type PredicateFunction<T: Wrapper> = (
wrapper: T,
index: number
) => boolean;
declare type NodeOrNodes = React.Node | Array<React.Node>;
declare type EnzymeSelector = string | Class<React.Component<*, *>> | Object;
// CheerioWrapper is a type alias for an actual cheerio instance
// TODO: Reference correct type from cheerio's type declarations
declare type CheerioWrapper = any;
declare class Wrapper {
find(selector: EnzymeSelector): this,
findWhere(predicate: PredicateFunction<this>): this,
filter(selector: EnzymeSelector): this,
filterWhere(predicate: PredicateFunction<this>): this,
contains(nodeOrNodes: NodeOrNodes): boolean,
containsMatchingElement(node: React.Node): boolean,
containsAllMatchingElements(nodes: NodeOrNodes): boolean,
containsAnyMatchingElements(nodes: NodeOrNodes): boolean,
dive(option?: { context?: Object }): this,
exists(): boolean,
matchesElement(node: React.Node): boolean,
hasClass(className: string): boolean,
is(selector: EnzymeSelector): boolean,
isEmpty(): boolean,
not(selector: EnzymeSelector): this,
children(selector?: EnzymeSelector): this,
childAt(index: number): this,
parents(selector?: EnzymeSelector): this,
parent(): this,
closest(selector: EnzymeSelector): this,
render(): CheerioWrapper,
unmount(): this,
text(): string,
html(): string,
get(index: number): React.Node,
getNode(): React.Node,
getNodes(): Array<React.Node>,
getDOMNode(): HTMLElement | HTMLInputElement,
at(index: number): this,
first(): this,
last(): this,
state(key?: string): any,
context(key?: string): any,
props(): Object,
prop(key: string): any,
key(): string,
simulate(event: string, ...args: Array<any>): this,
setState(state: {}, callback?: Function): this,
setProps(props: {}): this,
setContext(context: Object): this,
instance(): React.Component<*, *>,
update(): this,
debug(options?: Object): string,
type(): string | Function | null,
name(): string,
forEach(fn: (node: this, index: number) => mixed): this,
map<T>(fn: (node: this, index: number) => T): Array<T>,
reduce<T>(
fn: (value: T, node: this, index: number) => T,
initialValue?: T
): Array<T>,
reduceRight<T>(
fn: (value: T, node: this, index: number) => T,
initialValue?: T
): Array<T>,
some(selector: EnzymeSelector): boolean,
someWhere(predicate: PredicateFunction<this>): boolean,
every(selector: EnzymeSelector): boolean,
everyWhere(predicate: PredicateFunction<this>): boolean,
length: number
}
declare export class ReactWrapper extends Wrapper {
constructor(nodes: NodeOrNodes, root: any, options?: ?Object): ReactWrapper,
mount(): this,
ref(refName: string): this,
detach(): void
}
declare export class ShallowWrapper extends Wrapper {
constructor(nodes: NodeOrNodes, root: any, options?: ?Object): ShallowWrapper;
equals(node: React.Node): boolean,
shallow(options?: { context?: Object }): ShallowWrapper
}
declare export function shallow(
node: React.Node,
options?: { context?: Object }
): ShallowWrapper;
declare export function mount(
node: React.Node,
options?: {
context?: Object,
attachTo?: HTMLElement,
childContextTypes?: Object
}
): ReactWrapper;
declare export function render(
node: React.Node,
options?: { context?: Object }
): CheerioWrapper;
}
-8
View File
@@ -1,8 +0,0 @@
// flow-typed signature: fb6c19e75f6c1cada215733df2146fb4
// flow-typed version: c6154227d1/es6-error_v4.x.x/flow_>=v0.104.x
declare module "es6-error" {
declare class ExtendableError extends Error {}
declare module.exports: Class<ExtendableError>;
}
-33
View File
@@ -1,33 +0,0 @@
// flow-typed signature: 7f77c2edc8b756479f7e2371d7c4b228
// flow-typed version: <<STUB>>/exports-loader_v^0.6.4/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'exports-loader'
*
* 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 'exports-loader' {
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.
*/
// Filename aliases
declare module 'exports-loader/index' {
declare module.exports: $Exports<'exports-loader'>;
}
declare module 'exports-loader/index.js' {
declare module.exports: $Exports<'exports-loader'>;
}
-59
View File
@@ -1,59 +0,0 @@
// flow-typed signature: 81f85c5fc3eb62a3d795e2e4240e438b
// flow-typed version: <<STUB>>/fbemitter_v^2.1.1/flow_v0.86.0
/**
* This is an autogenerated libdef stub for:
*
* 'fbemitter'
*
* 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 'fbemitter' {
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 'fbemitter/lib/BaseEventEmitter' {
declare module.exports: any;
}
declare module 'fbemitter/lib/EmitterSubscription' {
declare module.exports: any;
}
declare module 'fbemitter/lib/EventSubscription' {
declare module.exports: any;
}
declare module 'fbemitter/lib/EventSubscriptionVendor' {
declare module.exports: any;
}
// Filename aliases
declare module 'fbemitter/index' {
declare module.exports: $Exports<'fbemitter'>;
}
declare module 'fbemitter/index.js' {
declare module.exports: $Exports<'fbemitter'>;
}
declare module 'fbemitter/lib/BaseEventEmitter.js' {
declare module.exports: $Exports<'fbemitter/lib/BaseEventEmitter'>;
}
declare module 'fbemitter/lib/EmitterSubscription.js' {
declare module.exports: $Exports<'fbemitter/lib/EmitterSubscription'>;
}
declare module 'fbemitter/lib/EventSubscription.js' {
declare module.exports: $Exports<'fbemitter/lib/EventSubscription'>;
}
declare module 'fbemitter/lib/EventSubscriptionVendor.js' {
declare module.exports: $Exports<'fbemitter/lib/EventSubscriptionVendor'>;
}
-38
View File
@@ -1,38 +0,0 @@
// flow-typed signature: fd79abf9204bd3942136fbfa0c3bf593
// flow-typed version: <<STUB>>/fetch-test-server_v^1.1.0/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'fetch-test-server'
*
* 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-test-server' {
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-test-server/index.test' {
declare module.exports: any;
}
// Filename aliases
declare module 'fetch-test-server/index' {
declare module.exports: $Exports<'fetch-test-server'>;
}
declare module 'fetch-test-server/index.js' {
declare module.exports: $Exports<'fetch-test-server'>;
}
declare module 'fetch-test-server/index.test.js' {
declare module.exports: $Exports<'fetch-test-server/index.test'>;
}
-42
View File
@@ -1,42 +0,0 @@
// flow-typed signature: 389b04885ba2dbe4e714eb3239dc69c5
// flow-typed version: <<STUB>>/file-loader_v^1.1.6/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'file-loader'
*
* 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 'file-loader' {
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 'file-loader/dist/cjs' {
declare module.exports: any;
}
declare module 'file-loader/dist' {
declare module.exports: any;
}
// Filename aliases
declare module 'file-loader/dist/cjs.js' {
declare module.exports: $Exports<'file-loader/dist/cjs'>;
}
declare module 'file-loader/dist/index' {
declare module.exports: $Exports<'file-loader/dist'>;
}
declare module 'file-loader/dist/index.js' {
declare module.exports: $Exports<'file-loader/dist'>;
}
-6
View File
@@ -1,6 +0,0 @@
// flow-typed signature: 28fdff7f110e1c75efab63ff205dda30
// flow-typed version: c6154227d1/flow-bin_v0.x.x/flow_>=v0.104.x
declare module "flow-bin" {
declare module.exports: string;
}
-186
View File
@@ -1,186 +0,0 @@
// flow-typed signature: df008259d10274c7a94e4594987cc45f
// flow-typed version: <<STUB>>/flow-typed_v^2.6.2/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'flow-typed'
*
* 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 'flow-typed' {
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 'flow-typed/dist/cli' {
declare module.exports: any;
}
declare module 'flow-typed/dist/commands/create-stub' {
declare module.exports: any;
}
declare module 'flow-typed/dist/commands/install' {
declare module.exports: any;
}
declare module 'flow-typed/dist/commands/runTests' {
declare module.exports: any;
}
declare module 'flow-typed/dist/commands/search' {
declare module.exports: any;
}
declare module 'flow-typed/dist/commands/update-cache' {
declare module.exports: any;
}
declare module 'flow-typed/dist/commands/update' {
declare module.exports: any;
}
declare module 'flow-typed/dist/commands/validateDefs' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/cacheRepoUtils' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/codeSign' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/fileUtils' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/flowProjectUtils' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/flowVersion' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/git' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/github' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/isInFlowTypedRepo' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/libDefs' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/node' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/npm/npmLibDefs' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/npm/npmProjectUtils' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/semver' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/stubUtils' {
declare module.exports: any;
}
declare module 'flow-typed/dist/lib/ValidationError' {
declare module.exports: any;
}
// Filename aliases
declare module 'flow-typed/dist/cli.js' {
declare module.exports: $Exports<'flow-typed/dist/cli'>;
}
declare module 'flow-typed/dist/commands/create-stub.js' {
declare module.exports: $Exports<'flow-typed/dist/commands/create-stub'>;
}
declare module 'flow-typed/dist/commands/install.js' {
declare module.exports: $Exports<'flow-typed/dist/commands/install'>;
}
declare module 'flow-typed/dist/commands/runTests.js' {
declare module.exports: $Exports<'flow-typed/dist/commands/runTests'>;
}
declare module 'flow-typed/dist/commands/search.js' {
declare module.exports: $Exports<'flow-typed/dist/commands/search'>;
}
declare module 'flow-typed/dist/commands/update-cache.js' {
declare module.exports: $Exports<'flow-typed/dist/commands/update-cache'>;
}
declare module 'flow-typed/dist/commands/update.js' {
declare module.exports: $Exports<'flow-typed/dist/commands/update'>;
}
declare module 'flow-typed/dist/commands/validateDefs.js' {
declare module.exports: $Exports<'flow-typed/dist/commands/validateDefs'>;
}
declare module 'flow-typed/dist/lib/cacheRepoUtils.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/cacheRepoUtils'>;
}
declare module 'flow-typed/dist/lib/codeSign.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/codeSign'>;
}
declare module 'flow-typed/dist/lib/fileUtils.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/fileUtils'>;
}
declare module 'flow-typed/dist/lib/flowProjectUtils.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/flowProjectUtils'>;
}
declare module 'flow-typed/dist/lib/flowVersion.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/flowVersion'>;
}
declare module 'flow-typed/dist/lib/git.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/git'>;
}
declare module 'flow-typed/dist/lib/github.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/github'>;
}
declare module 'flow-typed/dist/lib/isInFlowTypedRepo.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/isInFlowTypedRepo'>;
}
declare module 'flow-typed/dist/lib/libDefs.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/libDefs'>;
}
declare module 'flow-typed/dist/lib/node.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/node'>;
}
declare module 'flow-typed/dist/lib/npm/npmLibDefs.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/npm/npmLibDefs'>;
}
declare module 'flow-typed/dist/lib/npm/npmProjectUtils.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/npm/npmProjectUtils'>;
}
declare module 'flow-typed/dist/lib/semver.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/semver'>;
}
declare module 'flow-typed/dist/lib/stubUtils.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/stubUtils'>;
}
declare module 'flow-typed/dist/lib/ValidationError.js' {
declare module.exports: $Exports<'flow-typed/dist/lib/ValidationError'>;
}
-288
View File
@@ -1,288 +0,0 @@
// flow-typed signature: 8b530e0b1f13683525714d91fcfbe41f
// flow-typed version: <<STUB>>/fs-extra_v^4.0.2/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'fs-extra'
*
* 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 'fs-extra' {
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 'fs-extra/lib/copy-sync/copy-file-sync' {
declare module.exports: any;
}
declare module 'fs-extra/lib/copy-sync/copy-sync' {
declare module.exports: any;
}
declare module 'fs-extra/lib/copy-sync' {
declare module.exports: any;
}
declare module 'fs-extra/lib/copy/copy' {
declare module.exports: any;
}
declare module 'fs-extra/lib/copy' {
declare module.exports: any;
}
declare module 'fs-extra/lib/copy/ncp' {
declare module.exports: any;
}
declare module 'fs-extra/lib/empty' {
declare module.exports: any;
}
declare module 'fs-extra/lib/ensure/file' {
declare module.exports: any;
}
declare module 'fs-extra/lib/ensure' {
declare module.exports: any;
}
declare module 'fs-extra/lib/ensure/link' {
declare module.exports: any;
}
declare module 'fs-extra/lib/ensure/symlink-paths' {
declare module.exports: any;
}
declare module 'fs-extra/lib/ensure/symlink-type' {
declare module.exports: any;
}
declare module 'fs-extra/lib/ensure/symlink' {
declare module.exports: any;
}
declare module 'fs-extra/lib/fs' {
declare module.exports: any;
}
declare module 'fs-extra/lib' {
declare module.exports: any;
}
declare module 'fs-extra/lib/json' {
declare module.exports: any;
}
declare module 'fs-extra/lib/json/jsonfile' {
declare module.exports: any;
}
declare module 'fs-extra/lib/json/output-json-sync' {
declare module.exports: any;
}
declare module 'fs-extra/lib/json/output-json' {
declare module.exports: any;
}
declare module 'fs-extra/lib/mkdirs' {
declare module.exports: any;
}
declare module 'fs-extra/lib/mkdirs/mkdirs-sync' {
declare module.exports: any;
}
declare module 'fs-extra/lib/mkdirs/mkdirs' {
declare module.exports: any;
}
declare module 'fs-extra/lib/mkdirs/win32' {
declare module.exports: any;
}
declare module 'fs-extra/lib/move-sync' {
declare module.exports: any;
}
declare module 'fs-extra/lib/move' {
declare module.exports: any;
}
declare module 'fs-extra/lib/output' {
declare module.exports: any;
}
declare module 'fs-extra/lib/path-exists' {
declare module.exports: any;
}
declare module 'fs-extra/lib/remove' {
declare module.exports: any;
}
declare module 'fs-extra/lib/remove/rimraf' {
declare module.exports: any;
}
declare module 'fs-extra/lib/util/assign' {
declare module.exports: any;
}
declare module 'fs-extra/lib/util/buffer' {
declare module.exports: any;
}
declare module 'fs-extra/lib/util/utimes' {
declare module.exports: any;
}
// Filename aliases
declare module 'fs-extra/lib/copy-sync/copy-file-sync.js' {
declare module.exports: $Exports<'fs-extra/lib/copy-sync/copy-file-sync'>;
}
declare module 'fs-extra/lib/copy-sync/copy-sync.js' {
declare module.exports: $Exports<'fs-extra/lib/copy-sync/copy-sync'>;
}
declare module 'fs-extra/lib/copy-sync/index' {
declare module.exports: $Exports<'fs-extra/lib/copy-sync'>;
}
declare module 'fs-extra/lib/copy-sync/index.js' {
declare module.exports: $Exports<'fs-extra/lib/copy-sync'>;
}
declare module 'fs-extra/lib/copy/copy.js' {
declare module.exports: $Exports<'fs-extra/lib/copy/copy'>;
}
declare module 'fs-extra/lib/copy/index' {
declare module.exports: $Exports<'fs-extra/lib/copy'>;
}
declare module 'fs-extra/lib/copy/index.js' {
declare module.exports: $Exports<'fs-extra/lib/copy'>;
}
declare module 'fs-extra/lib/copy/ncp.js' {
declare module.exports: $Exports<'fs-extra/lib/copy/ncp'>;
}
declare module 'fs-extra/lib/empty/index' {
declare module.exports: $Exports<'fs-extra/lib/empty'>;
}
declare module 'fs-extra/lib/empty/index.js' {
declare module.exports: $Exports<'fs-extra/lib/empty'>;
}
declare module 'fs-extra/lib/ensure/file.js' {
declare module.exports: $Exports<'fs-extra/lib/ensure/file'>;
}
declare module 'fs-extra/lib/ensure/index' {
declare module.exports: $Exports<'fs-extra/lib/ensure'>;
}
declare module 'fs-extra/lib/ensure/index.js' {
declare module.exports: $Exports<'fs-extra/lib/ensure'>;
}
declare module 'fs-extra/lib/ensure/link.js' {
declare module.exports: $Exports<'fs-extra/lib/ensure/link'>;
}
declare module 'fs-extra/lib/ensure/symlink-paths.js' {
declare module.exports: $Exports<'fs-extra/lib/ensure/symlink-paths'>;
}
declare module 'fs-extra/lib/ensure/symlink-type.js' {
declare module.exports: $Exports<'fs-extra/lib/ensure/symlink-type'>;
}
declare module 'fs-extra/lib/ensure/symlink.js' {
declare module.exports: $Exports<'fs-extra/lib/ensure/symlink'>;
}
declare module 'fs-extra/lib/fs/index' {
declare module.exports: $Exports<'fs-extra/lib/fs'>;
}
declare module 'fs-extra/lib/fs/index.js' {
declare module.exports: $Exports<'fs-extra/lib/fs'>;
}
declare module 'fs-extra/lib/index' {
declare module.exports: $Exports<'fs-extra/lib'>;
}
declare module 'fs-extra/lib/index.js' {
declare module.exports: $Exports<'fs-extra/lib'>;
}
declare module 'fs-extra/lib/json/index' {
declare module.exports: $Exports<'fs-extra/lib/json'>;
}
declare module 'fs-extra/lib/json/index.js' {
declare module.exports: $Exports<'fs-extra/lib/json'>;
}
declare module 'fs-extra/lib/json/jsonfile.js' {
declare module.exports: $Exports<'fs-extra/lib/json/jsonfile'>;
}
declare module 'fs-extra/lib/json/output-json-sync.js' {
declare module.exports: $Exports<'fs-extra/lib/json/output-json-sync'>;
}
declare module 'fs-extra/lib/json/output-json.js' {
declare module.exports: $Exports<'fs-extra/lib/json/output-json'>;
}
declare module 'fs-extra/lib/mkdirs/index' {
declare module.exports: $Exports<'fs-extra/lib/mkdirs'>;
}
declare module 'fs-extra/lib/mkdirs/index.js' {
declare module.exports: $Exports<'fs-extra/lib/mkdirs'>;
}
declare module 'fs-extra/lib/mkdirs/mkdirs-sync.js' {
declare module.exports: $Exports<'fs-extra/lib/mkdirs/mkdirs-sync'>;
}
declare module 'fs-extra/lib/mkdirs/mkdirs.js' {
declare module.exports: $Exports<'fs-extra/lib/mkdirs/mkdirs'>;
}
declare module 'fs-extra/lib/mkdirs/win32.js' {
declare module.exports: $Exports<'fs-extra/lib/mkdirs/win32'>;
}
declare module 'fs-extra/lib/move-sync/index' {
declare module.exports: $Exports<'fs-extra/lib/move-sync'>;
}
declare module 'fs-extra/lib/move-sync/index.js' {
declare module.exports: $Exports<'fs-extra/lib/move-sync'>;
}
declare module 'fs-extra/lib/move/index' {
declare module.exports: $Exports<'fs-extra/lib/move'>;
}
declare module 'fs-extra/lib/move/index.js' {
declare module.exports: $Exports<'fs-extra/lib/move'>;
}
declare module 'fs-extra/lib/output/index' {
declare module.exports: $Exports<'fs-extra/lib/output'>;
}
declare module 'fs-extra/lib/output/index.js' {
declare module.exports: $Exports<'fs-extra/lib/output'>;
}
declare module 'fs-extra/lib/path-exists/index' {
declare module.exports: $Exports<'fs-extra/lib/path-exists'>;
}
declare module 'fs-extra/lib/path-exists/index.js' {
declare module.exports: $Exports<'fs-extra/lib/path-exists'>;
}
declare module 'fs-extra/lib/remove/index' {
declare module.exports: $Exports<'fs-extra/lib/remove'>;
}
declare module 'fs-extra/lib/remove/index.js' {
declare module.exports: $Exports<'fs-extra/lib/remove'>;
}
declare module 'fs-extra/lib/remove/rimraf.js' {
declare module.exports: $Exports<'fs-extra/lib/remove/rimraf'>;
}
declare module 'fs-extra/lib/util/assign.js' {
declare module.exports: $Exports<'fs-extra/lib/util/assign'>;
}
declare module 'fs-extra/lib/util/buffer.js' {
declare module.exports: $Exports<'fs-extra/lib/util/buffer'>;
}
declare module 'fs-extra/lib/util/utimes.js' {
declare module.exports: $Exports<'fs-extra/lib/util/utimes'>;
}
-161
View File
@@ -1,161 +0,0 @@
// flow-typed signature: cb42a60ec13995444fb6e5202fef8698
// flow-typed version: <<STUB>>/google-auth-library_v^5.5.1/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'google-auth-library'
*
* 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 'google-auth-library' {
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 'google-auth-library/build/src/auth/authclient' {
declare module.exports: any;
}
declare module 'google-auth-library/build/src/auth/computeclient' {
declare module.exports: any;
}
declare module 'google-auth-library/build/src/auth/credentials' {
declare module.exports: any;
}
declare module 'google-auth-library/build/src/auth/envDetect' {
declare module.exports: any;
}
declare module 'google-auth-library/build/src/auth/googleauth' {
declare module.exports: any;
}
declare module 'google-auth-library/build/src/auth/iam' {
declare module.exports: any;
}
declare module 'google-auth-library/build/src/auth/idtokenclient' {
declare module.exports: any;
}
declare module 'google-auth-library/build/src/auth/jwtaccess' {
declare module.exports: any;
}
declare module 'google-auth-library/build/src/auth/jwtclient' {
declare module.exports: any;
}
declare module 'google-auth-library/build/src/auth/loginticket' {
declare module.exports: any;
}
declare module 'google-auth-library/build/src/auth/oauth2client' {
declare module.exports: any;
}
declare module 'google-auth-library/build/src/auth/refreshclient' {
declare module.exports: any;
}
declare module 'google-auth-library/build/src/crypto/browser/crypto' {
declare module.exports: any;
}
declare module 'google-auth-library/build/src/crypto/crypto' {
declare module.exports: any;
}
declare module 'google-auth-library/build/src/crypto/node/crypto' {
declare module.exports: any;
}
declare module 'google-auth-library/build/src' {
declare module.exports: any;
}
declare module 'google-auth-library/build/src/messages' {
declare module.exports: any;
}
declare module 'google-auth-library/build/src/options' {
declare module.exports: any;
}
declare module 'google-auth-library/build/src/transporters' {
declare module.exports: any;
}
// Filename aliases
declare module 'google-auth-library/build/src/auth/authclient.js' {
declare module.exports: $Exports<'google-auth-library/build/src/auth/authclient'>;
}
declare module 'google-auth-library/build/src/auth/computeclient.js' {
declare module.exports: $Exports<'google-auth-library/build/src/auth/computeclient'>;
}
declare module 'google-auth-library/build/src/auth/credentials.js' {
declare module.exports: $Exports<'google-auth-library/build/src/auth/credentials'>;
}
declare module 'google-auth-library/build/src/auth/envDetect.js' {
declare module.exports: $Exports<'google-auth-library/build/src/auth/envDetect'>;
}
declare module 'google-auth-library/build/src/auth/googleauth.js' {
declare module.exports: $Exports<'google-auth-library/build/src/auth/googleauth'>;
}
declare module 'google-auth-library/build/src/auth/iam.js' {
declare module.exports: $Exports<'google-auth-library/build/src/auth/iam'>;
}
declare module 'google-auth-library/build/src/auth/idtokenclient.js' {
declare module.exports: $Exports<'google-auth-library/build/src/auth/idtokenclient'>;
}
declare module 'google-auth-library/build/src/auth/jwtaccess.js' {
declare module.exports: $Exports<'google-auth-library/build/src/auth/jwtaccess'>;
}
declare module 'google-auth-library/build/src/auth/jwtclient.js' {
declare module.exports: $Exports<'google-auth-library/build/src/auth/jwtclient'>;
}
declare module 'google-auth-library/build/src/auth/loginticket.js' {
declare module.exports: $Exports<'google-auth-library/build/src/auth/loginticket'>;
}
declare module 'google-auth-library/build/src/auth/oauth2client.js' {
declare module.exports: $Exports<'google-auth-library/build/src/auth/oauth2client'>;
}
declare module 'google-auth-library/build/src/auth/refreshclient.js' {
declare module.exports: $Exports<'google-auth-library/build/src/auth/refreshclient'>;
}
declare module 'google-auth-library/build/src/crypto/browser/crypto.js' {
declare module.exports: $Exports<'google-auth-library/build/src/crypto/browser/crypto'>;
}
declare module 'google-auth-library/build/src/crypto/crypto.js' {
declare module.exports: $Exports<'google-auth-library/build/src/crypto/crypto'>;
}
declare module 'google-auth-library/build/src/crypto/node/crypto.js' {
declare module.exports: $Exports<'google-auth-library/build/src/crypto/node/crypto'>;
}
declare module 'google-auth-library/build/src/index' {
declare module.exports: $Exports<'google-auth-library/build/src'>;
}
declare module 'google-auth-library/build/src/index.js' {
declare module.exports: $Exports<'google-auth-library/build/src'>;
}
declare module 'google-auth-library/build/src/messages.js' {
declare module.exports: $Exports<'google-auth-library/build/src/messages'>;
}
declare module 'google-auth-library/build/src/options.js' {
declare module.exports: $Exports<'google-auth-library/build/src/options'>;
}
declare module 'google-auth-library/build/src/transporters.js' {
declare module.exports: $Exports<'google-auth-library/build/src/transporters'>;
}
File diff suppressed because it is too large Load Diff
-172
View File
@@ -1,172 +0,0 @@
// flow-typed signature: 6d6386ebbd509cfc7d51131368611342
// flow-typed version: <<STUB>>/history_v3.0.0/flow_v0.86.0
/**
* This is an autogenerated libdef stub for:
*
* 'history'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/
declare module 'history' {
declare module.exports: any;
}
/**
* We include stubs for each file inside this npm package in case you need to
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module 'history/lib/Actions' {
declare module.exports: any;
}
declare module 'history/lib/AsyncUtils' {
declare module.exports: any;
}
declare module 'history/lib/BrowserProtocol' {
declare module.exports: any;
}
declare module 'history/lib/createBrowserHistory' {
declare module.exports: any;
}
declare module 'history/lib/createHashHistory' {
declare module.exports: any;
}
declare module 'history/lib/createHistory' {
declare module.exports: any;
}
declare module 'history/lib/createMemoryHistory' {
declare module.exports: any;
}
declare module 'history/lib/DOMStateStorage' {
declare module.exports: any;
}
declare module 'history/lib/DOMUtils' {
declare module.exports: any;
}
declare module 'history/lib/ExecutionEnvironment' {
declare module.exports: any;
}
declare module 'history/lib/HashProtocol' {
declare module.exports: any;
}
declare module 'history/lib/index' {
declare module.exports: any;
}
declare module 'history/lib/LocationUtils' {
declare module.exports: any;
}
declare module 'history/lib/PathUtils' {
declare module.exports: any;
}
declare module 'history/lib/RefreshProtocol' {
declare module.exports: any;
}
declare module 'history/lib/runTransitionHook' {
declare module.exports: any;
}
declare module 'history/lib/useBasename' {
declare module.exports: any;
}
declare module 'history/lib/useBeforeUnload' {
declare module.exports: any;
}
declare module 'history/lib/useQueries' {
declare module.exports: any;
}
declare module 'history/umd/history' {
declare module.exports: any;
}
declare module 'history/umd/history.min' {
declare module.exports: any;
}
// Filename aliases
declare module 'history/lib/Actions.js' {
declare module.exports: $Exports<'history/lib/Actions'>;
}
declare module 'history/lib/AsyncUtils.js' {
declare module.exports: $Exports<'history/lib/AsyncUtils'>;
}
declare module 'history/lib/BrowserProtocol.js' {
declare module.exports: $Exports<'history/lib/BrowserProtocol'>;
}
declare module 'history/lib/createBrowserHistory.js' {
declare module.exports: $Exports<'history/lib/createBrowserHistory'>;
}
declare module 'history/lib/createHashHistory.js' {
declare module.exports: $Exports<'history/lib/createHashHistory'>;
}
declare module 'history/lib/createHistory.js' {
declare module.exports: $Exports<'history/lib/createHistory'>;
}
declare module 'history/lib/createMemoryHistory.js' {
declare module.exports: $Exports<'history/lib/createMemoryHistory'>;
}
declare module 'history/lib/DOMStateStorage.js' {
declare module.exports: $Exports<'history/lib/DOMStateStorage'>;
}
declare module 'history/lib/DOMUtils.js' {
declare module.exports: $Exports<'history/lib/DOMUtils'>;
}
declare module 'history/lib/ExecutionEnvironment.js' {
declare module.exports: $Exports<'history/lib/ExecutionEnvironment'>;
}
declare module 'history/lib/HashProtocol.js' {
declare module.exports: $Exports<'history/lib/HashProtocol'>;
}
declare module 'history/lib/index.js' {
declare module.exports: $Exports<'history/lib/index'>;
}
declare module 'history/lib/LocationUtils.js' {
declare module.exports: $Exports<'history/lib/LocationUtils'>;
}
declare module 'history/lib/PathUtils.js' {
declare module.exports: $Exports<'history/lib/PathUtils'>;
}
declare module 'history/lib/RefreshProtocol.js' {
declare module.exports: $Exports<'history/lib/RefreshProtocol'>;
}
declare module 'history/lib/runTransitionHook.js' {
declare module.exports: $Exports<'history/lib/runTransitionHook'>;
}
declare module 'history/lib/useBasename.js' {
declare module.exports: $Exports<'history/lib/useBasename'>;
}
declare module 'history/lib/useBeforeUnload.js' {
declare module.exports: $Exports<'history/lib/useBeforeUnload'>;
}
declare module 'history/lib/useQueries.js' {
declare module.exports: $Exports<'history/lib/useQueries'>;
}
declare module 'history/umd/history.js' {
declare module.exports: $Exports<'history/umd/history'>;
}
declare module 'history/umd/history.min.js' {
declare module.exports: $Exports<'history/umd/history.min'>;
}
-59
View File
@@ -1,59 +0,0 @@
// flow-typed signature: 4d98528e36955997d0b4fff3e5b5212f
// flow-typed version: <<STUB>>/html-webpack-plugin_v3.2.0/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'html-webpack-plugin'
*
* 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 'html-webpack-plugin' {
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 'html-webpack-plugin/lib/chunksorter' {
declare module.exports: any;
}
declare module 'html-webpack-plugin/lib/compiler' {
declare module.exports: any;
}
declare module 'html-webpack-plugin/lib/errors' {
declare module.exports: any;
}
declare module 'html-webpack-plugin/lib/loader' {
declare module.exports: any;
}
// Filename aliases
declare module 'html-webpack-plugin/index' {
declare module.exports: $Exports<'html-webpack-plugin'>;
}
declare module 'html-webpack-plugin/index.js' {
declare module.exports: $Exports<'html-webpack-plugin'>;
}
declare module 'html-webpack-plugin/lib/chunksorter.js' {
declare module.exports: $Exports<'html-webpack-plugin/lib/chunksorter'>;
}
declare module 'html-webpack-plugin/lib/compiler.js' {
declare module.exports: $Exports<'html-webpack-plugin/lib/compiler'>;
}
declare module 'html-webpack-plugin/lib/errors.js' {
declare module.exports: $Exports<'html-webpack-plugin/lib/errors'>;
}
declare module 'html-webpack-plugin/lib/loader.js' {
declare module.exports: $Exports<'html-webpack-plugin/lib/loader'>;
}
-60
View File
@@ -1,60 +0,0 @@
// flow-typed signature: 6ff0546e3438a4dd0c7cc8a4c32840d2
// flow-typed version: c6154227d1/http-errors_v1.x.x/flow_>=v0.104.x
declare module 'http-errors' {
declare class SpecialHttpError extends HttpError {
constructor(message?: string): SpecialHttpError;
}
declare class HttpError extends Error {
expose: bool;
message: string;
status: number;
statusCode: number;
}
declare module.exports: {
(status?: number, message?: string, props?: Object): HttpError,
HttpError: typeof HttpError,
BadRequest: typeof SpecialHttpError,
Unauthorized: typeof SpecialHttpError,
PaymentRequired: typeof SpecialHttpError,
Forbidden: typeof SpecialHttpError,
NotFound: typeof SpecialHttpError,
MethodNotAllowed: typeof SpecialHttpError,
NotAcceptable: typeof SpecialHttpError,
ProxyAuthenticationRequired: typeof SpecialHttpError,
RequestTimeout: typeof SpecialHttpError,
Conflict: typeof SpecialHttpError,
Gone: typeof SpecialHttpError,
LengthRequired: typeof SpecialHttpError,
PreconditionFailed: typeof SpecialHttpError,
PayloadTooLarge: typeof SpecialHttpError,
URITooLong: typeof SpecialHttpError,
UnsupportedMediaType: typeof SpecialHttpError,
RangeNotStatisfiable: typeof SpecialHttpError,
ExpectationFailed: typeof SpecialHttpError,
ImATeapot: typeof SpecialHttpError,
MisdirectedRequest: typeof SpecialHttpError,
UnprocessableEntity: typeof SpecialHttpError,
Locked: typeof SpecialHttpError,
FailedDependency: typeof SpecialHttpError,
UnorderedCollection: typeof SpecialHttpError,
UpgradeRequired: typeof SpecialHttpError,
PreconditionRequired: typeof SpecialHttpError,
TooManyRequests: typeof SpecialHttpError,
RequestHeaderFieldsTooLarge: typeof SpecialHttpError,
UnavailableForLegalReasons: typeof SpecialHttpError,
InternalServerError: typeof SpecialHttpError,
NotImplemented: typeof SpecialHttpError,
BadGateway: typeof SpecialHttpError,
ServiceUnavailable: typeof SpecialHttpError,
GatewayTimeout: typeof SpecialHttpError,
HTTPVersionNotSupported: typeof SpecialHttpError,
VariantAlsoNegotiates: typeof SpecialHttpError,
InsufficientStorage: typeof SpecialHttpError,
LoopDetected: typeof SpecialHttpError,
BandwidthLimitExceeded: typeof SpecialHttpError,
NotExtended: typeof SpecialHttpError,
NetworkAuthenticationRequired: typeof SpecialHttpError,
...
}
}
-33
View File
@@ -1,33 +0,0 @@
// flow-typed signature: c54fce38f9051b27ef203077dc737a0b
// flow-typed version: <<STUB>>/imports-loader_v0.6.5/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'imports-loader'
*
* 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 'imports-loader' {
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.
*/
// Filename aliases
declare module 'imports-loader/index' {
declare module.exports: $Exports<'imports-loader'>;
}
declare module 'imports-loader/index.js' {
declare module.exports: $Exports<'imports-loader'>;
}
-6
View File
@@ -1,6 +0,0 @@
// flow-typed signature: 4daa25492655417e7c0763d1d0b30fbb
// flow-typed version: c6154227d1/invariant_v2.x.x/flow_>=v0.104.x
declare module invariant {
declare module.exports: (condition: boolean, message: string) => void;
}
-270
View File
@@ -1,270 +0,0 @@
// flow-typed signature: b22b4468bfca789ab7d226b932705f45
// flow-typed version: <<STUB>>/ioredis_v^4.14.1/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'ioredis'
*
* 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 'ioredis' {
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 'ioredis/built/cluster/ClusterOptions' {
declare module.exports: any;
}
declare module 'ioredis/built/cluster/ClusterSubscriber' {
declare module.exports: any;
}
declare module 'ioredis/built/cluster/ConnectionPool' {
declare module.exports: any;
}
declare module 'ioredis/built/cluster/DelayQueue' {
declare module.exports: any;
}
declare module 'ioredis/built/cluster' {
declare module.exports: any;
}
declare module 'ioredis/built/cluster/util' {
declare module.exports: any;
}
declare module 'ioredis/built/command' {
declare module.exports: any;
}
declare module 'ioredis/built/commander' {
declare module.exports: any;
}
declare module 'ioredis/built/connectors/AbstractConnector' {
declare module.exports: any;
}
declare module 'ioredis/built/connectors' {
declare module.exports: any;
}
declare module 'ioredis/built/connectors/SentinelConnector' {
declare module.exports: any;
}
declare module 'ioredis/built/connectors/SentinelConnector/SentinelIterator' {
declare module.exports: any;
}
declare module 'ioredis/built/connectors/SentinelConnector/types' {
declare module.exports: any;
}
declare module 'ioredis/built/connectors/StandaloneConnector' {
declare module.exports: any;
}
declare module 'ioredis/built/DataHandler' {
declare module.exports: any;
}
declare module 'ioredis/built/errors/ClusterAllFailedError' {
declare module.exports: any;
}
declare module 'ioredis/built/errors' {
declare module.exports: any;
}
declare module 'ioredis/built/errors/MaxRetriesPerRequestError' {
declare module.exports: any;
}
declare module 'ioredis/built' {
declare module.exports: any;
}
declare module 'ioredis/built/pipeline' {
declare module.exports: any;
}
declare module 'ioredis/built/promiseContainer' {
declare module.exports: any;
}
declare module 'ioredis/built/redis/event_handler' {
declare module.exports: any;
}
declare module 'ioredis/built/redis' {
declare module.exports: any;
}
declare module 'ioredis/built/redis/RedisOptions' {
declare module.exports: any;
}
declare module 'ioredis/built/ScanStream' {
declare module.exports: any;
}
declare module 'ioredis/built/script' {
declare module.exports: any;
}
declare module 'ioredis/built/SubscriptionSet' {
declare module.exports: any;
}
declare module 'ioredis/built/transaction' {
declare module.exports: any;
}
declare module 'ioredis/built/types' {
declare module.exports: any;
}
declare module 'ioredis/built/utils/debug' {
declare module.exports: any;
}
declare module 'ioredis/built/utils' {
declare module.exports: any;
}
declare module 'ioredis/built/utils/lodash' {
declare module.exports: any;
}
// Filename aliases
declare module 'ioredis/built/cluster/ClusterOptions.js' {
declare module.exports: $Exports<'ioredis/built/cluster/ClusterOptions'>;
}
declare module 'ioredis/built/cluster/ClusterSubscriber.js' {
declare module.exports: $Exports<'ioredis/built/cluster/ClusterSubscriber'>;
}
declare module 'ioredis/built/cluster/ConnectionPool.js' {
declare module.exports: $Exports<'ioredis/built/cluster/ConnectionPool'>;
}
declare module 'ioredis/built/cluster/DelayQueue.js' {
declare module.exports: $Exports<'ioredis/built/cluster/DelayQueue'>;
}
declare module 'ioredis/built/cluster/index' {
declare module.exports: $Exports<'ioredis/built/cluster'>;
}
declare module 'ioredis/built/cluster/index.js' {
declare module.exports: $Exports<'ioredis/built/cluster'>;
}
declare module 'ioredis/built/cluster/util.js' {
declare module.exports: $Exports<'ioredis/built/cluster/util'>;
}
declare module 'ioredis/built/command.js' {
declare module.exports: $Exports<'ioredis/built/command'>;
}
declare module 'ioredis/built/commander.js' {
declare module.exports: $Exports<'ioredis/built/commander'>;
}
declare module 'ioredis/built/connectors/AbstractConnector.js' {
declare module.exports: $Exports<'ioredis/built/connectors/AbstractConnector'>;
}
declare module 'ioredis/built/connectors/index' {
declare module.exports: $Exports<'ioredis/built/connectors'>;
}
declare module 'ioredis/built/connectors/index.js' {
declare module.exports: $Exports<'ioredis/built/connectors'>;
}
declare module 'ioredis/built/connectors/SentinelConnector/index' {
declare module.exports: $Exports<'ioredis/built/connectors/SentinelConnector'>;
}
declare module 'ioredis/built/connectors/SentinelConnector/index.js' {
declare module.exports: $Exports<'ioredis/built/connectors/SentinelConnector'>;
}
declare module 'ioredis/built/connectors/SentinelConnector/SentinelIterator.js' {
declare module.exports: $Exports<'ioredis/built/connectors/SentinelConnector/SentinelIterator'>;
}
declare module 'ioredis/built/connectors/SentinelConnector/types.js' {
declare module.exports: $Exports<'ioredis/built/connectors/SentinelConnector/types'>;
}
declare module 'ioredis/built/connectors/StandaloneConnector.js' {
declare module.exports: $Exports<'ioredis/built/connectors/StandaloneConnector'>;
}
declare module 'ioredis/built/DataHandler.js' {
declare module.exports: $Exports<'ioredis/built/DataHandler'>;
}
declare module 'ioredis/built/errors/ClusterAllFailedError.js' {
declare module.exports: $Exports<'ioredis/built/errors/ClusterAllFailedError'>;
}
declare module 'ioredis/built/errors/index' {
declare module.exports: $Exports<'ioredis/built/errors'>;
}
declare module 'ioredis/built/errors/index.js' {
declare module.exports: $Exports<'ioredis/built/errors'>;
}
declare module 'ioredis/built/errors/MaxRetriesPerRequestError.js' {
declare module.exports: $Exports<'ioredis/built/errors/MaxRetriesPerRequestError'>;
}
declare module 'ioredis/built/index' {
declare module.exports: $Exports<'ioredis/built'>;
}
declare module 'ioredis/built/index.js' {
declare module.exports: $Exports<'ioredis/built'>;
}
declare module 'ioredis/built/pipeline.js' {
declare module.exports: $Exports<'ioredis/built/pipeline'>;
}
declare module 'ioredis/built/promiseContainer.js' {
declare module.exports: $Exports<'ioredis/built/promiseContainer'>;
}
declare module 'ioredis/built/redis/event_handler.js' {
declare module.exports: $Exports<'ioredis/built/redis/event_handler'>;
}
declare module 'ioredis/built/redis/index' {
declare module.exports: $Exports<'ioredis/built/redis'>;
}
declare module 'ioredis/built/redis/index.js' {
declare module.exports: $Exports<'ioredis/built/redis'>;
}
declare module 'ioredis/built/redis/RedisOptions.js' {
declare module.exports: $Exports<'ioredis/built/redis/RedisOptions'>;
}
declare module 'ioredis/built/ScanStream.js' {
declare module.exports: $Exports<'ioredis/built/ScanStream'>;
}
declare module 'ioredis/built/script.js' {
declare module.exports: $Exports<'ioredis/built/script'>;
}
declare module 'ioredis/built/SubscriptionSet.js' {
declare module.exports: $Exports<'ioredis/built/SubscriptionSet'>;
}
declare module 'ioredis/built/transaction.js' {
declare module.exports: $Exports<'ioredis/built/transaction'>;
}
declare module 'ioredis/built/types.js' {
declare module.exports: $Exports<'ioredis/built/types'>;
}
declare module 'ioredis/built/utils/debug.js' {
declare module.exports: $Exports<'ioredis/built/utils/debug'>;
}
declare module 'ioredis/built/utils/index' {
declare module.exports: $Exports<'ioredis/built/utils'>;
}
declare module 'ioredis/built/utils/index.js' {
declare module.exports: $Exports<'ioredis/built/utils'>;
}
declare module 'ioredis/built/utils/lodash.js' {
declare module.exports: $Exports<'ioredis/built/utils/lodash'>;
}
-9
View File
@@ -1,9 +0,0 @@
// flow-typed signature: 03bcd2195d27d9c7b8ea57265f6673cd
// flow-typed version: c6154227d1/isomorphic-fetch_v2.x.x/flow_>=v0.104.x
declare module "isomorphic-fetch" {
declare module.exports: (
input: string | Request | URL,
init?: RequestOptions
) => Promise<Response>;
}
-104
View File
@@ -1,104 +0,0 @@
// flow-typed signature: 183e49aaca3629a8ab82ccddf677fafa
// flow-typed version: <<STUB>>/jest-cli_v^26.0.0/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'jest-cli'
*
* 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 'jest-cli' {
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 'jest-cli/bin/jest' {
declare module.exports: any;
}
declare module 'jest-cli/build/cli/args' {
declare module.exports: any;
}
declare module 'jest-cli/build/cli' {
declare module.exports: any;
}
declare module 'jest-cli/build' {
declare module.exports: any;
}
declare module 'jest-cli/build/init/errors' {
declare module.exports: any;
}
declare module 'jest-cli/build/init/generate_config_file' {
declare module.exports: any;
}
declare module 'jest-cli/build/init' {
declare module.exports: any;
}
declare module 'jest-cli/build/init/modify_package_json' {
declare module.exports: any;
}
declare module 'jest-cli/build/init/questions' {
declare module.exports: any;
}
declare module 'jest-cli/build/init/types' {
declare module.exports: any;
}
// Filename aliases
declare module 'jest-cli/bin/jest.js' {
declare module.exports: $Exports<'jest-cli/bin/jest'>;
}
declare module 'jest-cli/build/cli/args.js' {
declare module.exports: $Exports<'jest-cli/build/cli/args'>;
}
declare module 'jest-cli/build/cli/index' {
declare module.exports: $Exports<'jest-cli/build/cli'>;
}
declare module 'jest-cli/build/cli/index.js' {
declare module.exports: $Exports<'jest-cli/build/cli'>;
}
declare module 'jest-cli/build/index' {
declare module.exports: $Exports<'jest-cli/build'>;
}
declare module 'jest-cli/build/index.js' {
declare module.exports: $Exports<'jest-cli/build'>;
}
declare module 'jest-cli/build/init/errors.js' {
declare module.exports: $Exports<'jest-cli/build/init/errors'>;
}
declare module 'jest-cli/build/init/generate_config_file.js' {
declare module.exports: $Exports<'jest-cli/build/init/generate_config_file'>;
}
declare module 'jest-cli/build/init/index' {
declare module.exports: $Exports<'jest-cli/build/init'>;
}
declare module 'jest-cli/build/init/index.js' {
declare module.exports: $Exports<'jest-cli/build/init'>;
}
declare module 'jest-cli/build/init/modify_package_json.js' {
declare module.exports: $Exports<'jest-cli/build/init/modify_package_json'>;
}
declare module 'jest-cli/build/init/questions.js' {
declare module.exports: $Exports<'jest-cli/build/init/questions'>;
}
declare module 'jest-cli/build/init/types.js' {
declare module.exports: $Exports<'jest-cli/build/init/types'>;
}
-988
View File
@@ -1,988 +0,0 @@
// flow-typed signature: 27b6ff5cf910473843da0caf82e362fe
// flow-typed version: a3709d51ed/jest_v22.x.x/flow_>=v0.39.x
type JestMockFn<TArguments: $ReadOnlyArray<*>, TReturn> = {
(...args: TArguments): TReturn,
/**
* An object for introspecting mock calls
*/
mock: {
/**
* An array that represents all calls that have been made into this mock
* function. Each call is represented by an array of arguments that were
* passed during the call.
*/
calls: Array<TArguments>,
/**
* An array that contains all the object instances that have been
* instantiated from this mock function.
*/
instances: Array<TReturn>
},
/**
* Resets all information stored in the mockFn.mock.calls and
* mockFn.mock.instances arrays. Often this is useful when you want to clean
* up a mock's usage data between two assertions.
*/
mockClear(): void,
/**
* Resets all information stored in the mock. This is useful when you want to
* completely restore a mock back to its initial state.
*/
mockReset(): void,
/**
* Removes the mock and restores the initial implementation. This is useful
* when you want to mock functions in certain test cases and restore the
* original implementation in others. Beware that mockFn.mockRestore only
* works when mock was created with jest.spyOn. Thus you have to take care of
* restoration yourself when manually assigning jest.fn().
*/
mockRestore(): void,
/**
* Accepts a function that should be used as the implementation of the mock.
* The mock itself will still record all calls that go into and instances
* that come from itself -- the only difference is that the implementation
* will also be executed when the mock is called.
*/
mockImplementation(
fn: (...args: TArguments) => TReturn
): JestMockFn<TArguments, TReturn>,
/**
* Accepts a function that will be used as an implementation of the mock for
* one call to the mocked function. Can be chained so that multiple function
* calls produce different results.
*/
mockImplementationOnce(
fn: (...args: TArguments) => TReturn
): JestMockFn<TArguments, TReturn>,
/**
* Accepts a string to use in test result output in place of "jest.fn()" to
* indicate which mock function is being referenced.
*/
mockName(name: string): JestMockFn<TArguments, TReturn>,
/**
* Just a simple sugar function for returning `this`
*/
mockReturnThis(): void,
/**
* Deprecated: use jest.fn(() => value) instead
*/
mockReturnValue(value: TReturn): JestMockFn<TArguments, TReturn>,
/**
* Sugar for only returning a value once inside your mock
*/
mockReturnValueOnce(value: TReturn): JestMockFn<TArguments, TReturn>
};
type JestAsymmetricEqualityType = {
/**
* A custom Jasmine equality tester
*/
asymmetricMatch(value: mixed): boolean
};
type JestCallsType = {
allArgs(): mixed,
all(): mixed,
any(): boolean,
count(): number,
first(): mixed,
mostRecent(): mixed,
reset(): void
};
type JestClockType = {
install(): void,
mockDate(date: Date): void,
tick(milliseconds?: number): void,
uninstall(): void
};
type JestMatcherResult = {
message?: string | (() => string),
pass: boolean
};
type JestMatcher = (actual: any, expected: any) => JestMatcherResult;
type JestPromiseType = {
/**
* Use rejects to unwrap the reason of a rejected promise so any other
* matcher can be chained. If the promise is fulfilled the assertion fails.
*/
rejects: JestExpectType,
/**
* Use resolves to unwrap the value of a fulfilled promise so any other
* matcher can be chained. If the promise is rejected the assertion fails.
*/
resolves: JestExpectType
};
/**
* Jest allows functions and classes to be used as test names in test() and
* describe()
*/
type JestTestName = string | Function;
/**
* Plugin: jest-enzyme
*/
type EnzymeMatchersType = {
toBeChecked(): void,
toBeDisabled(): void,
toBeEmpty(): void,
toBeEmptyRender(): void,
toBePresent(): void,
toContainReact(element: React$Element<any>): void,
toExist(): void,
toHaveClassName(className: string): void,
toHaveHTML(html: string): void,
toHaveProp: ((propKey: string, propValue?: any) => void) & ((props: Object) => void),
toHaveRef(refName: string): void,
toHaveState: ((stateKey: string, stateValue?: any) => void) & ((state: Object) => void),
toHaveStyle: ((styleKey: string, styleValue?: any) => void) & ((style: Object) => void),
toHaveTagName(tagName: string): void,
toHaveText(text: string): void,
toIncludeText(text: string): void,
toHaveValue(value: any): void,
toMatchElement(element: React$Element<any>): void,
toMatchSelector(selector: string): void
};
// DOM testing library extensions https://github.com/kentcdodds/dom-testing-library#custom-jest-matchers
type DomTestingLibraryType = {
toBeInTheDOM(): void,
toHaveTextContent(content: string): void,
toHaveAttribute(name: string, expectedValue?: string): void
};
// Jest JQuery Matchers: https://github.com/unindented/custom-jquery-matchers
type JestJQueryMatchersType = {
toExist(): void,
toHaveLength(len: number): void,
toHaveId(id: string): void,
toHaveClass(className: string): void,
toHaveTag(tag: string): void,
toHaveAttr(key: string, val?: any): void,
toHaveProp(key: string, val?: any): void,
toHaveText(text: string | RegExp): void,
toHaveData(key: string, val?: any): void,
toHaveValue(val: any): void,
toHaveCss(css: {[key: string]: any}): void,
toBeChecked(): void,
toBeDisabled(): void,
toBeEmpty(): void,
toBeHidden(): void,
toBeSelected(): void,
toBeVisible(): void,
toBeFocused(): void,
toBeInDom(): void,
toBeMatchedBy(sel: string): void,
toHaveDescendant(sel: string): void,
toHaveDescendantWithText(sel: string, text: string | RegExp): void
};
// Jest Extended Matchers: https://github.com/jest-community/jest-extended
type JestExtendedMatchersType = {
/**
* Note: Currently unimplemented
* Passing assertion
*
* @param {String} message
*/
// pass(message: string): void;
/**
* Note: Currently unimplemented
* Failing assertion
*
* @param {String} message
*/
// fail(message: string): void;
/**
* Use .toBeEmpty when checking if a String '', Array [] or Object {} is empty.
*/
toBeEmpty(): void;
/**
* Use .toBeOneOf when checking if a value is a member of a given Array.
* @param {Array.<*>} members
*/
toBeOneOf(members: any[]): void;
/**
* Use `.toBeNil` when checking a value is `null` or `undefined`.
*/
toBeNil(): void;
/**
* Use `.toSatisfy` when you want to use a custom matcher by supplying a predicate function that returns a `Boolean`.
* @param {Function} predicate
*/
toSatisfy(predicate: (n: any) => boolean): void;
/**
* Use `.toBeArray` when checking if a value is an `Array`.
*/
toBeArray(): void;
/**
* Use `.toBeArrayOfSize` when checking if a value is an `Array` of size x.
* @param {Number} x
*/
toBeArrayOfSize(x: number): void;
/**
* Use `.toIncludeAllMembers` when checking if an `Array` contains all of the same members of a given set.
* @param {Array.<*>} members
*/
toIncludeAllMembers(members: any[]): void;
/**
* Use `.toIncludeAnyMembers` when checking if an `Array` contains any of the members of a given set.
* @param {Array.<*>} members
*/
toIncludeAnyMembers(members: any[]): void;
/**
* Use `.toSatisfyAll` when you want to use a custom matcher by supplying a predicate function that returns a `Boolean` for all values in an array.
* @param {Function} predicate
*/
toSatisfyAll(predicate: (n: any) => boolean): void;
/**
* Use `.toBeBoolean` when checking if a value is a `Boolean`.
*/
toBeBoolean(): void;
/**
* Use `.toBeTrue` when checking a value is equal (===) to `true`.
*/
toBeTrue(): void;
/**
* Use `.toBeFalse` when checking a value is equal (===) to `false`.
*/
toBeFalse(): void;
/**
* Use .toBeDate when checking if a value is a Date.
*/
toBeDate(): void;
/**
* Use `.toBeFunction` when checking if a value is a `Function`.
*/
toBeFunction(): void;
/**
* Use `.toHaveBeenCalledBefore` when checking if a `Mock` was called before another `Mock`.
*
* Note: Required Jest version >22
* Note: Your mock functions will have to be asynchronous to cause the timestamps inside of Jest to occur in a differentJS event loop, otherwise the mock timestamps will all be the same
*
* @param {Mock} mock
*/
toHaveBeenCalledBefore(mock: JestMockFn<any, any>): void;
/**
* Use `.toBeNumber` when checking if a value is a `Number`.
*/
toBeNumber(): void;
/**
* Use `.toBeNaN` when checking a value is `NaN`.
*/
toBeNaN(): void;
/**
* Use `.toBeFinite` when checking if a value is a `Number`, not `NaN` or `Infinity`.
*/
toBeFinite(): void;
/**
* Use `.toBePositive` when checking if a value is a positive `Number`.
*/
toBePositive(): void;
/**
* Use `.toBeNegative` when checking if a value is a negative `Number`.
*/
toBeNegative(): void;
/**
* Use `.toBeEven` when checking if a value is an even `Number`.
*/
toBeEven(): void;
/**
* Use `.toBeOdd` when checking if a value is an odd `Number`.
*/
toBeOdd(): void;
/**
* Use `.toBeWithin` when checking if a number is in between the given bounds of: start (inclusive) and end (exclusive).
*
* @param {Number} start
* @param {Number} end
*/
toBeWithin(start: number, end: number): void;
/**
* Use `.toBeObject` when checking if a value is an `Object`.
*/
toBeObject(): void;
/**
* Use `.toContainKey` when checking if an object contains the provided key.
*
* @param {String} key
*/
toContainKey(key: string): void;
/**
* Use `.toContainKeys` when checking if an object has all of the provided keys.
*
* @param {Array.<String>} keys
*/
toContainKeys(keys: string[]): void;
/**
* Use `.toContainAllKeys` when checking if an object only contains all of the provided keys.
*
* @param {Array.<String>} keys
*/
toContainAllKeys(keys: string[]): void;
/**
* Use `.toContainAnyKeys` when checking if an object contains at least one of the provided keys.
*
* @param {Array.<String>} keys
*/
toContainAnyKeys(keys: string[]): void;
/**
* Use `.toContainValue` when checking if an object contains the provided value.
*
* @param {*} value
*/
toContainValue(value: any): void;
/**
* Use `.toContainValues` when checking if an object contains all of the provided values.
*
* @param {Array.<*>} values
*/
toContainValues(values: any[]): void;
/**
* Use `.toContainAllValues` when checking if an object only contains all of the provided values.
*
* @param {Array.<*>} values
*/
toContainAllValues(values: any[]): void;
/**
* Use `.toContainAnyValues` when checking if an object contains at least one of the provided values.
*
* @param {Array.<*>} values
*/
toContainAnyValues(values: any[]): void;
/**
* Use `.toContainEntry` when checking if an object contains the provided entry.
*
* @param {Array.<String, String>} entry
*/
toContainEntry(entry: [string, string]): void;
/**
* Use `.toContainEntries` when checking if an object contains all of the provided entries.
*
* @param {Array.<Array.<String, String>>} entries
*/
toContainEntries(entries: [string, string][]): void;
/**
* Use `.toContainAllEntries` when checking if an object only contains all of the provided entries.
*
* @param {Array.<Array.<String, String>>} entries
*/
toContainAllEntries(entries: [string, string][]): void;
/**
* Use `.toContainAnyEntries` when checking if an object contains at least one of the provided entries.
*
* @param {Array.<Array.<String, String>>} entries
*/
toContainAnyEntries(entries: [string, string][]): void;
/**
* Use `.toBeExtensible` when checking if an object is extensible.
*/
toBeExtensible(): void;
/**
* Use `.toBeFrozen` when checking if an object is frozen.
*/
toBeFrozen(): void;
/**
* Use `.toBeSealed` when checking if an object is sealed.
*/
toBeSealed(): void;
/**
* Use `.toBeString` when checking if a value is a `String`.
*/
toBeString(): void;
/**
* Use `.toEqualCaseInsensitive` when checking if a string is equal (===) to another ignoring the casing of both strings.
*
* @param {String} string
*/
toEqualCaseInsensitive(string: string): void;
/**
* Use `.toStartWith` when checking if a `String` starts with a given `String` prefix.
*
* @param {String} prefix
*/
toStartWith(prefix: string): void;
/**
* Use `.toEndWith` when checking if a `String` ends with a given `String` suffix.
*
* @param {String} suffix
*/
toEndWith(suffix: string): void;
/**
* Use `.toInclude` when checking if a `String` includes the given `String` substring.
*
* @param {String} substring
*/
toInclude(substring: string): void;
/**
* Use `.toIncludeRepeated` when checking if a `String` includes the given `String` substring the correct number of times.
*
* @param {String} substring
* @param {Number} times
*/
toIncludeRepeated(substring: string, times: number): void;
/**
* Use `.toIncludeMultiple` when checking if a `String` includes all of the given substrings.
*
* @param {Array.<String>} substring
*/
toIncludeMultiple(substring: string[]): void;
};
type JestExpectType = {
not: JestExpectType & EnzymeMatchersType & DomTestingLibraryType & JestJQueryMatchersType & JestExtendedMatchersType,
/**
* If you have a mock function, you can use .lastCalledWith to test what
* arguments it was last called with.
*/
lastCalledWith(...args: Array<any>): void,
/**
* toBe just checks that a value is what you expect. It uses === to check
* strict equality.
*/
toBe(value: any): void,
/**
* Use .toHaveBeenCalled to ensure that a mock function got called.
*/
toBeCalled(): void,
/**
* Use .toBeCalledWith to ensure that a mock function was called with
* specific arguments.
*/
toBeCalledWith(...args: Array<any>): void,
/**
* Using exact equality with floating point numbers is a bad idea. Rounding
* means that intuitive things fail.
*/
toBeCloseTo(num: number, delta: any): void,
/**
* Use .toBeDefined to check that a variable is not undefined.
*/
toBeDefined(): void,
/**
* Use .toBeFalsy when you don't care what a value is, you just want to
* ensure a value is false in a boolean context.
*/
toBeFalsy(): void,
/**
* To compare floating point numbers, you can use toBeGreaterThan.
*/
toBeGreaterThan(number: number): void,
/**
* To compare floating point numbers, you can use toBeGreaterThanOrEqual.
*/
toBeGreaterThanOrEqual(number: number): void,
/**
* To compare floating point numbers, you can use toBeLessThan.
*/
toBeLessThan(number: number): void,
/**
* To compare floating point numbers, you can use toBeLessThanOrEqual.
*/
toBeLessThanOrEqual(number: number): void,
/**
* Use .toBeInstanceOf(Class) to check that an object is an instance of a
* class.
*/
toBeInstanceOf(cls: Class<*>): void,
/**
* .toBeNull() is the same as .toBe(null) but the error messages are a bit
* nicer.
*/
toBeNull(): void,
/**
* Use .toBeTruthy when you don't care what a value is, you just want to
* ensure a value is true in a boolean context.
*/
toBeTruthy(): void,
/**
* Use .toBeUndefined to check that a variable is undefined.
*/
toBeUndefined(): void,
/**
* Use .toContain when you want to check that an item is in a list. For
* testing the items in the list, this uses ===, a strict equality check.
*/
toContain(item: any): void,
/**
* Use .toContainEqual when you want to check that an item is in a list. For
* testing the items in the list, this matcher recursively checks the
* equality of all fields, rather than checking for object identity.
*/
toContainEqual(item: any): void,
/**
* Use .toEqual when you want to check that two objects have the same value.
* This matcher recursively checks the equality of all fields, rather than
* checking for object identity.
*/
toEqual(value: any): void,
/**
* Use .toHaveBeenCalled to ensure that a mock function got called.
*/
toHaveBeenCalled(): void,
/**
* Use .toHaveBeenCalledTimes to ensure that a mock function got called exact
* number of times.
*/
toHaveBeenCalledTimes(number: number): void,
/**
* Use .toHaveBeenCalledWith to ensure that a mock function was called with
* specific arguments.
*/
toHaveBeenCalledWith(...args: Array<any>): void,
/**
* Use .toHaveBeenLastCalledWith to ensure that a mock function was last called
* with specific arguments.
*/
toHaveBeenLastCalledWith(...args: Array<any>): void,
/**
* Check that an object has a .length property and it is set to a certain
* numeric value.
*/
toHaveLength(number: number): void,
/**
*
*/
toHaveProperty(propPath: string | Array<string>, value?: any): void,
/**
* Use .toMatch to check that a string matches a regular expression or string.
*/
toMatch(regexpOrString: RegExp | string): void,
/**
* Use .toMatchObject to check that a javascript object matches a subset of the properties of an object.
*/
toMatchObject(object: Object | Array<Object>): void,
/**
* This ensures that a React component matches the most recent snapshot.
*/
toMatchSnapshot(name?: string): void,
/**
* Use .toThrow to test that a function throws when it is called.
* If you want to test that a specific error gets thrown, you can provide an
* argument to toThrow. The argument can be a string for the error message,
* a class for the error, or a regex that should match the error.
*
* Alias: .toThrowError
*/
toThrow(message?: string | Error | Class<Error> | RegExp): void,
toThrowError(message?: string | Error | Class<Error> | RegExp): void,
/**
* Use .toThrowErrorMatchingSnapshot to test that a function throws a error
* matching the most recent snapshot when it is called.
*/
toThrowErrorMatchingSnapshot(): void
};
type JestObjectType = {
/**
* Disables automatic mocking in the module loader.
*
* After this method is called, all `require()`s will return the real
* versions of each module (rather than a mocked version).
*/
disableAutomock(): JestObjectType,
/**
* An un-hoisted version of disableAutomock
*/
autoMockOff(): JestObjectType,
/**
* Enables automatic mocking in the module loader.
*/
enableAutomock(): JestObjectType,
/**
* An un-hoisted version of enableAutomock
*/
autoMockOn(): JestObjectType,
/**
* Clears the mock.calls and mock.instances properties of all mocks.
* Equivalent to calling .mockClear() on every mocked function.
*/
clearAllMocks(): JestObjectType,
/**
* Resets the state of all mocks. Equivalent to calling .mockReset() on every
* mocked function.
*/
resetAllMocks(): JestObjectType,
/**
* Restores all mocks back to their original value.
*/
restoreAllMocks(): JestObjectType,
/**
* Removes any pending timers from the timer system.
*/
clearAllTimers(): void,
/**
* The same as `mock` but not moved to the top of the expectation by
* babel-jest.
*/
doMock(moduleName: string, moduleFactory?: any): JestObjectType,
/**
* The same as `unmock` but not moved to the top of the expectation by
* babel-jest.
*/
dontMock(moduleName: string): JestObjectType,
/**
* Returns a new, unused mock function. Optionally takes a mock
* implementation.
*/
fn<TArguments: $ReadOnlyArray<*>, TReturn>(
implementation?: (...args: TArguments) => TReturn
): JestMockFn<TArguments, TReturn>,
/**
* Determines if the given function is a mocked function.
*/
isMockFunction(fn: Function): boolean,
/**
* Given the name of a module, use the automatic mocking system to generate a
* mocked version of the module for you.
*/
genMockFromModule(moduleName: string): any,
/**
* Mocks a module with an auto-mocked version when it is being required.
*
* The second argument can be used to specify an explicit module factory that
* is being run instead of using Jest's automocking feature.
*
* The third argument can be used to create virtual mocks -- mocks of modules
* that don't exist anywhere in the system.
*/
mock(
moduleName: string,
moduleFactory?: any,
options?: Object
): JestObjectType,
/**
* Returns the actual module instead of a mock, bypassing all checks on
* whether the module should receive a mock implementation or not.
*/
requireActual(moduleName: string): any,
/**
* Returns a mock module instead of the actual module, bypassing all checks
* on whether the module should be required normally or not.
*/
requireMock(moduleName: string): any,
/**
* Resets the module registry - the cache of all required modules. This is
* useful to isolate modules where local state might conflict between tests.
*/
resetModules(): JestObjectType,
/**
* Exhausts the micro-task queue (usually interfaced in node via
* process.nextTick).
*/
runAllTicks(): void,
/**
* Exhausts the macro-task queue (i.e., all tasks queued by setTimeout(),
* setInterval(), and setImmediate()).
*/
runAllTimers(): void,
/**
* Exhausts all tasks queued by setImmediate().
*/
runAllImmediates(): void,
/**
* Executes only the macro task queue (i.e. all tasks queued by setTimeout()
* or setInterval() and setImmediate()).
*/
advanceTimersByTime(msToRun: number): void,
/**
* Executes only the macro task queue (i.e. all tasks queued by setTimeout()
* or setInterval() and setImmediate()).
*
* Renamed to `advanceTimersByTime`.
*/
runTimersToTime(msToRun: number): void,
/**
* Executes only the macro-tasks that are currently pending (i.e., only the
* tasks that have been queued by setTimeout() or setInterval() up to this
* point)
*/
runOnlyPendingTimers(): void,
/**
* Explicitly supplies the mock object that the module system should return
* for the specified module. Note: It is recommended to use jest.mock()
* instead.
*/
setMock(moduleName: string, moduleExports: any): JestObjectType,
/**
* Indicates that the module system should never return a mocked version of
* the specified module from require() (e.g. that it should always return the
* real module).
*/
unmock(moduleName: string): JestObjectType,
/**
* Instructs Jest to use fake versions of the standard timer functions
* (setTimeout, setInterval, clearTimeout, clearInterval, nextTick,
* setImmediate and clearImmediate).
*/
useFakeTimers(): JestObjectType,
/**
* Instructs Jest to use the real versions of the standard timer functions.
*/
useRealTimers(): JestObjectType,
/**
* Creates a mock function similar to jest.fn but also tracks calls to
* object[methodName].
*/
spyOn(object: Object, methodName: string, accessType?: "get" | "set"): JestMockFn<any, any>,
/**
* Set the default timeout interval for tests and before/after hooks in milliseconds.
* Note: The default timeout interval is 5 seconds if this method is not called.
*/
setTimeout(timeout: number): JestObjectType
};
type JestSpyType = {
calls: JestCallsType
};
/** Runs this function after every test inside this context */
declare function afterEach(
fn: (done: () => void) => ?Promise<mixed>,
timeout?: number
): void;
/** Runs this function before every test inside this context */
declare function beforeEach(
fn: (done: () => void) => ?Promise<mixed>,
timeout?: number
): void;
/** Runs this function after all tests have finished inside this context */
declare function afterAll(
fn: (done: () => void) => ?Promise<mixed>,
timeout?: number
): void;
/** Runs this function before any tests have started inside this context */
declare function beforeAll(
fn: (done: () => void) => ?Promise<mixed>,
timeout?: number
): void;
/** A context for grouping tests together */
declare var describe: {
/**
* Creates a block that groups together several related tests in one "test suite"
*/
(name: JestTestName, fn: () => void): void,
/**
* Only run this describe block
*/
only(name: JestTestName, fn: () => void): void,
/**
* Skip running this describe block
*/
skip(name: JestTestName, fn: () => void): void
};
/** An individual test unit */
declare var it: {
/**
* An individual test unit
*
* @param {JestTestName} Name of Test
* @param {Function} Test
* @param {number} Timeout for the test, in milliseconds.
*/
(
name: JestTestName,
fn?: (done: () => void) => ?Promise<mixed>,
timeout?: number
): void,
/**
* Only run this test
*
* @param {JestTestName} Name of Test
* @param {Function} Test
* @param {number} Timeout for the test, in milliseconds.
*/
only(
name: JestTestName,
fn?: (done: () => void) => ?Promise<mixed>,
timeout?: number
): void,
/**
* Skip running this test
*
* @param {JestTestName} Name of Test
* @param {Function} Test
* @param {number} Timeout for the test, in milliseconds.
*/
skip(
name: JestTestName,
fn?: (done: () => void) => ?Promise<mixed>,
timeout?: number
): void,
/**
* Run the test concurrently
*
* @param {JestTestName} Name of Test
* @param {Function} Test
* @param {number} Timeout for the test, in milliseconds.
*/
concurrent(
name: JestTestName,
fn?: (done: () => void) => ?Promise<mixed>,
timeout?: number
): void
};
declare function fit(
name: JestTestName,
fn: (done: () => void) => ?Promise<mixed>,
timeout?: number
): void;
/** An individual test unit */
declare var test: typeof it;
/** A disabled group of tests */
declare var xdescribe: typeof describe;
/** A focused group of tests */
declare var fdescribe: typeof describe;
/** A disabled individual test */
declare var xit: typeof it;
/** A disabled individual test */
declare var xtest: typeof it;
type JestPrettyFormatColors = {
comment: { close: string, open: string },
content: { close: string, open: string },
prop: { close: string, open: string },
tag: { close: string, open: string },
value: { close: string, open: string },
};
type JestPrettyFormatIndent = string => string;
type JestPrettyFormatRefs = Array<any>;
type JestPrettyFormatPrint = any => string;
type JestPrettyFormatStringOrNull = string | null;
type JestPrettyFormatOptions = {|
callToJSON: boolean,
edgeSpacing: string,
escapeRegex: boolean,
highlight: boolean,
indent: number,
maxDepth: number,
min: boolean,
plugins: JestPrettyFormatPlugins,
printFunctionName: boolean,
spacing: string,
theme: {|
comment: string,
content: string,
prop: string,
tag: string,
value: string,
|},
|};
type JestPrettyFormatPlugin = {
print: (
val: any,
serialize: JestPrettyFormatPrint,
indent: JestPrettyFormatIndent,
opts: JestPrettyFormatOptions,
colors: JestPrettyFormatColors,
) => string,
test: any => boolean,
};
type JestPrettyFormatPlugins = Array<JestPrettyFormatPlugin>;
/** The expect function is used every time you want to test a value */
declare var expect: {
/** The object that you want to make assertions against */
(value: any): JestExpectType & JestPromiseType & EnzymeMatchersType & DomTestingLibraryType & JestJQueryMatchersType & JestExtendedMatchersType,
/** Add additional Jasmine matchers to Jest's roster */
extend(matchers: { [name: string]: JestMatcher }): void,
/** Add a module that formats application-specific data structures. */
addSnapshotSerializer(pluginModule: JestPrettyFormatPlugin): void,
assertions(expectedAssertions: number): void,
hasAssertions(): void,
any(value: mixed): JestAsymmetricEqualityType,
anything(): any,
arrayContaining(value: Array<mixed>): Array<mixed>,
objectContaining(value: Object): Object,
/** Matches any received string that contains the exact expected string. */
stringContaining(value: string): string,
stringMatching(value: string | RegExp): string
};
// TODO handle return type
// http://jasmine.github.io/2.4/introduction.html#section-Spies
declare function spyOn(value: mixed, method: string): Object;
/** Holds all functions related to manipulating test runner */
declare var jest: JestObjectType;
/**
* The global Jasmine object, this is generally not exposed as the public API,
* using features inside here could break in later versions of Jest.
*/
declare var jasmine: {
DEFAULT_TIMEOUT_INTERVAL: number,
any(value: mixed): JestAsymmetricEqualityType,
anything(): any,
arrayContaining(value: Array<mixed>): Array<mixed>,
clock(): JestClockType,
createSpy(name: string): JestSpyType,
createSpyObj(
baseName: string,
methodNames: Array<string>
): { [methodName: string]: JestSpyType },
objectContaining(value: Object): Object,
stringMatching(value: string): string
};
View File
-215
View File
@@ -1,215 +0,0 @@
// flow-typed signature: 4b4041f48b653b571bced46515e02dc7
// flow-typed version: <<STUB>>/js-search_v^1.4.2/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'js-search'
*
* 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 'js-search' {
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 'js-search/dist/commonjs/getNestedFieldValue' {
declare module.exports: any;
}
declare module 'js-search/dist/commonjs' {
declare module.exports: any;
}
declare module 'js-search/dist/commonjs/IndexStrategy/AllSubstringsIndexStrategy' {
declare module.exports: any;
}
declare module 'js-search/dist/commonjs/IndexStrategy/ExactWordIndexStrategy' {
declare module.exports: any;
}
declare module 'js-search/dist/commonjs/IndexStrategy' {
declare module.exports: any;
}
declare module 'js-search/dist/commonjs/IndexStrategy/IndexStrategy' {
declare module.exports: any;
}
declare module 'js-search/dist/commonjs/IndexStrategy/PrefixIndexStrategy' {
declare module.exports: any;
}
declare module 'js-search/dist/commonjs/Sanitizer/CaseSensitiveSanitizer' {
declare module.exports: any;
}
declare module 'js-search/dist/commonjs/Sanitizer' {
declare module.exports: any;
}
declare module 'js-search/dist/commonjs/Sanitizer/LowerCaseSanitizer' {
declare module.exports: any;
}
declare module 'js-search/dist/commonjs/Sanitizer/Sanitizer' {
declare module.exports: any;
}
declare module 'js-search/dist/commonjs/Search' {
declare module.exports: any;
}
declare module 'js-search/dist/commonjs/SearchIndex' {
declare module.exports: any;
}
declare module 'js-search/dist/commonjs/SearchIndex/SearchIndex' {
declare module.exports: any;
}
declare module 'js-search/dist/commonjs/SearchIndex/TfIdfSearchIndex' {
declare module.exports: any;
}
declare module 'js-search/dist/commonjs/SearchIndex/UnorderedSearchIndex' {
declare module.exports: any;
}
declare module 'js-search/dist/commonjs/StopWordsMap' {
declare module.exports: any;
}
declare module 'js-search/dist/commonjs/TokenHighlighter' {
declare module.exports: any;
}
declare module 'js-search/dist/commonjs/Tokenizer' {
declare module.exports: any;
}
declare module 'js-search/dist/commonjs/Tokenizer/SimpleTokenizer' {
declare module.exports: any;
}
declare module 'js-search/dist/commonjs/Tokenizer/StemmingTokenizer' {
declare module.exports: any;
}
declare module 'js-search/dist/commonjs/Tokenizer/StopWordsTokenizer' {
declare module.exports: any;
}
declare module 'js-search/dist/commonjs/Tokenizer/Tokenizer' {
declare module.exports: any;
}
declare module 'js-search/dist/umd/js-search' {
declare module.exports: any;
}
declare module 'js-search/dist/umd/js-search.min' {
declare module.exports: any;
}
// Filename aliases
declare module 'js-search/dist/commonjs/getNestedFieldValue.js' {
declare module.exports: $Exports<'js-search/dist/commonjs/getNestedFieldValue'>;
}
declare module 'js-search/dist/commonjs/index' {
declare module.exports: $Exports<'js-search/dist/commonjs'>;
}
declare module 'js-search/dist/commonjs/index.js' {
declare module.exports: $Exports<'js-search/dist/commonjs'>;
}
declare module 'js-search/dist/commonjs/IndexStrategy/AllSubstringsIndexStrategy.js' {
declare module.exports: $Exports<'js-search/dist/commonjs/IndexStrategy/AllSubstringsIndexStrategy'>;
}
declare module 'js-search/dist/commonjs/IndexStrategy/ExactWordIndexStrategy.js' {
declare module.exports: $Exports<'js-search/dist/commonjs/IndexStrategy/ExactWordIndexStrategy'>;
}
declare module 'js-search/dist/commonjs/IndexStrategy/index' {
declare module.exports: $Exports<'js-search/dist/commonjs/IndexStrategy'>;
}
declare module 'js-search/dist/commonjs/IndexStrategy/index.js' {
declare module.exports: $Exports<'js-search/dist/commonjs/IndexStrategy'>;
}
declare module 'js-search/dist/commonjs/IndexStrategy/IndexStrategy.js' {
declare module.exports: $Exports<'js-search/dist/commonjs/IndexStrategy/IndexStrategy'>;
}
declare module 'js-search/dist/commonjs/IndexStrategy/PrefixIndexStrategy.js' {
declare module.exports: $Exports<'js-search/dist/commonjs/IndexStrategy/PrefixIndexStrategy'>;
}
declare module 'js-search/dist/commonjs/Sanitizer/CaseSensitiveSanitizer.js' {
declare module.exports: $Exports<'js-search/dist/commonjs/Sanitizer/CaseSensitiveSanitizer'>;
}
declare module 'js-search/dist/commonjs/Sanitizer/index' {
declare module.exports: $Exports<'js-search/dist/commonjs/Sanitizer'>;
}
declare module 'js-search/dist/commonjs/Sanitizer/index.js' {
declare module.exports: $Exports<'js-search/dist/commonjs/Sanitizer'>;
}
declare module 'js-search/dist/commonjs/Sanitizer/LowerCaseSanitizer.js' {
declare module.exports: $Exports<'js-search/dist/commonjs/Sanitizer/LowerCaseSanitizer'>;
}
declare module 'js-search/dist/commonjs/Sanitizer/Sanitizer.js' {
declare module.exports: $Exports<'js-search/dist/commonjs/Sanitizer/Sanitizer'>;
}
declare module 'js-search/dist/commonjs/Search.js' {
declare module.exports: $Exports<'js-search/dist/commonjs/Search'>;
}
declare module 'js-search/dist/commonjs/SearchIndex/index' {
declare module.exports: $Exports<'js-search/dist/commonjs/SearchIndex'>;
}
declare module 'js-search/dist/commonjs/SearchIndex/index.js' {
declare module.exports: $Exports<'js-search/dist/commonjs/SearchIndex'>;
}
declare module 'js-search/dist/commonjs/SearchIndex/SearchIndex.js' {
declare module.exports: $Exports<'js-search/dist/commonjs/SearchIndex/SearchIndex'>;
}
declare module 'js-search/dist/commonjs/SearchIndex/TfIdfSearchIndex.js' {
declare module.exports: $Exports<'js-search/dist/commonjs/SearchIndex/TfIdfSearchIndex'>;
}
declare module 'js-search/dist/commonjs/SearchIndex/UnorderedSearchIndex.js' {
declare module.exports: $Exports<'js-search/dist/commonjs/SearchIndex/UnorderedSearchIndex'>;
}
declare module 'js-search/dist/commonjs/StopWordsMap.js' {
declare module.exports: $Exports<'js-search/dist/commonjs/StopWordsMap'>;
}
declare module 'js-search/dist/commonjs/TokenHighlighter.js' {
declare module.exports: $Exports<'js-search/dist/commonjs/TokenHighlighter'>;
}
declare module 'js-search/dist/commonjs/Tokenizer/index' {
declare module.exports: $Exports<'js-search/dist/commonjs/Tokenizer'>;
}
declare module 'js-search/dist/commonjs/Tokenizer/index.js' {
declare module.exports: $Exports<'js-search/dist/commonjs/Tokenizer'>;
}
declare module 'js-search/dist/commonjs/Tokenizer/SimpleTokenizer.js' {
declare module.exports: $Exports<'js-search/dist/commonjs/Tokenizer/SimpleTokenizer'>;
}
declare module 'js-search/dist/commonjs/Tokenizer/StemmingTokenizer.js' {
declare module.exports: $Exports<'js-search/dist/commonjs/Tokenizer/StemmingTokenizer'>;
}
declare module 'js-search/dist/commonjs/Tokenizer/StopWordsTokenizer.js' {
declare module.exports: $Exports<'js-search/dist/commonjs/Tokenizer/StopWordsTokenizer'>;
}
declare module 'js-search/dist/commonjs/Tokenizer/Tokenizer.js' {
declare module.exports: $Exports<'js-search/dist/commonjs/Tokenizer/Tokenizer'>;
}
declare module 'js-search/dist/umd/js-search.js' {
declare module.exports: $Exports<'js-search/dist/umd/js-search'>;
}
declare module 'js-search/dist/umd/js-search.min.js' {
declare module.exports: $Exports<'js-search/dist/umd/js-search.min'>;
}
-38
View File
@@ -1,38 +0,0 @@
// flow-typed signature: 0c1b27b8baedf441980d09ebd62250b0
// flow-typed version: <<STUB>>/js-tree_v1.1.0/flow_v0.49.1
/**
* This is an autogenerated libdef stub for:
*
* 'js-tree'
*
* 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 'js-tree' {
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 'js-tree/test' {
declare module.exports: any;
}
// Filename aliases
declare module 'js-tree/index' {
declare module.exports: $Exports<'js-tree'>;
}
declare module 'js-tree/index.js' {
declare module.exports: $Exports<'js-tree'>;
}
declare module 'js-tree/test.js' {
declare module.exports: $Exports<'js-tree/test'>;
}
-33
View File
@@ -1,33 +0,0 @@
// flow-typed signature: 37e879cb169b3a034f549ceef71ab2c5
// flow-typed version: <<STUB>>/json-loader_v0.5.4/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'json-loader'
*
* 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 'json-loader' {
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.
*/
// Filename aliases
declare module 'json-loader/index' {
declare module.exports: $Exports<'json-loader'>;
}
declare module 'json-loader/index.js' {
declare module.exports: $Exports<'json-loader'>;
}
-164
View File
@@ -1,164 +0,0 @@
// flow-typed signature: a6917bccc2ed0addf099c12e33358113
// flow-typed version: c6154227d1/jsonwebtoken_v8.3.x/flow_>=v0.104.x
declare module "jsonwebtoken" {
declare class JsonWebTokenError extends Error {
name: string;
message: string;
inner: Error;
}
declare class TokenExpiredError extends Error {
name: string;
expiredAt: number;
inner: Error;
}
declare class NotBeforeError extends Error {
name: string;
date: Date;
inner: Error;
}
declare type Encodable = String | Buffer | Object;
declare type Key = {
key: string | Buffer,
passphrase: string | Buffer,
...
};
declare type Algorithm =
'RS256'
| 'RS384'
| 'RS512'
| 'ES256'
| 'ES384'
| 'ES512'
| 'HS256'
| 'HS384'
| 'HS512'
| 'none';
declare type SignCallback = (err: Error, token: string) => void;
declare type SigningOptions<Headers> = $Shape<{
algorithm: Algorithm,
expiresIn: number | string,
notBefore: number | string,
audience: string | string[],
issuer: string | string[],
jwtid: string,
subject: string,
noTimestamp: boolean,
header: Headers,
keyid: string,
...
}>;
declare type SigningOptionsWithAlgorithm<H> = SigningOptions<H> & { algorithm: Algorithm, ... };
declare type VerifyCallback = (err: JsonWebTokenError | NotBeforeError | TokenExpiredError | null, decoded: Payload) => void;
declare type VerifyOptionsWithAlgorithm = VerifyOptions & { algorithms: Array<Algorithm>, ... };
declare type VerifyOptions = $Shape<{
algorithms: Array<Algorithm>,
audience: string | string[],
issuer: string | string[],
ignoreExpiration: boolean,
ignoreNotBefore: boolean,
subject: string | string[],
clockTolerance: number,
maxAge: string | number,
clockTimestamp: number,
...
}>;
declare type DecodingOptions = $Shape<{
complete: boolean,
json: boolean,
...
}>;
declare interface Sign {
<P: Encodable>
(payload: P, secretOrPrivateKey: string | Buffer): string;
<P: Encodable>
(payload: P, secretOrPrivateKey: string | Buffer, callback: SignCallback): string;
<P: Encodable, H>
(payload: P, secretOrPrivateKey: Key, options: SigningOptionsWithAlgorithm<H>): string;
<P: Encodable, H>
(payload: P, secretOrPrivateKey: string | Buffer, options: $Shape<SigningOptions<H>>): string;
<P: Encodable, H>
(payload: P, secretOrPrivateKey: string | Buffer, options: $Shape<SigningOptions<H>>, callback: SignCallback): string;
<P: Encodable, H>
(payload: P, secretOrPrivateKey: Key, options: SigningOptionsWithAlgorithm<H>, callback: SignCallback): string;
}
declare type Payload = Object & {
jti?: string,
iss?: string,
sub?: string,
aud?: string | string[],
exp?: number,
iat?: number,
nbf?: number,
...
}
declare type Token = {
header: {
typ: 'JWT',
alg: Algorithm,
...
},
payload: Payload,
signature?: string,
...
}
declare interface Decode {
(jwt: string): Payload;
(jwt: string, options: DecodingOptions): Payload;
(jwt: string, options: DecodingOptions & { complete: true, ... }): Token;
}
declare interface Verify {
(jwt: string, secretOrPrivateKey: string | Buffer): Payload;
(jwt: string, secretOrPrivateKey: string | Buffer, options: VerifyOptions | VerifyCallback): Payload;
(jwt: string, secretOrPrivateKey: string | Buffer, options: VerifyOptions, callback: VerifyCallback): Payload;
(jwt: string, secretOrPrivateKey: Key, options: VerifyOptionsWithAlgorithm): Payload;
(jwt: string, secretOrPrivateKey: Key, options: VerifyOptionsWithAlgorithm, callback: VerifyCallback): Payload;
(jwt: string, getKey: (header: { kid: ?string, ... }, callback: (err: ?Error, key?: string) => any) => any, callback: VerifyCallback): Payload;
(jwt: string, getKey: (header: { kid: ?string, ... }, callback: (err: ?Error, key?: string) => any) => any, options: VerifyOptionsWithAlgorithm, callback: VerifyCallback): Payload;
}
declare class TokenExpiredError extends Error {
}
declare class WebTokenError extends Error {
}
declare class NotBeforeError extends Error {
}
declare module.exports: {
sign: Sign,
decode: Decode,
verify: Verify,
JsonWebTokenError: Class<WebTokenError>,
NotBeforeError: Class<NotBeforeError>,
TokenExpiredError: Class<TokenExpiredError>,
...
}
}
-304
View File
@@ -1,304 +0,0 @@
// flow-typed signature: fc2b995f5ab021706a9cbc63c776798d
// flow-typed version: <<STUB>>/jszip_v3.1.5/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'jszip'
*
* 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 'jszip' {
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 'jszip/dist/jszip' {
declare module.exports: any;
}
declare module 'jszip/dist/jszip.min' {
declare module.exports: any;
}
declare module 'jszip/lib/base64' {
declare module.exports: any;
}
declare module 'jszip/lib/compressedObject' {
declare module.exports: any;
}
declare module 'jszip/lib/compressions' {
declare module.exports: any;
}
declare module 'jszip/lib/crc32' {
declare module.exports: any;
}
declare module 'jszip/lib/defaults' {
declare module.exports: any;
}
declare module 'jszip/lib/external' {
declare module.exports: any;
}
declare module 'jszip/lib/flate' {
declare module.exports: any;
}
declare module 'jszip/lib/generate' {
declare module.exports: any;
}
declare module 'jszip/lib/generate/ZipFileWorker' {
declare module.exports: any;
}
declare module 'jszip/lib' {
declare module.exports: any;
}
declare module 'jszip/lib/license_header' {
declare module.exports: any;
}
declare module 'jszip/lib/load' {
declare module.exports: any;
}
declare module 'jszip/lib/nodejs/NodejsStreamInputAdapter' {
declare module.exports: any;
}
declare module 'jszip/lib/nodejs/NodejsStreamOutputAdapter' {
declare module.exports: any;
}
declare module 'jszip/lib/nodejsUtils' {
declare module.exports: any;
}
declare module 'jszip/lib/object' {
declare module.exports: any;
}
declare module 'jszip/lib/readable-stream-browser' {
declare module.exports: any;
}
declare module 'jszip/lib/reader/ArrayReader' {
declare module.exports: any;
}
declare module 'jszip/lib/reader/DataReader' {
declare module.exports: any;
}
declare module 'jszip/lib/reader/NodeBufferReader' {
declare module.exports: any;
}
declare module 'jszip/lib/reader/readerFor' {
declare module.exports: any;
}
declare module 'jszip/lib/reader/StringReader' {
declare module.exports: any;
}
declare module 'jszip/lib/reader/Uint8ArrayReader' {
declare module.exports: any;
}
declare module 'jszip/lib/signature' {
declare module.exports: any;
}
declare module 'jszip/lib/stream/ConvertWorker' {
declare module.exports: any;
}
declare module 'jszip/lib/stream/Crc32Probe' {
declare module.exports: any;
}
declare module 'jszip/lib/stream/DataLengthProbe' {
declare module.exports: any;
}
declare module 'jszip/lib/stream/DataWorker' {
declare module.exports: any;
}
declare module 'jszip/lib/stream/GenericWorker' {
declare module.exports: any;
}
declare module 'jszip/lib/stream/StreamHelper' {
declare module.exports: any;
}
declare module 'jszip/lib/support' {
declare module.exports: any;
}
declare module 'jszip/lib/utf8' {
declare module.exports: any;
}
declare module 'jszip/lib/utils' {
declare module.exports: any;
}
declare module 'jszip/lib/zipEntries' {
declare module.exports: any;
}
declare module 'jszip/lib/zipEntry' {
declare module.exports: any;
}
declare module 'jszip/lib/zipObject' {
declare module.exports: any;
}
declare module 'jszip/vendor/FileSaver' {
declare module.exports: any;
}
// Filename aliases
declare module 'jszip/dist/jszip.js' {
declare module.exports: $Exports<'jszip/dist/jszip'>;
}
declare module 'jszip/dist/jszip.min.js' {
declare module.exports: $Exports<'jszip/dist/jszip.min'>;
}
declare module 'jszip/lib/base64.js' {
declare module.exports: $Exports<'jszip/lib/base64'>;
}
declare module 'jszip/lib/compressedObject.js' {
declare module.exports: $Exports<'jszip/lib/compressedObject'>;
}
declare module 'jszip/lib/compressions.js' {
declare module.exports: $Exports<'jszip/lib/compressions'>;
}
declare module 'jszip/lib/crc32.js' {
declare module.exports: $Exports<'jszip/lib/crc32'>;
}
declare module 'jszip/lib/defaults.js' {
declare module.exports: $Exports<'jszip/lib/defaults'>;
}
declare module 'jszip/lib/external.js' {
declare module.exports: $Exports<'jszip/lib/external'>;
}
declare module 'jszip/lib/flate.js' {
declare module.exports: $Exports<'jszip/lib/flate'>;
}
declare module 'jszip/lib/generate/index' {
declare module.exports: $Exports<'jszip/lib/generate'>;
}
declare module 'jszip/lib/generate/index.js' {
declare module.exports: $Exports<'jszip/lib/generate'>;
}
declare module 'jszip/lib/generate/ZipFileWorker.js' {
declare module.exports: $Exports<'jszip/lib/generate/ZipFileWorker'>;
}
declare module 'jszip/lib/index' {
declare module.exports: $Exports<'jszip/lib'>;
}
declare module 'jszip/lib/index.js' {
declare module.exports: $Exports<'jszip/lib'>;
}
declare module 'jszip/lib/license_header.js' {
declare module.exports: $Exports<'jszip/lib/license_header'>;
}
declare module 'jszip/lib/load.js' {
declare module.exports: $Exports<'jszip/lib/load'>;
}
declare module 'jszip/lib/nodejs/NodejsStreamInputAdapter.js' {
declare module.exports: $Exports<'jszip/lib/nodejs/NodejsStreamInputAdapter'>;
}
declare module 'jszip/lib/nodejs/NodejsStreamOutputAdapter.js' {
declare module.exports: $Exports<'jszip/lib/nodejs/NodejsStreamOutputAdapter'>;
}
declare module 'jszip/lib/nodejsUtils.js' {
declare module.exports: $Exports<'jszip/lib/nodejsUtils'>;
}
declare module 'jszip/lib/object.js' {
declare module.exports: $Exports<'jszip/lib/object'>;
}
declare module 'jszip/lib/readable-stream-browser.js' {
declare module.exports: $Exports<'jszip/lib/readable-stream-browser'>;
}
declare module 'jszip/lib/reader/ArrayReader.js' {
declare module.exports: $Exports<'jszip/lib/reader/ArrayReader'>;
}
declare module 'jszip/lib/reader/DataReader.js' {
declare module.exports: $Exports<'jszip/lib/reader/DataReader'>;
}
declare module 'jszip/lib/reader/NodeBufferReader.js' {
declare module.exports: $Exports<'jszip/lib/reader/NodeBufferReader'>;
}
declare module 'jszip/lib/reader/readerFor.js' {
declare module.exports: $Exports<'jszip/lib/reader/readerFor'>;
}
declare module 'jszip/lib/reader/StringReader.js' {
declare module.exports: $Exports<'jszip/lib/reader/StringReader'>;
}
declare module 'jszip/lib/reader/Uint8ArrayReader.js' {
declare module.exports: $Exports<'jszip/lib/reader/Uint8ArrayReader'>;
}
declare module 'jszip/lib/signature.js' {
declare module.exports: $Exports<'jszip/lib/signature'>;
}
declare module 'jszip/lib/stream/ConvertWorker.js' {
declare module.exports: $Exports<'jszip/lib/stream/ConvertWorker'>;
}
declare module 'jszip/lib/stream/Crc32Probe.js' {
declare module.exports: $Exports<'jszip/lib/stream/Crc32Probe'>;
}
declare module 'jszip/lib/stream/DataLengthProbe.js' {
declare module.exports: $Exports<'jszip/lib/stream/DataLengthProbe'>;
}
declare module 'jszip/lib/stream/DataWorker.js' {
declare module.exports: $Exports<'jszip/lib/stream/DataWorker'>;
}
declare module 'jszip/lib/stream/GenericWorker.js' {
declare module.exports: $Exports<'jszip/lib/stream/GenericWorker'>;
}
declare module 'jszip/lib/stream/StreamHelper.js' {
declare module.exports: $Exports<'jszip/lib/stream/StreamHelper'>;
}
declare module 'jszip/lib/support.js' {
declare module.exports: $Exports<'jszip/lib/support'>;
}
declare module 'jszip/lib/utf8.js' {
declare module.exports: $Exports<'jszip/lib/utf8'>;
}
declare module 'jszip/lib/utils.js' {
declare module.exports: $Exports<'jszip/lib/utils'>;
}
declare module 'jszip/lib/zipEntries.js' {
declare module.exports: $Exports<'jszip/lib/zipEntries'>;
}
declare module 'jszip/lib/zipEntry.js' {
declare module.exports: $Exports<'jszip/lib/zipEntry'>;
}
declare module 'jszip/lib/zipObject.js' {
declare module.exports: $Exports<'jszip/lib/zipObject'>;
}
declare module 'jszip/vendor/FileSaver.js' {
declare module.exports: $Exports<'jszip/vendor/FileSaver'>;
}
-29
View File
@@ -1,29 +0,0 @@
// flow-typed signature: a58f72097622ee04c396fbb8bb02db81
// flow-typed version: c6154227d1/koa-bodyparser_v4.x.x/flow_>=v0.104.x
declare module "koa-bodyparser" {
declare type Context = Object;
declare type Middleware = (
ctx: Context,
next: () => Promise<void>
) => Promise<void> | void;
declare type Options = {|
enableTypes?: Array<string>,
encode?: string,
formLimit?: string,
jsonLimit?: string,
strict?: boolean,
detectJSON?: (ctx: Context) => boolean,
extendTypes?: {
json?: Array<string>,
form?: Array<string>,
text?: Array<string>,
...
},
onerror?: (err: Error, ctx: Context) => void
|};
declare module.exports: (opts?: Options) => Middleware;
}
-33
View File
@@ -1,33 +0,0 @@
// flow-typed signature: 025de0f7e2c578b03804e18a6ad60f39
// flow-typed version: <<STUB>>/koa-compress_v2.0.0/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'koa-compress'
*
* 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 'koa-compress' {
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.
*/
// Filename aliases
declare module 'koa-compress/index' {
declare module.exports: $Exports<'koa-compress'>;
}
declare module 'koa-compress/index.js' {
declare module.exports: $Exports<'koa-compress'>;
}
-66
View File
@@ -1,66 +0,0 @@
// flow-typed signature: 9505cb4568f30f07959d9aacbd66f36a
// flow-typed version: <<STUB>>/koa-connect_v1.0.0/flow_v0.86.0
/**
* This is an autogenerated libdef stub for:
*
* 'koa-connect'
*
* 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 'koa-connect' {
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 'koa-connect/examples/auth' {
declare module.exports: any;
}
declare module 'koa-connect/examples/directory' {
declare module.exports: any;
}
declare module 'koa-connect/examples/logger' {
declare module.exports: any;
}
declare module 'koa-connect/examples/session' {
declare module.exports: any;
}
declare module 'koa-connect/examples/simple' {
declare module.exports: any;
}
// Filename aliases
declare module 'koa-connect/examples/auth.js' {
declare module.exports: $Exports<'koa-connect/examples/auth'>;
}
declare module 'koa-connect/examples/directory.js' {
declare module.exports: $Exports<'koa-connect/examples/directory'>;
}
declare module 'koa-connect/examples/logger.js' {
declare module.exports: $Exports<'koa-connect/examples/logger'>;
}
declare module 'koa-connect/examples/session.js' {
declare module.exports: $Exports<'koa-connect/examples/session'>;
}
declare module 'koa-connect/examples/simple.js' {
declare module.exports: $Exports<'koa-connect/examples/simple'>;
}
declare module 'koa-connect/index' {
declare module.exports: $Exports<'koa-connect'>;
}
declare module 'koa-connect/index.js' {
declare module.exports: $Exports<'koa-connect'>;
}
-38
View File
@@ -1,38 +0,0 @@
// flow-typed signature: ecb4283b75a15ad765f30cbd55c98362
// flow-typed version: <<STUB>>/koa-convert_v1.2.0/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'koa-convert'
*
* 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 'koa-convert' {
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 'koa-convert/test' {
declare module.exports: any;
}
// Filename aliases
declare module 'koa-convert/index' {
declare module.exports: $Exports<'koa-convert'>;
}
declare module 'koa-convert/index.js' {
declare module.exports: $Exports<'koa-convert'>;
}
declare module 'koa-convert/test.js' {
declare module.exports: $Exports<'koa-convert/test'>;
}
-39
View File
@@ -1,39 +0,0 @@
// flow-typed signature: 4038fad5e25ebd4914f7d77c22622db6
// flow-typed version: <<STUB>>/koa-helmet_v5.2.0/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'koa-helmet'
*
* 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 'koa-helmet' {
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 'koa-helmet/lib/koa-helmet' {
declare module.exports: any;
}
declare module 'koa-helmet/test/koa-helmet.spec' {
declare module.exports: any;
}
// Filename aliases
declare module 'koa-helmet/lib/koa-helmet.js' {
declare module.exports: $Exports<'koa-helmet/lib/koa-helmet'>;
}
declare module 'koa-helmet/test/koa-helmet.spec.js' {
declare module.exports: $Exports<'koa-helmet/test/koa-helmet.spec'>;
}
-77
View File
@@ -1,77 +0,0 @@
// flow-typed signature: 40db2407a2ea13a54c84b1a8c0a8cc0b
// flow-typed version: <<STUB>>/koa-jwt_v^3.6.0/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'koa-jwt'
*
* 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 'koa-jwt' {
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 'koa-jwt/lib/get-secret' {
declare module.exports: any;
}
declare module 'koa-jwt/lib' {
declare module.exports: any;
}
declare module 'koa-jwt/lib/resolvers/auth-header' {
declare module.exports: any;
}
declare module 'koa-jwt/lib/resolvers/cookie' {
declare module.exports: any;
}
declare module 'koa-jwt/lib/verify' {
declare module.exports: any;
}
declare module 'koa-jwt/test/test-server' {
declare module.exports: any;
}
declare module 'koa-jwt/test/test' {
declare module.exports: any;
}
// Filename aliases
declare module 'koa-jwt/lib/get-secret.js' {
declare module.exports: $Exports<'koa-jwt/lib/get-secret'>;
}
declare module 'koa-jwt/lib/index' {
declare module.exports: $Exports<'koa-jwt/lib'>;
}
declare module 'koa-jwt/lib/index.js' {
declare module.exports: $Exports<'koa-jwt/lib'>;
}
declare module 'koa-jwt/lib/resolvers/auth-header.js' {
declare module.exports: $Exports<'koa-jwt/lib/resolvers/auth-header'>;
}
declare module 'koa-jwt/lib/resolvers/cookie.js' {
declare module.exports: $Exports<'koa-jwt/lib/resolvers/cookie'>;
}
declare module 'koa-jwt/lib/verify.js' {
declare module.exports: $Exports<'koa-jwt/lib/verify'>;
}
declare module 'koa-jwt/test/test-server.js' {
declare module.exports: $Exports<'koa-jwt/test/test-server'>;
}
declare module 'koa-jwt/test/test.js' {
declare module.exports: $Exports<'koa-jwt/test/test'>;
}
-33
View File
@@ -1,33 +0,0 @@
// flow-typed signature: 6f41b8947503ef9222af480586c6da8e
// flow-typed version: <<STUB>>/koa-logger_v^2.0.1/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'koa-logger'
*
* 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 'koa-logger' {
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.
*/
// Filename aliases
declare module 'koa-logger/index' {
declare module.exports: $Exports<'koa-logger'>;
}
declare module 'koa-logger/index.js' {
declare module.exports: $Exports<'koa-logger'>;
}
-33
View File
@@ -1,33 +0,0 @@
// flow-typed signature: 933ecd9dfb960f842df3dec4060176f8
// flow-typed version: <<STUB>>/koa-mount_v^3.0.0/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'koa-mount'
*
* 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 'koa-mount' {
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.
*/
// Filename aliases
declare module 'koa-mount/index' {
declare module.exports: $Exports<'koa-mount'>;
}
declare module 'koa-mount/index.js' {
declare module.exports: $Exports<'koa-mount'>;
}
-33
View File
@@ -1,33 +0,0 @@
// flow-typed signature: 89306ac915701480b6045ee8a6fb6fd8
// flow-typed version: <<STUB>>/koa-onerror_v^4.0.0/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'koa-onerror'
*
* 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 'koa-onerror' {
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.
*/
// Filename aliases
declare module 'koa-onerror/index' {
declare module.exports: $Exports<'koa-onerror'>;
}
declare module 'koa-onerror/index.js' {
declare module.exports: $Exports<'koa-onerror'>;
}
-39
View File
@@ -1,39 +0,0 @@
// flow-typed signature: fb527e70889cd1b960d7fdb0e9793e04
// flow-typed version: <<STUB>>/koa-router_v7.0.1/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'koa-router'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/
declare module 'koa-router' {
declare module.exports: any;
}
/**
* We include stubs for each file inside this npm package in case you need to
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module 'koa-router/lib/layer' {
declare module.exports: any;
}
declare module 'koa-router/lib/router' {
declare module.exports: any;
}
// Filename aliases
declare module 'koa-router/lib/layer.js' {
declare module.exports: $Exports<'koa-router/lib/layer'>;
}
declare module 'koa-router/lib/router.js' {
declare module.exports: $Exports<'koa-router/lib/router'>;
}
-33
View File
@@ -1,33 +0,0 @@
// flow-typed signature: 6b7b08ea7721b475bf21c23e1d7cd2f9
// flow-typed version: <<STUB>>/koa-sendfile_v2.0.0/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'koa-sendfile'
*
* 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 'koa-sendfile' {
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.
*/
// Filename aliases
declare module 'koa-sendfile/index' {
declare module.exports: $Exports<'koa-sendfile'>;
}
declare module 'koa-sendfile/index.js' {
declare module.exports: $Exports<'koa-sendfile'>;
}
-52
View File
@@ -1,52 +0,0 @@
// flow-typed signature: a1ba5236f2a6153a18fa2d79fdaf8603
// flow-typed version: <<STUB>>/koa-sslify_v2.1.2/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'koa-sslify'
*
* 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 'koa-sslify' {
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 'koa-sslify/test/koa-sslify-azure-test' {
declare module.exports: any;
}
declare module 'koa-sslify/test/koa-sslify-proto-test' {
declare module.exports: any;
}
declare module 'koa-sslify/test/koa-sslify-test' {
declare module.exports: any;
}
// Filename aliases
declare module 'koa-sslify/index' {
declare module.exports: $Exports<'koa-sslify'>;
}
declare module 'koa-sslify/index.js' {
declare module.exports: $Exports<'koa-sslify'>;
}
declare module 'koa-sslify/test/koa-sslify-azure-test.js' {
declare module.exports: $Exports<'koa-sslify/test/koa-sslify-azure-test'>;
}
declare module 'koa-sslify/test/koa-sslify-proto-test.js' {
declare module.exports: $Exports<'koa-sslify/test/koa-sslify-proto-test'>;
}
declare module 'koa-sslify/test/koa-sslify-test.js' {
declare module.exports: $Exports<'koa-sslify/test/koa-sslify-test'>;
}
-34
View File
@@ -1,34 +0,0 @@
// flow-typed signature: dc2f591d10c09697ed4c5ee52a131146
// flow-typed version: c6154227d1/koa-static_v4.x.x/flow_>=v0.104.x
declare module "koa-static" {
import type { Stats } from "fs";
declare type Context = Object;
declare type Response = Object;
declare type Middleware = (
ctx: Context,
next: () => Promise<void>
) => Promise<void> | void;
declare type Options = {|
defer?: boolean,
maxage?: number,
maxAge?: number,
immutable?: boolean,
hidden?: boolean,
root?: string,
index?: string | false,
gzip?: boolean,
brotli?: boolean,
format?: boolean,
setHeaders?: (res: Response, path: string, stats: Stats) => any,
extensions?: Array<string> | false
|};
declare export default function serve(
root: string,
opts?: Options
): Middleware;
}
-35
View File
@@ -1,35 +0,0 @@
// flow-typed signature: 0dba170420b220b7bf928f6eae99dd6b
// flow-typed version: <<STUB>>/koa-webpack-dev-middleware_v^1.4.5/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'koa-webpack-dev-middleware'
*
* 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 'koa-webpack-dev-middleware' {
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 'koa-webpack-dev-middleware/lib' {
declare module.exports: any;
}
// Filename aliases
declare module 'koa-webpack-dev-middleware/lib/index' {
declare module.exports: $Exports<'koa-webpack-dev-middleware/lib'>;
}
declare module 'koa-webpack-dev-middleware/lib/index.js' {
declare module.exports: $Exports<'koa-webpack-dev-middleware/lib'>;
}
-33
View File
@@ -1,33 +0,0 @@
// flow-typed signature: 160c778ee947454f84733742e2f55b49
// flow-typed version: <<STUB>>/koa-webpack-hot-middleware_v^1.0.3/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'koa-webpack-hot-middleware'
*
* 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 'koa-webpack-hot-middleware' {
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.
*/
// Filename aliases
declare module 'koa-webpack-hot-middleware/index' {
declare module.exports: $Exports<'koa-webpack-hot-middleware'>;
}
declare module 'koa-webpack-hot-middleware/index.js' {
declare module.exports: $Exports<'koa-webpack-hot-middleware'>;
}
-316
View File
@@ -1,316 +0,0 @@
// flow-typed signature: 003f6bf32e094d5bbd6ce9dd58e73b0c
// flow-typed version: c6154227d1/koa_v2.0.x/flow_>=v0.104.x
/*
* Type def from from source code of koa.
* this: https://github.com/koajs/koa/commit/fabf5864c6a5dca0782b867a263b1b0825a05bf9
**/
declare module 'koa' {
declare type JSON = | string | number | boolean | null | JSONObject | JSONArray;
declare type JSONObject = { [key: string]: JSON, ... };
declare type JSONArray = Array<JSON>;
declare type SimpleHeader = {
[key: string]: string,
'set-cookie'?: Array<string>,
...
};
declare type RequestJSON = {
'method': string,
'url': string,
'header': SimpleHeader,
...
};
declare type RequestInspect = void|RequestJSON;
declare type Request = {
// props added by middlewares.
[key: string]: mixed,
app: Application,
req: http$IncomingMessage<>,
res: http$ServerResponse,
ctx: Context,
response: Response,
fresh: boolean,
header: SimpleHeader,
// alias as header
headers: SimpleHeader,
host: string,
hostname: string,
href: string,
idempotent: boolean,
ip: string,
ips: string[],
method: string,
origin: string,
originalUrl: string,
path: string,
protocol: string,
// always string
query: { [key: string]: string, ... },
querystring: string,
search: string,
// Shorthand for ctx.protocol == "https" to check if a request was issued via TLS.
secure: boolean,
socket: net$Socket,
stale: boolean,
subdomains: string[],
type: string,
url: string,
charset: string|void,
length: number|void,
// Those functions comes from https://github.com/jshttp/accepts/blob/master/index.js
// request.js$L445
// https://github.com/jshttp/accepts/blob/master/test/type.js
// return the old value.
accepts: ((args: string[]) => string|false)&
// ToDo: There is an issue https://github.com/facebook/flow/issues/3009
// if you meet some error here, temporarily add an additional annotation
// like: `request.accepts((['json', 'text']:Array<string>))` to fix it.
((arg: string, ...args: string[]) => string|false) &
( () => string[] ),
// https://github.com/jshttp/accepts/blob/master/index.js#L153
// https://github.com/jshttp/accepts/blob/master/test/charset.js
acceptsCharsets: ( (args: string[]) => buffer$Encoding|false)&
// ToDo: https://github.com/facebook/flow/issues/3009
// if you meet some error here, see L70.
( (arg: string, ...args: string[]) => buffer$Encoding|false ) &
( () => string[] ),
// https://github.com/jshttp/accepts/blob/master/index.js#L119
// https://github.com/jshttp/accepts/blob/master/test/encoding.js
acceptsEncodings: ( (args: string[]) => string|false)&
// ToDo: https://github.com/facebook/flow/issues/3009
// if you meet some error here, see L70.
( (arg: string, ...args: string[]) => string|false ) &
( () => string[] ),
// https://github.com/jshttp/accepts/blob/master/index.js#L185
// https://github.com/jshttp/accepts/blob/master/test/language.js
acceptsLanguages: ( (args: string[]) => string|false) &
// ToDo: https://github.com/facebook/flow/issues/3009
// if you meet some error here, see L70.
( (arg: string, ...args: string[]) => string|false ) &
( () => string[] ),
get: (field: string) => string,
/* https://github.com/jshttp/type-is/blob/master/test/test.js
* Check if the incoming request contains the "Content-Type"
* header field, and it contains any of the give mime `type`s.
* If there is no request body, `null` is returned.
* If there is no content type, `false` is returned.
* Otherwise, it returns the first `type` that matches.
*/
// should return the mime type
is: ( (args: string[]) => null|false|string)&
( (arg: string, ...args: string[]) => null|false|string ) &
( () => string ),
toJSON: () => RequestJSON,
inspect: () => RequestInspect,
...
};
declare type ResponseJSON = {
'status': mixed,
'message': mixed,
'header': mixed,
...
};
declare type ResponseInspect = {
'status': mixed,
'message': mixed,
'header': mixed,
'body': mixed,
...
};
declare type Response = {
// props added by middlewares.
[key: string]: mixed,
app: Application,
req: http$IncomingMessage<>,
res: http$ServerResponse,
ctx: Context,
request: Request,
// docs/api/response.md#L113.
// JSON contains null
body: string | Buffer | stream$Stream | JSONObject | null,
etag: string,
header: SimpleHeader,
// alias as header
headers: SimpleHeader,
headerSent: boolean,
// can be set with string|Date, but get with Date.
// set lastModified(v: string|Date), // 0.36 doesn't support this.
lastModified: Date,
message: string,
socket: net$Socket,
status: number,
type: string,
writable: boolean,
// charset: string, // doesn't find in response.js
length: number|void,
append: (field: string, val: string | string[]) => void,
attachment: (filename?: string) => void,
get: (field: string) => string,
// https://github.com/jshttp/type-is/blob/master/test/test.js
// https://github.com/koajs/koa/blob/v2.x/lib/response.js#L382
// should return the mime type
is: ( (arg: string[]) => false|string) &
( (arg: string, ...args: string[]) => false|string ) &
( () => string ),
redirect: (url: string, alt?: string) => void,
remove: (field: string) => void,
// https://github.com/koajs/koa/blob/v2.x/lib/response.js#L418
set: ((field: string, val: string | string[]) => void)&
((field: { [key: string]: string | string[], ... }) => void),
vary: (field: string) => void,
// https://github.com/koajs/koa/blob/v2.x/lib/response.js#L519
toJSON(): ResponseJSON,
inspect(): ResponseInspect,
...
}
declare type ContextJSON = {
request: RequestJSON,
response: ResponseJSON,
app: ApplicationJSON,
originalUrl: string,
req: '<original node req>',
res: '<original node res>',
socket: '<original node socket>',
...
};
// https://github.com/pillarjs/cookies
declare type CookiesSetOptions = {
// domain of the cookie (no default).
domain?: string,
// milliseconds from Date.now() for expiry
maxAge?: number,
//cookie's expiration date (expires at the end of session by default).
expires?: Date,
// the path of the cookie (/ by default).
path?: string,
// false by default for HTTP, true by default for HTTPS
secure?: boolean,
// a boolean indicating whether the cookie is only to be sent over HTTP(S),
httpOnly?: boolean,
// and not made available to client JavaScript (true by default).
// whether the cookie is to be signed (false by default)
signed?: boolean,
// whether to overwrite previously set cookies of the same name (false by default).
overwrite?: boolean,
...
};
declare type Cookies = {
get: (name: string, options?: { signed: boolean, ... }) => string|void,
set: ((name: string, value: string, options?: CookiesSetOptions) => Context)&
// delete cookie (an outbound header with an expired date is used.)
( (name: string) => Context),
...
};
// The default props of context come from two files
// `application.createContext` & `context.js`
declare type Context = {
// props added by middlewares.
[key: string]: mixed,
accept: $PropertyType<Request, 'accept'>,
app: Application,
cookies: Cookies,
// ?
name?: string,
originalUrl: string,
req: http$IncomingMessage<>,
request: Request,
res: http$ServerResponse,
// should not be used, allow bypassing koa application.js#L193
respond?: boolean,
response: Response,
state: {...},
// context.js#L55
assert: (test: mixed, status: number, message?: string, opts?: mixed) => void,
// context.js#L107
// if (!(err instanceof Error)) err = new Error(`non-error thrown: ${err}`);
onerror: (err?: mixed) => 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,
// ToDo: add const for some props,
// while the `const props` feature of Flow is landing in future
// cherry pick from response
attachment: $PropertyType<Response, 'attachment'>,
redirect: $PropertyType<Response, 'redirect'>,
remove: $PropertyType<Response, 'remove'>,
vary: $PropertyType<Response, 'vary'>,
set: $PropertyType<Response, 'set'>,
append: $PropertyType<Response, 'append'>,
flushHeaders: $PropertyType<Response, 'flushHeaders'>,
status: $PropertyType<Response, 'status'>,
message: $PropertyType<Response, 'message'>,
body: $PropertyType<Response, 'body'>,
length: $PropertyType<Response, 'length'>,
type: $PropertyType<Response, 'type'>,
lastModified: $PropertyType<Response, 'lastModified'>,
etag: $PropertyType<Response, 'etag'>,
headerSent: $PropertyType<Response, 'headerSent'>,
writable: $PropertyType<Response, 'writable'>,
// cherry pick from request
acceptsLanguages: $PropertyType<Request, 'acceptsLanguages'>,
acceptsEncodings: $PropertyType<Request, 'acceptsEncodings'>,
acceptsCharsets: $PropertyType<Request, 'acceptsCharsets'>,
accepts: $PropertyType<Request, 'accepts'>,
get: $PropertyType<Request, 'get'>,
is: $PropertyType<Request, 'is'>,
querystring: $PropertyType<Request, 'querystring'>,
idempotent: $PropertyType<Request, 'idempotent'>,
socket: $PropertyType<Request, 'socket'>,
search: $PropertyType<Request, 'search'>,
method: $PropertyType<Request, 'method'>,
query: $PropertyType<Request, 'query'>,
path: $PropertyType<Request, 'path'>,
url: $PropertyType<Request, 'url'>,
origin: $PropertyType<Request, 'origin'>,
href: $PropertyType<Request, 'href'>,
subdomains: $PropertyType<Request, 'subdomains'>,
protocol: $PropertyType<Request, 'protocol'>,
host: $PropertyType<Request, 'host'>,
hostname: $PropertyType<Request, 'hostname'>,
header: $PropertyType<Request, 'header'>,
headers: $PropertyType<Request, 'headers'>,
secure: $PropertyType<Request, 'secure'>,
stale: $PropertyType<Request, 'stale'>,
fresh: $PropertyType<Request, 'fresh'>,
ips: $PropertyType<Request, 'ips'>,
ip: $PropertyType<Request, 'ip'>,
...
}
declare type Middleware =
(ctx: Context, next: () => Promise<void>) => Promise<void>|void;
declare type ApplicationJSON = {
'subdomainOffset': mixed,
'proxy': mixed,
'env': string,
...
};
declare class Application extends events$EventEmitter {
context: Context,
// request handler for node's native http server.
callback: () => (req: http$IncomingMessage<>, res: http$ServerResponse) => void,
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,
server: http$Server,
subdomainOffset: number,
listen: $PropertyType<http$Server, 'listen'>,
toJSON(): ApplicationJSON,
inspect(): ApplicationJSON,
use(fn: Middleware): this,
}
declare module.exports: Class<Application>;
}
-33
View File
@@ -1,33 +0,0 @@
// flow-typed signature: 51e82d9a0f70e170972503eb22d1933d
// flow-typed version: <<STUB>>/lodash.orderby_v4.4.0/flow_v0.49.1
/**
* This is an autogenerated libdef stub for:
*
* 'lodash.orderby'
*
* 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 'lodash.orderby' {
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.
*/
// Filename aliases
declare module 'lodash.orderby/index' {
declare module.exports: $Exports<'lodash.orderby'>;
}
declare module 'lodash.orderby/index.js' {
declare module.exports: $Exports<'lodash.orderby'>;
}
-6113
View File
File diff suppressed because it is too large Load Diff
-39
View File
@@ -1,39 +0,0 @@
// flow-typed signature: 67f955aa47ef544703526f425d601f4d
// flow-typed version: <<STUB>>/marked-sanitized_v^0.1.1/flow_v0.49.1
/**
* This is an autogenerated libdef stub for:
*
* 'marked-sanitized'
*
* 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 'marked-sanitized' {
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 'marked-sanitized/lib/markedSanitize' {
declare module.exports: any;
}
declare module 'marked-sanitized/test/markedSanitize' {
declare module.exports: any;
}
// Filename aliases
declare module 'marked-sanitized/lib/markedSanitize.js' {
declare module.exports: $Exports<'marked-sanitized/lib/markedSanitize'>;
}
declare module 'marked-sanitized/test/markedSanitize.js' {
declare module.exports: $Exports<'marked-sanitized/test/markedSanitize'>;
}
-38
View File
@@ -1,38 +0,0 @@
// flow-typed signature: 563426a99a69cf0af6c1914d6d7dc7c3
// flow-typed version: <<STUB>>/mobx-react-devtools_v^6.0.3/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'mobx-react-devtools'
*
* 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 'mobx-react-devtools' {
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 'mobx-react-devtools/publish' {
declare module.exports: any;
}
// Filename aliases
declare module 'mobx-react-devtools/index' {
declare module.exports: $Exports<'mobx-react-devtools'>;
}
declare module 'mobx-react-devtools/index.js' {
declare module.exports: $Exports<'mobx-react-devtools'>;
}
declare module 'mobx-react-devtools/publish.js' {
declare module.exports: $Exports<'mobx-react-devtools/publish'>;
}
-108
View File
@@ -1,108 +0,0 @@
// flow-typed signature: 8c7a9442857f3b1e4cb96c477d8c37b7
// flow-typed version: <<STUB>>/mobx-react_v^5.4.2/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'mobx-react'
*
* 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 'mobx-react' {
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 'mobx-react/__mocks__/react-native' {
declare module.exports: any;
}
declare module 'mobx-react/custom' {
declare module.exports: any;
}
declare module 'mobx-react/custom.module' {
declare module.exports: any;
}
declare module 'mobx-react/dist/mobx-react' {
declare module.exports: any;
}
declare module 'mobx-react/dist/mobx-react.module' {
declare module.exports: any;
}
declare module 'mobx-react/dist/mobx-react.rn.module' {
declare module.exports: any;
}
declare module 'mobx-react/dist/mobx-react.umd' {
declare module.exports: any;
}
declare module 'mobx-react/empty' {
declare module.exports: any;
}
declare module 'mobx-react/index.min' {
declare module.exports: any;
}
declare module 'mobx-react/index.module' {
declare module.exports: any;
}
declare module 'mobx-react/native' {
declare module.exports: any;
}
// Filename aliases
declare module 'mobx-react/__mocks__/react-native.js' {
declare module.exports: $Exports<'mobx-react/__mocks__/react-native'>;
}
declare module 'mobx-react/custom.js' {
declare module.exports: $Exports<'mobx-react/custom'>;
}
declare module 'mobx-react/custom.module.js' {
declare module.exports: $Exports<'mobx-react/custom.module'>;
}
declare module 'mobx-react/dist/mobx-react.js' {
declare module.exports: $Exports<'mobx-react/dist/mobx-react'>;
}
declare module 'mobx-react/dist/mobx-react.module.js' {
declare module.exports: $Exports<'mobx-react/dist/mobx-react.module'>;
}
declare module 'mobx-react/dist/mobx-react.rn.module.js' {
declare module.exports: $Exports<'mobx-react/dist/mobx-react.rn.module'>;
}
declare module 'mobx-react/dist/mobx-react.umd.js' {
declare module.exports: $Exports<'mobx-react/dist/mobx-react.umd'>;
}
declare module 'mobx-react/empty.js' {
declare module.exports: $Exports<'mobx-react/empty'>;
}
declare module 'mobx-react/index' {
declare module.exports: $Exports<'mobx-react'>;
}
declare module 'mobx-react/index.js' {
declare module.exports: $Exports<'mobx-react'>;
}
declare module 'mobx-react/index.min.js' {
declare module.exports: $Exports<'mobx-react/index.min'>;
}
declare module 'mobx-react/index.module.js' {
declare module.exports: $Exports<'mobx-react/index.module'>;
}
declare module 'mobx-react/native.js' {
declare module.exports: $Exports<'mobx-react/native'>;
}
-32
View File
@@ -1,32 +0,0 @@
// flow-typed signature: 4fc292e297d90d006e295a0a3c23b50f
// flow-typed version: <<STUB>>/natural-sort_v^1.0.0/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'natural-sort'
*
* 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 'natural-sort' {
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 'natural-sort/dist/natural-sort' {
declare module.exports: any;
}
// Filename aliases
declare module 'natural-sort/dist/natural-sort.js' {
declare module.exports: $Exports<'natural-sort/dist/natural-sort'>;
}
-88
View File
@@ -1,88 +0,0 @@
// flow-typed signature: bb542302bc35e2d9212a92ff9be8869c
// flow-typed version: <<STUB>>/node-dev_v3.1.0/flow_v0.86.0
/**
* This is an autogenerated libdef stub for:
*
* 'node-dev'
*
* 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 'node-dev' {
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 'node-dev/lib/cfg' {
declare module.exports: any;
}
declare module 'node-dev/lib/dedupe' {
declare module.exports: any;
}
declare module 'node-dev/lib/hook' {
declare module.exports: any;
}
declare module 'node-dev/lib/index' {
declare module.exports: any;
}
declare module 'node-dev/lib/ipc' {
declare module.exports: any;
}
declare module 'node-dev/lib/log' {
declare module.exports: any;
}
declare module 'node-dev/lib/notify' {
declare module.exports: any;
}
declare module 'node-dev/lib/resolveMain' {
declare module.exports: any;
}
declare module 'node-dev/lib/wrap' {
declare module.exports: any;
}
// Filename aliases
declare module 'node-dev/lib/cfg.js' {
declare module.exports: $Exports<'node-dev/lib/cfg'>;
}
declare module 'node-dev/lib/dedupe.js' {
declare module.exports: $Exports<'node-dev/lib/dedupe'>;
}
declare module 'node-dev/lib/hook.js' {
declare module.exports: $Exports<'node-dev/lib/hook'>;
}
declare module 'node-dev/lib/index.js' {
declare module.exports: $Exports<'node-dev/lib/index'>;
}
declare module 'node-dev/lib/ipc.js' {
declare module.exports: $Exports<'node-dev/lib/ipc'>;
}
declare module 'node-dev/lib/log.js' {
declare module.exports: $Exports<'node-dev/lib/log'>;
}
declare module 'node-dev/lib/notify.js' {
declare module.exports: $Exports<'node-dev/lib/notify'>;
}
declare module 'node-dev/lib/resolveMain.js' {
declare module.exports: $Exports<'node-dev/lib/resolveMain'>;
}
declare module 'node-dev/lib/wrap.js' {
declare module.exports: $Exports<'node-dev/lib/wrap'>;
}
-249
View File
@@ -1,249 +0,0 @@
// flow-typed signature: 9e1a4107a98eefb7501050d267470787
// flow-typed version: <<STUB>>/node-sass_v^4.5.2/flow_v0.49.1
/**
* This is an autogenerated libdef stub for:
*
* 'node-sass'
*
* 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 'node-sass' {
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 'node-sass/lib/binding' {
declare module.exports: any;
}
declare module 'node-sass/lib/errors' {
declare module.exports: any;
}
declare module 'node-sass/lib/extensions' {
declare module.exports: any;
}
declare module 'node-sass/lib/index' {
declare module.exports: any;
}
declare module 'node-sass/lib/render' {
declare module.exports: any;
}
declare module 'node-sass/scripts/build' {
declare module.exports: any;
}
declare module 'node-sass/scripts/coverage' {
declare module.exports: any;
}
declare module 'node-sass/scripts/install' {
declare module.exports: any;
}
declare module 'node-sass/scripts/prepublish' {
declare module.exports: any;
}
declare module 'node-sass/scripts/util/downloadoptions' {
declare module.exports: any;
}
declare module 'node-sass/scripts/util/proxy' {
declare module.exports: any;
}
declare module 'node-sass/scripts/util/useragent' {
declare module.exports: any;
}
declare module 'node-sass/test/api' {
declare module.exports: any;
}
declare module 'node-sass/test/binding' {
declare module.exports: any;
}
declare module 'node-sass/test/cli' {
declare module.exports: any;
}
declare module 'node-sass/test/downloadoptions' {
declare module.exports: any;
}
declare module 'node-sass/test/errors' {
declare module.exports: any;
}
declare module 'node-sass/test/fixtures/extras/my_custom_arrays_of_importers' {
declare module.exports: any;
}
declare module 'node-sass/test/fixtures/extras/my_custom_functions_setter' {
declare module.exports: any;
}
declare module 'node-sass/test/fixtures/extras/my_custom_functions_string_conversion' {
declare module.exports: any;
}
declare module 'node-sass/test/fixtures/extras/my_custom_importer_data_cb' {
declare module.exports: any;
}
declare module 'node-sass/test/fixtures/extras/my_custom_importer_data' {
declare module.exports: any;
}
declare module 'node-sass/test/fixtures/extras/my_custom_importer_error' {
declare module.exports: any;
}
declare module 'node-sass/test/fixtures/extras/my_custom_importer_file_and_data_cb' {
declare module.exports: any;
}
declare module 'node-sass/test/fixtures/extras/my_custom_importer_file_and_data' {
declare module.exports: any;
}
declare module 'node-sass/test/fixtures/extras/my_custom_importer_file_cb' {
declare module.exports: any;
}
declare module 'node-sass/test/fixtures/extras/my_custom_importer_file' {
declare module.exports: any;
}
declare module 'node-sass/test/lowlevel' {
declare module.exports: any;
}
declare module 'node-sass/test/runtime' {
declare module.exports: any;
}
declare module 'node-sass/test/scripts/util/proxy' {
declare module.exports: any;
}
declare module 'node-sass/test/spec' {
declare module.exports: any;
}
declare module 'node-sass/test/useragent' {
declare module.exports: any;
}
// Filename aliases
declare module 'node-sass/lib/binding.js' {
declare module.exports: $Exports<'node-sass/lib/binding'>;
}
declare module 'node-sass/lib/errors.js' {
declare module.exports: $Exports<'node-sass/lib/errors'>;
}
declare module 'node-sass/lib/extensions.js' {
declare module.exports: $Exports<'node-sass/lib/extensions'>;
}
declare module 'node-sass/lib/index.js' {
declare module.exports: $Exports<'node-sass/lib/index'>;
}
declare module 'node-sass/lib/render.js' {
declare module.exports: $Exports<'node-sass/lib/render'>;
}
declare module 'node-sass/scripts/build.js' {
declare module.exports: $Exports<'node-sass/scripts/build'>;
}
declare module 'node-sass/scripts/coverage.js' {
declare module.exports: $Exports<'node-sass/scripts/coverage'>;
}
declare module 'node-sass/scripts/install.js' {
declare module.exports: $Exports<'node-sass/scripts/install'>;
}
declare module 'node-sass/scripts/prepublish.js' {
declare module.exports: $Exports<'node-sass/scripts/prepublish'>;
}
declare module 'node-sass/scripts/util/downloadoptions.js' {
declare module.exports: $Exports<'node-sass/scripts/util/downloadoptions'>;
}
declare module 'node-sass/scripts/util/proxy.js' {
declare module.exports: $Exports<'node-sass/scripts/util/proxy'>;
}
declare module 'node-sass/scripts/util/useragent.js' {
declare module.exports: $Exports<'node-sass/scripts/util/useragent'>;
}
declare module 'node-sass/test/api.js' {
declare module.exports: $Exports<'node-sass/test/api'>;
}
declare module 'node-sass/test/binding.js' {
declare module.exports: $Exports<'node-sass/test/binding'>;
}
declare module 'node-sass/test/cli.js' {
declare module.exports: $Exports<'node-sass/test/cli'>;
}
declare module 'node-sass/test/downloadoptions.js' {
declare module.exports: $Exports<'node-sass/test/downloadoptions'>;
}
declare module 'node-sass/test/errors.js' {
declare module.exports: $Exports<'node-sass/test/errors'>;
}
declare module 'node-sass/test/fixtures/extras/my_custom_arrays_of_importers.js' {
declare module.exports: $Exports<'node-sass/test/fixtures/extras/my_custom_arrays_of_importers'>;
}
declare module 'node-sass/test/fixtures/extras/my_custom_functions_setter.js' {
declare module.exports: $Exports<'node-sass/test/fixtures/extras/my_custom_functions_setter'>;
}
declare module 'node-sass/test/fixtures/extras/my_custom_functions_string_conversion.js' {
declare module.exports: $Exports<'node-sass/test/fixtures/extras/my_custom_functions_string_conversion'>;
}
declare module 'node-sass/test/fixtures/extras/my_custom_importer_data_cb.js' {
declare module.exports: $Exports<'node-sass/test/fixtures/extras/my_custom_importer_data_cb'>;
}
declare module 'node-sass/test/fixtures/extras/my_custom_importer_data.js' {
declare module.exports: $Exports<'node-sass/test/fixtures/extras/my_custom_importer_data'>;
}
declare module 'node-sass/test/fixtures/extras/my_custom_importer_error.js' {
declare module.exports: $Exports<'node-sass/test/fixtures/extras/my_custom_importer_error'>;
}
declare module 'node-sass/test/fixtures/extras/my_custom_importer_file_and_data_cb.js' {
declare module.exports: $Exports<'node-sass/test/fixtures/extras/my_custom_importer_file_and_data_cb'>;
}
declare module 'node-sass/test/fixtures/extras/my_custom_importer_file_and_data.js' {
declare module.exports: $Exports<'node-sass/test/fixtures/extras/my_custom_importer_file_and_data'>;
}
declare module 'node-sass/test/fixtures/extras/my_custom_importer_file_cb.js' {
declare module.exports: $Exports<'node-sass/test/fixtures/extras/my_custom_importer_file_cb'>;
}
declare module 'node-sass/test/fixtures/extras/my_custom_importer_file.js' {
declare module.exports: $Exports<'node-sass/test/fixtures/extras/my_custom_importer_file'>;
}
declare module 'node-sass/test/lowlevel.js' {
declare module.exports: $Exports<'node-sass/test/lowlevel'>;
}
declare module 'node-sass/test/runtime.js' {
declare module.exports: $Exports<'node-sass/test/runtime'>;
}
declare module 'node-sass/test/scripts/util/proxy.js' {
declare module.exports: $Exports<'node-sass/test/scripts/util/proxy'>;
}
declare module 'node-sass/test/spec.js' {
declare module.exports: $Exports<'node-sass/test/spec'>;
}
declare module 'node-sass/test/useragent.js' {
declare module.exports: $Exports<'node-sass/test/useragent'>;
}
-306
View File
@@ -1,306 +0,0 @@
// flow-typed signature: 59be4fb92b0594fb95e7a8b28bc73d94
// flow-typed version: <<STUB>>/nodemailer_v^4.4.0/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'nodemailer'
*
* 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 'nodemailer' {
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 'nodemailer/lib/addressparser' {
declare module.exports: any;
}
declare module 'nodemailer/lib/base64' {
declare module.exports: any;
}
declare module 'nodemailer/lib/dkim' {
declare module.exports: any;
}
declare module 'nodemailer/lib/dkim/message-parser' {
declare module.exports: any;
}
declare module 'nodemailer/lib/dkim/relaxed-body' {
declare module.exports: any;
}
declare module 'nodemailer/lib/dkim/sign' {
declare module.exports: any;
}
declare module 'nodemailer/lib/fetch/cookies' {
declare module.exports: any;
}
declare module 'nodemailer/lib/fetch' {
declare module.exports: any;
}
declare module 'nodemailer/lib/json-transport' {
declare module.exports: any;
}
declare module 'nodemailer/lib/mail-composer' {
declare module.exports: any;
}
declare module 'nodemailer/lib/mailer' {
declare module.exports: any;
}
declare module 'nodemailer/lib/mailer/mail-message' {
declare module.exports: any;
}
declare module 'nodemailer/lib/mime-funcs' {
declare module.exports: any;
}
declare module 'nodemailer/lib/mime-funcs/mime-types' {
declare module.exports: any;
}
declare module 'nodemailer/lib/mime-node' {
declare module.exports: any;
}
declare module 'nodemailer/lib/mime-node/last-newline' {
declare module.exports: any;
}
declare module 'nodemailer/lib/nodemailer' {
declare module.exports: any;
}
declare module 'nodemailer/lib/qp' {
declare module.exports: any;
}
declare module 'nodemailer/lib/sendmail-transport' {
declare module.exports: any;
}
declare module 'nodemailer/lib/sendmail-transport/le-unix' {
declare module.exports: any;
}
declare module 'nodemailer/lib/sendmail-transport/le-windows' {
declare module.exports: any;
}
declare module 'nodemailer/lib/ses-transport' {
declare module.exports: any;
}
declare module 'nodemailer/lib/shared' {
declare module.exports: any;
}
declare module 'nodemailer/lib/smtp-connection/data-stream' {
declare module.exports: any;
}
declare module 'nodemailer/lib/smtp-connection/http-proxy-client' {
declare module.exports: any;
}
declare module 'nodemailer/lib/smtp-connection' {
declare module.exports: any;
}
declare module 'nodemailer/lib/smtp-pool' {
declare module.exports: any;
}
declare module 'nodemailer/lib/smtp-pool/pool-resource' {
declare module.exports: any;
}
declare module 'nodemailer/lib/smtp-transport' {
declare module.exports: any;
}
declare module 'nodemailer/lib/stream-transport' {
declare module.exports: any;
}
declare module 'nodemailer/lib/well-known' {
declare module.exports: any;
}
declare module 'nodemailer/lib/xoauth2' {
declare module.exports: any;
}
// Filename aliases
declare module 'nodemailer/lib/addressparser/index' {
declare module.exports: $Exports<'nodemailer/lib/addressparser'>;
}
declare module 'nodemailer/lib/addressparser/index.js' {
declare module.exports: $Exports<'nodemailer/lib/addressparser'>;
}
declare module 'nodemailer/lib/base64/index' {
declare module.exports: $Exports<'nodemailer/lib/base64'>;
}
declare module 'nodemailer/lib/base64/index.js' {
declare module.exports: $Exports<'nodemailer/lib/base64'>;
}
declare module 'nodemailer/lib/dkim/index' {
declare module.exports: $Exports<'nodemailer/lib/dkim'>;
}
declare module 'nodemailer/lib/dkim/index.js' {
declare module.exports: $Exports<'nodemailer/lib/dkim'>;
}
declare module 'nodemailer/lib/dkim/message-parser.js' {
declare module.exports: $Exports<'nodemailer/lib/dkim/message-parser'>;
}
declare module 'nodemailer/lib/dkim/relaxed-body.js' {
declare module.exports: $Exports<'nodemailer/lib/dkim/relaxed-body'>;
}
declare module 'nodemailer/lib/dkim/sign.js' {
declare module.exports: $Exports<'nodemailer/lib/dkim/sign'>;
}
declare module 'nodemailer/lib/fetch/cookies.js' {
declare module.exports: $Exports<'nodemailer/lib/fetch/cookies'>;
}
declare module 'nodemailer/lib/fetch/index' {
declare module.exports: $Exports<'nodemailer/lib/fetch'>;
}
declare module 'nodemailer/lib/fetch/index.js' {
declare module.exports: $Exports<'nodemailer/lib/fetch'>;
}
declare module 'nodemailer/lib/json-transport/index' {
declare module.exports: $Exports<'nodemailer/lib/json-transport'>;
}
declare module 'nodemailer/lib/json-transport/index.js' {
declare module.exports: $Exports<'nodemailer/lib/json-transport'>;
}
declare module 'nodemailer/lib/mail-composer/index' {
declare module.exports: $Exports<'nodemailer/lib/mail-composer'>;
}
declare module 'nodemailer/lib/mail-composer/index.js' {
declare module.exports: $Exports<'nodemailer/lib/mail-composer'>;
}
declare module 'nodemailer/lib/mailer/index' {
declare module.exports: $Exports<'nodemailer/lib/mailer'>;
}
declare module 'nodemailer/lib/mailer/index.js' {
declare module.exports: $Exports<'nodemailer/lib/mailer'>;
}
declare module 'nodemailer/lib/mailer/mail-message.js' {
declare module.exports: $Exports<'nodemailer/lib/mailer/mail-message'>;
}
declare module 'nodemailer/lib/mime-funcs/index' {
declare module.exports: $Exports<'nodemailer/lib/mime-funcs'>;
}
declare module 'nodemailer/lib/mime-funcs/index.js' {
declare module.exports: $Exports<'nodemailer/lib/mime-funcs'>;
}
declare module 'nodemailer/lib/mime-funcs/mime-types.js' {
declare module.exports: $Exports<'nodemailer/lib/mime-funcs/mime-types'>;
}
declare module 'nodemailer/lib/mime-node/index' {
declare module.exports: $Exports<'nodemailer/lib/mime-node'>;
}
declare module 'nodemailer/lib/mime-node/index.js' {
declare module.exports: $Exports<'nodemailer/lib/mime-node'>;
}
declare module 'nodemailer/lib/mime-node/last-newline.js' {
declare module.exports: $Exports<'nodemailer/lib/mime-node/last-newline'>;
}
declare module 'nodemailer/lib/nodemailer.js' {
declare module.exports: $Exports<'nodemailer/lib/nodemailer'>;
}
declare module 'nodemailer/lib/qp/index' {
declare module.exports: $Exports<'nodemailer/lib/qp'>;
}
declare module 'nodemailer/lib/qp/index.js' {
declare module.exports: $Exports<'nodemailer/lib/qp'>;
}
declare module 'nodemailer/lib/sendmail-transport/index' {
declare module.exports: $Exports<'nodemailer/lib/sendmail-transport'>;
}
declare module 'nodemailer/lib/sendmail-transport/index.js' {
declare module.exports: $Exports<'nodemailer/lib/sendmail-transport'>;
}
declare module 'nodemailer/lib/sendmail-transport/le-unix.js' {
declare module.exports: $Exports<'nodemailer/lib/sendmail-transport/le-unix'>;
}
declare module 'nodemailer/lib/sendmail-transport/le-windows.js' {
declare module.exports: $Exports<'nodemailer/lib/sendmail-transport/le-windows'>;
}
declare module 'nodemailer/lib/ses-transport/index' {
declare module.exports: $Exports<'nodemailer/lib/ses-transport'>;
}
declare module 'nodemailer/lib/ses-transport/index.js' {
declare module.exports: $Exports<'nodemailer/lib/ses-transport'>;
}
declare module 'nodemailer/lib/shared/index' {
declare module.exports: $Exports<'nodemailer/lib/shared'>;
}
declare module 'nodemailer/lib/shared/index.js' {
declare module.exports: $Exports<'nodemailer/lib/shared'>;
}
declare module 'nodemailer/lib/smtp-connection/data-stream.js' {
declare module.exports: $Exports<'nodemailer/lib/smtp-connection/data-stream'>;
}
declare module 'nodemailer/lib/smtp-connection/http-proxy-client.js' {
declare module.exports: $Exports<'nodemailer/lib/smtp-connection/http-proxy-client'>;
}
declare module 'nodemailer/lib/smtp-connection/index' {
declare module.exports: $Exports<'nodemailer/lib/smtp-connection'>;
}
declare module 'nodemailer/lib/smtp-connection/index.js' {
declare module.exports: $Exports<'nodemailer/lib/smtp-connection'>;
}
declare module 'nodemailer/lib/smtp-pool/index' {
declare module.exports: $Exports<'nodemailer/lib/smtp-pool'>;
}
declare module 'nodemailer/lib/smtp-pool/index.js' {
declare module.exports: $Exports<'nodemailer/lib/smtp-pool'>;
}
declare module 'nodemailer/lib/smtp-pool/pool-resource.js' {
declare module.exports: $Exports<'nodemailer/lib/smtp-pool/pool-resource'>;
}
declare module 'nodemailer/lib/smtp-transport/index' {
declare module.exports: $Exports<'nodemailer/lib/smtp-transport'>;
}
declare module 'nodemailer/lib/smtp-transport/index.js' {
declare module.exports: $Exports<'nodemailer/lib/smtp-transport'>;
}
declare module 'nodemailer/lib/stream-transport/index' {
declare module.exports: $Exports<'nodemailer/lib/stream-transport'>;
}
declare module 'nodemailer/lib/stream-transport/index.js' {
declare module.exports: $Exports<'nodemailer/lib/stream-transport'>;
}
declare module 'nodemailer/lib/well-known/index' {
declare module.exports: $Exports<'nodemailer/lib/well-known'>;
}
declare module 'nodemailer/lib/well-known/index.js' {
declare module.exports: $Exports<'nodemailer/lib/well-known'>;
}
declare module 'nodemailer/lib/xoauth2/index' {
declare module.exports: $Exports<'nodemailer/lib/xoauth2'>;
}
declare module 'nodemailer/lib/xoauth2/index.js' {
declare module.exports: $Exports<'nodemailer/lib/xoauth2'>;
}
-249
View File
@@ -1,249 +0,0 @@
// flow-typed signature: 8d38c2d39417a7239f4f6895e58e62f6
// flow-typed version: <<STUB>>/nodemon_v^1.19.4/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'nodemon'
*
* 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 'nodemon' {
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 'nodemon/bin/nodemon' {
declare module.exports: any;
}
declare module 'nodemon/bin/postinstall' {
declare module.exports: any;
}
declare module 'nodemon/commitlint.config' {
declare module.exports: any;
}
declare module 'nodemon/lib/cli' {
declare module.exports: any;
}
declare module 'nodemon/lib/cli/parse' {
declare module.exports: any;
}
declare module 'nodemon/lib/config/command' {
declare module.exports: any;
}
declare module 'nodemon/lib/config/defaults' {
declare module.exports: any;
}
declare module 'nodemon/lib/config/exec' {
declare module.exports: any;
}
declare module 'nodemon/lib/config' {
declare module.exports: any;
}
declare module 'nodemon/lib/config/load' {
declare module.exports: any;
}
declare module 'nodemon/lib/help' {
declare module.exports: any;
}
declare module 'nodemon/lib' {
declare module.exports: any;
}
declare module 'nodemon/lib/monitor' {
declare module.exports: any;
}
declare module 'nodemon/lib/monitor/match' {
declare module.exports: any;
}
declare module 'nodemon/lib/monitor/run' {
declare module.exports: any;
}
declare module 'nodemon/lib/monitor/signals' {
declare module.exports: any;
}
declare module 'nodemon/lib/monitor/watch' {
declare module.exports: any;
}
declare module 'nodemon/lib/nodemon' {
declare module.exports: any;
}
declare module 'nodemon/lib/rules/add' {
declare module.exports: any;
}
declare module 'nodemon/lib/rules' {
declare module.exports: any;
}
declare module 'nodemon/lib/rules/parse' {
declare module.exports: any;
}
declare module 'nodemon/lib/spawn' {
declare module.exports: any;
}
declare module 'nodemon/lib/utils/bus' {
declare module.exports: any;
}
declare module 'nodemon/lib/utils/clone' {
declare module.exports: any;
}
declare module 'nodemon/lib/utils/colour' {
declare module.exports: any;
}
declare module 'nodemon/lib/utils' {
declare module.exports: any;
}
declare module 'nodemon/lib/utils/log' {
declare module.exports: any;
}
declare module 'nodemon/lib/utils/merge' {
declare module.exports: any;
}
declare module 'nodemon/lib/version' {
declare module.exports: any;
}
// Filename aliases
declare module 'nodemon/bin/nodemon.js' {
declare module.exports: $Exports<'nodemon/bin/nodemon'>;
}
declare module 'nodemon/bin/postinstall.js' {
declare module.exports: $Exports<'nodemon/bin/postinstall'>;
}
declare module 'nodemon/commitlint.config.js' {
declare module.exports: $Exports<'nodemon/commitlint.config'>;
}
declare module 'nodemon/lib/cli/index' {
declare module.exports: $Exports<'nodemon/lib/cli'>;
}
declare module 'nodemon/lib/cli/index.js' {
declare module.exports: $Exports<'nodemon/lib/cli'>;
}
declare module 'nodemon/lib/cli/parse.js' {
declare module.exports: $Exports<'nodemon/lib/cli/parse'>;
}
declare module 'nodemon/lib/config/command.js' {
declare module.exports: $Exports<'nodemon/lib/config/command'>;
}
declare module 'nodemon/lib/config/defaults.js' {
declare module.exports: $Exports<'nodemon/lib/config/defaults'>;
}
declare module 'nodemon/lib/config/exec.js' {
declare module.exports: $Exports<'nodemon/lib/config/exec'>;
}
declare module 'nodemon/lib/config/index' {
declare module.exports: $Exports<'nodemon/lib/config'>;
}
declare module 'nodemon/lib/config/index.js' {
declare module.exports: $Exports<'nodemon/lib/config'>;
}
declare module 'nodemon/lib/config/load.js' {
declare module.exports: $Exports<'nodemon/lib/config/load'>;
}
declare module 'nodemon/lib/help/index' {
declare module.exports: $Exports<'nodemon/lib/help'>;
}
declare module 'nodemon/lib/help/index.js' {
declare module.exports: $Exports<'nodemon/lib/help'>;
}
declare module 'nodemon/lib/index' {
declare module.exports: $Exports<'nodemon/lib'>;
}
declare module 'nodemon/lib/index.js' {
declare module.exports: $Exports<'nodemon/lib'>;
}
declare module 'nodemon/lib/monitor/index' {
declare module.exports: $Exports<'nodemon/lib/monitor'>;
}
declare module 'nodemon/lib/monitor/index.js' {
declare module.exports: $Exports<'nodemon/lib/monitor'>;
}
declare module 'nodemon/lib/monitor/match.js' {
declare module.exports: $Exports<'nodemon/lib/monitor/match'>;
}
declare module 'nodemon/lib/monitor/run.js' {
declare module.exports: $Exports<'nodemon/lib/monitor/run'>;
}
declare module 'nodemon/lib/monitor/signals.js' {
declare module.exports: $Exports<'nodemon/lib/monitor/signals'>;
}
declare module 'nodemon/lib/monitor/watch.js' {
declare module.exports: $Exports<'nodemon/lib/monitor/watch'>;
}
declare module 'nodemon/lib/nodemon.js' {
declare module.exports: $Exports<'nodemon/lib/nodemon'>;
}
declare module 'nodemon/lib/rules/add.js' {
declare module.exports: $Exports<'nodemon/lib/rules/add'>;
}
declare module 'nodemon/lib/rules/index' {
declare module.exports: $Exports<'nodemon/lib/rules'>;
}
declare module 'nodemon/lib/rules/index.js' {
declare module.exports: $Exports<'nodemon/lib/rules'>;
}
declare module 'nodemon/lib/rules/parse.js' {
declare module.exports: $Exports<'nodemon/lib/rules/parse'>;
}
declare module 'nodemon/lib/spawn.js' {
declare module.exports: $Exports<'nodemon/lib/spawn'>;
}
declare module 'nodemon/lib/utils/bus.js' {
declare module.exports: $Exports<'nodemon/lib/utils/bus'>;
}
declare module 'nodemon/lib/utils/clone.js' {
declare module.exports: $Exports<'nodemon/lib/utils/clone'>;
}
declare module 'nodemon/lib/utils/colour.js' {
declare module.exports: $Exports<'nodemon/lib/utils/colour'>;
}
declare module 'nodemon/lib/utils/index' {
declare module.exports: $Exports<'nodemon/lib/utils'>;
}
declare module 'nodemon/lib/utils/index.js' {
declare module.exports: $Exports<'nodemon/lib/utils'>;
}
declare module 'nodemon/lib/utils/log.js' {
declare module.exports: $Exports<'nodemon/lib/utils/log'>;
}
declare module 'nodemon/lib/utils/merge.js' {
declare module.exports: $Exports<'nodemon/lib/utils/merge'>;
}
declare module 'nodemon/lib/version.js' {
declare module.exports: $Exports<'nodemon/lib/version'>;
}
-26
View File
@@ -1,26 +0,0 @@
// flow-typed signature: 2950a094dd6d8e47a8535df1da5d65eb
// flow-typed version: da30fe6876/normalizr_v2.x.x/flow_>=v0.25.x
declare class Normalizr$Schema {
define(nestedSchema: Object): void;
}
type Normalizr$SchemaOrObject = Normalizr$Schema | Object;
declare module "normalizr" {
declare class Normalizr {
normalize(
obj: Object | Array<Object>,
schema: Normalizr$SchemaOrObject
): Object;
Schema(key: string, options?: Object): Normalizr$Schema;
arrayOf(
schema: Normalizr$SchemaOrObject,
options?: Object
): Normalizr$Schema;
valuesOf(
schema: Normalizr$SchemaOrObject,
options?: Object
): Normalizr$Schema;
}
declare module.exports: Normalizr;
}
-602
View File
@@ -1,602 +0,0 @@
// flow-typed signature: 642ca7b7f89404a28c9d3cd9540c41e0
// flow-typed version: <<STUB>>/outline-icons_v^1.21.0-6/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'outline-icons'
*
* 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 'outline-icons' {
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 'outline-icons/lib/components/AcademicCapIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/AlignCenterIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/AlignLeftIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/AlignRightIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/ArchiveIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/BackIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/BeakerIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/BillingIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/BlockQuoteIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/BoldIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/BuildingBlocksIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/BulletedListIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/CheckboxIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/CheckmarkIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/CloseIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/CloudIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/CodeIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/CoinsIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/CollapsedIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/CollectionIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/CommentIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/DocumentIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/EditIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/EmailIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/ExpandedIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/EyeIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/GlobeIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/GoToIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/GroupIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/HashtagIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/Heading1Icon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/Heading2Icon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/Heading3Icon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/HighlightIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/HomeIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/HorizontalRuleIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/Icon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/ImageIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/InfoIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/InputIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/InsertAboveIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/InsertBelowIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/InsertLeftIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/InsertRightIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/ItalicIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/JournalIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/KeyboardIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/LeafIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/LightBulbIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/LinkIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/MenuIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/MoonIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/MoreIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/NewDocumentIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/NextIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/NotepadIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/OpenIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/OrderedListIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/PadlockIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/PaletteIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/PinIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/PlusIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/PrivateCollectionIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/ProfileIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/QuestionMarkIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/SearchIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/SettingsIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/ShapesIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/StarredIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/StrikethroughIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/SunIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/TableIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/TableOfContentsIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/TeamIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/TemplateIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/TodoListIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/TrashIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/UserIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/VehicleIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib/components/WarningIcon' {
declare module.exports: any;
}
declare module 'outline-icons/lib' {
declare module.exports: any;
}
declare module 'outline-icons/stories/index.stories' {
declare module.exports: any;
}
// Filename aliases
declare module 'outline-icons/lib/components/AcademicCapIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/AcademicCapIcon'>;
}
declare module 'outline-icons/lib/components/AlignCenterIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/AlignCenterIcon'>;
}
declare module 'outline-icons/lib/components/AlignLeftIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/AlignLeftIcon'>;
}
declare module 'outline-icons/lib/components/AlignRightIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/AlignRightIcon'>;
}
declare module 'outline-icons/lib/components/ArchiveIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/ArchiveIcon'>;
}
declare module 'outline-icons/lib/components/BackIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/BackIcon'>;
}
declare module 'outline-icons/lib/components/BeakerIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/BeakerIcon'>;
}
declare module 'outline-icons/lib/components/BillingIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/BillingIcon'>;
}
declare module 'outline-icons/lib/components/BlockQuoteIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/BlockQuoteIcon'>;
}
declare module 'outline-icons/lib/components/BoldIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/BoldIcon'>;
}
declare module 'outline-icons/lib/components/BuildingBlocksIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/BuildingBlocksIcon'>;
}
declare module 'outline-icons/lib/components/BulletedListIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/BulletedListIcon'>;
}
declare module 'outline-icons/lib/components/CheckboxIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/CheckboxIcon'>;
}
declare module 'outline-icons/lib/components/CheckmarkIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/CheckmarkIcon'>;
}
declare module 'outline-icons/lib/components/CloseIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/CloseIcon'>;
}
declare module 'outline-icons/lib/components/CloudIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/CloudIcon'>;
}
declare module 'outline-icons/lib/components/CodeIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/CodeIcon'>;
}
declare module 'outline-icons/lib/components/CoinsIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/CoinsIcon'>;
}
declare module 'outline-icons/lib/components/CollapsedIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/CollapsedIcon'>;
}
declare module 'outline-icons/lib/components/CollectionIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/CollectionIcon'>;
}
declare module 'outline-icons/lib/components/CommentIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/CommentIcon'>;
}
declare module 'outline-icons/lib/components/DocumentIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/DocumentIcon'>;
}
declare module 'outline-icons/lib/components/EditIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/EditIcon'>;
}
declare module 'outline-icons/lib/components/EmailIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/EmailIcon'>;
}
declare module 'outline-icons/lib/components/ExpandedIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/ExpandedIcon'>;
}
declare module 'outline-icons/lib/components/EyeIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/EyeIcon'>;
}
declare module 'outline-icons/lib/components/GlobeIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/GlobeIcon'>;
}
declare module 'outline-icons/lib/components/GoToIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/GoToIcon'>;
}
declare module 'outline-icons/lib/components/GroupIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/GroupIcon'>;
}
declare module 'outline-icons/lib/components/HashtagIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/HashtagIcon'>;
}
declare module 'outline-icons/lib/components/Heading1Icon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/Heading1Icon'>;
}
declare module 'outline-icons/lib/components/Heading2Icon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/Heading2Icon'>;
}
declare module 'outline-icons/lib/components/Heading3Icon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/Heading3Icon'>;
}
declare module 'outline-icons/lib/components/HighlightIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/HighlightIcon'>;
}
declare module 'outline-icons/lib/components/HomeIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/HomeIcon'>;
}
declare module 'outline-icons/lib/components/HorizontalRuleIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/HorizontalRuleIcon'>;
}
declare module 'outline-icons/lib/components/Icon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/Icon'>;
}
declare module 'outline-icons/lib/components/ImageIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/ImageIcon'>;
}
declare module 'outline-icons/lib/components/InfoIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/InfoIcon'>;
}
declare module 'outline-icons/lib/components/InputIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/InputIcon'>;
}
declare module 'outline-icons/lib/components/InsertAboveIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/InsertAboveIcon'>;
}
declare module 'outline-icons/lib/components/InsertBelowIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/InsertBelowIcon'>;
}
declare module 'outline-icons/lib/components/InsertLeftIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/InsertLeftIcon'>;
}
declare module 'outline-icons/lib/components/InsertRightIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/InsertRightIcon'>;
}
declare module 'outline-icons/lib/components/ItalicIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/ItalicIcon'>;
}
declare module 'outline-icons/lib/components/JournalIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/JournalIcon'>;
}
declare module 'outline-icons/lib/components/KeyboardIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/KeyboardIcon'>;
}
declare module 'outline-icons/lib/components/LeafIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/LeafIcon'>;
}
declare module 'outline-icons/lib/components/LightBulbIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/LightBulbIcon'>;
}
declare module 'outline-icons/lib/components/LinkIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/LinkIcon'>;
}
declare module 'outline-icons/lib/components/MenuIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/MenuIcon'>;
}
declare module 'outline-icons/lib/components/MoonIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/MoonIcon'>;
}
declare module 'outline-icons/lib/components/MoreIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/MoreIcon'>;
}
declare module 'outline-icons/lib/components/NewDocumentIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/NewDocumentIcon'>;
}
declare module 'outline-icons/lib/components/NextIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/NextIcon'>;
}
declare module 'outline-icons/lib/components/NotepadIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/NotepadIcon'>;
}
declare module 'outline-icons/lib/components/OpenIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/OpenIcon'>;
}
declare module 'outline-icons/lib/components/OrderedListIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/OrderedListIcon'>;
}
declare module 'outline-icons/lib/components/PadlockIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/PadlockIcon'>;
}
declare module 'outline-icons/lib/components/PaletteIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/PaletteIcon'>;
}
declare module 'outline-icons/lib/components/PinIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/PinIcon'>;
}
declare module 'outline-icons/lib/components/PlusIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/PlusIcon'>;
}
declare module 'outline-icons/lib/components/PrivateCollectionIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/PrivateCollectionIcon'>;
}
declare module 'outline-icons/lib/components/ProfileIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/ProfileIcon'>;
}
declare module 'outline-icons/lib/components/QuestionMarkIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/QuestionMarkIcon'>;
}
declare module 'outline-icons/lib/components/SearchIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/SearchIcon'>;
}
declare module 'outline-icons/lib/components/SettingsIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/SettingsIcon'>;
}
declare module 'outline-icons/lib/components/ShapesIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/ShapesIcon'>;
}
declare module 'outline-icons/lib/components/StarredIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/StarredIcon'>;
}
declare module 'outline-icons/lib/components/StrikethroughIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/StrikethroughIcon'>;
}
declare module 'outline-icons/lib/components/SunIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/SunIcon'>;
}
declare module 'outline-icons/lib/components/TableIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/TableIcon'>;
}
declare module 'outline-icons/lib/components/TableOfContentsIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/TableOfContentsIcon'>;
}
declare module 'outline-icons/lib/components/TeamIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/TeamIcon'>;
}
declare module 'outline-icons/lib/components/TemplateIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/TemplateIcon'>;
}
declare module 'outline-icons/lib/components/TodoListIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/TodoListIcon'>;
}
declare module 'outline-icons/lib/components/TrashIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/TrashIcon'>;
}
declare module 'outline-icons/lib/components/UserIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/UserIcon'>;
}
declare module 'outline-icons/lib/components/VehicleIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/VehicleIcon'>;
}
declare module 'outline-icons/lib/components/WarningIcon.js' {
declare module.exports: $Exports<'outline-icons/lib/components/WarningIcon'>;
}
declare module 'outline-icons/lib/index' {
declare module.exports: $Exports<'outline-icons/lib'>;
}
declare module 'outline-icons/lib/index.js' {
declare module.exports: $Exports<'outline-icons/lib'>;
}
declare module 'outline-icons/stories/index.stories.js' {
declare module.exports: $Exports<'outline-icons/stories/index.stories'>;
}
-521
View File
@@ -1,521 +0,0 @@
// flow-typed signature: 5ba2bbc24e1fa9fc82b17e8387d31357
// flow-typed version: <<STUB>>/oy-vey_v^0.10.0/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'oy-vey'
*
* 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 'oy-vey' {
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 'oy-vey/examples/hello/HelloWorldEmail' {
declare module.exports: any;
}
declare module 'oy-vey/examples/hello/layouts/Layout' {
declare module.exports: any;
}
declare module 'oy-vey/examples/hello/modules/Body' {
declare module.exports: any;
}
declare module 'oy-vey/examples/hello/modules/EmptySpace' {
declare module.exports: any;
}
declare module 'oy-vey/examples/hello/modules/Footer' {
declare module.exports: any;
}
declare module 'oy-vey/examples/hello/modules/Header' {
declare module.exports: any;
}
declare module 'oy-vey/examples/hello/server' {
declare module.exports: any;
}
declare module 'oy-vey/lib/__tests__/Oy-test' {
declare module.exports: any;
}
declare module 'oy-vey/lib/components/DefaultElement' {
declare module.exports: any;
}
declare module 'oy-vey/lib/Oy' {
declare module.exports: any;
}
declare module 'oy-vey/lib/rules/__tests__/BackgroundAbsoluteURLRule-test' {
declare module.exports: any;
}
declare module 'oy-vey/lib/rules/__tests__/EmptyTDRule-test' {
declare module.exports: any;
}
declare module 'oy-vey/lib/rules/__tests__/HrefAbsoluteURLRule-test' {
declare module.exports: any;
}
declare module 'oy-vey/lib/rules/__tests__/ImgAltTextRule-test' {
declare module.exports: any;
}
declare module 'oy-vey/lib/rules/__tests__/ImgAltTextStyleRule-test' {
declare module.exports: any;
}
declare module 'oy-vey/lib/rules/__tests__/ImgDimensionsRule-test' {
declare module.exports: any;
}
declare module 'oy-vey/lib/rules/__tests__/ShorthandFontRule-test' {
declare module.exports: any;
}
declare module 'oy-vey/lib/rules/__tests__/SixCharacterHexBackgroundColorRule-test' {
declare module.exports: any;
}
declare module 'oy-vey/lib/rules/__tests__/SrcAbsoluteURLRule-test' {
declare module.exports: any;
}
declare module 'oy-vey/lib/rules/__tests__/TableBorderRule-test' {
declare module.exports: any;
}
declare module 'oy-vey/lib/rules/__tests__/TableCellPaddingRule-test' {
declare module.exports: any;
}
declare module 'oy-vey/lib/rules/__tests__/TableCellSpacingRule-test' {
declare module.exports: any;
}
declare module 'oy-vey/lib/rules/BackgroundAbsoluteURLRule' {
declare module.exports: any;
}
declare module 'oy-vey/lib/rules/EmptyTDRule' {
declare module.exports: any;
}
declare module 'oy-vey/lib/rules/HrefAbsoluteURLRule' {
declare module.exports: any;
}
declare module 'oy-vey/lib/rules/ImgAltTextRule' {
declare module.exports: any;
}
declare module 'oy-vey/lib/rules/ImgAltTextStyleRule' {
declare module.exports: any;
}
declare module 'oy-vey/lib/rules/ImgDimensionsRule' {
declare module.exports: any;
}
declare module 'oy-vey/lib/rules' {
declare module.exports: any;
}
declare module 'oy-vey/lib/rules/ShorthandFontRule' {
declare module.exports: any;
}
declare module 'oy-vey/lib/rules/SixCharacterHexBackgroundColorRule' {
declare module.exports: any;
}
declare module 'oy-vey/lib/rules/SrcAbsoluteURLRule' {
declare module.exports: any;
}
declare module 'oy-vey/lib/rules/TableBorderRule' {
declare module.exports: any;
}
declare module 'oy-vey/lib/rules/TableCellPaddingRule' {
declare module.exports: any;
}
declare module 'oy-vey/lib/rules/TableCellSpacingRule' {
declare module.exports: any;
}
declare module 'oy-vey/lib/utils/__tests__/CSS-test' {
declare module.exports: any;
}
declare module 'oy-vey/lib/utils/CSS' {
declare module.exports: any;
}
declare module 'oy-vey/lib/utils/HTML4' {
declare module.exports: any;
}
declare module 'oy-vey/lib/utils/Renderer' {
declare module.exports: any;
}
declare module 'oy-vey/src/components/DefaultElement' {
declare module.exports: any;
}
declare module 'oy-vey/src/Oy' {
declare module.exports: any;
}
declare module 'oy-vey/src/rules/__tests__/BackgroundAbsoluteURLRule-test' {
declare module.exports: any;
}
declare module 'oy-vey/src/rules/__tests__/EmptyTDRule-test' {
declare module.exports: any;
}
declare module 'oy-vey/src/rules/__tests__/HrefAbsoluteURLRule-test' {
declare module.exports: any;
}
declare module 'oy-vey/src/rules/__tests__/ImgAltTextRule-test' {
declare module.exports: any;
}
declare module 'oy-vey/src/rules/__tests__/ImgAltTextStyleRule-test' {
declare module.exports: any;
}
declare module 'oy-vey/src/rules/__tests__/ImgDimensionsRule-test' {
declare module.exports: any;
}
declare module 'oy-vey/src/rules/__tests__/ShorthandFontRule-test' {
declare module.exports: any;
}
declare module 'oy-vey/src/rules/__tests__/SixCharacterHexBackgroundColorRule-test' {
declare module.exports: any;
}
declare module 'oy-vey/src/rules/__tests__/SrcAbsoluteURLRule-test' {
declare module.exports: any;
}
declare module 'oy-vey/src/rules/__tests__/TableBorderRule-test' {
declare module.exports: any;
}
declare module 'oy-vey/src/rules/__tests__/TableCellPaddingRule-test' {
declare module.exports: any;
}
declare module 'oy-vey/src/rules/__tests__/TableCellSpacingRule-test' {
declare module.exports: any;
}
declare module 'oy-vey/src/rules/BackgroundAbsoluteURLRule' {
declare module.exports: any;
}
declare module 'oy-vey/src/rules/EmptyTDRule' {
declare module.exports: any;
}
declare module 'oy-vey/src/rules/HrefAbsoluteURLRule' {
declare module.exports: any;
}
declare module 'oy-vey/src/rules/ImgAltTextRule' {
declare module.exports: any;
}
declare module 'oy-vey/src/rules/ImgAltTextStyleRule' {
declare module.exports: any;
}
declare module 'oy-vey/src/rules/ImgDimensionsRule' {
declare module.exports: any;
}
declare module 'oy-vey/src/rules' {
declare module.exports: any;
}
declare module 'oy-vey/src/rules/ShorthandFontRule' {
declare module.exports: any;
}
declare module 'oy-vey/src/rules/SixCharacterHexBackgroundColorRule' {
declare module.exports: any;
}
declare module 'oy-vey/src/rules/SrcAbsoluteURLRule' {
declare module.exports: any;
}
declare module 'oy-vey/src/rules/TableBorderRule' {
declare module.exports: any;
}
declare module 'oy-vey/src/rules/TableCellPaddingRule' {
declare module.exports: any;
}
declare module 'oy-vey/src/rules/TableCellSpacingRule' {
declare module.exports: any;
}
declare module 'oy-vey/src/utils/__tests__/CSS-test' {
declare module.exports: any;
}
declare module 'oy-vey/src/utils/CSS' {
declare module.exports: any;
}
declare module 'oy-vey/src/utils/HTML4' {
declare module.exports: any;
}
declare module 'oy-vey/src/utils/Renderer' {
declare module.exports: any;
}
// Filename aliases
declare module 'oy-vey/examples/hello/HelloWorldEmail.jsx' {
declare module.exports: $Exports<'oy-vey/examples/hello/HelloWorldEmail'>;
}
declare module 'oy-vey/examples/hello/layouts/Layout.jsx' {
declare module.exports: $Exports<'oy-vey/examples/hello/layouts/Layout'>;
}
declare module 'oy-vey/examples/hello/modules/Body.jsx' {
declare module.exports: $Exports<'oy-vey/examples/hello/modules/Body'>;
}
declare module 'oy-vey/examples/hello/modules/EmptySpace.jsx' {
declare module.exports: $Exports<'oy-vey/examples/hello/modules/EmptySpace'>;
}
declare module 'oy-vey/examples/hello/modules/Footer.jsx' {
declare module.exports: $Exports<'oy-vey/examples/hello/modules/Footer'>;
}
declare module 'oy-vey/examples/hello/modules/Header.jsx' {
declare module.exports: $Exports<'oy-vey/examples/hello/modules/Header'>;
}
declare module 'oy-vey/examples/hello/server.js' {
declare module.exports: $Exports<'oy-vey/examples/hello/server'>;
}
declare module 'oy-vey/lib/__tests__/Oy-test.js' {
declare module.exports: $Exports<'oy-vey/lib/__tests__/Oy-test'>;
}
declare module 'oy-vey/lib/components/DefaultElement.js' {
declare module.exports: $Exports<'oy-vey/lib/components/DefaultElement'>;
}
declare module 'oy-vey/lib/Oy.js' {
declare module.exports: $Exports<'oy-vey/lib/Oy'>;
}
declare module 'oy-vey/lib/rules/__tests__/BackgroundAbsoluteURLRule-test.js' {
declare module.exports: $Exports<'oy-vey/lib/rules/__tests__/BackgroundAbsoluteURLRule-test'>;
}
declare module 'oy-vey/lib/rules/__tests__/EmptyTDRule-test.js' {
declare module.exports: $Exports<'oy-vey/lib/rules/__tests__/EmptyTDRule-test'>;
}
declare module 'oy-vey/lib/rules/__tests__/HrefAbsoluteURLRule-test.js' {
declare module.exports: $Exports<'oy-vey/lib/rules/__tests__/HrefAbsoluteURLRule-test'>;
}
declare module 'oy-vey/lib/rules/__tests__/ImgAltTextRule-test.js' {
declare module.exports: $Exports<'oy-vey/lib/rules/__tests__/ImgAltTextRule-test'>;
}
declare module 'oy-vey/lib/rules/__tests__/ImgAltTextStyleRule-test.js' {
declare module.exports: $Exports<'oy-vey/lib/rules/__tests__/ImgAltTextStyleRule-test'>;
}
declare module 'oy-vey/lib/rules/__tests__/ImgDimensionsRule-test.js' {
declare module.exports: $Exports<'oy-vey/lib/rules/__tests__/ImgDimensionsRule-test'>;
}
declare module 'oy-vey/lib/rules/__tests__/ShorthandFontRule-test.js' {
declare module.exports: $Exports<'oy-vey/lib/rules/__tests__/ShorthandFontRule-test'>;
}
declare module 'oy-vey/lib/rules/__tests__/SixCharacterHexBackgroundColorRule-test.js' {
declare module.exports: $Exports<'oy-vey/lib/rules/__tests__/SixCharacterHexBackgroundColorRule-test'>;
}
declare module 'oy-vey/lib/rules/__tests__/SrcAbsoluteURLRule-test.js' {
declare module.exports: $Exports<'oy-vey/lib/rules/__tests__/SrcAbsoluteURLRule-test'>;
}
declare module 'oy-vey/lib/rules/__tests__/TableBorderRule-test.js' {
declare module.exports: $Exports<'oy-vey/lib/rules/__tests__/TableBorderRule-test'>;
}
declare module 'oy-vey/lib/rules/__tests__/TableCellPaddingRule-test.js' {
declare module.exports: $Exports<'oy-vey/lib/rules/__tests__/TableCellPaddingRule-test'>;
}
declare module 'oy-vey/lib/rules/__tests__/TableCellSpacingRule-test.js' {
declare module.exports: $Exports<'oy-vey/lib/rules/__tests__/TableCellSpacingRule-test'>;
}
declare module 'oy-vey/lib/rules/BackgroundAbsoluteURLRule.js' {
declare module.exports: $Exports<'oy-vey/lib/rules/BackgroundAbsoluteURLRule'>;
}
declare module 'oy-vey/lib/rules/EmptyTDRule.js' {
declare module.exports: $Exports<'oy-vey/lib/rules/EmptyTDRule'>;
}
declare module 'oy-vey/lib/rules/HrefAbsoluteURLRule.js' {
declare module.exports: $Exports<'oy-vey/lib/rules/HrefAbsoluteURLRule'>;
}
declare module 'oy-vey/lib/rules/ImgAltTextRule.js' {
declare module.exports: $Exports<'oy-vey/lib/rules/ImgAltTextRule'>;
}
declare module 'oy-vey/lib/rules/ImgAltTextStyleRule.js' {
declare module.exports: $Exports<'oy-vey/lib/rules/ImgAltTextStyleRule'>;
}
declare module 'oy-vey/lib/rules/ImgDimensionsRule.js' {
declare module.exports: $Exports<'oy-vey/lib/rules/ImgDimensionsRule'>;
}
declare module 'oy-vey/lib/rules/index' {
declare module.exports: $Exports<'oy-vey/lib/rules'>;
}
declare module 'oy-vey/lib/rules/index.js' {
declare module.exports: $Exports<'oy-vey/lib/rules'>;
}
declare module 'oy-vey/lib/rules/ShorthandFontRule.js' {
declare module.exports: $Exports<'oy-vey/lib/rules/ShorthandFontRule'>;
}
declare module 'oy-vey/lib/rules/SixCharacterHexBackgroundColorRule.js' {
declare module.exports: $Exports<'oy-vey/lib/rules/SixCharacterHexBackgroundColorRule'>;
}
declare module 'oy-vey/lib/rules/SrcAbsoluteURLRule.js' {
declare module.exports: $Exports<'oy-vey/lib/rules/SrcAbsoluteURLRule'>;
}
declare module 'oy-vey/lib/rules/TableBorderRule.js' {
declare module.exports: $Exports<'oy-vey/lib/rules/TableBorderRule'>;
}
declare module 'oy-vey/lib/rules/TableCellPaddingRule.js' {
declare module.exports: $Exports<'oy-vey/lib/rules/TableCellPaddingRule'>;
}
declare module 'oy-vey/lib/rules/TableCellSpacingRule.js' {
declare module.exports: $Exports<'oy-vey/lib/rules/TableCellSpacingRule'>;
}
declare module 'oy-vey/lib/utils/__tests__/CSS-test.js' {
declare module.exports: $Exports<'oy-vey/lib/utils/__tests__/CSS-test'>;
}
declare module 'oy-vey/lib/utils/CSS.js' {
declare module.exports: $Exports<'oy-vey/lib/utils/CSS'>;
}
declare module 'oy-vey/lib/utils/HTML4.js' {
declare module.exports: $Exports<'oy-vey/lib/utils/HTML4'>;
}
declare module 'oy-vey/lib/utils/Renderer.js' {
declare module.exports: $Exports<'oy-vey/lib/utils/Renderer'>;
}
declare module 'oy-vey/src/components/DefaultElement.jsx' {
declare module.exports: $Exports<'oy-vey/src/components/DefaultElement'>;
}
declare module 'oy-vey/src/Oy.js' {
declare module.exports: $Exports<'oy-vey/src/Oy'>;
}
declare module 'oy-vey/src/rules/__tests__/BackgroundAbsoluteURLRule-test.js' {
declare module.exports: $Exports<'oy-vey/src/rules/__tests__/BackgroundAbsoluteURLRule-test'>;
}
declare module 'oy-vey/src/rules/__tests__/EmptyTDRule-test.js' {
declare module.exports: $Exports<'oy-vey/src/rules/__tests__/EmptyTDRule-test'>;
}
declare module 'oy-vey/src/rules/__tests__/HrefAbsoluteURLRule-test.js' {
declare module.exports: $Exports<'oy-vey/src/rules/__tests__/HrefAbsoluteURLRule-test'>;
}
declare module 'oy-vey/src/rules/__tests__/ImgAltTextRule-test.js' {
declare module.exports: $Exports<'oy-vey/src/rules/__tests__/ImgAltTextRule-test'>;
}
declare module 'oy-vey/src/rules/__tests__/ImgAltTextStyleRule-test.js' {
declare module.exports: $Exports<'oy-vey/src/rules/__tests__/ImgAltTextStyleRule-test'>;
}
declare module 'oy-vey/src/rules/__tests__/ImgDimensionsRule-test.js' {
declare module.exports: $Exports<'oy-vey/src/rules/__tests__/ImgDimensionsRule-test'>;
}
declare module 'oy-vey/src/rules/__tests__/ShorthandFontRule-test.js' {
declare module.exports: $Exports<'oy-vey/src/rules/__tests__/ShorthandFontRule-test'>;
}
declare module 'oy-vey/src/rules/__tests__/SixCharacterHexBackgroundColorRule-test.js' {
declare module.exports: $Exports<'oy-vey/src/rules/__tests__/SixCharacterHexBackgroundColorRule-test'>;
}
declare module 'oy-vey/src/rules/__tests__/SrcAbsoluteURLRule-test.js' {
declare module.exports: $Exports<'oy-vey/src/rules/__tests__/SrcAbsoluteURLRule-test'>;
}
declare module 'oy-vey/src/rules/__tests__/TableBorderRule-test.js' {
declare module.exports: $Exports<'oy-vey/src/rules/__tests__/TableBorderRule-test'>;
}
declare module 'oy-vey/src/rules/__tests__/TableCellPaddingRule-test.js' {
declare module.exports: $Exports<'oy-vey/src/rules/__tests__/TableCellPaddingRule-test'>;
}
declare module 'oy-vey/src/rules/__tests__/TableCellSpacingRule-test.js' {
declare module.exports: $Exports<'oy-vey/src/rules/__tests__/TableCellSpacingRule-test'>;
}
declare module 'oy-vey/src/rules/BackgroundAbsoluteURLRule.js' {
declare module.exports: $Exports<'oy-vey/src/rules/BackgroundAbsoluteURLRule'>;
}
declare module 'oy-vey/src/rules/EmptyTDRule.js' {
declare module.exports: $Exports<'oy-vey/src/rules/EmptyTDRule'>;
}
declare module 'oy-vey/src/rules/HrefAbsoluteURLRule.js' {
declare module.exports: $Exports<'oy-vey/src/rules/HrefAbsoluteURLRule'>;
}
declare module 'oy-vey/src/rules/ImgAltTextRule.js' {
declare module.exports: $Exports<'oy-vey/src/rules/ImgAltTextRule'>;
}
declare module 'oy-vey/src/rules/ImgAltTextStyleRule.js' {
declare module.exports: $Exports<'oy-vey/src/rules/ImgAltTextStyleRule'>;
}
declare module 'oy-vey/src/rules/ImgDimensionsRule.js' {
declare module.exports: $Exports<'oy-vey/src/rules/ImgDimensionsRule'>;
}
declare module 'oy-vey/src/rules/index' {
declare module.exports: $Exports<'oy-vey/src/rules'>;
}
declare module 'oy-vey/src/rules/index.js' {
declare module.exports: $Exports<'oy-vey/src/rules'>;
}
declare module 'oy-vey/src/rules/ShorthandFontRule.js' {
declare module.exports: $Exports<'oy-vey/src/rules/ShorthandFontRule'>;
}
declare module 'oy-vey/src/rules/SixCharacterHexBackgroundColorRule.js' {
declare module.exports: $Exports<'oy-vey/src/rules/SixCharacterHexBackgroundColorRule'>;
}
declare module 'oy-vey/src/rules/SrcAbsoluteURLRule.js' {
declare module.exports: $Exports<'oy-vey/src/rules/SrcAbsoluteURLRule'>;
}
declare module 'oy-vey/src/rules/TableBorderRule.js' {
declare module.exports: $Exports<'oy-vey/src/rules/TableBorderRule'>;
}
declare module 'oy-vey/src/rules/TableCellPaddingRule.js' {
declare module.exports: $Exports<'oy-vey/src/rules/TableCellPaddingRule'>;
}
declare module 'oy-vey/src/rules/TableCellSpacingRule.js' {
declare module.exports: $Exports<'oy-vey/src/rules/TableCellSpacingRule'>;
}
declare module 'oy-vey/src/utils/__tests__/CSS-test.js' {
declare module.exports: $Exports<'oy-vey/src/utils/__tests__/CSS-test'>;
}
declare module 'oy-vey/src/utils/CSS.js' {
declare module.exports: $Exports<'oy-vey/src/utils/CSS'>;
}
declare module 'oy-vey/src/utils/HTML4.js' {
declare module.exports: $Exports<'oy-vey/src/utils/HTML4'>;
}
declare module 'oy-vey/src/utils/Renderer.js' {
declare module.exports: $Exports<'oy-vey/src/utils/Renderer'>;
}
-151
View File
@@ -1,151 +0,0 @@
// flow-typed signature: 21d87fdf0efc02246bbb85ba4e27543e
// flow-typed version: <<STUB>>/parse-domain_v2.1.6/flow_v0.86.0
/**
* This is an autogenerated libdef stub for:
*
* 'parse-domain'
*
* 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 'parse-domain' {
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 'parse-domain/lib/normalize' {
declare module.exports: any;
}
declare module 'parse-domain/lib/parseDomain' {
declare module.exports: any;
}
declare module 'parse-domain/lib/tries/lookUp' {
declare module.exports: any;
}
declare module 'parse-domain/lib/tries/parsePubSuffixList' {
declare module.exports: any;
}
declare module 'parse-domain/lib/tries/parseTrie' {
declare module.exports: any;
}
declare module 'parse-domain/lib/tries/separators' {
declare module.exports: any;
}
declare module 'parse-domain/lib/tries/serializeTrie' {
declare module.exports: any;
}
declare module 'parse-domain/lists/icann.complete' {
declare module.exports: any;
}
declare module 'parse-domain/lists/icann.light' {
declare module.exports: any;
}
declare module 'parse-domain/lists/private.complete' {
declare module.exports: any;
}
declare module 'parse-domain/scripts/build-tries' {
declare module.exports: any;
}
declare module 'parse-domain/scripts/link-src' {
declare module.exports: any;
}
declare module 'parse-domain/test/parseDomain.test' {
declare module.exports: any;
}
declare module 'parse-domain/test/snapshots.test' {
declare module.exports: any;
}
declare module 'parse-domain/test/tries/lookUp.test' {
declare module.exports: any;
}
declare module 'parse-domain/test/tries/parsePubSuffixList.test' {
declare module.exports: any;
}
declare module 'parse-domain/test/tries/parseTrie.test' {
declare module.exports: any;
}
declare module 'parse-domain/test/tries/serializeTrie.test' {
declare module.exports: any;
}
// Filename aliases
declare module 'parse-domain/lib/normalize.js' {
declare module.exports: $Exports<'parse-domain/lib/normalize'>;
}
declare module 'parse-domain/lib/parseDomain.js' {
declare module.exports: $Exports<'parse-domain/lib/parseDomain'>;
}
declare module 'parse-domain/lib/tries/lookUp.js' {
declare module.exports: $Exports<'parse-domain/lib/tries/lookUp'>;
}
declare module 'parse-domain/lib/tries/parsePubSuffixList.js' {
declare module.exports: $Exports<'parse-domain/lib/tries/parsePubSuffixList'>;
}
declare module 'parse-domain/lib/tries/parseTrie.js' {
declare module.exports: $Exports<'parse-domain/lib/tries/parseTrie'>;
}
declare module 'parse-domain/lib/tries/separators.js' {
declare module.exports: $Exports<'parse-domain/lib/tries/separators'>;
}
declare module 'parse-domain/lib/tries/serializeTrie.js' {
declare module.exports: $Exports<'parse-domain/lib/tries/serializeTrie'>;
}
declare module 'parse-domain/lists/icann.complete.js' {
declare module.exports: $Exports<'parse-domain/lists/icann.complete'>;
}
declare module 'parse-domain/lists/icann.light.js' {
declare module.exports: $Exports<'parse-domain/lists/icann.light'>;
}
declare module 'parse-domain/lists/private.complete.js' {
declare module.exports: $Exports<'parse-domain/lists/private.complete'>;
}
declare module 'parse-domain/scripts/build-tries.js' {
declare module.exports: $Exports<'parse-domain/scripts/build-tries'>;
}
declare module 'parse-domain/scripts/link-src.js' {
declare module.exports: $Exports<'parse-domain/scripts/link-src'>;
}
declare module 'parse-domain/test/parseDomain.test.js' {
declare module.exports: $Exports<'parse-domain/test/parseDomain.test'>;
}
declare module 'parse-domain/test/snapshots.test.js' {
declare module.exports: $Exports<'parse-domain/test/snapshots.test'>;
}
declare module 'parse-domain/test/tries/lookUp.test.js' {
declare module.exports: $Exports<'parse-domain/test/tries/lookUp.test'>;
}
declare module 'parse-domain/test/tries/parsePubSuffixList.test.js' {
declare module.exports: $Exports<'parse-domain/test/tries/parsePubSuffixList.test'>;
}
declare module 'parse-domain/test/tries/parseTrie.test.js' {
declare module.exports: $Exports<'parse-domain/test/tries/parseTrie.test'>;
}
declare module 'parse-domain/test/tries/serializeTrie.test.js' {
declare module.exports: $Exports<'parse-domain/test/tries/serializeTrie.test'>;
}
-59
View File
@@ -1,59 +0,0 @@
// flow-typed signature: 8db8cd024530568bdaa5cdff17456ba3
// flow-typed version: <<STUB>>/pg-hstore_v2.3.2/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'pg-hstore'
*
* 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 'pg-hstore' {
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 'pg-hstore/lib' {
declare module.exports: any;
}
declare module 'pg-hstore/test' {
declare module.exports: any;
}
declare module 'pg-hstore/test/parse' {
declare module.exports: any;
}
declare module 'pg-hstore/test/stringify' {
declare module.exports: any;
}
// Filename aliases
declare module 'pg-hstore/lib/index' {
declare module.exports: $Exports<'pg-hstore/lib'>;
}
declare module 'pg-hstore/lib/index.js' {
declare module.exports: $Exports<'pg-hstore/lib'>;
}
declare module 'pg-hstore/test/index' {
declare module.exports: $Exports<'pg-hstore/test'>;
}
declare module 'pg-hstore/test/index.js' {
declare module.exports: $Exports<'pg-hstore/test'>;
}
declare module 'pg-hstore/test/parse.js' {
declare module.exports: $Exports<'pg-hstore/test/parse'>;
}
declare module 'pg-hstore/test/stringify.js' {
declare module.exports: $Exports<'pg-hstore/test/stringify'>;
}
-302
View File
@@ -1,302 +0,0 @@
// flow-typed signature: 9643e4394ce85a9a44feac8a1d4819bb
// flow-typed version: c6154227d1/pg_v6.x.x/flow_>=v0.104.x
declare module pg {
// Note: Currently There are some issues in Function overloading.
// https://github.com/facebook/flow/issues/2423
// So i temporarily remove the
// `((event: string, listener: Function) => EventEmitter );`
// from all overloading for EventEmitter.on().
// `any` types exised in this file, cause of currently `mixed` did not work well
// in Function Overloading.
// `Function` types exised in this file, cause of they come from another
// untyped npm lib.
/* Cause of <flow 0.36 did not support export type very well,
// so copy the types from pg-pool
// https://github.com/flowtype/flow-typed/issues/16
// https://github.com/facebook/flow/commit/843389f89c69516506213e298096a14867a45061
const Pool = require('pg-pool');
import type {
PgPoolConfig,
PoolConnectCallback,
DoneCallback,
PoolClient
} from 'pg-pool';
*/
// ------------- copy from 'pg-pool' ------------>>
/*
* PgPoolConfig's properties are passed unchanged to both
* the node-postgres Client constructor and the node-pool constructor
* allowing you to fully configure the behavior of both
* node-pool (https://github.com/coopernurse/node-pool)
*/
declare type PgPoolConfig = {
// node-pool ----------------
name: string,
create: Function,
destroy: Function,
max: number,
min: number,
refreshIdle: boolean,
idleTimeoutMillis: number,
reapIntervalMillis: number,
returnToHead: boolean,
priorityRange: number,
validate: Function,
validateAsync: Function,
log: Function,
// node-postgres Client ------
//database user's name
user: string,
//name of database to connect
database: string,
//database user's password
password: string,
//database port
port: number,
// database host. defaults to localhost
host?: string,
// whether to try SSL/TLS to connect to server. default value: false
ssl?: boolean,
// name displayed in the pg_stat_activity view and included in CSV log entries
// default value: process.env.PGAPPNAME
application_name?: string,
// fallback value for the application_name configuration parameter
// default value: false
fallback_application_name?: string,
// pg-pool
Client: mixed,
Promise: mixed,
onCreate: Function,
...
};
/*
* Not extends from Client, cause some of Client's functions(ex: connect and end)
* should not be used by PoolClient (which returned from Pool.connect).
*/
declare type PoolClient = {
release(error?: mixed): void,
query:
( (query: QueryConfig|string, callback?: QueryCallback) => Query ) &
( (text: string, values: Array<any>, callback?: QueryCallback) => Query ),
on:
((event: 'drain', listener: () => void) => events$EventEmitter )&
((event: 'error', listener: (err: PG_ERROR) => void) => events$EventEmitter )&
((event: 'notification', listener: (message: any) => void) => events$EventEmitter )&
((event: 'notice', listener: (message: any) => void) => events$EventEmitter )&
((event: 'end', listener: () => void) => events$EventEmitter ),
...
}
declare type PoolConnectCallback = (error: PG_ERROR|null,
client: PoolClient|null, done: DoneCallback) => void;
declare type DoneCallback = (error?: mixed) => void;
// https://github.com/facebook/flow/blob/master/lib/node.js#L581
// on() returns a events$EventEmitter
declare class Pool extends events$EventEmitter {
constructor(options: $Shape<PgPoolConfig>, Client?: Class<Client>): void;
connect(cb?: PoolConnectCallback): Promise<PoolClient>;
take(cb?: PoolConnectCallback): Promise<PoolClient>;
end(cb?: DoneCallback): Promise<void>;
// Note: not like the pg's Client, the Pool.query return a Promise,
// not a Thenable Query which Client returned.
// And there is a flow(<0.34) issue here, when Array<mixed>,
// the overloading will not work
query:
( (query: QueryConfig|string, callback?: QueryCallback) => Promise<ResultSet> ) &
( (text: string, values: Array<any>, callback?: QueryCallback) => Promise<ResultSet>);
/* flow issue: https://github.com/facebook/flow/issues/2423
* When this fixed, this overloading can be used.
*/
/*
on:
((event: 'connect', listener: (client: PoolClient) => void) => events$EventEmitter )&
((event: 'acquire', listener: (client: PoolClient) => void) => events$EventEmitter )&
((event: "error", listener: (err: PG_ERROR) => void) => events$EventEmitter )&
((event: string, listener: Function) => events$EventEmitter);
*/
}
// <<------------- copy from 'pg-pool' ------------------------------
// error
declare type PG_ERROR = {
name: string,
length: number,
severity: string,
code: string,
detail: string|void,
hint: string|void,
position: string|void,
internalPosition: string|void,
internalQuery: string|void,
where: string|void,
schema: string|void,
table: string|void,
column: string|void,
dataType: string|void,
constraint: string|void,
file: string|void,
line: string|void,
routine: string|void,
...
};
declare type ClientConfig = {
//database user's name
user?: string,
//name of database to connect
database?: string,
//database user's password
password?: string,
//database port
port?: number,
// database host. defaults to localhost
host?: string,
// whether to try SSL/TLS to connect to server. default value: false
ssl?: boolean,
// name displayed in the pg_stat_activity view and included in CSV log entries
// default value: process.env.PGAPPNAME
application_name?: string,
// fallback value for the application_name configuration parameter
// default value: false
fallback_application_name?: string,
...
}
declare type Row = { [key: string]: mixed, ... };
declare type ResultSet = {
command: string,
rowCount: number,
oid: number,
rows: Array<Row>,
...
};
declare type ResultBuilder = {
command: string,
rowCount: number,
oid: number,
rows: Array<Row>,
addRow: (row: Row) => void,
...
};
declare type QueryConfig = {
name?: string,
text: string,
values?: any[],
...
};
declare type QueryCallback = (err: PG_ERROR|null, result: ResultSet|void) => void;
declare type ClientConnectCallback = (err: PG_ERROR|null, client: Client|void) => void;
/*
* lib/query.js
* Query extends from EventEmitter in source code.
* but in Flow there is no multiple extends.
* And in Flow await is a `declare function $await<T>(p: Promise<T> | T): T;`
* seems can not resolve a Thenable's value type directly
* so `Query extends Promise` to make thing temporarily work.
* like this:
* const q = client.query('select * from some');
* q.on('row',cb); // Event
* const result = await q; // or await
*
* ToDo: should find a better way.
*/
declare class Query extends Promise<ResultSet> {
then<U>(
onFulfill?: ?((value: ResultSet) => Promise<U> | U),
onReject?: ?((error: PG_ERROR) => Promise<U> | U)
): Promise<U>;
// Because then and catch return a Promise,
// .then.catch will lose catch's type information PG_ERROR.
catch<U>(
onReject?: ?((error: PG_ERROR) => Promise<U> | U)
): Promise<U>;
on :
((event: 'row', listener: (row: Row, result: ResultBuilder) => void) => events$EventEmitter )&
((event: 'end', listener: (result: ResultBuilder) => void) => events$EventEmitter )&
((event: 'error', listener: (err: PG_ERROR) => void) => events$EventEmitter );
}
/*
* lib/client.js
* Note: not extends from EventEmitter, for This Type returned by on().
* Flow's EventEmitter force return a EventEmitter in on().
* ToDo: Not sure in on() if return events$EventEmitter or this will be more suitable
* return this will restrict event to given literial when chain on().on().on().
* return a events$EventEmitter will fallback to raw EventEmitter, when chains
*/
declare class Client {
constructor(config?: string | ClientConfig): void;
connect(callback?: ClientConnectCallback):void;
end(): void;
escapeLiteral(str: string): string;
escapeIdentifier(str: string): string;
query:
( (query: QueryConfig|string, callback?: QueryCallback) => Query ) &
( (text: string, values: Array<any>, callback?: QueryCallback) => Query );
on:
((event: 'drain', listener: () => void) => this )&
((event: 'error', listener: (err: PG_ERROR) => void) => this )&
((event: 'notification', listener: (message: any) => void) => this )&
((event: 'notice', listener: (message: any) => void) => this )&
((event: 'end', listener: () => void) => this );
}
/*
* require('pg-types')
*/
declare type TypeParserText = (value: string) => any;
declare type TypeParserBinary = (value: Buffer) => any;
declare type Types = {
getTypeParser:
((oid: number, format?: 'text') => TypeParserText )&
((oid: number, format: 'binary') => TypeParserBinary ),
setTypeParser:
((oid: number, format?: 'text', parseFn: TypeParserText) => void )&
((oid: number, format: 'binary', parseFn: TypeParserBinary) => void)&
((oid: number, parseFn: TypeParserText) => void),
...
}
/*
* lib/index.js ( class PG)
*/
declare class PG extends events$EventEmitter {
types: Types;
Client: Class<Client>;
Pool: Class<Pool>;
Connection: mixed; //Connection is used internally by the Client.
constructor(client: Client): void;
native: {
// native binding, have the same capability like PG
types: Types,
Client: Class<Client>,
Pool: Class<Pool>,
Connection: mixed,
...
};
// The end(),connect(),cancel() in PG is abandoned ?
}
// These class are not exposed by pg.
declare type PoolType = Pool;
declare type PGType = PG;
declare type QueryType = Query;
// module export, keep same structure with index.js
declare module.exports: PG;
}
-1852
View File
File diff suppressed because it is too large Load Diff
-228
View File
@@ -1,228 +0,0 @@
// flow-typed signature: a18c145fa181510ba16b10d17fc3a5a8
// flow-typed version: 01acbe56d4/prettier_v1.x.x/flow_>=v0.104.x
declare module "prettier" {
declare export type AST = { [key: string]: any, ... };
declare export type Doc = {
[key: string]: any,
...
};
declare export type FastPath<T = any> = {
stack: any[],
getName(): null | string | number | Symbol,
getValue(): T,
getNode(count?: number): null | T,
getParentNode(count?: number): null | T,
call<U>(callback: (path: FastPath<T>) => U, ...names: Array<string | number | Symbol>): U,
each(callback: (path: FastPath<T>) => void, ...names: Array<string | number | Symbol>): void,
map<U>(callback: (path: FastPath<T>, index: number) => U, ...names: Array<string | number | Symbol>): U[],
...
};
declare export type PrettierParserName =
| "babylon" // deprecated
| "babel"
| "babel-flow"
| "flow"
| "typescript"
| "postcss" // deprecated
| "css"
| "less"
| "scss"
| "json"
| "json5"
| "json-stringify"
| "graphql"
| "markdown"
| "vue"
| "html"
| "angular"
| "mdx"
| "yaml";
declare export type PrettierParser = {
[name: PrettierParserName]: (text: string, options?: { [key: string]: any, ... }) => AST,
...
};
declare export type CustomParser = (
text: string,
parsers: PrettierParser,
options: Options
) => AST;
declare export type Options = {|
printWidth?: number,
tabWidth?: number,
useTabs?: boolean,
semi?: boolean,
singleQuote?: boolean,
trailingComma?: "none" | "es5" | "all",
bracketSpacing?: boolean,
jsxBracketSameLine?: boolean,
arrowParens?: "avoid" | "always",
rangeStart?: number,
rangeEnd?: number,
parser?: PrettierParserName | CustomParser,
filepath?: string,
requirePragma?: boolean,
insertPragma?: boolean,
proseWrap?: "always" | "never" | "preserve",
plugins?: Array<string | Plugin>
|};
declare export type Plugin = {
languages: SupportLanguage,
parsers: { [parserName: string]: Parser, ... },
printers: { [astFormat: string]: Printer, ... },
options?: SupportOption[],
...
};
declare export type Parser = {
parse: (
text: string,
parsers: { [parserName: string]: Parser, ... },
options: { [key: string]: any, ... }
) => AST,
astFormat: string,
hasPragma?: (text: string) => boolean,
locStart: (node: any) => number,
locEnd: (node: any) => number,
preprocess?: (text: string, options: { [key: string]: any, ... }) => string,
...
};
declare export type Printer = {
print: (
path: FastPath<>,
options: { [key: string]: any, ... },
print: (path: FastPath<>) => Doc
) => Doc,
embed: (
path: FastPath<>,
print: (path: FastPath<>) => Doc,
textToDoc: (text: string, options: { [key: string]: any, ... }) => Doc,
options: { [key: string]: any, ... }
) => ?Doc,
insertPragma?: (text: string) => string,
massageAstNode?: (node: any, newNode: any, parent: any) => any,
hasPrettierIgnore?: (path: FastPath<>) => boolean,
canAttachComment?: (node: any) => boolean,
willPrintOwnComments?: (path: FastPath<>) => boolean,
printComments?: (path: FastPath<>, print: (path: FastPath<>) => Doc, options: { [key: string]: any, ... }, needsSemi: boolean) => Doc,
handleComments?: {
ownLine?: (commentNode: any, text: string, options: { [key: string]: any, ... }, ast: any, isLastComment: boolean) => boolean,
endOfLine?: (commentNode: any, text: string, options: { [key: string]: any, ... }, ast: any, isLastComment: boolean) => boolean,
remaining?: (commentNode: any, text: string, options: { [key: string]: any, ... }, ast: any, isLastComment: boolean) => boolean,
...
},
...
};
declare export type CursorOptions = {|
cursorOffset: number,
printWidth?: $PropertyType<Options, "printWidth">,
tabWidth?: $PropertyType<Options, "tabWidth">,
useTabs?: $PropertyType<Options, "useTabs">,
semi?: $PropertyType<Options, "semi">,
singleQuote?: $PropertyType<Options, "singleQuote">,
trailingComma?: $PropertyType<Options, "trailingComma">,
bracketSpacing?: $PropertyType<Options, "bracketSpacing">,
jsxBracketSameLine?: $PropertyType<Options, "jsxBracketSameLine">,
arrowParens?: $PropertyType<Options, "arrowParens">,
parser?: $PropertyType<Options, "parser">,
filepath?: $PropertyType<Options, "filepath">,
requirePragma?: $PropertyType<Options, "requirePragma">,
insertPragma?: $PropertyType<Options, "insertPragma">,
proseWrap?: $PropertyType<Options, "proseWrap">,
plugins?: $PropertyType<Options, "plugins">
|};
declare export type CursorResult = {|
formatted: string,
cursorOffset: number
|};
declare export type ResolveConfigOptions = {|
useCache?: boolean,
config?: string,
editorconfig?: boolean
|};
declare export type SupportLanguage = {
name: string,
since: string,
parsers: Array<string>,
group?: string,
tmScope: string,
aceMode: string,
codemirrorMode: string,
codemirrorMimeType: string,
aliases?: Array<string>,
extensions: Array<string>,
filenames?: Array<string>,
linguistLanguageId: number,
vscodeLanguageIds: Array<string>,
...
};
declare export type SupportOption = {|
since: string,
type: "int" | "boolean" | "choice" | "path",
deprecated?: string,
redirect?: SupportOptionRedirect,
description: string,
oppositeDescription?: string,
default: SupportOptionValue,
range?: SupportOptionRange,
choices?: SupportOptionChoice
|};
declare export type SupportOptionRedirect = {|
options: string,
value: SupportOptionValue
|};
declare export type SupportOptionRange = {|
start: number,
end: number,
step: number
|};
declare export type SupportOptionChoice = {|
value: boolean | string,
description?: string,
since?: string,
deprecated?: string,
redirect?: SupportOptionValue
|};
declare export type SupportOptionValue = number | boolean | string;
declare export type SupportInfo = {|
languages: Array<SupportLanguage>,
options: Array<SupportOption>
|};
declare export type FileInfo = {|
ignored: boolean,
inferredParser: PrettierParserName | null,
|};
declare export type Prettier = {|
format: (source: string, options?: Options) => string,
check: (source: string, options?: Options) => boolean,
formatWithCursor: (source: string, options: CursorOptions) => CursorResult,
resolveConfig: {
(filePath: string, options?: ResolveConfigOptions): Promise<?Options>,
sync(filePath: string, options?: ResolveConfigOptions): ?Options,
...
},
clearConfigCache: () => void,
getSupportInfo: (version?: string) => SupportInfo,
getFileInfo: (filePath: string) => Promise<FileInfo>
|};
declare export default Prettier;
}
-32
View File
@@ -1,32 +0,0 @@
// flow-typed signature: c863df4d6a6503443aae949b78b7d534
// flow-typed version: <<STUB>>/pui-react-tooltip_v^8.3.3/flow_v0.86.0
/**
* This is an autogenerated libdef stub for:
*
* 'pui-react-tooltip'
*
* 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 'pui-react-tooltip' {
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 'pui-react-tooltip/tooltip' {
declare module.exports: any;
}
// Filename aliases
declare module 'pui-react-tooltip/tooltip.js' {
declare module.exports: $Exports<'pui-react-tooltip/tooltip'>;
}
-33
View File
@@ -1,33 +0,0 @@
// flow-typed signature: 1314c71d4d5c20df6d074d289c072c04
// flow-typed version: <<STUB>>/query-string_v^4.3.4/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'query-string'
*
* 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 'query-string' {
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.
*/
// Filename aliases
declare module 'query-string/index' {
declare module.exports: $Exports<'query-string'>;
}
declare module 'query-string/index.js' {
declare module.exports: $Exports<'query-string'>;
}
-52
View File
@@ -1,52 +0,0 @@
// flow-typed signature: b8e3c9dfaf26481ebfc01f25e0f5211b
// flow-typed version: <<STUB>>/raf_v^3.4.0/flow_v0.86.0
/**
* This is an autogenerated libdef stub for:
*
* 'raf'
*
* 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 'raf' {
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 'raf/polyfill' {
declare module.exports: any;
}
declare module 'raf/test' {
declare module.exports: any;
}
declare module 'raf/window' {
declare module.exports: any;
}
// Filename aliases
declare module 'raf/index' {
declare module.exports: $Exports<'raf'>;
}
declare module 'raf/index.js' {
declare module.exports: $Exports<'raf'>;
}
declare module 'raf/polyfill.js' {
declare module.exports: $Exports<'raf/polyfill'>;
}
declare module 'raf/test.js' {
declare module.exports: $Exports<'raf/test'>;
}
declare module 'raf/window.js' {
declare module.exports: $Exports<'raf/window'>;
}
-13
View File
@@ -1,13 +0,0 @@
// flow-typed signature: 79b8bf1c61560e00bba06b86ef79871b
// flow-typed version: c6154227d1/randomstring_v1.x.x/flow_>=v0.104.x
declare module "randomstring" {
declare type GenerateOptions = {
length?: number,
readable?: boolean,
charset?: string,
capitalization?: string,
...
};
declare module.exports: { generate: (options?: GenerateOptions | number) => string, ... }
}
-33
View File
@@ -1,33 +0,0 @@
// flow-typed signature: 9484f8a995d1fed5989fdc93e24f96cb
// flow-typed version: <<STUB>>/raw-loader_v^0.5.1/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'raw-loader'
*
* 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 'raw-loader' {
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.
*/
// Filename aliases
declare module 'raw-loader/index' {
declare module.exports: $Exports<'raw-loader'>;
}
declare module 'raw-loader/index.js' {
declare module.exports: $Exports<'raw-loader'>;
}
-28
View File
@@ -1,28 +0,0 @@
// flow-typed signature: 323fcc1a3353d5f7a36c5f1edcd963ef
// flow-typed version: 41f45a7d8c/react-addons-test-utils_v15.x.x/flow_>=v0.23.x
declare type ReactAddonTest$FunctionOrComponentClass = React$Component<any, any, any> | Function;
declare module 'react-addons-test-utils' {
declare var Simulate: {
[eventName: string]: (element: Element, eventData?: Object) => void;
};
declare function renderIntoDocument(instance: React$Element<any>): React$Component<any, any, any>;
declare function mockComponent(componentClass: ReactAddonTest$FunctionOrComponentClass, mockTagName?: string): Object;
declare function isElement(element: React$Element<any>): boolean;
declare function isElementOfType(element: React$Element<any>, componentClass: ReactAddonTest$FunctionOrComponentClass): boolean;
declare function isDOMComponent(instance: React$Component<any, any, any>): boolean;
declare function isCompositeComponent(instance: React$Component<any, any, any>): boolean;
declare function isCompositeComponentWithType(instance: React$Component<any, any, any>, componentClass: ReactAddonTest$FunctionOrComponentClass): boolean;
declare function findAllInRenderedTree(tree: React$Component<any, any, any>, test: (child: React$Component<any, any, any>) => boolean): Array<React$Component<any, any, any>>;
declare function scryRenderedDOMComponentsWithClass(tree: React$Component<any, any, any>, className: string): Array<Element>;
declare function findRenderedDOMComponentWithClass(tree: React$Component<any, any, any>, className: string): ?Element;
declare function scryRenderedDOMComponentsWithTag(tree: React$Component<any, any, any>, tagName: string): Array<Element>;
declare function findRenderedDOMComponentWithTag(tree: React$Component<any, any, any>, tagName: string): ?Element;
declare function scryRenderedComponentsWithType(tree: React$Component<any, any, any>, componentClass: ReactAddonTest$FunctionOrComponentClass): Array<React$Component<any, any, any>>;
declare function findRenderedComponentWithType(tree: React$Component<any, any, any>, componentClass: ReactAddonTest$FunctionOrComponentClass): ?React$Component<any, any, any>;
declare class ReactShallowRender {
render(element: React$Element<any>): void;
getRenderOutput(): React$Element<any>;
}
declare function createRenderer(): ReactShallowRender;
}
-42
View File
@@ -1,42 +0,0 @@
// flow-typed signature: 4739272fd9d8d2ec5c9881791bce7104
// flow-typed version: <<STUB>>/react-autosize-textarea_v^6.0.0/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'react-autosize-textarea'
*
* 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-autosize-textarea' {
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-autosize-textarea/lib' {
declare module.exports: any;
}
declare module 'react-autosize-textarea/lib/TextareaAutosize' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-autosize-textarea/lib/index' {
declare module.exports: $Exports<'react-autosize-textarea/lib'>;
}
declare module 'react-autosize-textarea/lib/index.js' {
declare module.exports: $Exports<'react-autosize-textarea/lib'>;
}
declare module 'react-autosize-textarea/lib/TextareaAutosize.js' {
declare module.exports: $Exports<'react-autosize-textarea/lib/TextareaAutosize'>;
}
-73
View File
@@ -1,73 +0,0 @@
// flow-typed signature: 78571b22bb3cdb10b3e7ce894e6e897b
// flow-typed version: <<STUB>>/react-avatar-editor_v^10.3.0/flow_v0.104.0
/**
* This is an autogenerated libdef stub for:
*
* 'react-avatar-editor'
*
* 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-avatar-editor' {
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-avatar-editor/dist' {
declare module.exports: any;
}
declare module 'react-avatar-editor/src' {
declare module.exports: any;
}
declare module 'react-avatar-editor/src/utils/parse-dom' {
declare module.exports: any;
}
declare module 'react-avatar-editor/src/utils/parse-dom.test' {
declare module.exports: any;
}
declare module 'react-avatar-editor/src/utils/retrieve-image-url' {
declare module.exports: any;
}
declare module 'react-avatar-editor/src/utils/retrieve-image-url.test' {
declare module.exports: any;
}
// Filename aliases
declare module 'react-avatar-editor/dist/index' {
declare module.exports: $Exports<'react-avatar-editor/dist'>;
}
declare module 'react-avatar-editor/dist/index.js' {
declare module.exports: $Exports<'react-avatar-editor/dist'>;
}
declare module 'react-avatar-editor/src/index' {
declare module.exports: $Exports<'react-avatar-editor/src'>;
}
declare module 'react-avatar-editor/src/index.js' {
declare module.exports: $Exports<'react-avatar-editor/src'>;
}
declare module 'react-avatar-editor/src/utils/parse-dom.js' {
declare module.exports: $Exports<'react-avatar-editor/src/utils/parse-dom'>;
}
declare module 'react-avatar-editor/src/utils/parse-dom.test.js' {
declare module.exports: $Exports<'react-avatar-editor/src/utils/parse-dom.test'>;
}
declare module 'react-avatar-editor/src/utils/retrieve-image-url.js' {
declare module.exports: $Exports<'react-avatar-editor/src/utils/retrieve-image-url'>;
}
declare module 'react-avatar-editor/src/utils/retrieve-image-url.test.js' {
declare module.exports: $Exports<'react-avatar-editor/src/utils/retrieve-image-url.test'>;
}
-242
View File
@@ -1,242 +0,0 @@
// flow-typed signature: 894f3b1365c9be6233fea8986db04c5f
// flow-typed version: c55c288299/react-color_v2.x.x/flow_>=v0.104.x
declare module "react-color" {
import type { ComponentType, Component } from 'react';
declare export type HexColor = string;
declare export type HSLColor = {|
h: number,
s: number,
l: number,
a?: number
|};
declare export type HSVColor = {|
h: number,
s: number,
v: number,
a?: number
|};
declare export type RGBColor = {|
r: number,
g: number,
b: number,
a?: number
|};
declare export type Color = HexColor | HSLColor | HSVColor | RGBColor;
declare export type ColorResult = {|
hex: HexColor,
hsl: HSLColor,
hsv: HSVColor,
rgb: RGBColor
|};
declare export type ColorChangeHandler = (color: ColorResult) => void;
declare export type ColorPickerProps = {|
color?: Color,
onChange?: ColorChangeHandler,
onChangeComplete?: ColorChangeHandler
|};
declare export type AlphaPickerProps = {|
...ColorPickerProps,
width?: string,
height?: string,
direction?: "horizontal" | "vertical",
renderers?: Object,
pointer?: ComponentType<any>
|};
declare export type BlockPickerProps = {|
...ColorPickerProps,
width?: string,
colors?: Array<string>,
triangle?: "hide" | "top",
onSwatchHover?: (color: Color, event: SyntheticMouseEvent<*>) => void
|};
declare export type ChromePickerProps = {|
...ColorPickerProps,
className?: string,
defaultView?: "hex" | "hsl" | "rgb",
disableAlpha?: boolean,
renderers?: Object,
width?: number | string,
styles?: {
...
},
|};
declare export type CirclePickerProps = {|
...ColorPickerProps,
width?: string,
colors?: Array<string>,
circleSize?: number,
circleSpacing?: number,
onSwatchHover?: (color: Color, event: SyntheticMouseEvent<*>) => void
|};
declare export type CompactPickerProps = {|
...ColorPickerProps,
colors?: Array<string>,
onSwatchHover?: (color: Color, event: SyntheticMouseEvent<*>) => void
|};
declare export type GithubPickerProps = {|
...ColorPickerProps,
width?: string,
colors?: Array<string>,
triangle?: "hide" | "top-left" | "top-right",
onSwatchHover?: (color: Color, event: SyntheticMouseEvent<*>) => void
|};
declare export type HuePickerProps = {|
...ColorPickerProps,
width?: string,
height?: string,
direction?: "horizontal" | "vertical",
pointer?: ComponentType<any>
|};
declare export type MaterialPickerProps = {|
...ColorPickerProps
|};
declare export type PhotoshopPickerProps = {|
...ColorPickerProps,
header?: string,
onAccept?: () => void,
onCancel?: () => void
|};
declare export type SketchPickerProps = {|
...ColorPickerProps,
disableAlpha?: boolean,
presetColors?: Array<string | {| color: string, title: string |}>,
width?: number,
renderers?: Object,
onSwatchHover?: (color: Color, event: SyntheticMouseEvent<*>) => void
|};
declare export type SliderPickerProps = {|
...ColorPickerProps,
pointer?: ComponentType<any>
|};
declare export type SwatchesPickerProps = {|
...ColorPickerProps,
width?: number,
height?: number,
colors?: Array<Array<string>>,
onSwatchHover?: (color: Color, event: SyntheticMouseEvent<*>) => void
|};
declare export type TwitterPickerProps = {|
...ColorPickerProps,
width?: string,
colors?: Array<string>,
triangle?: "hide" | "top-left" | "top-right",
onSwatchHover?: (color: Color, event: SyntheticMouseEvent<*>) => void
|};
declare export type ColorWrapChangeHandler = (
color: Color | ColorResult
) => void;
declare export type InjectedColorProps = {
hex: string,
hsl: HSLColor,
hsv: HSVColor,
rgb: RGBColor,
oldHue: number,
onChange?: ColorWrapChangeHandler,
source: string,
...
};
declare export var AlphaPicker: Class<Component<AlphaPickerProps>>;
declare export var BlockPicker: Class<Component<BlockPickerProps>>;
declare export var ChromePicker: Class<Component<ChromePickerProps>>;
declare export var CirclePicker: Class<Component<CirclePickerProps>>;
declare export var CompactPicker: Class<Component<CompactPickerProps>>;
declare export var GithubPicker: Class<Component<GithubPickerProps>>;
declare export var HuePicker: Class<Component<HuePickerProps>>;
declare export var MaterialPicker: Class<Component<MaterialPickerProps>>;
declare export var PhotoshopPicker: Class<Component<PhotoshopPickerProps>>;
declare export var SketchPicker: Class<Component<SketchPickerProps>>;
declare export var SliderPicker: Class<Component<SliderPickerProps>>;
declare export var SwatchesPicker: Class<Component<SwatchesPickerProps>>;
declare export var TwitterPicker: Class<Component<TwitterPickerProps>>;
declare export function CustomPicker<
Props: InjectedColorProps,
Comp: ComponentType<Props>,
>(
Component: Comp
): ComponentType<$Diff<React$ElementConfig<Comp>, InjectedColorProps>>;
}
declare module "react-color/lib/components/common" {
import type { ComponentType, Component } from 'react';
import type {
HexColor,
RGBColor,
HSLColor,
HSVColor,
ColorChangeHandler
} from "react-color";
declare type PartialColorResult = {|
hex?: HexColor,
hsl?: HSLColor,
hsv?: HSVColor,
rgb?: RGBColor
|};
declare export type AlphaProps = {|
...PartialColorResult,
pointer?: ComponentType<any>,
onChange?: ColorChangeHandler
|};
declare export type EditableInputProps = {|
label?: string,
value?: any,
onChange?: ColorChangeHandler,
style?: {|
input?: Object,
label?: Object,
wrap?: Object
|}
|};
declare export type HueProps = {|
...PartialColorResult,
pointer?: ComponentType<any>,
onChange?: ColorChangeHandler,
direction?: "horizontal" | "vertical"
|};
declare export type SaturationProps = {|
...PartialColorResult,
pointer?: ComponentType<any>,
onChange?: ColorChangeHandler
|};
declare export type CheckboardProps = {|
size?: number,
white?: string,
grey?: string
|};
declare export var Alpha: Class<Component<AlphaProps>>;
declare export var EditableInput: Class<Component<EditableInputProps>>;
declare export var Hue: Class<Component<HueProps>>;
declare export var Saturation: Class<Component<SaturationProps>>;
declare export var Checkboard: Class<Component<CheckboardProps>>;
}
-60
View File
@@ -1,60 +0,0 @@
// flow-typed signature: ade4974e89a074e7af4636c11b4a766b
// flow-typed version: c6154227d1/react-helmet_v5.x.x/flow_>=v0.104.x
declare module 'react-helmet' {
declare type Props = {
base?: Object,
bodyAttributes?: Object,
children?: React$Node,
defaultTitle?: string,
defer?: boolean,
encodeSpecialCharacters?: boolean,
htmlAttributes?: Object,
link?: Array<Object>,
meta?: Array<Object>,
noscript?: Array<Object>,
onChangeClientState?: (
newState?: Object,
addedTags?: Object,
removeTags?: Object
) => any,
script?: Array<Object>,
style?: Array<Object>,
title?: string,
titleAttributes?: Object,
titleTemplate?: string,
...
}
declare interface TagMethods {
toString(): string;
toComponent(): [React$Element<*>] | React$Element<*> | Array<Object>;
}
declare interface AttributeTagMethods {
toString(): string;
toComponent(): { [string]: *, ... };
}
declare interface StateOnServer {
base: TagMethods;
bodyAttributes: AttributeTagMethods,
htmlAttributes: AttributeTagMethods;
link: TagMethods;
meta: TagMethods;
noscript: TagMethods;
script: TagMethods;
style: TagMethods;
title: TagMethods;
}
declare class Helmet extends React$Component<Props> {
static rewind(): StateOnServer;
static renderStatic(): StateOnServer;
static canUseDom(canUseDOM: boolean): void;
}
declare export default typeof Helmet
declare export var Helmet: typeof Helmet
}
-109
View File
@@ -1,109 +0,0 @@
// @flow
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$Element<
$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 type UseTranslationResponse = {
t: TFunction,
i18n: Object,
ready: boolean,
};
declare type Namespace =
| string
| Array<string>
| (($Diff<P, TranslatorPropsVoid>) => string | Array<string>);
declare function useTranslation(
ns?: Namespace,
options?: TranslateOptions
): UseTranslationResponse;
declare function withTranslation(
ns?: Namespace,
options?: {
withRef?: boolean,
}
): <P>(component: React.ComponentType<P>) => 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 initReactI18next: {
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;
}

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