pl-api: support blocks duration
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -1,5 +1,13 @@
|
||||
import type { PaginationParams, WithRelationshipsParam } from './common';
|
||||
|
||||
/**
|
||||
* @category Request params
|
||||
*/
|
||||
interface BlockAccountParams {
|
||||
/** Number. How long the block should last, in seconds. Defaults to 0 (indefinite). */
|
||||
duration?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* @category Request params
|
||||
*/
|
||||
@ -61,6 +69,7 @@ interface UpdateFilterParams {
|
||||
}
|
||||
|
||||
export type {
|
||||
BlockAccountParams,
|
||||
MuteAccountParams,
|
||||
GetMutesParams,
|
||||
GetBlocksParams,
|
||||
|
||||
Reference in New Issue
Block a user