From 1ea3c1ec945c4b06501ec0e0c7ddfeea8a153660 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dandelion=20Man=C3=A9?= Date: Sun, 19 May 2019 15:50:03 +0300 Subject: [PATCH] nit: remove fallbackDeclaration.js In the previous commit, I failed to remove this file. This is a cleanup. Test plan: `yarn test` --- src/analysis/fallbackDeclaration.js | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 src/analysis/fallbackDeclaration.js diff --git a/src/analysis/fallbackDeclaration.js b/src/analysis/fallbackDeclaration.js deleted file mode 100644 index eb696a7..0000000 --- a/src/analysis/fallbackDeclaration.js +++ /dev/null @@ -1,23 +0,0 @@ -// @flow - -import {NodeAddress, EdgeAddress} from "../core/graph"; - -import type {EdgeType, NodeType} from "./types"; - -export const fallbackNodeType: NodeType = Object.freeze({ - name: "node", - pluralName: "nodes", - prefix: NodeAddress.empty, - defaultWeight: 1, - description: - "The fallback NodeType for nodes which don't have any other type", -}); - -export const fallbackEdgeType: EdgeType = Object.freeze({ - forwardName: "points to", - backwardName: "is pointed to by", - defaultWeight: {forwards: 1, backwards: 1}, - prefix: EdgeAddress.empty, - description: - "The fallback EdgeType for edges which don't have any other type", -});