Rename `sourceId`/`destId` to `src`/`dst` (#46)

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
This commit is contained in:
William Chargin 2018-03-01 00:32:30 -08:00 committed by GitHub
parent cde98cd67b
commit 43450f18b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,8 @@ export type Node<T> = {
export type Edge<T> = { export type Edge<T> = {
address: Address, address: Address,
sourceId: Address, src: Address,
destId: Address, dst: Address,
weight: number, weight: number,
payload: T, payload: T,
}; };