← Về thư mục
frontend/src/features/messages/identity.ts
- candidateIdentityText · function · L13-L15 — function candidateIdentityText(value: unknown): string
- CandidateIdentity · type · L17-L21 — type CandidateIdentity = { messageId: string; turnId: string; executionId: string; };
- candidateIdentity · function · L23-L49 — function candidateIdentity(value: unknown): CandidateIdentity
- rememberCandidateIdentity · function · L51-L66 — function rememberCandidateIdentity( node: HTMLElement | null | undefined, value: unknown, ): CandidateIdentity
- bind · function · L57-L61 — bind = (key: string, next: string): void
- candidateNodeMatches · function · L68-L83 — function candidateNodeMatches( node: HTMLElement | null | undefined, identity: CandidateIdentity | null | undefined, ): boolean
- candidateMessageNode · function · L85-L104 — function candidateMessageNode(value: unknown): HTMLElement | null
- reviewStatusFrom · function · L106-L116 — function reviewStatusFrom(value: unknown): string
- setMessageReviewBadge · function · L118-L137 — function setMessageReviewBadge( node: HTMLElement | null | undefined, status: string, userTruth?: unknown, ): boolean
- setLiveReviewBadge · function · L139-L142 — function setLiveReviewBadge(status: string, userTruth?: unknown): boolean
- discardDuplicateLiveCandidate · function · L144-L159 — function discardDuplicateLiveCandidate( stored: HTMLElement, value: unknown, ): void
- storedCandidateOwnsChunk · function · L165-L190 — function storedCandidateOwnsChunk(value: unknown): boolean