refactor(FetchThreadsOptions): Remove active (#9241)

* refactor(FetchThreadsOptions): remove `active`

* docs(FetchThreadsOptions): update description

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Jiralite
2023-03-22 19:17:47 +00:00
committed by GitHub
parent eb81dc982c
commit 519e163f8a
2 changed files with 2 additions and 4 deletions

View File

@@ -75,10 +75,9 @@ class ThreadManager extends CachedManager {
*/
/**
* The options for fetching multiple threads, the properties are mutually exclusive
* Options for fetching multiple threads.
* @typedef {Object} FetchThreadsOptions
* @property {FetchArchivedThreadOptions} [archived] The options used to fetch archived threads
* @property {boolean} [active] When true, fetches active threads. <warn>If `archived` is set, this is ignored!</warn>
* @property {FetchArchivedThreadOptions} [archived] Options used to fetch archived threads
*/
/**

View File

@@ -5239,7 +5239,6 @@ export type FetchThreadMembersOptions =
export interface FetchThreadsOptions {
archived?: FetchArchivedThreadOptions;
active?: boolean;
}
export interface AttachmentPayload {