nit: remove fallbackDeclaration.js

In the previous commit, I failed to remove this file.
This is a cleanup.

Test plan: `yarn test`
This commit is contained in:
Dandelion Mané 2019-05-19 15:50:03 +03:00
parent 467b781788
commit 1ea3c1ec94
1 changed files with 0 additions and 23 deletions

View File

@ -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",
});