ApprovalRecordEntry

Unpublished development API. This package is under development and is not available as a published release.

One answered approval for MessageList's and Chat's approvalRecords: rendered as an ApprovalRecord directly after the row whose id is afterId, usually the assistant message the approval followed. Without afterId, or when that row is gone, it renders after the last row.

import type { ApprovalRecordEntry } from '@threadplane/react/chat';

Declaration

export interface ApprovalRecordEntry extends ApprovalRecordProps  {
  readonly afterId?: string;
}

Members

afterId

readonly afterId?: string;