PDF Web SDK Documentation

Comprehensive Guide for Developers: UI & SDK Integration, Configuration, and API Reference

PDF Web SDK
    Preparing search index...

    Interface IClaimedData<T>

    What a document operation produced, paired with the claims it carries.

    The two travel together because they are only correct together. Such an operation leaves the document untouched, so its claim never lands there — it belongs to what came out. A caller made to ask for the claims separately can forget to, or name the wrong operation, and nothing catches either mistake.

    T is whatever the operation produces: raw bytes by default, a File for the ones that assemble a named archive or text file.

    interface IClaimedData<T = Uint8Array> {
        claims: readonly string[];
        data: T;
    }

    Type Parameters

    • T = Uint8Array
    Index

    Properties

    Properties

    claims: readonly string[]

    The source document's claims plus the operation that produced data, appended last.

    data: T