UNPKG

@storacha/client

Version:

Client for the storacha.network w3up api

17 lines 625 B
/** * Client for interacting with the `index/*` capabilities. */ export class IndexClient extends Base { /** * Register an "index" to the resource. * * Required delegated capabilities: * - `space/index/add` * * @param {import('../types.js').CARLink} index - CID of the CAR file that contains the index data. * @param {import('../types.js').RequestOptions} [options] */ add(index: import("../types.js").CARLink, options?: import("../types.js").RequestOptions): Promise<import("@ucanto/interface").Unit>; } import { Base } from '../base.js'; //# sourceMappingURL=index.d.ts.map