Kill Flow support
Summary: * Removed Flow compilation step * Removed all `flow` annotations * Removed all FlowFixMe's * Removed flow typings for Flipper * Left flow transpilation (stripping) in babel, in case there is any external user using Flow in his plugin * Left `eslint-plugin-flowtype` dependencies, as `eslint-config-fbjs` requires it Reviewed By: passy Differential Revision: D24755545 fbshipit-source-id: 9c0a7910657fd1cba88294e041bf2bfdf7b565bf
This commit is contained in:
committed by
Facebook GitHub Bot
parent
543a0e53ac
commit
670be012b2
47
.flowconfig
47
.flowconfig
@@ -1,47 +1,2 @@
|
||||
[ignore]
|
||||
.*/coverage/.*
|
||||
.*/build/.*
|
||||
.*/dist/.*
|
||||
.*\.tsx
|
||||
.*\.ts
|
||||
.*/node_modules/.*
|
||||
<PROJECT_ROOT>/facebook/.*
|
||||
<PROJECT_ROOT>/scripts/.*
|
||||
<PROJECT_ROOT>/desktop/.*/lib/.*
|
||||
<PROJECT_ROOT>/desktop/scripts/.*
|
||||
<PROJECT_ROOT>/desktop/static/.*
|
||||
<PROJECT_ROOT>/desktop/pkg/.*
|
||||
<PROJECT_ROOT>/desktop/pkg-lib/.*
|
||||
<PROJECT_ROOT>/desktop/doctor/.*
|
||||
<PROJECT_ROOT>/desktop/app/.*
|
||||
<PROJECT_ROOT>/desktop/babel-transformer/.*
|
||||
<PROJECT_ROOT>/desktop/plugins/fb/relaydevtools/relay-devtools/DevtoolsUI.js$
|
||||
<PROJECT_ROOT>/website/.*
|
||||
<PROJECT_ROOT>/desktop/plugins/sections/src/d3/d3.js$
|
||||
<PROJECT_ROOT>/react-native/ReactNativeFlipperExample/.*
|
||||
|
||||
[libs]
|
||||
desktop/flow-typed
|
||||
|
||||
[options]
|
||||
esproposal.export_star_as=enable
|
||||
esproposal.optional_chaining=enable
|
||||
module.use_strict=true
|
||||
emoji=true
|
||||
all=true
|
||||
include_warnings=true
|
||||
module.name_mapper='^\(.*\)\.tsx$' -> 'TsStub'
|
||||
suppress_type=$FlowFixMe
|
||||
module.system=haste
|
||||
|
||||
[strict]
|
||||
deprecated-type
|
||||
nonstrict-import
|
||||
sketchy-null
|
||||
unclear-type
|
||||
unsafe-getters-setters
|
||||
untyped-import
|
||||
untyped-type-import
|
||||
|
||||
[version]
|
||||
0.131.0
|
||||
.*
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
f72f5ceec399ffa46f26180d757a428b9c33d5a9
|
||||
@@ -2,19 +2,17 @@
|
||||
|
||||
## Desktop app and Flipper Plugins (Javascript)
|
||||
|
||||
The flipper desktop source uses Flow, TypeScript, and ESLint. Feel free to use your preferred setup, but this is our recommended approach:
|
||||
The flipper desktop source uses TypeScript and ESLint. Feel free to use your preferred setup, but this is our recommended approach:
|
||||
|
||||
**Editor**: Visual Studio Code
|
||||
|
||||
**Installed Extensions**:
|
||||
* ESLint
|
||||
* Flow Language Support
|
||||
* TypeScript and JavaScript Language Features (enabled by default)
|
||||
|
||||
**Settings**:
|
||||
```json
|
||||
{
|
||||
"flow.useNPMPackagedFlow": true,
|
||||
"javascript.validate.enable": false,
|
||||
"eslint.autoFixOnSave": true,
|
||||
"eslint.validate": [
|
||||
|
||||
@@ -4,7 +4,6 @@ latest
|
||||
resources
|
||||
templates
|
||||
node_modules
|
||||
flow-typed
|
||||
lib
|
||||
!.eslintrc.js
|
||||
dist
|
||||
|
||||
@@ -43,6 +43,8 @@ module.exports = {
|
||||
],
|
||||
rules: {
|
||||
// disable rules from eslint-config-fbjs
|
||||
'flowtype/define-flow-type': 0,
|
||||
'flowtype/use-flow-type': 0,
|
||||
'react/react-in-jsx-scope': 0, // not needed with our metro implementation
|
||||
'react-hooks/rules-of-hooks': 'error',
|
||||
'react-hooks/exhaustive-deps': 'warn',
|
||||
@@ -67,7 +69,6 @@ module.exports = {
|
||||
// additional rules for this project
|
||||
'header/header': [2, 'block', {pattern}],
|
||||
'prettier/prettier': [2, prettierConfig],
|
||||
'flowtype/object-type-delimiter': [0],
|
||||
'import/no-unresolved': [2, {commonjs: true, amd: true}],
|
||||
'node/no-extraneous-import': [2, {allowModules: builtInModules}],
|
||||
'node/no-extraneous-require': [2, {allowModules: builtInModules}],
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @format
|
||||
* @flow
|
||||
*/
|
||||
|
||||
import {DeviceLogEntry} from 'flipper-plugin';
|
||||
|
||||
@@ -51,7 +51,6 @@ function getIconFileName(
|
||||
return `${icon.trimmedName}-${icon.variant}-${size}@${density}x.png`;
|
||||
}
|
||||
|
||||
// $FlowFixMe not using flow in this file
|
||||
export function buildLocalIconPath(
|
||||
name: string,
|
||||
size: number,
|
||||
@@ -66,7 +65,6 @@ export function buildLocalIconURL(name: string, size: number, density: number) {
|
||||
return `icons/${getIconFileName(icon, size, density)}`;
|
||||
}
|
||||
|
||||
// $FlowFixMe not using flow in this file
|
||||
export function buildIconURL(name: string, size: number, density: number) {
|
||||
const icon = getIconPartsFromName(name);
|
||||
// eslint-disable-next-line prettier/prettier
|
||||
@@ -81,7 +79,6 @@ export function buildIconURL(name: string, size: number, density: number) {
|
||||
) {
|
||||
// From utils/isProduction
|
||||
const isProduction = !/node_modules[\\/]electron[\\/]/.test(
|
||||
// $FlowFixMe
|
||||
process.execPath || remote.process.execPath,
|
||||
);
|
||||
|
||||
@@ -123,7 +120,6 @@ export function buildIconURL(name: string, size: number, density: number) {
|
||||
return url;
|
||||
}
|
||||
|
||||
// $FlowFixMe: not using flow in this file
|
||||
export function getIconURL(name: string, size: number, density: number) {
|
||||
if (name.indexOf('/') > -1) {
|
||||
return name;
|
||||
|
||||
@@ -33,7 +33,7 @@ module.exports = () => ({
|
||||
!isFBFile(state.file.opts.filename)
|
||||
) {
|
||||
throw new Error(
|
||||
'For files which are not under fb/ do not require directly from fb/, but rather from fb-stubs/ to not break flow-typing and make sure stubs are up-to-date.',
|
||||
'For files which are not under fb/ do not require directly from fb/, but rather from fb-stubs/ to not break typescript-typing and make sure stubs are up-to-date.',
|
||||
);
|
||||
} else if (
|
||||
requireFromFolder('fb-stubs', path.node.arguments[0].value)
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
"@typescript-eslint/eslint-plugin": "^2.8.0",
|
||||
"eslint": "^7.12.1",
|
||||
"eslint-plugin-babel": "^5.3.1",
|
||||
"eslint-plugin-flowtype": "^4.7.0",
|
||||
"eslint-plugin-header": "^3.0.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.3.1",
|
||||
"eslint-plugin-prettier": "^3.1.1",
|
||||
|
||||
10
desktop/flow-typed/TsStub.js
vendored
10
desktop/flow-typed/TsStub.js
vendored
@@ -1,10 +0,0 @@
|
||||
/**
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
declare module TsStub {
|
||||
declare module.exports: any;
|
||||
}
|
||||
283
desktop/flow-typed/flipper.js
vendored
283
desktop/flow-typed/flipper.js
vendored
@@ -1,283 +0,0 @@
|
||||
/**
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @format
|
||||
*/
|
||||
|
||||
// This has been taken from the old plugin.js and manually stripped of
|
||||
// implementation so only the types remain.
|
||||
// It's not generated using flowgen because the typescript def is slightly weaker
|
||||
// than the original flow one. (Persisted State generic param being used
|
||||
// in reducers etc.
|
||||
|
||||
import type {KeyboardActions} from './MenuBar.js';
|
||||
import type {App} from './App.js';
|
||||
import type {Logger} from './fb-interfaces/Logger.js';
|
||||
import type Client from './Client.js';
|
||||
import type {Store, MiddlewareAPI} from './reducers/index.js';
|
||||
import type {MetricType} from './utils/exportMetrics.tsx';
|
||||
import type {Node} from 'react';
|
||||
import type BaseDevice from './devices/BaseDevice.js';
|
||||
import type AndroidDevice from './devices/AndroidDevice';
|
||||
import type IOSDevice from './devices/IOSDevice';
|
||||
|
||||
declare module 'flipper' {
|
||||
// This function is intended to be called from outside of the plugin.
|
||||
// If you want to `call` from the plugin use, this.client.call
|
||||
declare function callClient(
|
||||
client: Client,
|
||||
id: string,
|
||||
): (string, ?Object) => Promise<Object>;
|
||||
|
||||
declare interface PluginClient {
|
||||
// eslint-disable-next-line
|
||||
send(method: string, params?: Object): void;
|
||||
// eslint-disable-next-line
|
||||
call(method: string, params?: Object): Promise<any>;
|
||||
// eslint-disable-next-line
|
||||
subscribe(method: string, callback: (params: any) => void): void;
|
||||
// eslint-disable-next-line
|
||||
supportsMethod(method: string): Promise<boolean>;
|
||||
}
|
||||
|
||||
declare type Logger = Logger;
|
||||
|
||||
declare type PluginTarget = BaseDevice | Client;
|
||||
|
||||
declare type Notification = {|
|
||||
id: string,
|
||||
title: string,
|
||||
message: string | Node,
|
||||
severity: 'warning' | 'error',
|
||||
timestamp?: number,
|
||||
category?: string,
|
||||
action?: string,
|
||||
|};
|
||||
|
||||
declare type Props<T> = {
|
||||
logger: Logger,
|
||||
persistedState: T,
|
||||
setPersistedState: (state: $Shape<T>) => void,
|
||||
target: PluginTarget,
|
||||
deepLinkPayload: ?string,
|
||||
selectPlugin: (pluginID: string, deepLinkPayload: ?string) => boolean,
|
||||
isArchivedDevice: boolean,
|
||||
selectedApp: ?string,
|
||||
};
|
||||
|
||||
declare class FlipperBasePlugin<
|
||||
State = *,
|
||||
Actions = *,
|
||||
PersistedState = *,
|
||||
> extends React.Component<Props<PersistedState>, State> {
|
||||
static title: ?string;
|
||||
static id: string;
|
||||
static icon: ?string;
|
||||
static gatekeeper: ?string;
|
||||
static entry: ?string;
|
||||
static bugs: ?{
|
||||
email?: string,
|
||||
url?: string,
|
||||
};
|
||||
static keyboardActions: ?KeyboardActions;
|
||||
static screenshot: ?string;
|
||||
static defaultPersistedState: PersistedState;
|
||||
static persistedStateReducer: ?(
|
||||
persistedState: PersistedState,
|
||||
method: string,
|
||||
data: Object,
|
||||
) => $Shape<PersistedState>;
|
||||
static metricsReducer: ?(
|
||||
persistedState: PersistedState,
|
||||
) => Promise<MetricType>;
|
||||
static exportPersistedState: ?(
|
||||
callClient: (string, ?Object) => Promise<Object>,
|
||||
persistedState: ?PersistedState,
|
||||
store: ?MiddlewareAPI,
|
||||
) => Promise<?PersistedState>;
|
||||
static serializePersistedState: (
|
||||
persistedState: PersistedState,
|
||||
statusUpdate?: (msg: string) => void,
|
||||
idler?: Idler,
|
||||
) => Promise<string>;
|
||||
static deserializePersistedState: (
|
||||
serializedString: string,
|
||||
) => PersistedState;
|
||||
static getActiveNotifications: ?(
|
||||
persistedState: PersistedState,
|
||||
) => Array<Notification>;
|
||||
static onRegisterDevice: ?(
|
||||
store: Store,
|
||||
baseDevice: BaseDevice,
|
||||
setPersistedState: (
|
||||
pluginKey: string,
|
||||
newPluginState: ?PersistedState,
|
||||
) => void,
|
||||
) => void;
|
||||
// forbid instance properties that should be static
|
||||
title: empty;
|
||||
id: empty;
|
||||
persist: empty;
|
||||
icon: empty;
|
||||
keyboardActions: empty;
|
||||
screenshot: empty;
|
||||
|
||||
reducers: {
|
||||
[actionName: string]: (state: State, actionData: Object) => $Shape<State>,
|
||||
};
|
||||
app: App;
|
||||
onKeyboardAction: ?(action: string) => void;
|
||||
|
||||
toJSON(): string;
|
||||
|
||||
init(): void;
|
||||
teardown(): void;
|
||||
computeNotifications(props: Props<*>, state: State): Array<Notification>;
|
||||
// methods to be overridden by subclasses
|
||||
_init(): void;
|
||||
_teardown(): void;
|
||||
|
||||
dispatchAction(actionData: Actions): void;
|
||||
}
|
||||
|
||||
declare class FlipperDevicePlugin<
|
||||
S = *,
|
||||
A = *,
|
||||
P = *,
|
||||
> extends FlipperBasePlugin<S, A, P> {
|
||||
device: BaseDevice;
|
||||
|
||||
constructor(props: Props<P>): void;
|
||||
|
||||
_init(): void;
|
||||
|
||||
_teardown(): void;
|
||||
|
||||
static supportsDevice(device: BaseDevice): boolean;
|
||||
}
|
||||
|
||||
declare class FlipperPlugin<S = *, A = *, P = *> extends FlipperBasePlugin<
|
||||
S,
|
||||
A,
|
||||
P,
|
||||
> {
|
||||
constructor(props: Props<P>): void;
|
||||
|
||||
subscriptions: Array<{
|
||||
method: string,
|
||||
callback: Function,
|
||||
}>;
|
||||
|
||||
client: PluginClient;
|
||||
realClient: Client;
|
||||
|
||||
getDevice(): Promise<BaseDevice>;
|
||||
|
||||
getAndroidDevice(): AndroidDevice;
|
||||
|
||||
getIOSDevice(): IOSDevice;
|
||||
|
||||
_teardown(): void;
|
||||
|
||||
_init(): void;
|
||||
}
|
||||
|
||||
declare var AndroidDevice: any;
|
||||
declare var BaseDevice: any;
|
||||
declare var Block: any;
|
||||
declare var Box: any;
|
||||
declare var Button: any;
|
||||
declare var ButtonGroup: any;
|
||||
declare var Checkbox: any;
|
||||
declare var CodeBlock: any;
|
||||
declare var Component: any;
|
||||
declare var ContextMenu: any;
|
||||
declare var DataDescription: any;
|
||||
declare var DataInspector: any;
|
||||
declare var DetailSidebar: any;
|
||||
declare var Device: any;
|
||||
declare var DeviceLogEntry: any;
|
||||
declare var Element: any;
|
||||
declare var ElementID: any;
|
||||
declare var ElementSearchResultSet: any;
|
||||
declare var ElementsInspector: any;
|
||||
declare var ErrorBlock: any;
|
||||
declare var ErrorBlockContainer: any;
|
||||
declare var Filter: any;
|
||||
declare var FlexBox: any;
|
||||
declare var FlexCenter: any;
|
||||
declare var FlexColumn: any;
|
||||
declare var FlexRow: any;
|
||||
declare var FlipperBasePlugin: any;
|
||||
declare var FlipperPlugin: any;
|
||||
declare var GK: any;
|
||||
declare var Glyph: any;
|
||||
declare var Heading: any;
|
||||
declare var HorizontalRule: any;
|
||||
declare var Input: any;
|
||||
declare var Label: any;
|
||||
declare var Link: any;
|
||||
declare var LoadingIndicator: any;
|
||||
declare var LogLevel: any;
|
||||
declare var ManagedDataInspector: any;
|
||||
declare var ManagedTable: any;
|
||||
declare var ManagedTable_immutable: any;
|
||||
declare var MarkerTimeline: any;
|
||||
declare var MetricType: any;
|
||||
declare var MiddlewareAPI: any;
|
||||
declare var OS: any;
|
||||
declare var Panel: any;
|
||||
declare var PureComponent: any;
|
||||
declare var SearchBox: any;
|
||||
declare var SearchIcon: any;
|
||||
declare var SearchInput: any;
|
||||
declare var Searchable: any;
|
||||
declare var SearchableProps: any;
|
||||
declare var SearchableTable: any;
|
||||
declare var SearchableTable_immutable: any;
|
||||
declare var Select: any;
|
||||
declare var Sheet: any;
|
||||
declare var Sidebar: any;
|
||||
declare var SidebarExtensions: any;
|
||||
declare var Spacer: any;
|
||||
declare var StackTrace: any;
|
||||
declare var StatusIndicator: any;
|
||||
declare var Store: any;
|
||||
declare var Tab: any;
|
||||
declare var TableBodyRow: any;
|
||||
declare var TableColumnOrder: any;
|
||||
declare var TableColumnSizes: any;
|
||||
declare var TableColumns: any;
|
||||
declare var TableHighlightedRows: any;
|
||||
declare var TableRowSortOrder: any;
|
||||
declare var TableRows: any;
|
||||
declare var TableRows_immutable: any;
|
||||
declare var Tabs: any;
|
||||
declare var Text: any;
|
||||
declare var Textarea: any;
|
||||
declare var ToggleButton: any;
|
||||
declare var Toolbar: any;
|
||||
declare var Tooltip: any;
|
||||
declare var Value: any;
|
||||
declare var VerticalRule: any;
|
||||
declare var View: any;
|
||||
declare var bufferToBlob: any;
|
||||
declare var clipboard: any;
|
||||
declare var colors: any;
|
||||
declare var constants: any;
|
||||
declare var createPaste: any;
|
||||
declare var createTablePlugin: any;
|
||||
declare var getPersistedState: any;
|
||||
declare var getPluginKey: any;
|
||||
declare var getStringFromErrorLike: any;
|
||||
declare var graphQLQuery: any;
|
||||
declare var isProduction: any;
|
||||
declare var keyframes: any;
|
||||
declare var renderValue: any;
|
||||
declare var shouldParseAndroidLog: any;
|
||||
declare var styled: any;
|
||||
declare var textContent: any;
|
||||
}
|
||||
507
desktop/flow-typed/npm/adbkit-fb_vx.x.x.js
vendored
507
desktop/flow-typed/npm/adbkit-fb_vx.x.x.js
vendored
@@ -1,507 +0,0 @@
|
||||
// flow-typed signature: 7849d9ce4b390afcfc917a08445a20eb
|
||||
// flow-typed version: <<STUB>>/adbkit-fb_v2.10.1/flow_v0.59.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'adbkit-fb'
|
||||
*
|
||||
* 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 'adbkit-fb' {
|
||||
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 'adbkit-fb/lib/adb' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/auth' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/client' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-serial/forward' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-serial/getdevicepath' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-serial/getserialno' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-serial/getstate' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-serial/listforwards' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-serial/waitfordevice' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/clear' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/framebuffer' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/getfeatures' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/getpackages' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/getproperties' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/install' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/isinstalled' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/listreverses' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/local' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/log' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/logcat' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/monkey' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/reboot' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/remount' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/reverse' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/root' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/screencap' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/shell' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/startactivity' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/startservice' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/sync' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/tcp' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/tcpip' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/trackjdwp' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/uninstall' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/usb' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/waitbootcomplete' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host/connect' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host/devices' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host/deviceswithpaths' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host/disconnect' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host/kill' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host/trackdevices' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host/transport' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/command/host/version' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/connection' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/dump' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/framebuffer/rgbtransform' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/keycode' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/linetransform' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/parser' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/proc/stat' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/protocol' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/sync' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/sync/entry' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/sync/pulltransfer' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/sync/pushtransfer' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/sync/stats' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/tcpusb/packet' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/tcpusb/packetreader' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/tcpusb/rollingcounter' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/tcpusb/server' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/tcpusb/service' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/tcpusb/servicemap' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/tcpusb/socket' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/tracker' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/adb/util' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'adbkit-fb/lib/cli' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'adbkit-fb/index' {
|
||||
declare module.exports: $Exports<'adbkit-fb'>;
|
||||
}
|
||||
declare module 'adbkit-fb/index.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/auth.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/auth'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/client.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/client'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-serial/forward.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-serial/forward'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-serial/getdevicepath.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-serial/getdevicepath'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-serial/getserialno.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-serial/getserialno'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-serial/getstate.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-serial/getstate'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-serial/listforwards.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-serial/listforwards'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-serial/waitfordevice.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-serial/waitfordevice'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/clear.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-transport/clear'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/framebuffer.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-transport/framebuffer'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/getfeatures.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-transport/getfeatures'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/getpackages.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-transport/getpackages'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/getproperties.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-transport/getproperties'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/install.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-transport/install'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/isinstalled.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-transport/isinstalled'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/listreverses.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-transport/listreverses'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/local.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-transport/local'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/log.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-transport/log'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/logcat.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-transport/logcat'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/monkey.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-transport/monkey'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/reboot.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-transport/reboot'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/remount.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-transport/remount'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/reverse.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-transport/reverse'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/root.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-transport/root'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/screencap.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-transport/screencap'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/shell.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-transport/shell'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/startactivity.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-transport/startactivity'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/startservice.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-transport/startservice'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/sync.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-transport/sync'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/tcp.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-transport/tcp'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/tcpip.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-transport/tcpip'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/trackjdwp.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-transport/trackjdwp'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/uninstall.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-transport/uninstall'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/usb.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-transport/usb'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host-transport/waitbootcomplete.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host-transport/waitbootcomplete'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host/connect.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host/connect'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host/devices.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host/devices'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host/deviceswithpaths.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host/deviceswithpaths'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host/disconnect.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host/disconnect'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host/kill.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host/kill'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host/trackdevices.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host/trackdevices'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host/transport.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host/transport'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/command/host/version.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/command/host/version'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/connection.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/connection'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/dump.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/dump'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/framebuffer/rgbtransform.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/framebuffer/rgbtransform'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/keycode.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/keycode'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/linetransform.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/linetransform'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/parser.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/parser'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/proc/stat.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/proc/stat'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/protocol.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/protocol'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/sync.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/sync'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/sync/entry.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/sync/entry'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/sync/pulltransfer.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/sync/pulltransfer'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/sync/pushtransfer.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/sync/pushtransfer'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/sync/stats.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/sync/stats'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/tcpusb/packet.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/tcpusb/packet'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/tcpusb/packetreader.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/tcpusb/packetreader'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/tcpusb/rollingcounter.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/tcpusb/rollingcounter'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/tcpusb/server.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/tcpusb/server'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/tcpusb/service.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/tcpusb/service'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/tcpusb/servicemap.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/tcpusb/servicemap'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/tcpusb/socket.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/tcpusb/socket'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/tracker.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/tracker'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/adb/util.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/adb/util'>;
|
||||
}
|
||||
declare module 'adbkit-fb/lib/cli.js' {
|
||||
declare module.exports: $Exports<'adbkit-fb/lib/cli'>;
|
||||
}
|
||||
32
desktop/flow-typed/npm/dateformat_vx.x.x.js
vendored
32
desktop/flow-typed/npm/dateformat_vx.x.x.js
vendored
@@ -1,32 +0,0 @@
|
||||
// flow-typed signature: 3d651fc79523c92efe95077d29cac82f
|
||||
// flow-typed version: <<STUB>>/dateformat_v3.0.3/flow_v0.102.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'dateformat'
|
||||
*
|
||||
* 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 'dateformat' {
|
||||
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 'dateformat/lib/dateformat' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'dateformat/lib/dateformat.js' {
|
||||
declare module.exports: $Exports<'dateformat/lib/dateformat'>;
|
||||
}
|
||||
4282
desktop/flow-typed/npm/electron-v5.0.2.js
vendored
4282
desktop/flow-typed/npm/electron-v5.0.2.js
vendored
File diff suppressed because it is too large
Load Diff
12
desktop/flow-typed/npm/electron-v8.0.1.js
vendored
12
desktop/flow-typed/npm/electron-v8.0.1.js
vendored
@@ -1,12 +0,0 @@
|
||||
/**
|
||||
* Copyright 2018-present Facebook.
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
* @format
|
||||
* @flow
|
||||
*
|
||||
*/
|
||||
|
||||
declare module 'electron' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
18
desktop/flow-typed/npm/google-palette_vx.x.x.js
vendored
18
desktop/flow-typed/npm/google-palette_vx.x.x.js
vendored
@@ -1,18 +0,0 @@
|
||||
// flow-typed signature: 6187fdc45c9567c2e88b8d4399bc1300
|
||||
// flow-typed version: <<STUB>>/google-palette_vlatest/flow_v0.69.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'google-palette'
|
||||
*
|
||||
* 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-palette' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
633
desktop/flow-typed/npm/graphql_vx.x.x.js
vendored
633
desktop/flow-typed/npm/graphql_vx.x.x.js
vendored
@@ -1,633 +0,0 @@
|
||||
// flow-typed signature: 78a3b0630930ae254dcef08544af115d
|
||||
// flow-typed version: <<STUB>>/graphql_v^0.11.7/flow_v0.59.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'graphql'
|
||||
*
|
||||
* 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 'graphql' {
|
||||
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 'graphql/error/formatError' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/error/GraphQLError' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/error/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/error/locatedError' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/error/syntaxError' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/execution/execute' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/execution/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/execution/values' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/graphql' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/jsutils/dedent' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/jsutils/find' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/jsutils/invariant' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/jsutils/isInvalid' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/jsutils/isNullish' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/jsutils/keyMap' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/jsutils/keyValMap' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/jsutils/ObjMap' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/jsutils/quotedOrList' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/jsutils/suggestionList' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/language/ast' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/language/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/language/kinds' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/language/lexer' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/language/location' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/language/parser' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/language/printer' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/language/source' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/language/visitor' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/subscription/asyncIteratorReject' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/subscription/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/subscription/mapAsyncIterator' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/subscription/subscribe' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/type/definition' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/type/directives' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/type/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/type/introspection' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/type/scalars' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/type/schema' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/utilities/assertValidName' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/utilities/astFromValue' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/utilities/buildASTSchema' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/utilities/buildClientSchema' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/utilities/concatAST' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/utilities/extendSchema' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/utilities/findBreakingChanges' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/utilities/findDeprecatedUsages' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/utilities/getOperationAST' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/utilities/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/utilities/introspectionQuery' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/utilities/isValidJSValue' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/utilities/isValidLiteralValue' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/utilities/schemaPrinter' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/utilities/separateOperations' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/utilities/typeComparators' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/utilities/typeFromAST' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/utilities/TypeInfo' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/utilities/valueFromAST' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/validation/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/validation/rules/ArgumentsOfCorrectType' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/validation/rules/DefaultValuesOfCorrectType' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/validation/rules/FieldsOnCorrectType' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/validation/rules/FragmentsOnCompositeTypes' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/validation/rules/KnownArgumentNames' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/validation/rules/KnownDirectives' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/validation/rules/KnownFragmentNames' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/validation/rules/KnownTypeNames' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/validation/rules/LoneAnonymousOperation' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/validation/rules/NoFragmentCycles' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/validation/rules/NoUndefinedVariables' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/validation/rules/NoUnusedFragments' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/validation/rules/NoUnusedVariables' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/validation/rules/OverlappingFieldsCanBeMerged' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/validation/rules/PossibleFragmentSpreads' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/validation/rules/ProvidedNonNullArguments' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/validation/rules/ScalarLeafs' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/validation/rules/SingleFieldSubscriptions' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/validation/rules/UniqueArgumentNames' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/validation/rules/UniqueDirectivesPerLocation' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/validation/rules/UniqueFragmentNames' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/validation/rules/UniqueInputFieldNames' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/validation/rules/UniqueOperationNames' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/validation/rules/UniqueVariableNames' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/validation/rules/VariablesAreInputTypes' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/validation/rules/VariablesInAllowedPosition' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/validation/specifiedRules' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'graphql/validation/validate' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'graphql/error/formatError.js' {
|
||||
declare module.exports: $Exports<'graphql/error/formatError'>;
|
||||
}
|
||||
declare module 'graphql/error/GraphQLError.js' {
|
||||
declare module.exports: $Exports<'graphql/error/GraphQLError'>;
|
||||
}
|
||||
declare module 'graphql/error/index.js' {
|
||||
declare module.exports: $Exports<'graphql/error/index'>;
|
||||
}
|
||||
declare module 'graphql/error/locatedError.js' {
|
||||
declare module.exports: $Exports<'graphql/error/locatedError'>;
|
||||
}
|
||||
declare module 'graphql/error/syntaxError.js' {
|
||||
declare module.exports: $Exports<'graphql/error/syntaxError'>;
|
||||
}
|
||||
declare module 'graphql/execution/execute.js' {
|
||||
declare module.exports: $Exports<'graphql/execution/execute'>;
|
||||
}
|
||||
declare module 'graphql/execution/index.js' {
|
||||
declare module.exports: $Exports<'graphql/execution/index'>;
|
||||
}
|
||||
declare module 'graphql/execution/values.js' {
|
||||
declare module.exports: $Exports<'graphql/execution/values'>;
|
||||
}
|
||||
declare module 'graphql/graphql.js' {
|
||||
declare module.exports: $Exports<'graphql/graphql'>;
|
||||
}
|
||||
declare module 'graphql/index' {
|
||||
declare module.exports: $Exports<'graphql'>;
|
||||
}
|
||||
declare module 'graphql/index.js' {
|
||||
declare module.exports: $Exports<'graphql'>;
|
||||
}
|
||||
declare module 'graphql/jsutils/dedent.js' {
|
||||
declare module.exports: $Exports<'graphql/jsutils/dedent'>;
|
||||
}
|
||||
declare module 'graphql/jsutils/find.js' {
|
||||
declare module.exports: $Exports<'graphql/jsutils/find'>;
|
||||
}
|
||||
declare module 'graphql/jsutils/invariant.js' {
|
||||
declare module.exports: $Exports<'graphql/jsutils/invariant'>;
|
||||
}
|
||||
declare module 'graphql/jsutils/isInvalid.js' {
|
||||
declare module.exports: $Exports<'graphql/jsutils/isInvalid'>;
|
||||
}
|
||||
declare module 'graphql/jsutils/isNullish.js' {
|
||||
declare module.exports: $Exports<'graphql/jsutils/isNullish'>;
|
||||
}
|
||||
declare module 'graphql/jsutils/keyMap.js' {
|
||||
declare module.exports: $Exports<'graphql/jsutils/keyMap'>;
|
||||
}
|
||||
declare module 'graphql/jsutils/keyValMap.js' {
|
||||
declare module.exports: $Exports<'graphql/jsutils/keyValMap'>;
|
||||
}
|
||||
declare module 'graphql/jsutils/ObjMap.js' {
|
||||
declare module.exports: $Exports<'graphql/jsutils/ObjMap'>;
|
||||
}
|
||||
declare module 'graphql/jsutils/quotedOrList.js' {
|
||||
declare module.exports: $Exports<'graphql/jsutils/quotedOrList'>;
|
||||
}
|
||||
declare module 'graphql/jsutils/suggestionList.js' {
|
||||
declare module.exports: $Exports<'graphql/jsutils/suggestionList'>;
|
||||
}
|
||||
declare module 'graphql/language/ast.js' {
|
||||
declare module.exports: $Exports<'graphql/language/ast'>;
|
||||
}
|
||||
declare module 'graphql/language/index.js' {
|
||||
declare module.exports: $Exports<'graphql/language/index'>;
|
||||
}
|
||||
declare module 'graphql/language/kinds.js' {
|
||||
declare module.exports: $Exports<'graphql/language/kinds'>;
|
||||
}
|
||||
declare module 'graphql/language/lexer.js' {
|
||||
declare module.exports: $Exports<'graphql/language/lexer'>;
|
||||
}
|
||||
declare module 'graphql/language/location.js' {
|
||||
declare module.exports: $Exports<'graphql/language/location'>;
|
||||
}
|
||||
declare module 'graphql/language/parser.js' {
|
||||
declare module.exports: $Exports<'graphql/language/parser'>;
|
||||
}
|
||||
declare module 'graphql/language/printer.js' {
|
||||
declare module.exports: $Exports<'graphql/language/printer'>;
|
||||
}
|
||||
declare module 'graphql/language/source.js' {
|
||||
declare module.exports: $Exports<'graphql/language/source'>;
|
||||
}
|
||||
declare module 'graphql/language/visitor.js' {
|
||||
declare module.exports: $Exports<'graphql/language/visitor'>;
|
||||
}
|
||||
declare module 'graphql/subscription/asyncIteratorReject.js' {
|
||||
declare module.exports: $Exports<'graphql/subscription/asyncIteratorReject'>;
|
||||
}
|
||||
declare module 'graphql/subscription/index.js' {
|
||||
declare module.exports: $Exports<'graphql/subscription/index'>;
|
||||
}
|
||||
declare module 'graphql/subscription/mapAsyncIterator.js' {
|
||||
declare module.exports: $Exports<'graphql/subscription/mapAsyncIterator'>;
|
||||
}
|
||||
declare module 'graphql/subscription/subscribe.js' {
|
||||
declare module.exports: $Exports<'graphql/subscription/subscribe'>;
|
||||
}
|
||||
declare module 'graphql/type/definition.js' {
|
||||
declare module.exports: $Exports<'graphql/type/definition'>;
|
||||
}
|
||||
declare module 'graphql/type/directives.js' {
|
||||
declare module.exports: $Exports<'graphql/type/directives'>;
|
||||
}
|
||||
declare module 'graphql/type/index.js' {
|
||||
declare module.exports: $Exports<'graphql/type/index'>;
|
||||
}
|
||||
declare module 'graphql/type/introspection.js' {
|
||||
declare module.exports: $Exports<'graphql/type/introspection'>;
|
||||
}
|
||||
declare module 'graphql/type/scalars.js' {
|
||||
declare module.exports: $Exports<'graphql/type/scalars'>;
|
||||
}
|
||||
declare module 'graphql/type/schema.js' {
|
||||
declare module.exports: $Exports<'graphql/type/schema'>;
|
||||
}
|
||||
declare module 'graphql/utilities/assertValidName.js' {
|
||||
declare module.exports: $Exports<'graphql/utilities/assertValidName'>;
|
||||
}
|
||||
declare module 'graphql/utilities/astFromValue.js' {
|
||||
declare module.exports: $Exports<'graphql/utilities/astFromValue'>;
|
||||
}
|
||||
declare module 'graphql/utilities/buildASTSchema.js' {
|
||||
declare module.exports: $Exports<'graphql/utilities/buildASTSchema'>;
|
||||
}
|
||||
declare module 'graphql/utilities/buildClientSchema.js' {
|
||||
declare module.exports: $Exports<'graphql/utilities/buildClientSchema'>;
|
||||
}
|
||||
declare module 'graphql/utilities/concatAST.js' {
|
||||
declare module.exports: $Exports<'graphql/utilities/concatAST'>;
|
||||
}
|
||||
declare module 'graphql/utilities/extendSchema.js' {
|
||||
declare module.exports: $Exports<'graphql/utilities/extendSchema'>;
|
||||
}
|
||||
declare module 'graphql/utilities/findBreakingChanges.js' {
|
||||
declare module.exports: $Exports<'graphql/utilities/findBreakingChanges'>;
|
||||
}
|
||||
declare module 'graphql/utilities/findDeprecatedUsages.js' {
|
||||
declare module.exports: $Exports<'graphql/utilities/findDeprecatedUsages'>;
|
||||
}
|
||||
declare module 'graphql/utilities/getOperationAST.js' {
|
||||
declare module.exports: $Exports<'graphql/utilities/getOperationAST'>;
|
||||
}
|
||||
declare module 'graphql/utilities/index.js' {
|
||||
declare module.exports: $Exports<'graphql/utilities/index'>;
|
||||
}
|
||||
declare module 'graphql/utilities/introspectionQuery.js' {
|
||||
declare module.exports: $Exports<'graphql/utilities/introspectionQuery'>;
|
||||
}
|
||||
declare module 'graphql/utilities/isValidJSValue.js' {
|
||||
declare module.exports: $Exports<'graphql/utilities/isValidJSValue'>;
|
||||
}
|
||||
declare module 'graphql/utilities/isValidLiteralValue.js' {
|
||||
declare module.exports: $Exports<'graphql/utilities/isValidLiteralValue'>;
|
||||
}
|
||||
declare module 'graphql/utilities/schemaPrinter.js' {
|
||||
declare module.exports: $Exports<'graphql/utilities/schemaPrinter'>;
|
||||
}
|
||||
declare module 'graphql/utilities/separateOperations.js' {
|
||||
declare module.exports: $Exports<'graphql/utilities/separateOperations'>;
|
||||
}
|
||||
declare module 'graphql/utilities/typeComparators.js' {
|
||||
declare module.exports: $Exports<'graphql/utilities/typeComparators'>;
|
||||
}
|
||||
declare module 'graphql/utilities/typeFromAST.js' {
|
||||
declare module.exports: $Exports<'graphql/utilities/typeFromAST'>;
|
||||
}
|
||||
declare module 'graphql/utilities/TypeInfo.js' {
|
||||
declare module.exports: $Exports<'graphql/utilities/TypeInfo'>;
|
||||
}
|
||||
declare module 'graphql/utilities/valueFromAST.js' {
|
||||
declare module.exports: $Exports<'graphql/utilities/valueFromAST'>;
|
||||
}
|
||||
declare module 'graphql/validation/index.js' {
|
||||
declare module.exports: $Exports<'graphql/validation/index'>;
|
||||
}
|
||||
declare module 'graphql/validation/rules/ArgumentsOfCorrectType.js' {
|
||||
declare module.exports: $Exports<'graphql/validation/rules/ArgumentsOfCorrectType'>;
|
||||
}
|
||||
declare module 'graphql/validation/rules/DefaultValuesOfCorrectType.js' {
|
||||
declare module.exports: $Exports<'graphql/validation/rules/DefaultValuesOfCorrectType'>;
|
||||
}
|
||||
declare module 'graphql/validation/rules/FieldsOnCorrectType.js' {
|
||||
declare module.exports: $Exports<'graphql/validation/rules/FieldsOnCorrectType'>;
|
||||
}
|
||||
declare module 'graphql/validation/rules/FragmentsOnCompositeTypes.js' {
|
||||
declare module.exports: $Exports<'graphql/validation/rules/FragmentsOnCompositeTypes'>;
|
||||
}
|
||||
declare module 'graphql/validation/rules/KnownArgumentNames.js' {
|
||||
declare module.exports: $Exports<'graphql/validation/rules/KnownArgumentNames'>;
|
||||
}
|
||||
declare module 'graphql/validation/rules/KnownDirectives.js' {
|
||||
declare module.exports: $Exports<'graphql/validation/rules/KnownDirectives'>;
|
||||
}
|
||||
declare module 'graphql/validation/rules/KnownFragmentNames.js' {
|
||||
declare module.exports: $Exports<'graphql/validation/rules/KnownFragmentNames'>;
|
||||
}
|
||||
declare module 'graphql/validation/rules/KnownTypeNames.js' {
|
||||
declare module.exports: $Exports<'graphql/validation/rules/KnownTypeNames'>;
|
||||
}
|
||||
declare module 'graphql/validation/rules/LoneAnonymousOperation.js' {
|
||||
declare module.exports: $Exports<'graphql/validation/rules/LoneAnonymousOperation'>;
|
||||
}
|
||||
declare module 'graphql/validation/rules/NoFragmentCycles.js' {
|
||||
declare module.exports: $Exports<'graphql/validation/rules/NoFragmentCycles'>;
|
||||
}
|
||||
declare module 'graphql/validation/rules/NoUndefinedVariables.js' {
|
||||
declare module.exports: $Exports<'graphql/validation/rules/NoUndefinedVariables'>;
|
||||
}
|
||||
declare module 'graphql/validation/rules/NoUnusedFragments.js' {
|
||||
declare module.exports: $Exports<'graphql/validation/rules/NoUnusedFragments'>;
|
||||
}
|
||||
declare module 'graphql/validation/rules/NoUnusedVariables.js' {
|
||||
declare module.exports: $Exports<'graphql/validation/rules/NoUnusedVariables'>;
|
||||
}
|
||||
declare module 'graphql/validation/rules/OverlappingFieldsCanBeMerged.js' {
|
||||
declare module.exports: $Exports<'graphql/validation/rules/OverlappingFieldsCanBeMerged'>;
|
||||
}
|
||||
declare module 'graphql/validation/rules/PossibleFragmentSpreads.js' {
|
||||
declare module.exports: $Exports<'graphql/validation/rules/PossibleFragmentSpreads'>;
|
||||
}
|
||||
declare module 'graphql/validation/rules/ProvidedNonNullArguments.js' {
|
||||
declare module.exports: $Exports<'graphql/validation/rules/ProvidedNonNullArguments'>;
|
||||
}
|
||||
declare module 'graphql/validation/rules/ScalarLeafs.js' {
|
||||
declare module.exports: $Exports<'graphql/validation/rules/ScalarLeafs'>;
|
||||
}
|
||||
declare module 'graphql/validation/rules/SingleFieldSubscriptions.js' {
|
||||
declare module.exports: $Exports<'graphql/validation/rules/SingleFieldSubscriptions'>;
|
||||
}
|
||||
declare module 'graphql/validation/rules/UniqueArgumentNames.js' {
|
||||
declare module.exports: $Exports<'graphql/validation/rules/UniqueArgumentNames'>;
|
||||
}
|
||||
declare module 'graphql/validation/rules/UniqueDirectivesPerLocation.js' {
|
||||
declare module.exports: $Exports<'graphql/validation/rules/UniqueDirectivesPerLocation'>;
|
||||
}
|
||||
declare module 'graphql/validation/rules/UniqueFragmentNames.js' {
|
||||
declare module.exports: $Exports<'graphql/validation/rules/UniqueFragmentNames'>;
|
||||
}
|
||||
declare module 'graphql/validation/rules/UniqueInputFieldNames.js' {
|
||||
declare module.exports: $Exports<'graphql/validation/rules/UniqueInputFieldNames'>;
|
||||
}
|
||||
declare module 'graphql/validation/rules/UniqueOperationNames.js' {
|
||||
declare module.exports: $Exports<'graphql/validation/rules/UniqueOperationNames'>;
|
||||
}
|
||||
declare module 'graphql/validation/rules/UniqueVariableNames.js' {
|
||||
declare module.exports: $Exports<'graphql/validation/rules/UniqueVariableNames'>;
|
||||
}
|
||||
declare module 'graphql/validation/rules/VariablesAreInputTypes.js' {
|
||||
declare module.exports: $Exports<'graphql/validation/rules/VariablesAreInputTypes'>;
|
||||
}
|
||||
declare module 'graphql/validation/rules/VariablesInAllowedPosition.js' {
|
||||
declare module.exports: $Exports<'graphql/validation/rules/VariablesInAllowedPosition'>;
|
||||
}
|
||||
declare module 'graphql/validation/specifiedRules.js' {
|
||||
declare module.exports: $Exports<'graphql/validation/specifiedRules'>;
|
||||
}
|
||||
declare module 'graphql/validation/validate.js' {
|
||||
declare module.exports: $Exports<'graphql/validation/validate'>;
|
||||
}
|
||||
1248
desktop/flow-typed/npm/immutable_v4.x.x.js
vendored
1248
desktop/flow-typed/npm/immutable_v4.x.x.js
vendored
File diff suppressed because it is too large
Load Diff
1185
desktop/flow-typed/npm/jest_v24.x.x.js
vendored
1185
desktop/flow-typed/npm/jest_v24.x.x.js
vendored
File diff suppressed because it is too large
Load Diff
33
desktop/flow-typed/npm/lodash.debounce_vx.x.x.js
vendored
33
desktop/flow-typed/npm/lodash.debounce_vx.x.x.js
vendored
@@ -1,33 +0,0 @@
|
||||
// flow-typed signature: 95241cb8305cb4cbda994a489dff963f
|
||||
// flow-typed version: <<STUB>>/lodash.debounce_v4.0.8/flow_v0.76.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'lodash.debounce'
|
||||
*
|
||||
* 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.debounce' {
|
||||
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.debounce/index' {
|
||||
declare module.exports: $Exports<'lodash.debounce'>;
|
||||
}
|
||||
declare module 'lodash.debounce/index.js' {
|
||||
declare module.exports: $Exports<'lodash.debounce'>;
|
||||
}
|
||||
19
desktop/flow-typed/npm/lodash.memoize_vx.x.x.js
vendored
19
desktop/flow-typed/npm/lodash.memoize_vx.x.x.js
vendored
@@ -1,19 +0,0 @@
|
||||
// flow-typed signature: 0eceddcdb50aa9bf578c375a12ef9aad
|
||||
// flow-typed version: <<STUB>>/lodash.memoize_v4.1.2/flow_v0.91.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'lodash.memoize'
|
||||
*
|
||||
* 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.memoize' {
|
||||
declare function memoize<T>(fn: T, resolver?: Function): T;
|
||||
declare export default typeof memoize;
|
||||
}
|
||||
6083
desktop/flow-typed/npm/lodash_v4.x.x.js
vendored
6083
desktop/flow-typed/npm/lodash_v4.x.x.js
vendored
File diff suppressed because it is too large
Load Diff
291
desktop/flow-typed/npm/needle_vx.x.x.js
vendored
291
desktop/flow-typed/npm/needle_vx.x.x.js
vendored
@@ -1,291 +0,0 @@
|
||||
// flow-typed signature: 290caff3b97efa4471b18ff001038a13
|
||||
// flow-typed version: <<STUB>>/needle_v2.2.1/flow_v0.69.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'needle'
|
||||
*
|
||||
* 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 'needle' {
|
||||
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 'needle/examples/deflated-stream' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/examples/digest-auth' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/examples/download-to-file' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/examples/multipart-stream' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/examples/parsed-stream' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/examples/parsed-stream2' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/examples/stream-events' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/examples/stream-to-file' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/examples/upload-image' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/lib/auth' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/lib/cookies' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/lib/decoder' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/lib/multipart' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/lib/needle' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/lib/parsers' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/lib/querystring' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/test/basic_auth_spec' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/test/compression_spec' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/test/cookies_spec' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/test/decoder_spec' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/test/errors_spec' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/test/headers_spec' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/test/helpers' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/test/long_string_spec' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/test/output_spec' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/test/parsing_spec' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/test/post_data_spec' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/test/proxy_spec' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/test/querystring_spec' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/test/redirect_spec' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/test/redirect_with_timeout' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/test/request_stream_spec' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/test/response_stream_spec' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/test/socket_pool_spec' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/test/url_spec' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/test/utils/formidable' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/test/utils/proxy' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'needle/test/utils/test' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'needle/examples/deflated-stream.js' {
|
||||
declare module.exports: $Exports<'needle/examples/deflated-stream'>;
|
||||
}
|
||||
declare module 'needle/examples/digest-auth.js' {
|
||||
declare module.exports: $Exports<'needle/examples/digest-auth'>;
|
||||
}
|
||||
declare module 'needle/examples/download-to-file.js' {
|
||||
declare module.exports: $Exports<'needle/examples/download-to-file'>;
|
||||
}
|
||||
declare module 'needle/examples/multipart-stream.js' {
|
||||
declare module.exports: $Exports<'needle/examples/multipart-stream'>;
|
||||
}
|
||||
declare module 'needle/examples/parsed-stream.js' {
|
||||
declare module.exports: $Exports<'needle/examples/parsed-stream'>;
|
||||
}
|
||||
declare module 'needle/examples/parsed-stream2.js' {
|
||||
declare module.exports: $Exports<'needle/examples/parsed-stream2'>;
|
||||
}
|
||||
declare module 'needle/examples/stream-events.js' {
|
||||
declare module.exports: $Exports<'needle/examples/stream-events'>;
|
||||
}
|
||||
declare module 'needle/examples/stream-to-file.js' {
|
||||
declare module.exports: $Exports<'needle/examples/stream-to-file'>;
|
||||
}
|
||||
declare module 'needle/examples/upload-image.js' {
|
||||
declare module.exports: $Exports<'needle/examples/upload-image'>;
|
||||
}
|
||||
declare module 'needle/lib/auth.js' {
|
||||
declare module.exports: $Exports<'needle/lib/auth'>;
|
||||
}
|
||||
declare module 'needle/lib/cookies.js' {
|
||||
declare module.exports: $Exports<'needle/lib/cookies'>;
|
||||
}
|
||||
declare module 'needle/lib/decoder.js' {
|
||||
declare module.exports: $Exports<'needle/lib/decoder'>;
|
||||
}
|
||||
declare module 'needle/lib/multipart.js' {
|
||||
declare module.exports: $Exports<'needle/lib/multipart'>;
|
||||
}
|
||||
declare module 'needle/lib/needle.js' {
|
||||
declare module.exports: $Exports<'needle/lib/needle'>;
|
||||
}
|
||||
declare module 'needle/lib/parsers.js' {
|
||||
declare module.exports: $Exports<'needle/lib/parsers'>;
|
||||
}
|
||||
declare module 'needle/lib/querystring.js' {
|
||||
declare module.exports: $Exports<'needle/lib/querystring'>;
|
||||
}
|
||||
declare module 'needle/test/basic_auth_spec.js' {
|
||||
declare module.exports: $Exports<'needle/test/basic_auth_spec'>;
|
||||
}
|
||||
declare module 'needle/test/compression_spec.js' {
|
||||
declare module.exports: $Exports<'needle/test/compression_spec'>;
|
||||
}
|
||||
declare module 'needle/test/cookies_spec.js' {
|
||||
declare module.exports: $Exports<'needle/test/cookies_spec'>;
|
||||
}
|
||||
declare module 'needle/test/decoder_spec.js' {
|
||||
declare module.exports: $Exports<'needle/test/decoder_spec'>;
|
||||
}
|
||||
declare module 'needle/test/errors_spec.js' {
|
||||
declare module.exports: $Exports<'needle/test/errors_spec'>;
|
||||
}
|
||||
declare module 'needle/test/headers_spec.js' {
|
||||
declare module.exports: $Exports<'needle/test/headers_spec'>;
|
||||
}
|
||||
declare module 'needle/test/helpers.js' {
|
||||
declare module.exports: $Exports<'needle/test/helpers'>;
|
||||
}
|
||||
declare module 'needle/test/long_string_spec.js' {
|
||||
declare module.exports: $Exports<'needle/test/long_string_spec'>;
|
||||
}
|
||||
declare module 'needle/test/output_spec.js' {
|
||||
declare module.exports: $Exports<'needle/test/output_spec'>;
|
||||
}
|
||||
declare module 'needle/test/parsing_spec.js' {
|
||||
declare module.exports: $Exports<'needle/test/parsing_spec'>;
|
||||
}
|
||||
declare module 'needle/test/post_data_spec.js' {
|
||||
declare module.exports: $Exports<'needle/test/post_data_spec'>;
|
||||
}
|
||||
declare module 'needle/test/proxy_spec.js' {
|
||||
declare module.exports: $Exports<'needle/test/proxy_spec'>;
|
||||
}
|
||||
declare module 'needle/test/querystring_spec.js' {
|
||||
declare module.exports: $Exports<'needle/test/querystring_spec'>;
|
||||
}
|
||||
declare module 'needle/test/redirect_spec.js' {
|
||||
declare module.exports: $Exports<'needle/test/redirect_spec'>;
|
||||
}
|
||||
declare module 'needle/test/redirect_with_timeout.js' {
|
||||
declare module.exports: $Exports<'needle/test/redirect_with_timeout'>;
|
||||
}
|
||||
declare module 'needle/test/request_stream_spec.js' {
|
||||
declare module.exports: $Exports<'needle/test/request_stream_spec'>;
|
||||
}
|
||||
declare module 'needle/test/response_stream_spec.js' {
|
||||
declare module.exports: $Exports<'needle/test/response_stream_spec'>;
|
||||
}
|
||||
declare module 'needle/test/socket_pool_spec.js' {
|
||||
declare module.exports: $Exports<'needle/test/socket_pool_spec'>;
|
||||
}
|
||||
declare module 'needle/test/url_spec.js' {
|
||||
declare module.exports: $Exports<'needle/test/url_spec'>;
|
||||
}
|
||||
declare module 'needle/test/utils/formidable.js' {
|
||||
declare module.exports: $Exports<'needle/test/utils/formidable'>;
|
||||
}
|
||||
declare module 'needle/test/utils/proxy.js' {
|
||||
declare module.exports: $Exports<'needle/test/utils/proxy'>;
|
||||
}
|
||||
declare module 'needle/test/utils/test.js' {
|
||||
declare module.exports: $Exports<'needle/test/utils/test'>;
|
||||
}
|
||||
18
desktop/flow-typed/npm/react-chartjs-2_vx.x.x.js
vendored
18
desktop/flow-typed/npm/react-chartjs-2_vx.x.x.js
vendored
@@ -1,18 +0,0 @@
|
||||
// flow-typed signature: 033193531f49f251b11350a57a58eb12
|
||||
// flow-typed version: <<STUB>>/react-chartjs-2_vlatest/flow_v0.69.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'react-chartjs-2'
|
||||
*
|
||||
* 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-chartjs-2' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
179
desktop/flow-typed/npm/react-d3-tree_vx.x.x.js
vendored
179
desktop/flow-typed/npm/react-d3-tree_vx.x.x.js
vendored
@@ -1,179 +0,0 @@
|
||||
// flow-typed signature: 32f203474854b8a1d378914b9461a972
|
||||
// flow-typed version: <<STUB>>/react-d3-tree_v1.12.0/flow_v0.86.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'react-d3-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 'react-d3-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 'react-d3-tree/jest/mocks/cssModule' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-d3-tree/jest/mocks/image' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-d3-tree/jest/polyfills/raf' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-d3-tree/jest/setup' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-d3-tree/lib/react-d3-tree.min' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-d3-tree/scripts/generateMarkdown' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-d3-tree/src/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-d3-tree/src/Link/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-d3-tree/src/Link/tests/index.test' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-d3-tree/src/Node/ForeignObjectElement' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-d3-tree/src/Node/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-d3-tree/src/Node/SvgTextElement' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-d3-tree/src/Node/tests/ForeignObjectElement.test' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-d3-tree/src/Node/tests/index.test' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-d3-tree/src/Node/tests/SvgTextElement.test' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-d3-tree/src/Tree/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-d3-tree/src/Tree/NodeWrapper' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-d3-tree/src/Tree/tests/index.test' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-d3-tree/src/Tree/tests/mockData' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-d3-tree/src/Tree/tests/NodeWrapper.test' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-d3-tree/src/util/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-d3-tree/webpack.config' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'react-d3-tree/jest/mocks/cssModule.js' {
|
||||
declare module.exports: $Exports<'react-d3-tree/jest/mocks/cssModule'>;
|
||||
}
|
||||
declare module 'react-d3-tree/jest/mocks/image.js' {
|
||||
declare module.exports: $Exports<'react-d3-tree/jest/mocks/image'>;
|
||||
}
|
||||
declare module 'react-d3-tree/jest/polyfills/raf.js' {
|
||||
declare module.exports: $Exports<'react-d3-tree/jest/polyfills/raf'>;
|
||||
}
|
||||
declare module 'react-d3-tree/jest/setup.js' {
|
||||
declare module.exports: $Exports<'react-d3-tree/jest/setup'>;
|
||||
}
|
||||
declare module 'react-d3-tree/lib/react-d3-tree.min.js' {
|
||||
declare module.exports: $Exports<'react-d3-tree/lib/react-d3-tree.min'>;
|
||||
}
|
||||
declare module 'react-d3-tree/scripts/generateMarkdown.js' {
|
||||
declare module.exports: $Exports<'react-d3-tree/scripts/generateMarkdown'>;
|
||||
}
|
||||
declare module 'react-d3-tree/src/index.js' {
|
||||
declare module.exports: $Exports<'react-d3-tree/src/index'>;
|
||||
}
|
||||
declare module 'react-d3-tree/src/Link/index.js' {
|
||||
declare module.exports: $Exports<'react-d3-tree/src/Link/index'>;
|
||||
}
|
||||
declare module 'react-d3-tree/src/Link/tests/index.test.js' {
|
||||
declare module.exports: $Exports<'react-d3-tree/src/Link/tests/index.test'>;
|
||||
}
|
||||
declare module 'react-d3-tree/src/Node/ForeignObjectElement.js' {
|
||||
declare module.exports: $Exports<'react-d3-tree/src/Node/ForeignObjectElement'>;
|
||||
}
|
||||
declare module 'react-d3-tree/src/Node/index.js' {
|
||||
declare module.exports: $Exports<'react-d3-tree/src/Node/index'>;
|
||||
}
|
||||
declare module 'react-d3-tree/src/Node/SvgTextElement.js' {
|
||||
declare module.exports: $Exports<'react-d3-tree/src/Node/SvgTextElement'>;
|
||||
}
|
||||
declare module 'react-d3-tree/src/Node/tests/ForeignObjectElement.test.js' {
|
||||
declare module.exports: $Exports<'react-d3-tree/src/Node/tests/ForeignObjectElement.test'>;
|
||||
}
|
||||
declare module 'react-d3-tree/src/Node/tests/index.test.js' {
|
||||
declare module.exports: $Exports<'react-d3-tree/src/Node/tests/index.test'>;
|
||||
}
|
||||
declare module 'react-d3-tree/src/Node/tests/SvgTextElement.test.js' {
|
||||
declare module.exports: $Exports<'react-d3-tree/src/Node/tests/SvgTextElement.test'>;
|
||||
}
|
||||
declare module 'react-d3-tree/src/Tree/index.js' {
|
||||
declare module.exports: $Exports<'react-d3-tree/src/Tree/index'>;
|
||||
}
|
||||
declare module 'react-d3-tree/src/Tree/NodeWrapper.js' {
|
||||
declare module.exports: $Exports<'react-d3-tree/src/Tree/NodeWrapper'>;
|
||||
}
|
||||
declare module 'react-d3-tree/src/Tree/tests/index.test.js' {
|
||||
declare module.exports: $Exports<'react-d3-tree/src/Tree/tests/index.test'>;
|
||||
}
|
||||
declare module 'react-d3-tree/src/Tree/tests/mockData.js' {
|
||||
declare module.exports: $Exports<'react-d3-tree/src/Tree/tests/mockData'>;
|
||||
}
|
||||
declare module 'react-d3-tree/src/Tree/tests/NodeWrapper.test.js' {
|
||||
declare module.exports: $Exports<'react-d3-tree/src/Tree/tests/NodeWrapper.test'>;
|
||||
}
|
||||
declare module 'react-d3-tree/src/util/index.js' {
|
||||
declare module.exports: $Exports<'react-d3-tree/src/util/index'>;
|
||||
}
|
||||
declare module 'react-d3-tree/webpack.config.js' {
|
||||
declare module.exports: $Exports<'react-d3-tree/webpack.config'>;
|
||||
}
|
||||
@@ -1,49 +0,0 @@
|
||||
// flow-typed signature: f8556e312538a69cb4b93dca5618b82a
|
||||
// flow-typed version: <<STUB>>/react-stepper-horizontal_v1.0.11/flow_v0.102.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'react-stepper-horizontal'
|
||||
*
|
||||
* 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-stepper-horizontal' {
|
||||
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-stepper-horizontal/lib' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-stepper-horizontal/lib/Step' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'react-stepper-horizontal/lib/Stepper' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'react-stepper-horizontal/lib/index' {
|
||||
declare module.exports: $Exports<'react-stepper-horizontal/lib'>;
|
||||
}
|
||||
declare module 'react-stepper-horizontal/lib/index.js' {
|
||||
declare module.exports: $Exports<'react-stepper-horizontal/lib'>;
|
||||
}
|
||||
declare module 'react-stepper-horizontal/lib/Step.js' {
|
||||
declare module.exports: $Exports<'react-stepper-horizontal/lib/Step'>;
|
||||
}
|
||||
declare module 'react-stepper-horizontal/lib/Stepper.js' {
|
||||
declare module.exports: $Exports<'react-stepper-horizontal/lib/Stepper'>;
|
||||
}
|
||||
1376
desktop/flow-typed/npm/react-virtualized_vx.x.x.js
vendored
1376
desktop/flow-typed/npm/react-virtualized_vx.x.x.js
vendored
File diff suppressed because it is too large
Load Diff
@@ -1,46 +0,0 @@
|
||||
// flow-typed signature: 0ce56690a743910f5934d0ffc0f26d61
|
||||
// flow-typed version: <<STUB>>/redux-mock-store_v1.5.3/flow_v0.76.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'redux-mock-store'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'redux-mock-store' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'redux-mock-store/lib/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'redux-mock-store/test/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'redux-mock-store/test/mock/middleware' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'redux-mock-store/lib/index.js' {
|
||||
declare module.exports: $Exports<'redux-mock-store/lib/index'>;
|
||||
}
|
||||
declare module 'redux-mock-store/test/index.js' {
|
||||
declare module.exports: $Exports<'redux-mock-store/test/index'>;
|
||||
}
|
||||
declare module 'redux-mock-store/test/mock/middleware.js' {
|
||||
declare module.exports: $Exports<'redux-mock-store/test/mock/middleware'>;
|
||||
}
|
||||
193
desktop/flow-typed/npm/sql-formatter_vx.x.x.js
vendored
193
desktop/flow-typed/npm/sql-formatter_vx.x.x.js
vendored
@@ -1,193 +0,0 @@
|
||||
// flow-typed signature: 21bf70a7f73a77579f4cc048adda0919
|
||||
// flow-typed version: <<STUB>>/sql-formatter_v2.3.3/flow_v0.102.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'sql-formatter'
|
||||
*
|
||||
* 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 'sql-formatter' {
|
||||
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 'sql-formatter/dist/sql-formatter' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'sql-formatter/dist/sql-formatter.min' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'sql-formatter/lib/core/Formatter' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'sql-formatter/lib/core/Indentation' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'sql-formatter/lib/core/InlineBlock' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'sql-formatter/lib/core/Params' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'sql-formatter/lib/core/Tokenizer' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'sql-formatter/lib/core/tokenTypes' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'sql-formatter/lib/languages/Db2Formatter' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'sql-formatter/lib/languages/N1qlFormatter' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'sql-formatter/lib/languages/PlSqlFormatter' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'sql-formatter/lib/languages/StandardSqlFormatter' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'sql-formatter/lib/sqlFormatter' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'sql-formatter/src/core/Formatter' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'sql-formatter/src/core/Indentation' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'sql-formatter/src/core/InlineBlock' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'sql-formatter/src/core/Params' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'sql-formatter/src/core/Tokenizer' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'sql-formatter/src/core/tokenTypes' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'sql-formatter/src/languages/Db2Formatter' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'sql-formatter/src/languages/N1qlFormatter' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'sql-formatter/src/languages/PlSqlFormatter' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'sql-formatter/src/languages/StandardSqlFormatter' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'sql-formatter/src/sqlFormatter' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'sql-formatter/dist/sql-formatter.js' {
|
||||
declare module.exports: $Exports<'sql-formatter/dist/sql-formatter'>;
|
||||
}
|
||||
declare module 'sql-formatter/dist/sql-formatter.min.js' {
|
||||
declare module.exports: $Exports<'sql-formatter/dist/sql-formatter.min'>;
|
||||
}
|
||||
declare module 'sql-formatter/lib/core/Formatter.js' {
|
||||
declare module.exports: $Exports<'sql-formatter/lib/core/Formatter'>;
|
||||
}
|
||||
declare module 'sql-formatter/lib/core/Indentation.js' {
|
||||
declare module.exports: $Exports<'sql-formatter/lib/core/Indentation'>;
|
||||
}
|
||||
declare module 'sql-formatter/lib/core/InlineBlock.js' {
|
||||
declare module.exports: $Exports<'sql-formatter/lib/core/InlineBlock'>;
|
||||
}
|
||||
declare module 'sql-formatter/lib/core/Params.js' {
|
||||
declare module.exports: $Exports<'sql-formatter/lib/core/Params'>;
|
||||
}
|
||||
declare module 'sql-formatter/lib/core/Tokenizer.js' {
|
||||
declare module.exports: $Exports<'sql-formatter/lib/core/Tokenizer'>;
|
||||
}
|
||||
declare module 'sql-formatter/lib/core/tokenTypes.js' {
|
||||
declare module.exports: $Exports<'sql-formatter/lib/core/tokenTypes'>;
|
||||
}
|
||||
declare module 'sql-formatter/lib/languages/Db2Formatter.js' {
|
||||
declare module.exports: $Exports<'sql-formatter/lib/languages/Db2Formatter'>;
|
||||
}
|
||||
declare module 'sql-formatter/lib/languages/N1qlFormatter.js' {
|
||||
declare module.exports: $Exports<'sql-formatter/lib/languages/N1qlFormatter'>;
|
||||
}
|
||||
declare module 'sql-formatter/lib/languages/PlSqlFormatter.js' {
|
||||
declare module.exports: $Exports<'sql-formatter/lib/languages/PlSqlFormatter'>;
|
||||
}
|
||||
declare module 'sql-formatter/lib/languages/StandardSqlFormatter.js' {
|
||||
declare module.exports: $Exports<'sql-formatter/lib/languages/StandardSqlFormatter'>;
|
||||
}
|
||||
declare module 'sql-formatter/lib/sqlFormatter.js' {
|
||||
declare module.exports: $Exports<'sql-formatter/lib/sqlFormatter'>;
|
||||
}
|
||||
declare module 'sql-formatter/src/core/Formatter.js' {
|
||||
declare module.exports: $Exports<'sql-formatter/src/core/Formatter'>;
|
||||
}
|
||||
declare module 'sql-formatter/src/core/Indentation.js' {
|
||||
declare module.exports: $Exports<'sql-formatter/src/core/Indentation'>;
|
||||
}
|
||||
declare module 'sql-formatter/src/core/InlineBlock.js' {
|
||||
declare module.exports: $Exports<'sql-formatter/src/core/InlineBlock'>;
|
||||
}
|
||||
declare module 'sql-formatter/src/core/Params.js' {
|
||||
declare module.exports: $Exports<'sql-formatter/src/core/Params'>;
|
||||
}
|
||||
declare module 'sql-formatter/src/core/Tokenizer.js' {
|
||||
declare module.exports: $Exports<'sql-formatter/src/core/Tokenizer'>;
|
||||
}
|
||||
declare module 'sql-formatter/src/core/tokenTypes.js' {
|
||||
declare module.exports: $Exports<'sql-formatter/src/core/tokenTypes'>;
|
||||
}
|
||||
declare module 'sql-formatter/src/languages/Db2Formatter.js' {
|
||||
declare module.exports: $Exports<'sql-formatter/src/languages/Db2Formatter'>;
|
||||
}
|
||||
declare module 'sql-formatter/src/languages/N1qlFormatter.js' {
|
||||
declare module.exports: $Exports<'sql-formatter/src/languages/N1qlFormatter'>;
|
||||
}
|
||||
declare module 'sql-formatter/src/languages/PlSqlFormatter.js' {
|
||||
declare module.exports: $Exports<'sql-formatter/src/languages/PlSqlFormatter'>;
|
||||
}
|
||||
declare module 'sql-formatter/src/languages/StandardSqlFormatter.js' {
|
||||
declare module.exports: $Exports<'sql-formatter/src/languages/StandardSqlFormatter'>;
|
||||
}
|
||||
declare module 'sql-formatter/src/sqlFormatter.js' {
|
||||
declare module.exports: $Exports<'sql-formatter/src/sqlFormatter'>;
|
||||
}
|
||||
17
desktop/flow-typed/npm/unicode-substring.js
vendored
17
desktop/flow-typed/npm/unicode-substring.js
vendored
@@ -1,17 +0,0 @@
|
||||
/**
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @format
|
||||
* @flow
|
||||
*/
|
||||
|
||||
declare module 'unicode-substring' {
|
||||
declare export default function unicodeSubstring(
|
||||
baseString: string,
|
||||
start: number,
|
||||
end: number,
|
||||
): string;
|
||||
}
|
||||
10
desktop/flow-typed/react.js
vendored
10
desktop/flow-typed/react.js
vendored
@@ -1,10 +0,0 @@
|
||||
/**
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @format
|
||||
*/
|
||||
|
||||
declare var React: $Exports<'react'>;
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"presets": ["@babel/preset-env", "@babel/preset-flow"]
|
||||
"presets": ["@babel/preset-env"]
|
||||
}
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
|
||||
import {spawn} from 'child_process';
|
||||
import memoize from 'lodash.memoize';
|
||||
// $FlowFixMe
|
||||
import stringify from 'canonical-json';
|
||||
|
||||
const TEST_TIMEOUT_MS = 30 * 1000;
|
||||
@@ -50,10 +49,7 @@ const basicArgs = [
|
||||
params.insecurePort,
|
||||
];
|
||||
|
||||
const runHeadless = memoize((args: Array<string>): Promise<{
|
||||
output: Object,
|
||||
stderr: string,
|
||||
}> => {
|
||||
const runHeadless = memoize((args) => {
|
||||
return new Promise((resolve, reject) => {
|
||||
const stdoutChunks = [];
|
||||
const stderrChunks = [];
|
||||
@@ -88,7 +84,7 @@ const runHeadless = memoize((args: Array<string>): Promise<{
|
||||
});
|
||||
});
|
||||
|
||||
function getPluginState(app: string, plugin: string): Promise<string> {
|
||||
function getPluginState(app, plugin) {
|
||||
return runHeadless(basicArgs).then((result) => {
|
||||
const pluginStates = result.output.store.pluginStates;
|
||||
for (const pluginId of Object.keys(pluginStates)) {
|
||||
@@ -159,7 +155,7 @@ test(
|
||||
TEST_TIMEOUT_MS,
|
||||
);
|
||||
|
||||
function stripUnstableLayoutAttributes(node: Object): Object {
|
||||
function stripUnstableLayoutAttributes(node) {
|
||||
let newNode = node;
|
||||
for (const path of layoutPathsToExcludeFromSnapshots) {
|
||||
const parts = path.split('.');
|
||||
@@ -168,7 +164,7 @@ function stripUnstableLayoutAttributes(node: Object): Object {
|
||||
return newNode;
|
||||
}
|
||||
|
||||
function stripNode(node: any, path: Array<string>) {
|
||||
function stripNode(node, path) {
|
||||
if (path.length === 0) {
|
||||
return 'PLACEHOLDER';
|
||||
}
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.11.1",
|
||||
"@babel/preset-env": "^7.11.0",
|
||||
"@babel/preset-flow": "^7.10.4",
|
||||
"babel-jest": "^26.2.2",
|
||||
"canonical-json": "^0.0.4",
|
||||
"lodash.memoize": "^4.1.2"
|
||||
|
||||
@@ -180,8 +180,8 @@
|
||||
"eslint-config-prettier": "^6.10.1",
|
||||
"eslint-import-resolver-typescript": "^2.3.0",
|
||||
"eslint-plugin-babel": "^5.3.1",
|
||||
"eslint-plugin-flipper": "0.64.0",
|
||||
"eslint-plugin-flowtype": "^4.7.0",
|
||||
"eslint-plugin-flipper": "0.64.0",
|
||||
"eslint-plugin-header": "^3.0.0",
|
||||
"eslint-plugin-import": "^2.22.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.3.1",
|
||||
@@ -195,7 +195,6 @@
|
||||
"flipper-babel-transformer": "0.64.0",
|
||||
"flipper-pkg-lib": "0.64.0",
|
||||
"flipper-plugin-lib": "0.64.0",
|
||||
"flow-bin": "0.131.0",
|
||||
"fs-extra": "^9.0.0",
|
||||
"glob": "^7.1.2",
|
||||
"ignore": "^5.1.4",
|
||||
@@ -269,8 +268,7 @@
|
||||
"lint:tsc": "tsc --noemit",
|
||||
"prelint:eslint": "yarn build:eslint",
|
||||
"lint:eslint": "eslint . --ext .js,.ts,.tsx",
|
||||
"lint:flow": "flow check",
|
||||
"lint": "yarn lint:eslint && yarn lint:flow && yarn lint:tsc",
|
||||
"lint": "yarn lint:eslint && yarn lint:tsc",
|
||||
"bump-versions": "./ts-node scripts/bump-versions.ts",
|
||||
"publish-packages": "./ts-node scripts/publish-packages.ts",
|
||||
"everything": "yarn reset && yarn install && yarn lint && yarn test && yarn test-electron && yarn build --mac --mac-dmg --win --linux --linux-deb && yarn build-headless --mac --linux && yarn start"
|
||||
|
||||
@@ -255,7 +255,6 @@ test('test getNewPersistedStateFromCrashLog for non-empty defaultPersistedState
|
||||
null,
|
||||
);
|
||||
expect(newPersistedState).toBeDefined();
|
||||
// $FlowFixMe: Checked if perisistedState is defined or not
|
||||
const {crashes} = newPersistedState as PersistedState;
|
||||
expect(crashes).toBeDefined();
|
||||
expect(crashes.length).toEqual(2);
|
||||
@@ -284,7 +283,6 @@ test('test getNewPersistedStateFromCrashLog for non-empty defaultPersistedState
|
||||
null,
|
||||
);
|
||||
expect(newPersistedState).toBeDefined();
|
||||
// $FlowFixMe: Checked if perisistedState is defined or not
|
||||
const {crashes} = newPersistedState as PersistedState;
|
||||
expect(crashes).toBeDefined();
|
||||
expect(crashes.length).toEqual(2);
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @format
|
||||
* @flow
|
||||
*/
|
||||
|
||||
import {
|
||||
|
||||
@@ -397,10 +397,7 @@ export default class DatabasesPlugin extends FlipperPlugin<
|
||||
const databases = updates.sort((db1, db2) => db1.id - db2.id);
|
||||
const selectedDatabase =
|
||||
state.selectedDatabase ||
|
||||
(Object.values(databases)[0]
|
||||
? // $FlowFixMe
|
||||
Object.values(databases)[0].id
|
||||
: 0);
|
||||
(Object.values(databases)[0] ? Object.values(databases)[0].id : 0);
|
||||
const selectedTable =
|
||||
state.selectedDatabaseTable &&
|
||||
databases[selectedDatabase - 1].tables.includes(
|
||||
|
||||
@@ -85,7 +85,6 @@ test('the metric reducer for the input having regression', () => {
|
||||
},
|
||||
);
|
||||
expect(FrescoPlugin.metricsReducer).toBeDefined();
|
||||
//$FlowFixMe: Added a check if the metricsReducer exists in FrescoPlugin
|
||||
const metrics = FrescoPlugin.metricsReducer(persistedState);
|
||||
return expect(metrics).resolves.toMatchObject({
|
||||
WASTED_BYTES: 37500,
|
||||
@@ -115,7 +114,6 @@ test('the metric reducer for the input having no regression', () => {
|
||||
);
|
||||
const metricsReducer = FrescoPlugin.metricsReducer;
|
||||
expect(metricsReducer).toBeDefined();
|
||||
//$FlowFixMe: Added a check if the metricsReducer exists in FrescoPlugin
|
||||
const metrics = metricsReducer(persistedState);
|
||||
return expect(metrics).resolves.toMatchObject({
|
||||
WASTED_BYTES: 0,
|
||||
@@ -125,7 +123,6 @@ test('the metric reducer for the input having no regression', () => {
|
||||
test('the metric reducer for the default persisted state', () => {
|
||||
const metricsReducer = FrescoPlugin.metricsReducer;
|
||||
expect(metricsReducer).toBeDefined();
|
||||
//$FlowFixMe: Added a check if the metricsReducer exists in FrescoPlugin
|
||||
const metrics = metricsReducer(FrescoPlugin.defaultPersistedState);
|
||||
return expect(metrics).resolves.toMatchObject({WASTED_BYTES: 0});
|
||||
});
|
||||
@@ -154,7 +151,6 @@ test('the metric reducer with the events data but with no imageData in imagesMap
|
||||
persistedState.imagesMap = {};
|
||||
const metricsReducer = FrescoPlugin.metricsReducer;
|
||||
expect(metricsReducer).toBeDefined();
|
||||
//$FlowFixMe: Added a check if the metricsReducer exists in FrescoPlugin
|
||||
const metrics = metricsReducer(persistedState);
|
||||
return expect(metrics).resolves.toMatchObject({WASTED_BYTES: 0});
|
||||
});
|
||||
@@ -183,7 +179,6 @@ test('the metric reducer with the no viewPort data in events', () => {
|
||||
delete persistedState.events[0].viewport;
|
||||
const metricsReducer = FrescoPlugin.metricsReducer;
|
||||
expect(metricsReducer).toBeDefined();
|
||||
//$FlowFixMe: Added a check if the metricsReducer exists in FrescoPlugin
|
||||
const metrics = metricsReducer(persistedState);
|
||||
return expect(metrics).resolves.toMatchObject({WASTED_BYTES: 0});
|
||||
});
|
||||
@@ -252,7 +247,6 @@ test('the metric reducer with the multiple events', () => {
|
||||
};
|
||||
const metricsReducer = FrescoPlugin.metricsReducer;
|
||||
expect(metricsReducer).toBeDefined();
|
||||
//$FlowFixMe: Added a check if the metricsReducer exists in FrescoPlugin
|
||||
const metrics = metricsReducer(persistedState);
|
||||
return expect(metrics).resolves.toMatchObject({WASTED_BYTES: 160000});
|
||||
});
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @format
|
||||
* @flow
|
||||
*/
|
||||
|
||||
import {Leak} from './index';
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @format
|
||||
* @flow strict-local
|
||||
*/
|
||||
|
||||
import {filterMatchPatterns} from '../util/autoCompleteProvider';
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @format
|
||||
* @flow strict-local
|
||||
*/
|
||||
|
||||
import {
|
||||
|
||||
@@ -1141,7 +1141,7 @@
|
||||
core-js-compat "^3.6.2"
|
||||
semver "^5.5.0"
|
||||
|
||||
"@babel/preset-flow@^7.0.0", "@babel/preset-flow@^7.10.4":
|
||||
"@babel/preset-flow@^7.0.0":
|
||||
version "7.12.1"
|
||||
resolved "https://registry.yarnpkg.com/@babel/preset-flow/-/preset-flow-7.12.1.tgz#1a81d376c5a9549e75352a3888f8c273455ae940"
|
||||
integrity sha512-UAoyMdioAhM6H99qPoKvpHMzxmNVXno8GYU/7vZmGaHk6/KqfDYL1W0NxszVbJ2EP271b7e6Ox+Vk2A9QsB3Sw==
|
||||
@@ -6142,11 +6142,6 @@ flipper-client-sdk@^0.0.2:
|
||||
resolved "https://registry.yarnpkg.com/flipper-client-sdk/-/flipper-client-sdk-0.0.2.tgz#cb970908b9a948d1671d39e2ca050191753c99f7"
|
||||
integrity sha512-7l0yM9uaUEfi179iq9TEvZ2fzDF3t0EymTpxkP/scQWVSjw+bgHYv5G66EbBbqWdJhlTA7zWki5gTV+OylzghQ==
|
||||
|
||||
flow-bin@0.131.0:
|
||||
version "0.131.0"
|
||||
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.131.0.tgz#d4228b6070afdf3b2a76acdee77a7f3f8e8f5133"
|
||||
integrity sha512-fZmoIBcDrtLhy/NNMxwJysSYzMr1ksRcAOMi3AHSoYXfcuQqTvhGJx+wqjlIOqIwz8RRYm8J4V4JrSJbIKP+Xg==
|
||||
|
||||
flow-parser@0.*:
|
||||
version "0.110.0"
|
||||
resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.110.0.tgz#fa56d1fdc4bbeb488db8b9d0a685cb91939ab0ff"
|
||||
|
||||
@@ -22,7 +22,7 @@ const prettierConfig = {
|
||||
trailingComma: 'all',
|
||||
bracketSpacing: false,
|
||||
jsxBracketSameLine: true,
|
||||
parser: 'flow',
|
||||
parser: '',
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
@@ -59,7 +59,6 @@ module.exports = {
|
||||
// additional rules for this project
|
||||
'header/header': [2, 'block', {pattern}],
|
||||
'prettier/prettier': [2, prettierConfig],
|
||||
'flowtype/object-type-delimiter': [0],
|
||||
'import/no-unresolved': [2, {commonjs: true, amd: true}],
|
||||
},
|
||||
settings: {
|
||||
|
||||
Reference in New Issue
Block a user