@threadplane/angularTypeAliasv0.3.7

ThreadListItem

One thread as a list shows it: the directory's entry, plus status for views that read a lifecycle rather than the archived flag. It is a type alias so it binds to a thread list input that allows extra fields.

import type { ThreadListItem } from '@threadplane/angular';

Declaration

export type ThreadListItem = {
    readonly id: string;
    readonly title: string;
    readonly updatedAt?: number;
    readonly status: 'active' | 'archived';
    readonly pinned: boolean;
    readonly pinnedOrder?: number;
    readonly archived: boolean;
    readonly projectId: string | null;
};