SignalCD Modern PoC API
    Preparing search index...

    Interface DocumentSessionCommands

    interface DocumentSessionCommands {
        addAttachment(attachment: DocumentAttachment): Promise<void>;
        addComment(comment: CreateDocumentComment): Promise<void>;
        approveForkResolution(
            chosenControlId: string,
        ): Promise<ForkResolutionApproval>;
        archive(): Promise<void>;
        deleteForGroup(): Promise<void>;
        editText(nextText: string): Promise<void>;
        insertBlock(block: DocumentBlock, index?: number): Promise<void>;
        inviteParticipant(phoneNumber: string, role: DocumentRole): Promise<void>;
        moveBlock(blockId: string, toIndex: number): Promise<void>;
        publishSnapshot(): Promise<void>;
        removeAttachment(attachmentId: string): Promise<void>;
        removeBlock(blockId: string): Promise<void>;
        removeComment(commentId: string): Promise<void>;
        removeParticipant(participantId: string): Promise<void>;
        resolveComment(commentId: string, resolved?: boolean): Promise<void>;
        resolveFork(
            chosenControlId: string,
            approvals: readonly ForkResolutionApproval[],
        ): Promise<void>;
        setParticipantRole(
            participantId: string,
            role: DocumentRole,
        ): Promise<void>;
        spliceText(edit: TextEdit): Promise<void>;
        unarchive(): Promise<void>;
        updateBlock(blockId: string, update: DocumentBlockUpdate): Promise<void>;
    }

    Implemented by

    Index