UNPKG

ipfs-repo

Version:
24 lines 623 B
/** * * @param {import('interface-datastore').Datastore} store */ export function apiAddr(store: import('interface-datastore').Datastore): { /** * Get the current configuration from the repo. * * @returns {Promise<string>} */ get(): Promise<string>; /** * Set the current configuration for this repo. * TODO: fix find the proper type or remove this API * * @param {string} value - the api address to be written */ set(value: string): Promise<void>; /** * Deletes api file */ delete(): Promise<void>; }; //# sourceMappingURL=api-addr.d.ts.map