← Về thư mục
frontend/src/features/send/send.ts
- Annotation · type · L80-L87 — type Annotation = { id?: string; annotation_id?: string; number?: unknown; artifact_name?: string; body?: string; status?: string; };
- SendPreparation · type · L93-L97 — type SendPreparation = { frameId: string | null; projectId: string | null; openGen: number; };
- UploadBarrierResult · type · L102-L107 — type UploadBarrierResult = { ok: boolean; frameId: string | null; failures: UploadResult[]; stalled?: boolean; };
- annotationId · function · L109-L111 — function annotationId(an: Annotation | null | undefined): string
- openAnnotations · function · L113-L117 — function openAnnotations(): Annotation[]
- setLocalAnnotationStatus · function · L119-L125 — function setLocalAnnotationStatus(ids: string[], status: string): void
- loadAnnotationsLocal · function · L127-L142 — async function loadAnnotationsLocal(fid: string): Promise
- loadSkillsCatalog · function · L144-L153 — async function loadSkillsCatalog(): Promise<Array<{ name?: unknown }>>
- annotAttachment · function · L155-L169 — function annotAttachment(anns: Annotation[]): HTMLElement
- mintAdmissionId · function · L171-L186 — function mintAdmissionId(): string
- send · function · L191-L555 — async function send(text?: string | null, opts?: { execute?: boolean }): Promise
- RebindReason · type · L569-L569 — type RebindReason = "moved" | "keyless" | "unreadable" | "ambiguous" | "unusable";
- rebindConfirmText · function · L605-L616 — function rebindConfirmText(error: unknown): string
- rebindDoneText · function · L623-L630 — function rebindDoneText(answer: unknown): string
- restoreDraft · function · L643-L652 — function restoreDraft(text: string): boolean
- settleRefusedBubble · function · L660-L668 — function settleRefusedBubble(w: HTMLElement, text: string): void
- ComposerDispatch · type · L670-L670 — type ComposerDispatch = (text: string) => unknown;
- bindComposer · function · L682-L750 — function bindComposer(dispatch: ComposerDispatch = send): void