add Fee type
This commit is contained in:
parent
8629f10765
commit
cc42856676
2 changed files with 14 additions and 10 deletions
12
dist/flow-typed/Claim.js
vendored
12
dist/flow-typed/Claim.js
vendored
|
@ -79,11 +79,7 @@ declare type StreamMetadata = GenericMetadata & {
|
|||
},
|
||||
|
||||
// Only exists if a stream has a fee
|
||||
fee?: {
|
||||
amount: number, // should be a string https://github.com/lbryio/lbry/issues/1576
|
||||
currency: string,
|
||||
address: string,
|
||||
},
|
||||
fee?: Fee,
|
||||
|
||||
stream_type: 'video' | 'audio' | 'image' | 'software',
|
||||
// Below correspond to `stream_type`
|
||||
|
@ -111,3 +107,9 @@ declare type Location = {
|
|||
state?: string,
|
||||
code?: string,
|
||||
};
|
||||
|
||||
declare type Fee = {
|
||||
amount: number, // should be a string https://github.com/lbryio/lbry/issues/1576
|
||||
currency: string,
|
||||
address: string,
|
||||
};
|
||||
|
|
12
flow-typed/Claim.js
vendored
12
flow-typed/Claim.js
vendored
|
@ -79,11 +79,7 @@ declare type StreamMetadata = GenericMetadata & {
|
|||
},
|
||||
|
||||
// Only exists if a stream has a fee
|
||||
fee?: {
|
||||
amount: number, // should be a string https://github.com/lbryio/lbry/issues/1576
|
||||
currency: string,
|
||||
address: string,
|
||||
},
|
||||
fee?: Fee,
|
||||
|
||||
stream_type: 'video' | 'audio' | 'image' | 'software',
|
||||
// Below correspond to `stream_type`
|
||||
|
@ -111,3 +107,9 @@ declare type Location = {
|
|||
state?: string,
|
||||
code?: string,
|
||||
};
|
||||
|
||||
declare type Fee = {
|
||||
amount: number, // should be a string https://github.com/lbryio/lbry/issues/1576
|
||||
currency: string,
|
||||
address: string,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue