hive-react-kit 0.0.23 → 0.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/dist/App.d.ts +0 -2
- package/dist/components/ActivityHistory.d.ts +0 -7
- package/dist/components/ActivityList.d.ts +0 -15
- package/dist/components/FollowersList.d.ts +0 -8
- package/dist/components/FollowingList.d.ts +0 -8
- package/dist/components/ListOfWitnesses.d.ts +0 -4
- package/dist/components/PostFeedList.d.ts +0 -17
- package/dist/components/ProposalsList.d.ts +0 -4
- package/dist/components/TransactionHistory.d.ts +0 -6
- package/dist/components/UpvoteListModal.d.ts +0 -11
- package/dist/components/VideoCard.d.ts +0 -9
- package/dist/components/VideoDetail.d.ts +0 -17
- package/dist/components/VideoFeed.d.ts +0 -11
- package/dist/components/VideoInfo.d.ts +0 -19
- package/dist/components/VoteSlider.d.ts +0 -7
- package/dist/components/Wallet.d.ts +0 -7
- package/dist/components/WitnessFilters.d.ts +0 -8
- package/dist/components/comments/AddCommentInput.d.ts +0 -10
- package/dist/components/comments/CommentSearchBar.d.ts +0 -8
- package/dist/components/comments/CommentTile.d.ts +0 -16
- package/dist/components/comments/CommentsModal.d.ts +0 -13
- package/dist/components/comments/ReplyModal.d.ts +0 -9
- package/dist/components/common/FavouriteWidget.d.ts +0 -10
- package/dist/components/community/CommunitiesList.d.ts +0 -5
- package/dist/components/community/CommunityAbout.d.ts +0 -5
- package/dist/components/community/CommunityDetail.d.ts +0 -16
- package/dist/components/community/CommunityDetails.d.ts +0 -13
- package/dist/components/community/CommunityMembers.d.ts +0 -6
- package/dist/components/community/CommunityTeam.d.ts +0 -6
- package/dist/components/index.d.ts +0 -25
- package/dist/components/modals/CommentsModal.d.ts +0 -8
- package/dist/components/modals/DescriptionModal.d.ts +0 -8
- package/dist/components/modals/Modal.d.ts +0 -10
- package/dist/components/modals/UpvoteListModal.d.ts +0 -7
- package/dist/components/user/UserAccount.d.ts +0 -14
- package/dist/components/user/UserFollowers.d.ts +0 -6
- package/dist/components/user/UserFollowing.d.ts +0 -6
- package/dist/components/user/UserInfo.d.ts +0 -5
- package/dist/components/user/UserProfilePage.d.ts +0 -16
- package/dist/hooks/CommunityFavouriteProvider.d.ts +0 -5
- package/dist/hooks/index.d.ts +0 -2
- package/dist/hooks/use-mobile.d.ts +0 -1
- package/dist/hooks/use-toast.d.ts +0 -52
- package/dist/index.d.ts +0 -37
- package/dist/main.d.ts +0 -1
- package/dist/pages/Index.d.ts +0 -2
- package/dist/pages/NotFound.d.ts +0 -2
- package/dist/pages/UserProfile.d.ts +0 -2
- package/dist/services/activityListService.d.ts +0 -79
- package/dist/services/activityService.d.ts +0 -104
- package/dist/services/apiService.d.ts +0 -51
- package/dist/services/communityService.d.ts +0 -15
- package/dist/services/proposalService.d.ts +0 -9
- package/dist/services/transactionService.d.ts +0 -69
- package/dist/services/userService.d.ts +0 -15
- package/dist/services/witnessService.d.ts +0 -61
- package/dist/store/index.d.ts +0 -2
- package/dist/store/walletStore.d.ts +0 -2
- package/dist/store/witnessStore.d.ts +0 -31
- package/dist/types/activity.d.ts +0 -108
- package/dist/types/activityList.d.ts +0 -46
- package/dist/types/comment.d.ts +0 -19
- package/dist/types/community.d.ts +0 -136
- package/dist/types/graphql.d.ts +0 -28
- package/dist/types/index.d.ts +0 -8
- package/dist/types/post.d.ts +0 -53
- package/dist/types/proposal.d.ts +0 -35
- package/dist/types/transaction.d.ts +0 -90
- package/dist/types/trending.d.ts +0 -4
- package/dist/types/user.d.ts +0 -135
- package/dist/types/video.d.ts +0 -106
- package/dist/types/wallet.d.ts +0 -17
- package/dist/types/witness.d.ts +0 -57
- package/dist/utils/thumbnail.d.ts +0 -1
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
export interface CommunityItem {
|
|
2
|
-
id?: number;
|
|
3
|
-
name?: string;
|
|
4
|
-
title?: string;
|
|
5
|
-
about?: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
type_id?: number;
|
|
8
|
-
is_nsfw?: boolean;
|
|
9
|
-
subscribers?: number;
|
|
10
|
-
sum_pending?: number;
|
|
11
|
-
num_authors?: number;
|
|
12
|
-
num_pending?: number;
|
|
13
|
-
team?: string[][];
|
|
14
|
-
avatar_url?: string;
|
|
15
|
-
lang?: string;
|
|
16
|
-
created_at?: string;
|
|
17
|
-
context?: Record<string, any>;
|
|
18
|
-
rank?: number;
|
|
19
|
-
score?: number;
|
|
20
|
-
flag_text?: string;
|
|
21
|
-
}
|
|
22
|
-
export interface CommunityDetailsResponse {
|
|
23
|
-
jsonrpc: string;
|
|
24
|
-
result: CommunityDetailsResult;
|
|
25
|
-
id: number;
|
|
26
|
-
}
|
|
27
|
-
export interface CommunityDetailsResult {
|
|
28
|
-
id: number;
|
|
29
|
-
name: string;
|
|
30
|
-
title: string;
|
|
31
|
-
about: string;
|
|
32
|
-
lang: string;
|
|
33
|
-
type_id: number;
|
|
34
|
-
is_nsfw: boolean;
|
|
35
|
-
subscribers: number;
|
|
36
|
-
created_at: string;
|
|
37
|
-
sum_pending: number;
|
|
38
|
-
num_pending: number;
|
|
39
|
-
num_authors: number;
|
|
40
|
-
avatar_url: string;
|
|
41
|
-
description: string;
|
|
42
|
-
flag_text: string;
|
|
43
|
-
team: string[][];
|
|
44
|
-
context: Record<string, any>;
|
|
45
|
-
settings?: Record<string, any>;
|
|
46
|
-
}
|
|
47
|
-
export interface CommunitySubscriber {
|
|
48
|
-
username: string;
|
|
49
|
-
role: string;
|
|
50
|
-
extra?: string;
|
|
51
|
-
subscribedAt: string;
|
|
52
|
-
}
|
|
53
|
-
export interface CommunitiesRequestParams {
|
|
54
|
-
limit?: number;
|
|
55
|
-
query?: string;
|
|
56
|
-
last?: string;
|
|
57
|
-
}
|
|
58
|
-
export interface CommunityAccount {
|
|
59
|
-
id: number;
|
|
60
|
-
name: string;
|
|
61
|
-
balance: string;
|
|
62
|
-
hbd_balance: string;
|
|
63
|
-
reward_hbd_balance: string;
|
|
64
|
-
reward_hive_balance: string;
|
|
65
|
-
reward_vesting_balance: string;
|
|
66
|
-
vesting_shares: string;
|
|
67
|
-
delegated_vesting_shares: string;
|
|
68
|
-
received_vesting_shares: string;
|
|
69
|
-
json_metadata: string;
|
|
70
|
-
posting_json_metadata: string;
|
|
71
|
-
created: string;
|
|
72
|
-
last_post: string;
|
|
73
|
-
last_root_post: string;
|
|
74
|
-
last_vote_time: string;
|
|
75
|
-
post_count: number;
|
|
76
|
-
can_vote: boolean;
|
|
77
|
-
voting_power: number;
|
|
78
|
-
reputation: number;
|
|
79
|
-
}
|
|
80
|
-
export interface CommunityPost {
|
|
81
|
-
id: number;
|
|
82
|
-
author: string;
|
|
83
|
-
permlink: string;
|
|
84
|
-
category: string;
|
|
85
|
-
title: string;
|
|
86
|
-
body: string;
|
|
87
|
-
json_metadata: any;
|
|
88
|
-
created: string;
|
|
89
|
-
last_update: string;
|
|
90
|
-
depth: number;
|
|
91
|
-
children: number;
|
|
92
|
-
net_rshares: number;
|
|
93
|
-
abs_rshares: number;
|
|
94
|
-
vote_rshares: number;
|
|
95
|
-
children_abs_rshares: number;
|
|
96
|
-
cashout_time: string;
|
|
97
|
-
max_cashout_time: string;
|
|
98
|
-
total_vote_weight: number;
|
|
99
|
-
reward_weight: number;
|
|
100
|
-
total_payout_value: string;
|
|
101
|
-
curator_payout_value: string;
|
|
102
|
-
author_payout_value: string;
|
|
103
|
-
pending_payout_value: string;
|
|
104
|
-
promoted: string;
|
|
105
|
-
total_pending_payout_value: string;
|
|
106
|
-
active_votes: any[];
|
|
107
|
-
replies: any[];
|
|
108
|
-
author_reputation: number;
|
|
109
|
-
stats: any;
|
|
110
|
-
beneficiaries: any[];
|
|
111
|
-
max_accepted_payout: string;
|
|
112
|
-
percent_hbd: number;
|
|
113
|
-
url: string;
|
|
114
|
-
payout: number;
|
|
115
|
-
payout_at: string;
|
|
116
|
-
is_paidout: boolean;
|
|
117
|
-
community: string;
|
|
118
|
-
community_title: string;
|
|
119
|
-
author_role: string;
|
|
120
|
-
author_title: string;
|
|
121
|
-
net_votes: number;
|
|
122
|
-
root_author: string;
|
|
123
|
-
root_permlink: string;
|
|
124
|
-
allow_replies: boolean;
|
|
125
|
-
allow_votes: boolean;
|
|
126
|
-
allow_curation_rewards: boolean;
|
|
127
|
-
reblogs: number;
|
|
128
|
-
}
|
|
129
|
-
export interface CommunityActivity {
|
|
130
|
-
id: number;
|
|
131
|
-
type: string;
|
|
132
|
-
date: string;
|
|
133
|
-
msg: string;
|
|
134
|
-
url?: string;
|
|
135
|
-
score?: number;
|
|
136
|
-
}
|
package/dist/types/graphql.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export interface GQLActiveVoter {
|
|
2
|
-
percent: number;
|
|
3
|
-
rshares: number;
|
|
4
|
-
voter: string;
|
|
5
|
-
weight: number;
|
|
6
|
-
}
|
|
7
|
-
export interface GQLStats {
|
|
8
|
-
active_voters: GQLActiveVoter[];
|
|
9
|
-
num_comments: number;
|
|
10
|
-
num_votes: number;
|
|
11
|
-
total_hive_reward: number;
|
|
12
|
-
}
|
|
13
|
-
export interface GQLAuthor {
|
|
14
|
-
username: string;
|
|
15
|
-
}
|
|
16
|
-
export interface GQLVideoItem {
|
|
17
|
-
created_at: string;
|
|
18
|
-
title: string;
|
|
19
|
-
permlink?: string;
|
|
20
|
-
lang?: string;
|
|
21
|
-
tags?: string[];
|
|
22
|
-
spkvideo?: any;
|
|
23
|
-
stats?: GQLStats;
|
|
24
|
-
author?: GQLAuthor;
|
|
25
|
-
json_metadata?: {
|
|
26
|
-
raw: any;
|
|
27
|
-
};
|
|
28
|
-
}
|
package/dist/types/index.d.ts
DELETED
package/dist/types/post.d.ts
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { ActiveVote } from './video';
|
|
2
|
-
export interface Beneficiary {
|
|
3
|
-
account: string;
|
|
4
|
-
weight: number;
|
|
5
|
-
}
|
|
6
|
-
export interface PostStats {
|
|
7
|
-
flag_weight: number;
|
|
8
|
-
gray: boolean;
|
|
9
|
-
hide: boolean;
|
|
10
|
-
total_votes: number;
|
|
11
|
-
}
|
|
12
|
-
export interface Post {
|
|
13
|
-
active_votes: ActiveVote[];
|
|
14
|
-
author: string;
|
|
15
|
-
author_payout_value: string;
|
|
16
|
-
author_reputation: number;
|
|
17
|
-
author_role?: string;
|
|
18
|
-
author_title?: string;
|
|
19
|
-
beneficiaries: Beneficiary[];
|
|
20
|
-
blacklists: any[];
|
|
21
|
-
body: string;
|
|
22
|
-
category: string;
|
|
23
|
-
children: number;
|
|
24
|
-
community: string;
|
|
25
|
-
community_title: string;
|
|
26
|
-
created: string;
|
|
27
|
-
curator_payout_value: string;
|
|
28
|
-
depth: number;
|
|
29
|
-
is_paidout: boolean;
|
|
30
|
-
json_metadata: {
|
|
31
|
-
app?: string;
|
|
32
|
-
description?: string;
|
|
33
|
-
format?: string;
|
|
34
|
-
image?: string[];
|
|
35
|
-
tags?: string[];
|
|
36
|
-
users?: string[];
|
|
37
|
-
};
|
|
38
|
-
max_accepted_payout: string;
|
|
39
|
-
net_rshares: number;
|
|
40
|
-
payout: number;
|
|
41
|
-
payout_at: string;
|
|
42
|
-
pending_payout_value: string;
|
|
43
|
-
percent_hbd: number;
|
|
44
|
-
permlink: string;
|
|
45
|
-
post_id: number;
|
|
46
|
-
reblogs: number;
|
|
47
|
-
replies: any[];
|
|
48
|
-
stats: PostStats;
|
|
49
|
-
title: string;
|
|
50
|
-
updated: string;
|
|
51
|
-
url: string;
|
|
52
|
-
}
|
|
53
|
-
export type PostSort = 'trending' | 'hot' | 'created';
|
package/dist/types/proposal.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export type Proposal = {
|
|
2
|
-
proposal_id: number;
|
|
3
|
-
subject: string;
|
|
4
|
-
permlink: string;
|
|
5
|
-
creator: string;
|
|
6
|
-
receiver: string;
|
|
7
|
-
start_date: string;
|
|
8
|
-
end_date: string;
|
|
9
|
-
total_hbd_received: string;
|
|
10
|
-
max_hbd_remaining: string;
|
|
11
|
-
all_votes_num: string;
|
|
12
|
-
all_votes_hp: string;
|
|
13
|
-
votes: Array<{
|
|
14
|
-
name: string;
|
|
15
|
-
hive_power: string;
|
|
16
|
-
proxied_hive_power: string;
|
|
17
|
-
}>;
|
|
18
|
-
status?: string;
|
|
19
|
-
daily_pay?: {
|
|
20
|
-
amount: string;
|
|
21
|
-
nai: string;
|
|
22
|
-
precision: number;
|
|
23
|
-
};
|
|
24
|
-
total_votes?: string;
|
|
25
|
-
daily_pay_hbd?: number;
|
|
26
|
-
remaining_days?: number;
|
|
27
|
-
vote_value_total?: number;
|
|
28
|
-
};
|
|
29
|
-
export interface ProposalsListProps {
|
|
30
|
-
onClickSupport: (proposal: Proposal) => void;
|
|
31
|
-
onClickVoteValue: (proposal: Proposal) => void;
|
|
32
|
-
onClickSelect: (proposal: Proposal) => void;
|
|
33
|
-
onClickUser: (proposal: Proposal) => void;
|
|
34
|
-
onClickAvatar: (proposal: Proposal) => void;
|
|
35
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
export interface TransactionHistoryItem {
|
|
2
|
-
trx_id: string;
|
|
3
|
-
block: number;
|
|
4
|
-
trx_in_block: number;
|
|
5
|
-
op_in_trx: number;
|
|
6
|
-
virtual_op: boolean;
|
|
7
|
-
timestamp: string;
|
|
8
|
-
op: any;
|
|
9
|
-
}
|
|
10
|
-
export interface TransactionHistoryParams {
|
|
11
|
-
account: string;
|
|
12
|
-
index?: number;
|
|
13
|
-
limit?: number;
|
|
14
|
-
start?: number;
|
|
15
|
-
stop?: number;
|
|
16
|
-
}
|
|
17
|
-
export interface TransactionHistoryResponse {
|
|
18
|
-
result: TransactionHistoryItem[];
|
|
19
|
-
}
|
|
20
|
-
export interface TransferOperation {
|
|
21
|
-
type: 'transfer';
|
|
22
|
-
value: {
|
|
23
|
-
from: string;
|
|
24
|
-
to: string;
|
|
25
|
-
amount: string;
|
|
26
|
-
memo: string;
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
export interface VoteOperation {
|
|
30
|
-
type: 'vote';
|
|
31
|
-
value: {
|
|
32
|
-
voter: string;
|
|
33
|
-
author: string;
|
|
34
|
-
permlink: string;
|
|
35
|
-
weight: number;
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
export interface CommentOperation {
|
|
39
|
-
type: 'comment';
|
|
40
|
-
value: {
|
|
41
|
-
parent_author: string;
|
|
42
|
-
parent_permlink: string;
|
|
43
|
-
author: string;
|
|
44
|
-
permlink: string;
|
|
45
|
-
title: string;
|
|
46
|
-
body: string;
|
|
47
|
-
json_metadata: string;
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
export interface CustomJsonOperation {
|
|
51
|
-
type: 'custom_json';
|
|
52
|
-
value: {
|
|
53
|
-
required_auths: string[];
|
|
54
|
-
required_posting_auths: string[];
|
|
55
|
-
id: string;
|
|
56
|
-
json: string;
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
export interface CommentPayoutUpdateOperation {
|
|
60
|
-
type: "comment_payout_update";
|
|
61
|
-
value: {
|
|
62
|
-
author: string;
|
|
63
|
-
permlink: string;
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
export interface CommentOptionsOperation {
|
|
67
|
-
type: "comment_options";
|
|
68
|
-
value: {
|
|
69
|
-
author: string;
|
|
70
|
-
permlink: string;
|
|
71
|
-
max_accepted_payout: string;
|
|
72
|
-
percent_hbd: number;
|
|
73
|
-
allow_votes: boolean;
|
|
74
|
-
allow_curation_rewards: boolean;
|
|
75
|
-
extensions: any[];
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
export interface EffectiveCommentVoteOperation {
|
|
79
|
-
type: "effective_comment_vote";
|
|
80
|
-
value: {
|
|
81
|
-
voter: string;
|
|
82
|
-
author: string;
|
|
83
|
-
permlink: string;
|
|
84
|
-
pending_payout: string;
|
|
85
|
-
weight: number;
|
|
86
|
-
rshares: number;
|
|
87
|
-
total_vote_weight: number;
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
export type Operation = TransferOperation | VoteOperation | CommentOperation | CustomJsonOperation | CommentPayoutUpdateOperation | CommentOptionsOperation | EffectiveCommentVoteOperation;
|
package/dist/types/trending.d.ts
DELETED
package/dist/types/user.d.ts
DELETED
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
export interface UserProfileResponse {
|
|
2
|
-
id: number;
|
|
3
|
-
jsonrpc: string;
|
|
4
|
-
result: {
|
|
5
|
-
active: string;
|
|
6
|
-
blacklists: any[];
|
|
7
|
-
created: string;
|
|
8
|
-
id: number;
|
|
9
|
-
metadata: {
|
|
10
|
-
profile: {
|
|
11
|
-
about: string;
|
|
12
|
-
blacklist_description: string;
|
|
13
|
-
cover_image: string;
|
|
14
|
-
location: string;
|
|
15
|
-
muted_list_description: string;
|
|
16
|
-
name: string;
|
|
17
|
-
profile_image: string;
|
|
18
|
-
website: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
name: string;
|
|
22
|
-
post_count: number;
|
|
23
|
-
reputation: number;
|
|
24
|
-
stats: {
|
|
25
|
-
followers: number;
|
|
26
|
-
following: number;
|
|
27
|
-
rank: number;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
export interface Follower {
|
|
32
|
-
follower: string;
|
|
33
|
-
following: string;
|
|
34
|
-
what: string[];
|
|
35
|
-
}
|
|
36
|
-
export interface Following {
|
|
37
|
-
follower: string;
|
|
38
|
-
following: string;
|
|
39
|
-
what: string[];
|
|
40
|
-
}
|
|
41
|
-
export interface User {
|
|
42
|
-
username: string;
|
|
43
|
-
token: string;
|
|
44
|
-
}
|
|
45
|
-
export interface Account {
|
|
46
|
-
id: number;
|
|
47
|
-
name: string;
|
|
48
|
-
balance: string;
|
|
49
|
-
hbd_balance: string;
|
|
50
|
-
vesting_shares: string;
|
|
51
|
-
voting_power: number;
|
|
52
|
-
last_post: string;
|
|
53
|
-
last_root_post: string;
|
|
54
|
-
posting_json_metadata: string;
|
|
55
|
-
reputation: number;
|
|
56
|
-
can_vote: boolean;
|
|
57
|
-
comment_count: number;
|
|
58
|
-
created: string;
|
|
59
|
-
curation_rewards: number;
|
|
60
|
-
delayed_votes: any[];
|
|
61
|
-
delegated_vesting_shares: string;
|
|
62
|
-
downvote_manabar: {
|
|
63
|
-
current_mana: number;
|
|
64
|
-
last_update_time: number;
|
|
65
|
-
};
|
|
66
|
-
governance_vote_expiration_ts: string;
|
|
67
|
-
guest_bloggers: any[];
|
|
68
|
-
hbd_last_interest_payment: string;
|
|
69
|
-
hbd_seconds: string;
|
|
70
|
-
hbd_seconds_last_update: string;
|
|
71
|
-
json_metadata: string;
|
|
72
|
-
last_account_recovery: string;
|
|
73
|
-
last_account_update: string;
|
|
74
|
-
last_owner_update: string;
|
|
75
|
-
last_vote_time: string;
|
|
76
|
-
lifetime_vote_count: number;
|
|
77
|
-
market_history: any[];
|
|
78
|
-
memo_key: string;
|
|
79
|
-
mined: boolean;
|
|
80
|
-
next_vesting_withdrawal: string;
|
|
81
|
-
open_recurrent_transfers: number;
|
|
82
|
-
other_history: any[];
|
|
83
|
-
owner: {
|
|
84
|
-
account_auths: any[];
|
|
85
|
-
key_auths: [string, number][];
|
|
86
|
-
weight_threshold: number;
|
|
87
|
-
};
|
|
88
|
-
pending_claimed_accounts: number;
|
|
89
|
-
pending_transfers: number;
|
|
90
|
-
post_bandwidth: number;
|
|
91
|
-
post_count: number;
|
|
92
|
-
post_history: any[];
|
|
93
|
-
post_voting_power: string;
|
|
94
|
-
posting: {
|
|
95
|
-
account_auths: [string, number][];
|
|
96
|
-
key_auths: [string, number][];
|
|
97
|
-
weight_threshold: number;
|
|
98
|
-
};
|
|
99
|
-
posting_rewards: number;
|
|
100
|
-
previous_owner_update: string;
|
|
101
|
-
proxied_vsf_votes: number[];
|
|
102
|
-
proxy: string;
|
|
103
|
-
received_vesting_shares: string;
|
|
104
|
-
recovery_account: string;
|
|
105
|
-
reset_account: string;
|
|
106
|
-
reward_hbd_balance: string;
|
|
107
|
-
reward_hive_balance: string;
|
|
108
|
-
reward_vesting_balance: string;
|
|
109
|
-
reward_vesting_hive: string;
|
|
110
|
-
savings_balance: string;
|
|
111
|
-
savings_hbd_balance: string;
|
|
112
|
-
savings_hbd_last_interest_payment: string;
|
|
113
|
-
savings_hbd_seconds: string;
|
|
114
|
-
savings_hbd_seconds_last_update: string;
|
|
115
|
-
savings_withdraw_requests: number;
|
|
116
|
-
tags_usage: any[];
|
|
117
|
-
to_withdraw: number;
|
|
118
|
-
transfer_history: any[];
|
|
119
|
-
vesting_balance: string;
|
|
120
|
-
vesting_withdraw_rate: string;
|
|
121
|
-
vote_history: any[];
|
|
122
|
-
voting_manabar: {
|
|
123
|
-
current_mana: number;
|
|
124
|
-
last_update_time: number;
|
|
125
|
-
};
|
|
126
|
-
withdraw_routes: number;
|
|
127
|
-
withdrawn: number;
|
|
128
|
-
witness_votes: string[];
|
|
129
|
-
witnesses_voted_for: number;
|
|
130
|
-
active: {
|
|
131
|
-
account_auths: any[];
|
|
132
|
-
key_auths: [string, number][];
|
|
133
|
-
weight_threshold: number;
|
|
134
|
-
};
|
|
135
|
-
}
|
package/dist/types/video.d.ts
DELETED
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
export interface ThreeSpeakVideo {
|
|
2
|
-
encoding?: Record<string, boolean>;
|
|
3
|
-
updateSteem?: boolean;
|
|
4
|
-
lowRc?: boolean;
|
|
5
|
-
needsBlockchainUpdate?: boolean;
|
|
6
|
-
status?: string;
|
|
7
|
-
encodingPriceSteem?: string;
|
|
8
|
-
paid?: boolean;
|
|
9
|
-
encodingProgress?: number;
|
|
10
|
-
created?: Date;
|
|
11
|
-
is3CjContent?: boolean;
|
|
12
|
-
isVod?: boolean;
|
|
13
|
-
isNsfwContent?: boolean;
|
|
14
|
-
declineRewards?: boolean;
|
|
15
|
-
rewardPowerup?: boolean;
|
|
16
|
-
language?: string;
|
|
17
|
-
category?: string;
|
|
18
|
-
firstUpload?: boolean;
|
|
19
|
-
community?: string;
|
|
20
|
-
indexed?: boolean;
|
|
21
|
-
views?: number;
|
|
22
|
-
hive?: string;
|
|
23
|
-
upvoteEligible?: boolean;
|
|
24
|
-
publishType?: string;
|
|
25
|
-
beneficiaries?: string;
|
|
26
|
-
votePercent?: number;
|
|
27
|
-
reducedUpvote?: boolean;
|
|
28
|
-
donations?: boolean;
|
|
29
|
-
postToHiveBlog?: boolean;
|
|
30
|
-
tagsV2?: string[];
|
|
31
|
-
fromMobile?: boolean;
|
|
32
|
-
isReel?: boolean;
|
|
33
|
-
width?: number;
|
|
34
|
-
height?: number;
|
|
35
|
-
isAudio?: boolean;
|
|
36
|
-
jsonMetaDataAppName?: any;
|
|
37
|
-
id?: string;
|
|
38
|
-
originalFilename?: string;
|
|
39
|
-
permlink?: string;
|
|
40
|
-
duration?: number;
|
|
41
|
-
size?: number;
|
|
42
|
-
owner?: string;
|
|
43
|
-
uploadType?: string;
|
|
44
|
-
title?: string;
|
|
45
|
-
description?: string;
|
|
46
|
-
tags?: string;
|
|
47
|
-
v?: number;
|
|
48
|
-
filename?: string;
|
|
49
|
-
localFilename?: string;
|
|
50
|
-
thumbnail?: string;
|
|
51
|
-
video_v2?: string;
|
|
52
|
-
badges?: any[];
|
|
53
|
-
curationComplete?: boolean;
|
|
54
|
-
hasAudioOnlyVersion?: boolean;
|
|
55
|
-
hasTorrent?: boolean;
|
|
56
|
-
isB2?: boolean;
|
|
57
|
-
needsHiveUpdate?: boolean;
|
|
58
|
-
pinned?: boolean;
|
|
59
|
-
publishFailed?: boolean;
|
|
60
|
-
recommended?: boolean;
|
|
61
|
-
score?: number;
|
|
62
|
-
steemPosted?: boolean;
|
|
63
|
-
jobId?: string;
|
|
64
|
-
numOfUpvotes?: number;
|
|
65
|
-
numOfComments?: number;
|
|
66
|
-
hiveValue?: number;
|
|
67
|
-
active_votes?: ActiveVote[];
|
|
68
|
-
}
|
|
69
|
-
export interface VideoFeedItem {
|
|
70
|
-
title: string;
|
|
71
|
-
author: string;
|
|
72
|
-
permlink: string;
|
|
73
|
-
created: Date;
|
|
74
|
-
category: string;
|
|
75
|
-
numOfUpvotes?: number;
|
|
76
|
-
numOfComments?: number;
|
|
77
|
-
hiveValue?: number;
|
|
78
|
-
duration?: number;
|
|
79
|
-
thumbnail?: string;
|
|
80
|
-
views?: number;
|
|
81
|
-
}
|
|
82
|
-
export declare enum ApiVideoFeedType {
|
|
83
|
-
HOME = "home",
|
|
84
|
-
TRENDING = "trending",
|
|
85
|
-
NEW_VIDEOS = "newVideos",
|
|
86
|
-
FIRST_UPLOADS = "firstUploads",
|
|
87
|
-
USER = "user",
|
|
88
|
-
COMMUNITY = "community",
|
|
89
|
-
RELATED = "related",
|
|
90
|
-
TAG_FEED = "tag_feed",
|
|
91
|
-
SEARCH = "search"
|
|
92
|
-
}
|
|
93
|
-
export interface LoginModel {
|
|
94
|
-
challenge: string;
|
|
95
|
-
proof: string;
|
|
96
|
-
publicKey: string;
|
|
97
|
-
username: string;
|
|
98
|
-
}
|
|
99
|
-
export interface ActiveVote {
|
|
100
|
-
voter: string;
|
|
101
|
-
rshares: number;
|
|
102
|
-
percent?: number;
|
|
103
|
-
reputation?: number;
|
|
104
|
-
time?: string;
|
|
105
|
-
weight?: number;
|
|
106
|
-
}
|
package/dist/types/wallet.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export interface WalletData {
|
|
2
|
-
balance: string;
|
|
3
|
-
hbd_balance: string;
|
|
4
|
-
savings_balance: string;
|
|
5
|
-
savings_hbd_balance: string;
|
|
6
|
-
hive_power: string;
|
|
7
|
-
estimated_value: string;
|
|
8
|
-
error?: string;
|
|
9
|
-
}
|
|
10
|
-
export interface WalletStore {
|
|
11
|
-
walletData: WalletData | null;
|
|
12
|
-
isLoading: boolean;
|
|
13
|
-
error: string | null;
|
|
14
|
-
setWalletData: (data: WalletData | null) => void;
|
|
15
|
-
clearWalletData: () => void;
|
|
16
|
-
fetchWalletData: (username: string) => Promise<WalletData>;
|
|
17
|
-
}
|
package/dist/types/witness.d.ts
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
export interface Witness {
|
|
2
|
-
available_witness_account_subsidies: number;
|
|
3
|
-
created: string;
|
|
4
|
-
hardfork_time_vote: string;
|
|
5
|
-
hardfork_version_vote: string;
|
|
6
|
-
hbd_exchange_rate: {
|
|
7
|
-
base: string;
|
|
8
|
-
quote: string;
|
|
9
|
-
};
|
|
10
|
-
id: number;
|
|
11
|
-
last_aslot: number;
|
|
12
|
-
last_confirmed_block_num: number;
|
|
13
|
-
last_hbd_exchange_update: string;
|
|
14
|
-
last_work: string;
|
|
15
|
-
owner: string;
|
|
16
|
-
pow_worker: number;
|
|
17
|
-
props: {
|
|
18
|
-
account_creation_fee: string;
|
|
19
|
-
account_subsidy_budget: number;
|
|
20
|
-
account_subsidy_decay: number;
|
|
21
|
-
hbd_interest_rate: number;
|
|
22
|
-
maximum_block_size: number;
|
|
23
|
-
};
|
|
24
|
-
running_version: string;
|
|
25
|
-
signing_key: string;
|
|
26
|
-
total_missed: number;
|
|
27
|
-
url: string;
|
|
28
|
-
virtual_last_update: string;
|
|
29
|
-
virtual_position: string;
|
|
30
|
-
virtual_scheduled_time: string;
|
|
31
|
-
votes: string;
|
|
32
|
-
}
|
|
33
|
-
export interface WitnessVote {
|
|
34
|
-
account: string;
|
|
35
|
-
id: number;
|
|
36
|
-
witness: string;
|
|
37
|
-
}
|
|
38
|
-
export interface WitnessVotesResponse {
|
|
39
|
-
votes: WitnessVote[];
|
|
40
|
-
}
|
|
41
|
-
export interface Account {
|
|
42
|
-
name: string;
|
|
43
|
-
witness_votes: string[];
|
|
44
|
-
[key: string]: any;
|
|
45
|
-
}
|
|
46
|
-
export interface WitnessFilters {
|
|
47
|
-
status: 'all' | 'active' | 'disabled' | 'approved';
|
|
48
|
-
name: string;
|
|
49
|
-
version: string;
|
|
50
|
-
}
|
|
51
|
-
export interface ListOfWitnessesProps {
|
|
52
|
-
username?: string;
|
|
53
|
-
filters?: WitnessFilters;
|
|
54
|
-
onWitnessVoteClick?: (witness: string) => void;
|
|
55
|
-
onWitnessStatsClick?: (witness: string) => void;
|
|
56
|
-
onWitnessUrlClick?: (url: string) => void;
|
|
57
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const formatThumbnailUrl: (thumbnail?: string) => string;
|