2019-08-23 10:10:07 +02:00
|
|
|
// @flow
|
|
|
|
declare type LbryUrlObj = {
|
|
|
|
// Path and channel will always exist when calling parseURI
|
|
|
|
// But they may not exist when code calls buildURI
|
|
|
|
isChannel?: boolean,
|
|
|
|
path?: string,
|
|
|
|
streamName?: string,
|
|
|
|
streamClaimId?: string,
|
|
|
|
channelName?: string,
|
|
|
|
channelClaimId?: string,
|
|
|
|
primaryClaimSequence?: number,
|
|
|
|
secondaryClaimSequence?: number,
|
|
|
|
primaryBidPosition?: number,
|
|
|
|
secondaryBidPosition?: number,
|
2020-05-11 16:09:38 +02:00
|
|
|
startTime?: number,
|
2019-08-23 10:10:07 +02:00
|
|
|
|
|
|
|
// Below are considered deprecated and should not be used due to unreliableness with claim.canonical_url
|
|
|
|
claimName?: string,
|
|
|
|
claimId?: string,
|
|
|
|
contentName?: string,
|
|
|
|
};
|