feat: add convex state functions for snapshot persistence

This commit is contained in:
Codex
2026-02-18 14:25:46 +00:00
parent 42684125f9
commit 77f7f10921
5 changed files with 79 additions and 0 deletions

9
convex/schema.ts Normal file
View File

@@ -0,0 +1,9 @@
import { defineSchema, defineTable } from "convex/server";
import { v } from "convex/values";
export default defineSchema({
state_snapshots: defineTable({
snapshot: v.any(),
updatedAt: v.string(),
}),
});