Skip to content
Commit Detail

Commit 62e230b

Author
Matt Carey <mcarey@cloudflare.com> 2026-04-15 11:54:31 +0100
Parents
fc36f61
Tree
888ca55
fix: align Artifacts type definitions with actual binding API

- Add missing fields to ArtifactsRepoInfo: description, defaultBranch,
  updatedAt, lastPushAt
- Add missing fields to ArtifactsCreateRepoResult: description,
  defaultBranch
- Fix ArtifactsRepoListResult.repos to use Omit<ArtifactsRepoInfo, 'remote'>
  since list() does not include remote URLs
- Fix token scope values from 'rw'/'r' to 'write'/'read' to match
  the public Scope type
- Add missing 'state' field to ArtifactsTokenInfo
- Update JSDoc comments to reflect correct scope values

Files changed

1 file changed~1 modified