Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions apps/website/content/docs/chat/api/api-docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -3388,6 +3388,18 @@
"description": "",
"optional": false
},
{
"name": "archivedOpen",
"type": "WritableSignal<boolean>",
"description": "",
"optional": false
},
{
"name": "archivedThreads",
"type": "InputSignal<Thread[] | null>",
"description": "",
"optional": false
},
{
"name": "mode",
"type": "InputSignal<ChatSidenavMode>",
Expand Down Expand Up @@ -3613,6 +3625,12 @@
"description": "",
"optional": false
},
{
"name": "mode",
"type": "InputSignal<\"active\" | \"archived\">",
"description": "",
"optional": false
},
{
"name": "newThreadRequested",
"type": "OutputEmitterRef<void>",
Expand Down Expand Up @@ -3715,12 +3733,38 @@
}
]
},
{
"name": "performArchive",
"signature": "performArchive(threadId: string)",
"description": "",
"params": [
{
"name": "threadId",
"type": "string",
"description": "",
"optional": false
}
]
},
{
"name": "performDelete",
"signature": "performDelete()",
"description": "",
"params": []
},
{
"name": "performUnarchive",
"signature": "performUnarchive(threadId: string)",
"description": "",
"params": [
{
"name": "threadId",
"type": "string",
"description": "",
"optional": false
}
]
},
{
"name": "relativeTime",
"signature": "relativeTime(epochMs: number)",
Expand Down Expand Up @@ -5845,6 +5889,12 @@
"kind": "interface",
"description": "Per-thread row-action adapter. Consumer-provided. The framework calls\nthese methods after user confirmation (delete) or commit (rename) and\nmanages optimistic UI + rollback on rejection.\n\nConsumers MUST refresh their `threads` signal on success — the framework\nclears optimistic overrides in a `finally` block, so a successful adapter\ncall that leaves the input list unchanged would re-render the row.",
"properties": [
{
"name": "archive",
"type": "unknown",
"description": "",
"optional": true
},
{
"name": "delete",
"type": "unknown",
Expand All @@ -5856,6 +5906,12 @@
"type": "unknown",
"description": "",
"optional": true
},
{
"name": "unarchive",
"type": "unknown",
"description": "",
"optional": true
}
],
"examples": []
Expand Down
Loading
Loading