Skip to content
Search
Search the documentation
UserSourceSchema
GitHub GitHub

UserSourceSchema

Variable: UserSourceSchema

const UserSourceSchema: ZodMiniEnum<{ discord: "discord"; topgg: "topgg"; }>

Defined in: v1/schemas/base.ts:37

A User Source is an enum that represents a user account from an external platform that is linked to a Top.gg user account. Each source has a unique identifer type that we might validate against.

If none is passed to any endpoint that accepts a source parameter, it will default to topgg.