Removed flow-types file

Summary: This completes the navigation plugin ts migration by removing the flow types file.

Reviewed By: passy

Differential Revision: D17181605

fbshipit-source-id: b4931d28664e990c37dea229a7fe3f52685e5ee7
This commit is contained in:
Benjamin Elo
2019-09-05 05:47:57 -07:00
committed by Facebook Github Bot
parent ffd4a29bba
commit 4e71d9b1ea
2 changed files with 4 additions and 58 deletions

View File

@@ -1,53 +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 strict-local
*/
export type URI = string;
export type State = {|
shouldShowSaveBookmarkDialog: boolean,
shouldShowURIErrorDialog: boolean,
saveBookmarkURI: ?URI,
requiredParameters: Array<string>,
|};
export type PersistedState = {|
bookmarks: Map<URI, Bookmark>,
navigationEvents: Array<NavigationEvent>,
bookmarksProvider: AutoCompleteProvider,
appMatchPatterns: Array<AppMatchPattern>,
appMatchPatternsProvider: AutoCompleteProvider,
currentURI: string,
|};
export type NavigationEvent = {|
date: ?Date,
uri: ?URI,
className: ?string,
screenshot: ?string,
|};
export type Bookmark = {|
uri: URI,
commonName: string,
|};
export type AutoCompleteProvider = {|
icon: string,
matchPatterns: Map<string, URI>,
|};
export type AutoCompleteLineItem = {|
icon: string,
matchPattern: string,
uri: URI,
|};
export type AppMatchPattern = {|
className: string,
pattern: string,
|};