-
Notifications
You must be signed in to change notification settings - Fork 10
/
interfaces.ts
74 lines (70 loc) · 2.27 KB
/
interfaces.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/**
* Bungie.Net API
* These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
*
* OpenAPI spec version: 2.3.5
* Contact: support@bungie.com
*
* NOTE: This class is auto generated by the bungie-api-ts code generator program.
* https://github.com/DestinyItemManager/bugie-api-ts
* Do not edit these files manually.
*/
import {
PagedQuery
} from '../common';
import {
PartnershipType
} from '../platform';
import {
UserInfoCard
} from '../user/interfaces';
export const enum CommunityStatusSort {
Viewers = 0,
Trending = 1,
OverallViewers = 2,
Followers = 3
}
export interface SearchResultOfCommunityLiveStatus {
readonly results: CommunityLiveStatus[];
readonly totalResults: number;
readonly hasMore: boolean;
readonly query: PagedQuery;
readonly replacementContinuationToken: string;
/**
* If useTotalResults is true, then totalResults represents an accurate count.
*
* If False, it does not, and may be estimated/only the size of the current page.
*
* Either way, you should probably always only trust hasMore.
*
* This is a long-held historical throwback to when we used to do paging with known
* total results. Those queries toasted our database, and we were left to hastily
* alter our endpoints and create backward- compatible shims, of which
* useTotalResults is one.
*/
readonly useTotalResults: boolean;
}
export interface CommunityLiveStatus {
readonly dateStatusUpdated: string;
readonly url: string;
readonly partnershipIdentifier: string;
readonly partnershipType: PartnershipType;
readonly thumbnail: string;
readonly thumbnailSmall: string;
readonly thumbnailLarge: string;
readonly destinyCharacterId: string;
readonly userInfo: UserInfoCard;
readonly currentActivityHash: number;
readonly dateLastPlayed: string;
readonly dateStreamStarted: string;
readonly locale: string;
readonly currentViewers: number;
readonly followers: number;
readonly overallViewers: number;
readonly isFeatured: boolean;
readonly title: string;
readonly activityModeHash: number;
readonly dateFeatured?: string;
readonly trendingValue: number;
readonly isSubscribable: boolean;
}