Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement admin/upload/inspect and admin/store/inspect capabilities #918

Merged
merged 12 commits into from
Sep 13, 2023

Commits on Sep 11, 2023

  1. feat: introduce root/get and shard/get capabilities

    implementations of new capabilities proposed in storacha/specs#77
    travis committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    09409df View commit details
    Browse the repository at this point in the history
  2. fix: one more test fix

    travis committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    24bfe71 View commit details
    Browse the repository at this point in the history
  3. feat: add getCID to UploadTable and StoreTable

    This will enable us to implement the invocation handlers for `root/get` and `shard/get`
    travis committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    4e94b4f View commit details
    Browse the repository at this point in the history
  4. fix: add more exports from capabilities

    including adding `/*` top level capabilities for both `root` and `shard`
    travis committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    d14d844 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2023

  1. feat: implement invocation handlers for shard/get and root/get

    This required a few more tweaks to the capabilities package types.
    
    I've added test suites for both new namespaces and added a new `getCID` method to each of the `{Upload|Store}Table` interfaces, and updated the in-memory implementations of each.
    travis committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    1b5bb3f View commit details
    Browse the repository at this point in the history
  2. chore: appease linter

    travis committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    967533b View commit details
    Browse the repository at this point in the history
  3. fix: add a couple typecasts

    this is strange because they don't seem to be necessary (and they aren't in Visual Studio!) but
    a cheeky typecast fixes them for now
    travis committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    eed9b34 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1c7aca0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fcb0afb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    52c1ae6 View commit details
    Browse the repository at this point in the history
  7. chore: prettier

    travis committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    371c9ac View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2023

  1. fix: use string not Date for insertedAt

    it doesn't seem like we support Date types in Ucanto service return values?
    travis committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    1b7ad66 View commit details
    Browse the repository at this point in the history