feat(web): update sponsors logic

This commit is contained in:
Aman Varshney
2025-08-30 17:56:00 +05:30
parent 881834ce24
commit 383ea6ff33
12 changed files with 230 additions and 382 deletions

View File

@@ -2,24 +2,6 @@ import { defineSchema, defineTable } from "convex/server";
import { v } from "convex/values";
export default defineSchema({
sponsors: defineTable({
sponsor: v.object({
login: v.string(),
name: v.string(),
avatarUrl: v.string(),
websiteUrl: v.optional(v.string()),
linkUrl: v.string(),
customLogoUrl: v.optional(v.string()),
type: v.string(),
}),
isOneTime: v.boolean(),
monthlyDollars: v.number(),
privacyLevel: v.string(),
tierName: v.string(),
createdAt: v.string(),
provider: v.string(),
}),
videos: defineTable({
embedId: v.string(),
title: v.string(),