Skip to main content
Skip to main content

internal

Enumerations

Classes

Type Aliases

AdminAuthRes

AdminAuthRes: Object

Schema

AdminAuthRes type: object required:

  • user properties: user: description: User details. $ref: "#/components/schemas/User"

Type declaration

userOmit<User, "password_hash">Required

AdminBearerAuthRes

AdminBearerAuthRes: Object

Schema

AdminBearerAuthRes type: object properties: access_token: description: Access token that can be used to send authenticated requests. type: string

Type declaration

access_tokenstringRequired

Exclude

Exclude<T, U>: T extends U ? never : T

Exclude from T those types that are assignable to U

Type parameters

TobjectRequired
UobjectRequired

Omit

Omit<T, K>: Pick<T, Exclude<keyof T, K>>

Construct a type with the properties of T except for those in type K.

Type parameters

TobjectRequired
Kkeyof anyRequired

Pick

Pick<T, K>: { [P in K]: T[P] }

From T, pick a set of properties whose keys are in the union K

Type parameters

TobjectRequired
Kkeyof TRequired
Was this section helpful?