Blob examples should use access: 'private' instead of 'public'
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.2k
- Forks
- 1.8k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 6
Description
Summary
The blob examples currently default to access: 'public', but we're moving toward private-by-default for blob stores. These examples are what developers copy-paste from, so they should reflect the recommended default.
Files to update
-
storage/blob-starter/components/uploader.tsx(line 32)- access: 'public', + access: 'private', -
storage/blob-sveltekit/src/routes/+page.server.ts(line 14)- access: 'public', + access: 'private',
Context
- CLI PRs already in progress: https://github.com/vercel/vercel/pull/15375, https://github.com/vercel/vercel/pull/15147
- Dashboard create modal already defaults to private
- These examples are referenced from the Vercel dashboard (
front/apps/vercel-site/components/stores/constants.ts)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Update the two specified examples: storage/blob-starter/components/uploader.tsx at line 32 and storage/blob-sveltekit/src/routes/+page.server.ts at line 14. Change each blob access setting from public to private, then review both snippets to confirm the copy-paste examples match the private-by-default recommendation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cloud
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 88/100