@ecency/sdk 1.0.56 → 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/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  export * from './modules/accounts';
2
2
  export * from './modules/operations';
3
3
  export * from './modules/core';
4
- export * from './modules/hive-engine';
5
4
  export * from './modules/keychain';
6
5
  export * from './modules/posts';
7
6
  export * from './modules/analytics';
@@ -1,396 +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
- readonly follow_stats: AccountFollowStats | undefined;
4
- readonly reputation: number;
5
- readonly profile: {
6
- readonly reputation: number;
7
- readonly about?: string;
8
- readonly cover_image?: string;
9
- readonly location?: string;
10
- readonly name?: string;
11
- readonly profile_image?: string;
12
- readonly website?: string;
13
- readonly pinned?: string;
14
- readonly beneficiary?: {
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?: {
15
52
  account: string;
16
53
  weight: number;
17
54
  };
18
55
  };
19
- readonly vesting_balance: string | import('@hiveio/dhive').Asset;
20
- readonly transfer_history: any[];
21
- readonly market_history: any[];
22
- readonly post_history: any[];
23
- readonly vote_history: any[];
24
- readonly other_history: any[];
25
- readonly witness_votes: string[];
26
- readonly tags_usage: string[];
27
- readonly guest_bloggers: string[];
28
- readonly open_orders?: any[];
29
- readonly comments?: any[];
30
- readonly blog?: any[];
31
- readonly feed?: any[];
32
- readonly recent_replies?: any[];
33
- readonly recommended?: any[];
34
- readonly id: number;
35
- readonly name: string;
36
- readonly owner: import('@hiveio/dhive').Authority;
37
- readonly active: import('@hiveio/dhive').Authority;
38
- readonly posting: import('@hiveio/dhive').Authority;
39
- readonly memo_key: string;
40
- readonly json_metadata: string;
41
- readonly posting_json_metadata: string;
42
- readonly proxy: string;
43
- readonly last_owner_update: string;
44
- readonly last_account_update: string;
45
- readonly created: string;
46
- readonly mined: boolean;
47
- readonly owner_challenged: boolean;
48
- readonly active_challenged: boolean;
49
- readonly last_owner_proved: string;
50
- readonly last_active_proved: string;
51
- readonly recovery_account: string;
52
- readonly reset_account: string;
53
- readonly last_account_recovery: string;
54
- readonly comment_count: number;
55
- readonly lifetime_vote_count: number;
56
- readonly post_count: number;
57
- readonly can_vote: boolean;
58
- readonly voting_power: number;
59
- readonly last_vote_time: string;
60
- readonly voting_manabar: {
61
- current_mana: string | number;
62
- last_update_time: number;
63
- };
64
- readonly balance: string | import('@hiveio/dhive').Asset;
65
- readonly savings_balance: string | import('@hiveio/dhive').Asset;
66
- readonly hbd_balance: string | import('@hiveio/dhive').Asset;
67
- readonly hbd_seconds: string;
68
- readonly hbd_seconds_last_update: string;
69
- readonly hbd_last_interest_payment: string;
70
- readonly savings_hbd_balance: string | import('@hiveio/dhive').Asset;
71
- readonly savings_hbd_seconds: string;
72
- readonly savings_hbd_seconds_last_update: string;
73
- readonly savings_hbd_last_interest_payment: string;
74
- readonly savings_withdraw_requests: number;
75
- readonly reward_hbd_balance: string | import('@hiveio/dhive').Asset;
76
- readonly reward_hive_balance: string | import('@hiveio/dhive').Asset;
77
- readonly reward_vesting_balance: string | import('@hiveio/dhive').Asset;
78
- readonly reward_vesting_hive: string | import('@hiveio/dhive').Asset;
79
- readonly curation_rewards: number | string;
80
- readonly posting_rewards: number | string;
81
- readonly vesting_shares: string | import('@hiveio/dhive').Asset;
82
- readonly delegated_vesting_shares: string | import('@hiveio/dhive').Asset;
83
- readonly received_vesting_shares: string | import('@hiveio/dhive').Asset;
84
- readonly vesting_withdraw_rate: string | import('@hiveio/dhive').Asset;
85
- readonly next_vesting_withdrawal: string;
86
- readonly withdrawn: number | string;
87
- readonly to_withdraw: number | string;
88
- readonly withdraw_routes: number;
89
- readonly proxied_vsf_votes: number[];
90
- readonly witnesses_voted_for: number;
91
- readonly average_bandwidth: number | string;
92
- readonly lifetime_bandwidth: number | string;
93
- readonly last_bandwidth_update: string;
94
- readonly average_market_bandwidth: number | string;
95
- readonly lifetime_market_bandwidth: number | string;
96
- readonly last_market_bandwidth_update: string;
97
- readonly last_post: string;
98
- readonly last_root_post: string;
99
56
  }, Error, {
100
- readonly follow_stats: AccountFollowStats | undefined;
101
- readonly reputation: number;
102
- readonly profile: {
103
- readonly reputation: number;
104
- readonly about?: string;
105
- readonly cover_image?: string;
106
- readonly location?: string;
107
- readonly name?: string;
108
- readonly profile_image?: string;
109
- readonly website?: string;
110
- readonly pinned?: string;
111
- readonly beneficiary?: {
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?: {
112
106
  account: string;
113
107
  weight: number;
114
108
  };
115
109
  };
116
- readonly vesting_balance: string | import('@hiveio/dhive').Asset;
117
- readonly transfer_history: any[];
118
- readonly market_history: any[];
119
- readonly post_history: any[];
120
- readonly vote_history: any[];
121
- readonly other_history: any[];
122
- readonly witness_votes: string[];
123
- readonly tags_usage: string[];
124
- readonly guest_bloggers: string[];
125
- readonly open_orders?: any[];
126
- readonly comments?: any[];
127
- readonly blog?: any[];
128
- readonly feed?: any[];
129
- readonly recent_replies?: any[];
130
- readonly recommended?: any[];
131
- readonly id: number;
132
- readonly name: string;
133
- readonly owner: import('@hiveio/dhive').Authority;
134
- readonly active: import('@hiveio/dhive').Authority;
135
- readonly posting: import('@hiveio/dhive').Authority;
136
- readonly memo_key: string;
137
- readonly json_metadata: string;
138
- readonly posting_json_metadata: string;
139
- readonly proxy: string;
140
- readonly last_owner_update: string;
141
- readonly last_account_update: string;
142
- readonly created: string;
143
- readonly mined: boolean;
144
- readonly owner_challenged: boolean;
145
- readonly active_challenged: boolean;
146
- readonly last_owner_proved: string;
147
- readonly last_active_proved: string;
148
- readonly recovery_account: string;
149
- readonly reset_account: string;
150
- readonly last_account_recovery: string;
151
- readonly comment_count: number;
152
- readonly lifetime_vote_count: number;
153
- readonly post_count: number;
154
- readonly can_vote: boolean;
155
- readonly voting_power: number;
156
- readonly last_vote_time: string;
157
- readonly voting_manabar: {
158
- current_mana: string | number;
159
- last_update_time: number;
160
- };
161
- readonly balance: string | import('@hiveio/dhive').Asset;
162
- readonly savings_balance: string | import('@hiveio/dhive').Asset;
163
- readonly hbd_balance: string | import('@hiveio/dhive').Asset;
164
- readonly hbd_seconds: string;
165
- readonly hbd_seconds_last_update: string;
166
- readonly hbd_last_interest_payment: string;
167
- readonly savings_hbd_balance: string | import('@hiveio/dhive').Asset;
168
- readonly savings_hbd_seconds: string;
169
- readonly savings_hbd_seconds_last_update: string;
170
- readonly savings_hbd_last_interest_payment: string;
171
- readonly savings_withdraw_requests: number;
172
- readonly reward_hbd_balance: string | import('@hiveio/dhive').Asset;
173
- readonly reward_hive_balance: string | import('@hiveio/dhive').Asset;
174
- readonly reward_vesting_balance: string | import('@hiveio/dhive').Asset;
175
- readonly reward_vesting_hive: string | import('@hiveio/dhive').Asset;
176
- readonly curation_rewards: number | string;
177
- readonly posting_rewards: number | string;
178
- readonly vesting_shares: string | import('@hiveio/dhive').Asset;
179
- readonly delegated_vesting_shares: string | import('@hiveio/dhive').Asset;
180
- readonly received_vesting_shares: string | import('@hiveio/dhive').Asset;
181
- readonly vesting_withdraw_rate: string | import('@hiveio/dhive').Asset;
182
- readonly next_vesting_withdrawal: string;
183
- readonly withdrawn: number | string;
184
- readonly to_withdraw: number | string;
185
- readonly withdraw_routes: number;
186
- readonly proxied_vsf_votes: number[];
187
- readonly witnesses_voted_for: number;
188
- readonly average_bandwidth: number | string;
189
- readonly lifetime_bandwidth: number | string;
190
- readonly last_bandwidth_update: string;
191
- readonly average_market_bandwidth: number | string;
192
- readonly lifetime_market_bandwidth: number | string;
193
- readonly last_market_bandwidth_update: string;
194
- readonly last_post: string;
195
- readonly last_root_post: string;
196
110
  }, string[]>, "queryFn"> & {
197
111
  queryFn?: import('@tanstack/query-core').QueryFunction<{
198
- readonly follow_stats: AccountFollowStats | undefined;
199
- readonly reputation: number;
200
- readonly profile: {
201
- readonly reputation: number;
202
- readonly about?: string;
203
- readonly cover_image?: string;
204
- readonly location?: string;
205
- readonly name?: string;
206
- readonly profile_image?: string;
207
- readonly website?: string;
208
- readonly pinned?: string;
209
- readonly beneficiary?: {
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?: {
210
161
  account: string;
211
162
  weight: number;
212
163
  };
213
164
  };
214
- readonly vesting_balance: string | import('@hiveio/dhive').Asset;
215
- readonly transfer_history: any[];
216
- readonly market_history: any[];
217
- readonly post_history: any[];
218
- readonly vote_history: any[];
219
- readonly other_history: any[];
220
- readonly witness_votes: string[];
221
- readonly tags_usage: string[];
222
- readonly guest_bloggers: string[];
223
- readonly open_orders?: any[];
224
- readonly comments?: any[];
225
- readonly blog?: any[];
226
- readonly feed?: any[];
227
- readonly recent_replies?: any[];
228
- readonly recommended?: any[];
229
- readonly id: number;
230
- readonly name: string;
231
- readonly owner: import('@hiveio/dhive').Authority;
232
- readonly active: import('@hiveio/dhive').Authority;
233
- readonly posting: import('@hiveio/dhive').Authority;
234
- readonly memo_key: string;
235
- readonly json_metadata: string;
236
- readonly posting_json_metadata: string;
237
- readonly proxy: string;
238
- readonly last_owner_update: string;
239
- readonly last_account_update: string;
240
- readonly created: string;
241
- readonly mined: boolean;
242
- readonly owner_challenged: boolean;
243
- readonly active_challenged: boolean;
244
- readonly last_owner_proved: string;
245
- readonly last_active_proved: string;
246
- readonly recovery_account: string;
247
- readonly reset_account: string;
248
- readonly last_account_recovery: string;
249
- readonly comment_count: number;
250
- readonly lifetime_vote_count: number;
251
- readonly post_count: number;
252
- readonly can_vote: boolean;
253
- readonly voting_power: number;
254
- readonly last_vote_time: string;
255
- readonly voting_manabar: {
256
- current_mana: string | number;
257
- last_update_time: number;
258
- };
259
- readonly balance: string | import('@hiveio/dhive').Asset;
260
- readonly savings_balance: string | import('@hiveio/dhive').Asset;
261
- readonly hbd_balance: string | import('@hiveio/dhive').Asset;
262
- readonly hbd_seconds: string;
263
- readonly hbd_seconds_last_update: string;
264
- readonly hbd_last_interest_payment: string;
265
- readonly savings_hbd_balance: string | import('@hiveio/dhive').Asset;
266
- readonly savings_hbd_seconds: string;
267
- readonly savings_hbd_seconds_last_update: string;
268
- readonly savings_hbd_last_interest_payment: string;
269
- readonly savings_withdraw_requests: number;
270
- readonly reward_hbd_balance: string | import('@hiveio/dhive').Asset;
271
- readonly reward_hive_balance: string | import('@hiveio/dhive').Asset;
272
- readonly reward_vesting_balance: string | import('@hiveio/dhive').Asset;
273
- readonly reward_vesting_hive: string | import('@hiveio/dhive').Asset;
274
- readonly curation_rewards: number | string;
275
- readonly posting_rewards: number | string;
276
- readonly vesting_shares: string | import('@hiveio/dhive').Asset;
277
- readonly delegated_vesting_shares: string | import('@hiveio/dhive').Asset;
278
- readonly received_vesting_shares: string | import('@hiveio/dhive').Asset;
279
- readonly vesting_withdraw_rate: string | import('@hiveio/dhive').Asset;
280
- readonly next_vesting_withdrawal: string;
281
- readonly withdrawn: number | string;
282
- readonly to_withdraw: number | string;
283
- readonly withdraw_routes: number;
284
- readonly proxied_vsf_votes: number[];
285
- readonly witnesses_voted_for: number;
286
- readonly average_bandwidth: number | string;
287
- readonly lifetime_bandwidth: number | string;
288
- readonly last_bandwidth_update: string;
289
- readonly average_market_bandwidth: number | string;
290
- readonly lifetime_market_bandwidth: number | string;
291
- readonly last_market_bandwidth_update: string;
292
- readonly last_post: string;
293
- readonly last_root_post: string;
294
165
  }, string[], never> | undefined;
295
166
  } & {
296
167
  queryKey: string[] & {
297
168
  [dataTagSymbol]: {
298
- readonly follow_stats: AccountFollowStats | undefined;
299
- readonly reputation: number;
300
- readonly profile: {
301
- readonly reputation: number;
302
- readonly about?: string;
303
- readonly cover_image?: string;
304
- readonly location?: string;
305
- readonly name?: string;
306
- readonly profile_image?: string;
307
- readonly website?: string;
308
- readonly pinned?: string;
309
- readonly beneficiary?: {
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?: {
310
218
  account: string;
311
219
  weight: number;
312
220
  };
313
221
  };
314
- readonly vesting_balance: string | import('@hiveio/dhive').Asset;
315
- readonly transfer_history: any[];
316
- readonly market_history: any[];
317
- readonly post_history: any[];
318
- readonly vote_history: any[];
319
- readonly other_history: any[];
320
- readonly witness_votes: string[];
321
- readonly tags_usage: string[];
322
- readonly guest_bloggers: string[];
323
- readonly open_orders?: any[];
324
- readonly comments?: any[];
325
- readonly blog?: any[];
326
- readonly feed?: any[];
327
- readonly recent_replies?: any[];
328
- readonly recommended?: any[];
329
- readonly id: number;
330
- readonly name: string;
331
- readonly owner: import('@hiveio/dhive').Authority;
332
- readonly active: import('@hiveio/dhive').Authority;
333
- readonly posting: import('@hiveio/dhive').Authority;
334
- readonly memo_key: string;
335
- readonly json_metadata: string;
336
- readonly posting_json_metadata: string;
337
- readonly proxy: string;
338
- readonly last_owner_update: string;
339
- readonly last_account_update: string;
340
- readonly created: string;
341
- readonly mined: boolean;
342
- readonly owner_challenged: boolean;
343
- readonly active_challenged: boolean;
344
- readonly last_owner_proved: string;
345
- readonly last_active_proved: string;
346
- readonly recovery_account: string;
347
- readonly reset_account: string;
348
- readonly last_account_recovery: string;
349
- readonly comment_count: number;
350
- readonly lifetime_vote_count: number;
351
- readonly post_count: number;
352
- readonly can_vote: boolean;
353
- readonly voting_power: number;
354
- readonly last_vote_time: string;
355
- readonly voting_manabar: {
356
- current_mana: string | number;
357
- last_update_time: number;
358
- };
359
- readonly balance: string | import('@hiveio/dhive').Asset;
360
- readonly savings_balance: string | import('@hiveio/dhive').Asset;
361
- readonly hbd_balance: string | import('@hiveio/dhive').Asset;
362
- readonly hbd_seconds: string;
363
- readonly hbd_seconds_last_update: string;
364
- readonly hbd_last_interest_payment: string;
365
- readonly savings_hbd_balance: string | import('@hiveio/dhive').Asset;
366
- readonly savings_hbd_seconds: string;
367
- readonly savings_hbd_seconds_last_update: string;
368
- readonly savings_hbd_last_interest_payment: string;
369
- readonly savings_withdraw_requests: number;
370
- readonly reward_hbd_balance: string | import('@hiveio/dhive').Asset;
371
- readonly reward_hive_balance: string | import('@hiveio/dhive').Asset;
372
- readonly reward_vesting_balance: string | import('@hiveio/dhive').Asset;
373
- readonly reward_vesting_hive: string | import('@hiveio/dhive').Asset;
374
- readonly curation_rewards: number | string;
375
- readonly posting_rewards: number | string;
376
- readonly vesting_shares: string | import('@hiveio/dhive').Asset;
377
- readonly delegated_vesting_shares: string | import('@hiveio/dhive').Asset;
378
- readonly received_vesting_shares: string | import('@hiveio/dhive').Asset;
379
- readonly vesting_withdraw_rate: string | import('@hiveio/dhive').Asset;
380
- readonly next_vesting_withdrawal: string;
381
- readonly withdrawn: number | string;
382
- readonly to_withdraw: number | string;
383
- readonly withdraw_routes: number;
384
- readonly proxied_vsf_votes: number[];
385
- readonly witnesses_voted_for: number;
386
- readonly average_bandwidth: number | string;
387
- readonly lifetime_bandwidth: number | string;
388
- readonly last_bandwidth_update: string;
389
- readonly average_market_bandwidth: number | string;
390
- readonly lifetime_market_bandwidth: number | string;
391
- readonly last_market_bandwidth_update: string;
392
- readonly last_post: string;
393
- readonly last_root_post: string;
394
222
  };
395
223
  [dataTagErrorSymbol]: Error;
396
224
  };
@@ -6,6 +6,7 @@ export interface AccountProfile {
6
6
  profile_image?: string;
7
7
  website?: string;
8
8
  pinned?: string;
9
+ reputation?: number;
9
10
  beneficiary?: {
10
11
  account: string;
11
12
  weight: number;
@@ -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,6 @@
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';
@@ -8,6 +8,7 @@ export declare const CONFIG: {
8
8
  heliusApiKey: any;
9
9
  queryClient: QueryClient;
10
10
  plausibleHost: string;
11
+ spkNode: string;
11
12
  };
12
13
  export declare namespace ConfigManager {
13
14
  function setQueryClient(client: QueryClient): void;
@@ -3,3 +3,5 @@ export * from './storage';
3
3
  export * from './entities';
4
4
  export * from './config';
5
5
  export * from './queries-manager';
6
+ export * from './queries';
7
+ export * from './types';