mirror of
https://github.com/linsa-io/linsa.git
synced 2026-01-12 12:20:23 +01:00
feat: Add Cloudflare StreamPlayer component and update schema with billing and access control
- Introduced `CloudflareStreamPlayer` React component for embedding streams - Updated `package.json` with new dependencies: `@cloudflare/stream-react` and `stripe` - Extended database schema with user tiers, Stripe billing, storage, and archive management - Added access control logic in `access.ts` for user tiers and feature permissions - Enhanced billing logic with archive storage limits and subscription checks
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
"dependencies": {
|
||||
"@ai-sdk/openai": "^2.0.79",
|
||||
"@ai-sdk/react": "^2.0.109",
|
||||
"@cloudflare/stream-react": "^1.9.3",
|
||||
"@cloudflare/vite-plugin": "^1.17.0",
|
||||
"@electric-sql/client": "^1.2.0",
|
||||
"@flowglad/react": "0.15.0",
|
||||
@@ -47,6 +48,7 @@
|
||||
"react-markdown": "^10.1.0",
|
||||
"remark-gfm": "^4.0.1",
|
||||
"resend": "^6.5.2",
|
||||
"stripe": "^20.1.0",
|
||||
"tailwindcss": "^4.1.17",
|
||||
"vite-tsconfig-paths": "^5.1.4",
|
||||
"zod": "^4.1.13"
|
||||
|
||||
Reference in New Issue
Block a user