@ecency/sdk 1.0.55 → 1.1.0
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/dist/ecency-sdk.es.js +300 -220
- package/dist/index.d.ts +0 -1
- package/dist/modules/accounts/mutations/use-account-update.d.ts +2 -5
- package/dist/modules/accounts/queries/get-account-full-query-options.d.ts +208 -328
- package/dist/modules/accounts/types/account-profile.d.ts +14 -0
- package/dist/modules/accounts/types/full-account.d.ts +52 -0
- package/dist/modules/accounts/types/index.d.ts +2 -0
- package/dist/modules/core/config.d.ts +1 -0
- package/dist/modules/core/index.d.ts +2 -0
- package/dist/modules/core/queries/get-dynamic-props-query-options.d.ts +9 -0
- package/dist/modules/core/queries/index.d.ts +1 -0
- package/dist/modules/core/types/dynamic-props.d.ts +15 -0
- package/dist/modules/core/types/index.d.ts +1 -0
- package/dist/modules/core/utils/index.d.ts +1 -0
- package/dist/modules/core/utils/parse-asset.d.ts +17 -0
- package/dist/modules/keychain/keychain.d.ts +1 -0
- package/package.json +1 -1
- package/dist/modules/hive-engine/index.d.ts +0 -1
- package/dist/modules/hive-engine/queries/index.d.ts +0 -1
- package/dist/modules/hive-engine/queries/use-get-hive-engine-tokens-list-query-options.d.ts +0 -8
- package/dist/modules/hive-engine/types/hive-engine-list-response.d.ts +0 -18
- package/dist/modules/hive-engine/types/index.d.ts +0 -1
package/dist/index.d.ts
CHANGED
@@ -1,15 +1,12 @@
|
|
1
|
+
import { AccountProfile } from '../types';
|
1
2
|
interface Payload {
|
2
|
-
profile:
|
3
|
+
profile: Partial<AccountProfile>;
|
3
4
|
tokens: {
|
4
5
|
symbol: string;
|
5
6
|
meta: {
|
6
7
|
address: string;
|
7
8
|
};
|
8
9
|
}[];
|
9
|
-
beneficiary: {
|
10
|
-
username: string;
|
11
|
-
reward: number;
|
12
|
-
};
|
13
10
|
}
|
14
11
|
export declare function useAccountUpdate(username: string): import('@tanstack/react-query').UseMutationResult<any, Error, Partial<Payload>, unknown>;
|
15
12
|
export {};
|
@@ -1,344 +1,224 @@
|
|
1
1
|
import { AccountFollowStats } from '../types';
|
2
2
|
export declare function getAccountFullQueryOptions(username: string): import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
|
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
|
-
|
3
|
+
name: any;
|
4
|
+
owner: any;
|
5
|
+
active: any;
|
6
|
+
posting: any;
|
7
|
+
memo_key: any;
|
8
|
+
post_count: any;
|
9
|
+
created: any;
|
10
|
+
posting_json_metadata: any;
|
11
|
+
last_vote_time: any;
|
12
|
+
last_post: any;
|
13
|
+
json_metadata: any;
|
14
|
+
reward_hive_balance: any;
|
15
|
+
reward_hbd_balance: any;
|
16
|
+
reward_vesting_hive: any;
|
17
|
+
reward_vesting_balance: any;
|
18
|
+
balance: any;
|
19
|
+
hbd_balance: any;
|
20
|
+
savings_balance: any;
|
21
|
+
savings_hbd_balance: any;
|
22
|
+
savings_hbd_last_interest_payment: any;
|
23
|
+
savings_hbd_seconds_last_update: any;
|
24
|
+
savings_hbd_seconds: any;
|
25
|
+
next_vesting_withdrawal: any;
|
26
|
+
pending_claimed_accounts: any;
|
27
|
+
vesting_shares: any;
|
28
|
+
delegated_vesting_shares: any;
|
29
|
+
received_vesting_shares: any;
|
30
|
+
vesting_withdraw_rate: any;
|
31
|
+
to_withdraw: any;
|
32
|
+
withdrawn: any;
|
33
|
+
witness_votes: any;
|
34
|
+
proxy: any;
|
35
|
+
recovery_account: any;
|
36
|
+
proxied_vsf_votes: any;
|
37
|
+
voting_manabar: any;
|
38
|
+
voting_power: any;
|
39
|
+
downvote_manabar: any;
|
40
|
+
follow_stats: AccountFollowStats | undefined;
|
41
|
+
reputation: number;
|
42
|
+
profile: {
|
43
|
+
reputation: number;
|
44
|
+
about?: string;
|
45
|
+
cover_image?: string;
|
46
|
+
location?: string;
|
47
|
+
name?: string;
|
48
|
+
profile_image?: string;
|
49
|
+
website?: string;
|
50
|
+
pinned?: string;
|
51
|
+
beneficiary?: {
|
52
|
+
account: string;
|
53
|
+
weight: number;
|
54
|
+
};
|
50
55
|
};
|
51
|
-
readonly balance: string | import('@hiveio/dhive').Asset;
|
52
|
-
readonly savings_balance: string | import('@hiveio/dhive').Asset;
|
53
|
-
readonly hbd_balance: string | import('@hiveio/dhive').Asset;
|
54
|
-
readonly hbd_seconds: string;
|
55
|
-
readonly hbd_seconds_last_update: string;
|
56
|
-
readonly hbd_last_interest_payment: string;
|
57
|
-
readonly savings_hbd_balance: string | import('@hiveio/dhive').Asset;
|
58
|
-
readonly savings_hbd_seconds: string;
|
59
|
-
readonly savings_hbd_seconds_last_update: string;
|
60
|
-
readonly savings_hbd_last_interest_payment: string;
|
61
|
-
readonly savings_withdraw_requests: number;
|
62
|
-
readonly reward_hbd_balance: string | import('@hiveio/dhive').Asset;
|
63
|
-
readonly reward_hive_balance: string | import('@hiveio/dhive').Asset;
|
64
|
-
readonly reward_vesting_balance: string | import('@hiveio/dhive').Asset;
|
65
|
-
readonly reward_vesting_hive: string | import('@hiveio/dhive').Asset;
|
66
|
-
readonly curation_rewards: number | string;
|
67
|
-
readonly posting_rewards: number | string;
|
68
|
-
readonly vesting_shares: string | import('@hiveio/dhive').Asset;
|
69
|
-
readonly delegated_vesting_shares: string | import('@hiveio/dhive').Asset;
|
70
|
-
readonly received_vesting_shares: string | import('@hiveio/dhive').Asset;
|
71
|
-
readonly vesting_withdraw_rate: string | import('@hiveio/dhive').Asset;
|
72
|
-
readonly next_vesting_withdrawal: string;
|
73
|
-
readonly withdrawn: number | string;
|
74
|
-
readonly to_withdraw: number | string;
|
75
|
-
readonly withdraw_routes: number;
|
76
|
-
readonly proxied_vsf_votes: number[];
|
77
|
-
readonly witnesses_voted_for: number;
|
78
|
-
readonly average_bandwidth: number | string;
|
79
|
-
readonly lifetime_bandwidth: number | string;
|
80
|
-
readonly last_bandwidth_update: string;
|
81
|
-
readonly average_market_bandwidth: number | string;
|
82
|
-
readonly lifetime_market_bandwidth: number | string;
|
83
|
-
readonly last_market_bandwidth_update: string;
|
84
|
-
readonly last_post: string;
|
85
|
-
readonly last_root_post: string;
|
86
56
|
}, Error, {
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
57
|
+
name: any;
|
58
|
+
owner: any;
|
59
|
+
active: any;
|
60
|
+
posting: any;
|
61
|
+
memo_key: any;
|
62
|
+
post_count: any;
|
63
|
+
created: any;
|
64
|
+
posting_json_metadata: any;
|
65
|
+
last_vote_time: any;
|
66
|
+
last_post: any;
|
67
|
+
json_metadata: any;
|
68
|
+
reward_hive_balance: any;
|
69
|
+
reward_hbd_balance: any;
|
70
|
+
reward_vesting_hive: any;
|
71
|
+
reward_vesting_balance: any;
|
72
|
+
balance: any;
|
73
|
+
hbd_balance: any;
|
74
|
+
savings_balance: any;
|
75
|
+
savings_hbd_balance: any;
|
76
|
+
savings_hbd_last_interest_payment: any;
|
77
|
+
savings_hbd_seconds_last_update: any;
|
78
|
+
savings_hbd_seconds: any;
|
79
|
+
next_vesting_withdrawal: any;
|
80
|
+
pending_claimed_accounts: any;
|
81
|
+
vesting_shares: any;
|
82
|
+
delegated_vesting_shares: any;
|
83
|
+
received_vesting_shares: any;
|
84
|
+
vesting_withdraw_rate: any;
|
85
|
+
to_withdraw: any;
|
86
|
+
withdrawn: any;
|
87
|
+
witness_votes: any;
|
88
|
+
proxy: any;
|
89
|
+
recovery_account: any;
|
90
|
+
proxied_vsf_votes: any;
|
91
|
+
voting_manabar: any;
|
92
|
+
voting_power: any;
|
93
|
+
downvote_manabar: any;
|
94
|
+
follow_stats: AccountFollowStats | undefined;
|
95
|
+
reputation: number;
|
96
|
+
profile: {
|
97
|
+
reputation: number;
|
98
|
+
about?: string;
|
99
|
+
cover_image?: string;
|
100
|
+
location?: string;
|
101
|
+
name?: string;
|
102
|
+
profile_image?: string;
|
103
|
+
website?: string;
|
104
|
+
pinned?: string;
|
105
|
+
beneficiary?: {
|
106
|
+
account: string;
|
107
|
+
weight: number;
|
108
|
+
};
|
134
109
|
};
|
135
|
-
readonly balance: string | import('@hiveio/dhive').Asset;
|
136
|
-
readonly savings_balance: string | import('@hiveio/dhive').Asset;
|
137
|
-
readonly hbd_balance: string | import('@hiveio/dhive').Asset;
|
138
|
-
readonly hbd_seconds: string;
|
139
|
-
readonly hbd_seconds_last_update: string;
|
140
|
-
readonly hbd_last_interest_payment: string;
|
141
|
-
readonly savings_hbd_balance: string | import('@hiveio/dhive').Asset;
|
142
|
-
readonly savings_hbd_seconds: string;
|
143
|
-
readonly savings_hbd_seconds_last_update: string;
|
144
|
-
readonly savings_hbd_last_interest_payment: string;
|
145
|
-
readonly savings_withdraw_requests: number;
|
146
|
-
readonly reward_hbd_balance: string | import('@hiveio/dhive').Asset;
|
147
|
-
readonly reward_hive_balance: string | import('@hiveio/dhive').Asset;
|
148
|
-
readonly reward_vesting_balance: string | import('@hiveio/dhive').Asset;
|
149
|
-
readonly reward_vesting_hive: string | import('@hiveio/dhive').Asset;
|
150
|
-
readonly curation_rewards: number | string;
|
151
|
-
readonly posting_rewards: number | string;
|
152
|
-
readonly vesting_shares: string | import('@hiveio/dhive').Asset;
|
153
|
-
readonly delegated_vesting_shares: string | import('@hiveio/dhive').Asset;
|
154
|
-
readonly received_vesting_shares: string | import('@hiveio/dhive').Asset;
|
155
|
-
readonly vesting_withdraw_rate: string | import('@hiveio/dhive').Asset;
|
156
|
-
readonly next_vesting_withdrawal: string;
|
157
|
-
readonly withdrawn: number | string;
|
158
|
-
readonly to_withdraw: number | string;
|
159
|
-
readonly withdraw_routes: number;
|
160
|
-
readonly proxied_vsf_votes: number[];
|
161
|
-
readonly witnesses_voted_for: number;
|
162
|
-
readonly average_bandwidth: number | string;
|
163
|
-
readonly lifetime_bandwidth: number | string;
|
164
|
-
readonly last_bandwidth_update: string;
|
165
|
-
readonly average_market_bandwidth: number | string;
|
166
|
-
readonly lifetime_market_bandwidth: number | string;
|
167
|
-
readonly last_market_bandwidth_update: string;
|
168
|
-
readonly last_post: string;
|
169
|
-
readonly last_root_post: string;
|
170
110
|
}, string[]>, "queryFn"> & {
|
171
111
|
queryFn?: import('@tanstack/query-core').QueryFunction<{
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
112
|
+
name: any;
|
113
|
+
owner: any;
|
114
|
+
active: any;
|
115
|
+
posting: any;
|
116
|
+
memo_key: any;
|
117
|
+
post_count: any;
|
118
|
+
created: any;
|
119
|
+
posting_json_metadata: any;
|
120
|
+
last_vote_time: any;
|
121
|
+
last_post: any;
|
122
|
+
json_metadata: any;
|
123
|
+
reward_hive_balance: any;
|
124
|
+
reward_hbd_balance: any;
|
125
|
+
reward_vesting_hive: any;
|
126
|
+
reward_vesting_balance: any;
|
127
|
+
balance: any;
|
128
|
+
hbd_balance: any;
|
129
|
+
savings_balance: any;
|
130
|
+
savings_hbd_balance: any;
|
131
|
+
savings_hbd_last_interest_payment: any;
|
132
|
+
savings_hbd_seconds_last_update: any;
|
133
|
+
savings_hbd_seconds: any;
|
134
|
+
next_vesting_withdrawal: any;
|
135
|
+
pending_claimed_accounts: any;
|
136
|
+
vesting_shares: any;
|
137
|
+
delegated_vesting_shares: any;
|
138
|
+
received_vesting_shares: any;
|
139
|
+
vesting_withdraw_rate: any;
|
140
|
+
to_withdraw: any;
|
141
|
+
withdrawn: any;
|
142
|
+
witness_votes: any;
|
143
|
+
proxy: any;
|
144
|
+
recovery_account: any;
|
145
|
+
proxied_vsf_votes: any;
|
146
|
+
voting_manabar: any;
|
147
|
+
voting_power: any;
|
148
|
+
downvote_manabar: any;
|
149
|
+
follow_stats: AccountFollowStats | undefined;
|
150
|
+
reputation: number;
|
151
|
+
profile: {
|
152
|
+
reputation: number;
|
153
|
+
about?: string;
|
154
|
+
cover_image?: string;
|
155
|
+
location?: string;
|
156
|
+
name?: string;
|
157
|
+
profile_image?: string;
|
158
|
+
website?: string;
|
159
|
+
pinned?: string;
|
160
|
+
beneficiary?: {
|
161
|
+
account: string;
|
162
|
+
weight: number;
|
163
|
+
};
|
219
164
|
};
|
220
|
-
readonly balance: string | import('@hiveio/dhive').Asset;
|
221
|
-
readonly savings_balance: string | import('@hiveio/dhive').Asset;
|
222
|
-
readonly hbd_balance: string | import('@hiveio/dhive').Asset;
|
223
|
-
readonly hbd_seconds: string;
|
224
|
-
readonly hbd_seconds_last_update: string;
|
225
|
-
readonly hbd_last_interest_payment: string;
|
226
|
-
readonly savings_hbd_balance: string | import('@hiveio/dhive').Asset;
|
227
|
-
readonly savings_hbd_seconds: string;
|
228
|
-
readonly savings_hbd_seconds_last_update: string;
|
229
|
-
readonly savings_hbd_last_interest_payment: string;
|
230
|
-
readonly savings_withdraw_requests: number;
|
231
|
-
readonly reward_hbd_balance: string | import('@hiveio/dhive').Asset;
|
232
|
-
readonly reward_hive_balance: string | import('@hiveio/dhive').Asset;
|
233
|
-
readonly reward_vesting_balance: string | import('@hiveio/dhive').Asset;
|
234
|
-
readonly reward_vesting_hive: string | import('@hiveio/dhive').Asset;
|
235
|
-
readonly curation_rewards: number | string;
|
236
|
-
readonly posting_rewards: number | string;
|
237
|
-
readonly vesting_shares: string | import('@hiveio/dhive').Asset;
|
238
|
-
readonly delegated_vesting_shares: string | import('@hiveio/dhive').Asset;
|
239
|
-
readonly received_vesting_shares: string | import('@hiveio/dhive').Asset;
|
240
|
-
readonly vesting_withdraw_rate: string | import('@hiveio/dhive').Asset;
|
241
|
-
readonly next_vesting_withdrawal: string;
|
242
|
-
readonly withdrawn: number | string;
|
243
|
-
readonly to_withdraw: number | string;
|
244
|
-
readonly withdraw_routes: number;
|
245
|
-
readonly proxied_vsf_votes: number[];
|
246
|
-
readonly witnesses_voted_for: number;
|
247
|
-
readonly average_bandwidth: number | string;
|
248
|
-
readonly lifetime_bandwidth: number | string;
|
249
|
-
readonly last_bandwidth_update: string;
|
250
|
-
readonly average_market_bandwidth: number | string;
|
251
|
-
readonly lifetime_market_bandwidth: number | string;
|
252
|
-
readonly last_market_bandwidth_update: string;
|
253
|
-
readonly last_post: string;
|
254
|
-
readonly last_root_post: string;
|
255
165
|
}, string[], never> | undefined;
|
256
166
|
} & {
|
257
167
|
queryKey: string[] & {
|
258
168
|
[dataTagSymbol]: {
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
169
|
+
name: any;
|
170
|
+
owner: any;
|
171
|
+
active: any;
|
172
|
+
posting: any;
|
173
|
+
memo_key: any;
|
174
|
+
post_count: any;
|
175
|
+
created: any;
|
176
|
+
posting_json_metadata: any;
|
177
|
+
last_vote_time: any;
|
178
|
+
last_post: any;
|
179
|
+
json_metadata: any;
|
180
|
+
reward_hive_balance: any;
|
181
|
+
reward_hbd_balance: any;
|
182
|
+
reward_vesting_hive: any;
|
183
|
+
reward_vesting_balance: any;
|
184
|
+
balance: any;
|
185
|
+
hbd_balance: any;
|
186
|
+
savings_balance: any;
|
187
|
+
savings_hbd_balance: any;
|
188
|
+
savings_hbd_last_interest_payment: any;
|
189
|
+
savings_hbd_seconds_last_update: any;
|
190
|
+
savings_hbd_seconds: any;
|
191
|
+
next_vesting_withdrawal: any;
|
192
|
+
pending_claimed_accounts: any;
|
193
|
+
vesting_shares: any;
|
194
|
+
delegated_vesting_shares: any;
|
195
|
+
received_vesting_shares: any;
|
196
|
+
vesting_withdraw_rate: any;
|
197
|
+
to_withdraw: any;
|
198
|
+
withdrawn: any;
|
199
|
+
witness_votes: any;
|
200
|
+
proxy: any;
|
201
|
+
recovery_account: any;
|
202
|
+
proxied_vsf_votes: any;
|
203
|
+
voting_manabar: any;
|
204
|
+
voting_power: any;
|
205
|
+
downvote_manabar: any;
|
206
|
+
follow_stats: AccountFollowStats | undefined;
|
207
|
+
reputation: number;
|
208
|
+
profile: {
|
209
|
+
reputation: number;
|
210
|
+
about?: string;
|
211
|
+
cover_image?: string;
|
212
|
+
location?: string;
|
213
|
+
name?: string;
|
214
|
+
profile_image?: string;
|
215
|
+
website?: string;
|
216
|
+
pinned?: string;
|
217
|
+
beneficiary?: {
|
218
|
+
account: string;
|
219
|
+
weight: number;
|
220
|
+
};
|
306
221
|
};
|
307
|
-
readonly balance: string | import('@hiveio/dhive').Asset;
|
308
|
-
readonly savings_balance: string | import('@hiveio/dhive').Asset;
|
309
|
-
readonly hbd_balance: string | import('@hiveio/dhive').Asset;
|
310
|
-
readonly hbd_seconds: string;
|
311
|
-
readonly hbd_seconds_last_update: string;
|
312
|
-
readonly hbd_last_interest_payment: string;
|
313
|
-
readonly savings_hbd_balance: string | import('@hiveio/dhive').Asset;
|
314
|
-
readonly savings_hbd_seconds: string;
|
315
|
-
readonly savings_hbd_seconds_last_update: string;
|
316
|
-
readonly savings_hbd_last_interest_payment: string;
|
317
|
-
readonly savings_withdraw_requests: number;
|
318
|
-
readonly reward_hbd_balance: string | import('@hiveio/dhive').Asset;
|
319
|
-
readonly reward_hive_balance: string | import('@hiveio/dhive').Asset;
|
320
|
-
readonly reward_vesting_balance: string | import('@hiveio/dhive').Asset;
|
321
|
-
readonly reward_vesting_hive: string | import('@hiveio/dhive').Asset;
|
322
|
-
readonly curation_rewards: number | string;
|
323
|
-
readonly posting_rewards: number | string;
|
324
|
-
readonly vesting_shares: string | import('@hiveio/dhive').Asset;
|
325
|
-
readonly delegated_vesting_shares: string | import('@hiveio/dhive').Asset;
|
326
|
-
readonly received_vesting_shares: string | import('@hiveio/dhive').Asset;
|
327
|
-
readonly vesting_withdraw_rate: string | import('@hiveio/dhive').Asset;
|
328
|
-
readonly next_vesting_withdrawal: string;
|
329
|
-
readonly withdrawn: number | string;
|
330
|
-
readonly to_withdraw: number | string;
|
331
|
-
readonly withdraw_routes: number;
|
332
|
-
readonly proxied_vsf_votes: number[];
|
333
|
-
readonly witnesses_voted_for: number;
|
334
|
-
readonly average_bandwidth: number | string;
|
335
|
-
readonly lifetime_bandwidth: number | string;
|
336
|
-
readonly last_bandwidth_update: string;
|
337
|
-
readonly average_market_bandwidth: number | string;
|
338
|
-
readonly lifetime_market_bandwidth: number | string;
|
339
|
-
readonly last_market_bandwidth_update: string;
|
340
|
-
readonly last_post: string;
|
341
|
-
readonly last_root_post: string;
|
342
222
|
};
|
343
223
|
[dataTagErrorSymbol]: Error;
|
344
224
|
};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
export interface AccountProfile {
|
2
|
+
about?: string;
|
3
|
+
cover_image?: string;
|
4
|
+
location?: string;
|
5
|
+
name?: string;
|
6
|
+
profile_image?: string;
|
7
|
+
website?: string;
|
8
|
+
pinned?: string;
|
9
|
+
reputation?: number;
|
10
|
+
beneficiary?: {
|
11
|
+
account: string;
|
12
|
+
weight: number;
|
13
|
+
};
|
14
|
+
}
|
@@ -0,0 +1,52 @@
|
|
1
|
+
import { Authority } from '@hiveio/dhive';
|
2
|
+
import { AccountFollowStats } from './account-follow-stats';
|
3
|
+
import { AccountProfile } from './account-profile';
|
4
|
+
export interface FullAccount {
|
5
|
+
name: string;
|
6
|
+
owner: Authority;
|
7
|
+
active: Authority;
|
8
|
+
posting: Authority;
|
9
|
+
memo_key: string;
|
10
|
+
post_count: number;
|
11
|
+
created: string;
|
12
|
+
reputation: string | number;
|
13
|
+
json_metadata: string;
|
14
|
+
posting_json_metadata: string;
|
15
|
+
last_vote_time: string;
|
16
|
+
last_post: string;
|
17
|
+
reward_hbd_balance: string;
|
18
|
+
reward_vesting_hive: string;
|
19
|
+
reward_hive_balance: string;
|
20
|
+
reward_vesting_balance: string;
|
21
|
+
balance: string;
|
22
|
+
vesting_shares: string;
|
23
|
+
hbd_balance: string;
|
24
|
+
savings_balance: string;
|
25
|
+
savings_hbd_balance: string;
|
26
|
+
savings_hbd_seconds: string;
|
27
|
+
savings_hbd_last_interest_payment: string;
|
28
|
+
savings_hbd_seconds_last_update: string;
|
29
|
+
next_vesting_withdrawal: string;
|
30
|
+
pending_claimed_accounts: number;
|
31
|
+
delegated_vesting_shares: string;
|
32
|
+
received_vesting_shares: string;
|
33
|
+
vesting_withdraw_rate: string;
|
34
|
+
to_withdraw: string;
|
35
|
+
withdrawn: string;
|
36
|
+
witness_votes: string[];
|
37
|
+
proxy: string;
|
38
|
+
recovery_account: string;
|
39
|
+
proxied_vsf_votes: number[] | string[];
|
40
|
+
voting_manabar: {
|
41
|
+
current_mana: string | number;
|
42
|
+
last_update_time: number;
|
43
|
+
};
|
44
|
+
voting_power: number;
|
45
|
+
downvote_manabar: {
|
46
|
+
current_mana: string | number;
|
47
|
+
last_update_time: number;
|
48
|
+
};
|
49
|
+
profile?: AccountProfile;
|
50
|
+
follow_stats?: AccountFollowStats;
|
51
|
+
proxyVotes?: [];
|
52
|
+
}
|
@@ -1,5 +1,7 @@
|
|
1
1
|
export * from './account-follow-stats';
|
2
2
|
export * from './account-reputation';
|
3
|
+
export * from './full-account';
|
3
4
|
export * from './account-relationship';
|
4
5
|
export * from './account-bookmark';
|
5
6
|
export * from './account-favourite';
|
7
|
+
export * from './account-profile';
|