
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// @ts-nocheck 
import * as $runtime from "@prisma/client/runtime/client"

/**
 * @param uuid
 */
export const toggleFavoriteQuery = $runtime.makeTypedQueryFactory("UPDATE \"Contact\"\nSET favorite = not favorite\nWHERE id = $1\nRETURNING *") as (uuid: string) => $runtime.TypedSql<toggleFavoriteQuery.Parameters, toggleFavoriteQuery.Result>

export namespace toggleFavoriteQuery {
  export type Parameters = [uuid: string]
  export type Result = {
    id: string
    firstName: string
    lastName: string | null
    description: string | null
    avatar: string
    contactInfo: $runtime.JsonValue
    favorite: boolean
  }
}
