// Note: the `PrivateService` is only available when generating the client // for local environments import { OpenAPI, PrivateService } from "../../src/client" import { apiUrl } from "../config.ts" // The same origin the rest of the suite writes to, for the same reason: this // one creates users. OpenAPI.BASE = apiUrl export const createUser = async ({ email, password, }: { email: string password: string }) => { return await PrivateService.createUser({ requestBody: { email, password, is_verified: true, full_name: "Test User", }, }) }