pl-api: support blocks duration

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2025-11-11 12:59:05 +01:00
parent a0e967cb54
commit 2f586a996b
3 changed files with 20 additions and 3 deletions

View File

@ -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,