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:
parent
cde98cd67b
commit
43450f18b1
|
@ -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,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue