IFClite TypeScript API
    Preparing search index...

    Interface FetchProjectOptions

    interface FetchProjectOptions {
        concurrency?: number;
        filter?: string;
        includeSnapshots?: boolean;
        maxTopics?: number;
        onProgress?: (progress: BcfSyncProgress) => void;
        orderby?: string;
        pageSize?: number;
        topicPaging?: "skip" | "modified-date";
    }
    Index
    concurrency?: number

    Concurrent per-topic detail requests; defaults to 4.

    filter?: string

    OData $filter passed through to the topics collection.

    includeSnapshots?: boolean

    Fetch viewpoint snapshot images as data URLs; defaults to true.

    maxTopics?: number

    Hard cap on fetched topics; defaults to 1000.

    onProgress?: (progress: BcfSyncProgress) => void
    orderby?: string

    OData $orderby passed through to the topics collection. Rejected (a RangeError) with topicPaging: 'modified-date', which must order by modified_date asc itself.

    pageSize?: number

    Page size for the topics collection; defaults to 100.

    topicPaging?: "skip" | "modified-date"

    How the topics collection is paged; defaults to 'skip'.

    • 'skip': $top + $skip offset paging (the BCF API's own). A server that ignores $skip yields only its first page.
    • 'modified-date': keyset paging for servers that ignore $skip but honour $filter/$orderby on modified_date (buildagil's openCDE API). Requests $orderby=modified_date asc and, from the second page, $filter=modified_date ge <last seen modified_date> (ANDed with filter). Ties at the boundary come back again and are deduped by guid. Paging stops with a warning, rather than looping, when a full page brings nothing new (more topics share one timestamp than fit pageSize) or when the last topic of a full page has no ISO 8601 modified_date to continue from.