Skip to content

threads.reorder

Puts a thread just before another of a workspace in the left column, or last; another workspace moves it there (PRT-171, DMN-282).

/** `threads.reorder` params (PRT-171): where a thread goes in the left column, in its workspace or another one. */
export type ReorderThreadParams = {
/** The thread of that workspace it goes just before; absent: last. */
beforeId?: string | null;
threadId: string;
/** The workspace it goes to; absent: its own. Another one moves the thread there (DMN-282). */
workspaceId?: string | null;
};
/** No params, or the `{}` result. */
export type Empty = Record<string, never>;