iya-sts
    Preparing search index...

    Variable importVersion

    importVersion: (o: any) => Promise<any> = ...

    Type Declaration

      • (o: any): Promise<any>
      • Imports one version of one dataset, verifying it before it can be active.

        A refusal after rows were written deletes them and records the version as refused, and the active version stays.

        Parameters

        • o: any

          dataset, format, realm, content or path, version, publishedAt, provider, licence, attribution, sha256, source, sourceUri, activate and actor

        Returns Promise<any>

        { ok, dataset, version, state, rows, skipped, activated, … }, or a refusal { ok: false, errors } with its code