Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • RecipeInterface

Index

Methods

getUserById

  • getUserById(input: { userId: string }): Promise<undefined | User>

getUserByThirdPartyInfo

  • getUserByThirdPartyInfo(input: { thirdPartyId: string; thirdPartyUserId: string }): Promise<undefined | User>

getUsersByEmail

  • getUsersByEmail(input: { email: string }): Promise<User[]>

signInUp

  • signInUp(input: { email: { id: string; isVerified: boolean }; thirdPartyId: string; thirdPartyUserId: string }): Promise<{ createdNewUser: boolean; status: "OK"; user: User } | { error: string; status: "FIELD_ERROR" }>
  • Parameters

    • input: { email: { id: string; isVerified: boolean }; thirdPartyId: string; thirdPartyUserId: string }
      • email: { id: string; isVerified: boolean }
        • id: string
        • isVerified: boolean
      • thirdPartyId: string
      • thirdPartyUserId: string

    Returns Promise<{ createdNewUser: boolean; status: "OK"; user: User } | { error: string; status: "FIELD_ERROR" }>

Generated using TypeDoc