first commit of refactor
This commit is contained in:
17
backend/domain/ObservedTx.js
Normal file
17
backend/domain/ObservedTx.js
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
/**
|
||||
* @typedef {import('./NormalizedTx.js').NormalizedTx} NormalizedTx
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {Object} ObservedTxMetadata
|
||||
* @property {number} addressId - ID of the tracked address (from addresses table)
|
||||
* @property {'incoming'|'outgoing'} direction - Direction relative to tracked address
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {NormalizedTx & ObservedTxMetadata} ObservedTx
|
||||
*/
|
||||
|
||||
export default {};
|
||||
|
||||
Reference in New Issue
Block a user