Skip to content

feat: add Artifacts binding TypeScript definitions#6508

Draft
mattzcarey wants to merge 1 commit intocloudflare:mainfrom
mattzcarey:feat/artifacts-binding-types
Draft

feat: add Artifacts binding TypeScript definitions#6508
mattzcarey wants to merge 1 commit intocloudflare:mainfrom
mattzcarey:feat/artifacts-binding-types

Conversation

@mattzcarey
Copy link
Copy Markdown

@mattzcarey mattzcarey commented Apr 7, 2026

Summary

Add TypeScript type definitions for the Artifacts binding

Changes

New file: types/defines/artifacts.d.ts

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@mattzcarey
Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

github-actions bot added a commit that referenced this pull request Apr 7, 2026
@mattzcarey mattzcarey force-pushed the feat/artifacts-binding-types branch 6 times, most recently from 0b82ea9 to f9a1016 Compare April 7, 2026 14:17
Add type definitions for the Artifacts binding to types/defines/.

Defines the Artifacts interface with methods for:
- Repository management: createRepo, getRepo, listRepos, deleteRepo
- Fork operations: forkRepo, importFromGitHub
- Token management: createToken, validateToken, listTokens, revokeToken

All methods include JSDoc documentation with parameter descriptions.

Ref: cloudflare/ai-agents/artifacts#2
@mattzcarey mattzcarey force-pushed the feat/artifacts-binding-types branch from f9a1016 to 371f0a6 Compare April 7, 2026 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant