/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck
import * as $runtime from '@prisma/client/runtime/client'

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

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