From 43450f18b1fc9061843015bbc74fbb8b3b3e255f Mon Sep 17 00:00:00 2001 From: William Chargin Date: Thu, 1 Mar 2018 00:32:30 -0800 Subject: [PATCH] Rename `sourceId`/`destId` to `src`/`dst` (#46) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: The “ID” parts were left-over from the Great Address Migration, and we think that abbreviations are fine here, anyway. Test Plan: `yarn flow && yarn test` wchargin-branch: src-dst-rename --- src/backend/graph.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/graph.js b/src/backend/graph.js index cbd9d0c..3785775 100644 --- a/src/backend/graph.js +++ b/src/backend/graph.js @@ -15,8 +15,8 @@ export type Node = { export type Edge = { address: Address, - sourceId: Address, - destId: Address, + src: Address, + dst: Address, weight: number, payload: T, };