fix: don't support old queries and mutators in schema

This commit is contained in:
Max Koon
2025-10-15 06:44:52 -04:00
parent bbe86f6049
commit 23987e4f87
7 changed files with 20 additions and 13 deletions

View File

@@ -17,6 +17,7 @@ import {
} from "@money/shared";
import type { AuthData } from "@money/shared/auth";
import { getHono } from "./hono";
import { db } from "./db";
const processor = new PushProcessor(
@@ -30,6 +31,12 @@ const createMutators = (authData: AuthData | null) => {
const mutators = createMutatorsShared(authData);
return {
...mutators,
link: {
...mutators.link,
async create() {
console.log("Here is my function running on the server!!!");
}
}
} as const satisfies Mutators;
}