import type { Transaction } from "@rocicorp/zero"; import type { AuthData } from "./auth"; import type { Schema } from "."; type Tx = Transaction; export function createMutators(authData: AuthData | null) { return { link: { async create() {}, async get(tx: Tx, { link_token }: { link_token: string }) {}, async updateTransactions() {}, async updateBalences() {}, } } as const; } export type Mutators = ReturnType;