IFClite TypeScript API
    Preparing search index...

    Implements

    Index
    manifest: PluginManifest
    • List containers within a project. parentId omitted means top level.

      The shape of the result is governed by capabilities.containerListing: direct-children returns only immediate children, flat-subtree returns the whole descendant set flattened with parentId links intact.

      Parameters

      Returns Promise<{ items: { hasChildren: boolean; id: string; name: string }[] }>

    • List projects visible to the authenticated identity.

      Providers reporting projectsAreDiscoverableOnly may return a partial or empty page when query is absent; the host then prompts the user to search or paste a URL rather than presenting the result as complete.

      Parameters

      Returns Promise<
          {
              items: {
                  id: string;
                  meta: { locationId: string; locationName: string };
                  name: string;
              }[];
          },
      >

    • Searches every container of the project: the project level, then each phase (phase-attached documents are only listed under their phase). The cursor is <containerIndex>:<offset>, so paging walks one container after another and every hit carries its real container id for download.

      Parameters

      Returns Promise<{ cursor: string | undefined; items: SourceFile[] }>