Skip to content

docs: update media plugin doc#112

Merged
olliethedev merged 1 commit intomainfrom
docs/update-media-plugin
Apr 9, 2026
Merged

docs: update media plugin doc#112
olliethedev merged 1 commit intomainfrom
docs/update-media-plugin

Conversation

@olliethedev
Copy link
Copy Markdown
Collaborator

@olliethedev olliethedev commented Apr 9, 2026

Summary

  • update media plugin doc

Type of change

  • Bug fix
  • New plugin
  • Feature / enhancement to an existing plugin
  • Documentation
  • Chore / refactor / tooling

Checklist

  • pnpm build passes
  • pnpm typecheck passes
  • pnpm lint passes
  • Tests added or updated (unit and/or E2E)
  • Docs updated (docs/content/docs/) if consumer-facing types or behavior changed
  • All three codegen-projects create successfully and pass E2E tests
  • New plugin: submission checklist in CONTRIBUTING.md completed

Screenshots


Note

Low Risk
Low risk documentation-only change that updates import paths for storage adapters; no runtime behavior is modified.

Overview
Updates the Media plugin documentation examples to import storage adapters (localAdapter, s3Adapter) from their new per-adapter modules (e.g. @btst/stack/plugins/media/api/adapters/local) instead of re-exporting them from @btst/stack/plugins/media/api.

Applies this change consistently across the installation, multi-tenancy configuration, and hooks example snippets.

Reviewed by Cursor Bugbot for commit 2b37ddf. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
better-stack-docs Ready Ready Preview, Comment Apr 9, 2026 6:15pm
better-stack-playground Ready Ready Preview, Comment Apr 9, 2026 6:15pm

Request Review

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Security Review — No Vulnerabilities Found

This PR contains only documentation changes (docs/content/docs/plugins/media.mdx). The diff refactors three import-statement examples in MDX code blocks, splitting a combined import into two separate imports to reflect updated package entry points:

  • localAdapter import path: @btst/stack/plugins/media/api@btst/stack/plugins/media/api/adapters/local
  • s3Adapter import path: @btst/stack/plugins/media/api@btst/stack/plugins/media/api/adapters/s3

Checklist result:

Category Finding
Injection (SQL, command, template, path traversal) None — no runtime code changed
Authn/authz bypasses None
Secrets / token leakage / insecure logging None
Unsafe deserialization, SSRF, XSS, CSRF None
Dependency / supply-chain risk None — no new dependencies introduced

No high-confidence security vulnerabilities are present in this PR.

Open in Web View Automation 

Sent by Cursor Automation: Find vulnerabilities

@olliethedev olliethedev merged commit 476ab7a into main Apr 9, 2026
6 checks passed
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