Skip to content
This repository has been archived by the owner on Jan 1, 2025. It is now read-only.

storage: add method for pinning multiple cids #168

Merged
merged 3 commits into from
Oct 23, 2023

Conversation

shomix
Copy link
Contributor

@shomix shomix commented Oct 20, 2023

This PR will:

  • Add a new method called pinCIDs. This method can be used to send multiple CID to the pinning queue, and the return value of it will contain an array of upload id's that can be used later to check that status of the pin.
async pinCIDs(configuration: { name: string; cids: string[] }): Promise<
    {
      uploadId: string;
      cid: string;
    }[]
  >
  • increase the version of the @spheron/core package to 2.0.5
  • increase the version of the @spheron/storage package to 2.0.4

dusanstanis
dusanstanis previously approved these changes Oct 20, 2023
Copy link
Contributor

@aayushmahapatra aayushmahapatra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@shomix shomix dismissed stale reviews from aayushmahapatra and dusanstanis via 460f2e2 October 23, 2023 11:56
@shomix shomix merged commit fafa8d5 into main Oct 23, 2023
@shomix shomix deleted the multiple-cid-pinning-support branch October 23, 2023 12:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants