File

src/users/dto/create-user-identity.dto.ts

Index

Properties

Properties

Readonly Optional authStrategy
Type : string
Decorators :
@ApiProperty()
Readonly Optional credentials
Type : Record<string | >
Decorators :
@ApiProperty()
Readonly Optional externalId
Type : string
Decorators :
@ApiProperty()
Readonly profile
Type : UserProfile
Decorators :
@ApiProperty()
Readonly Optional provider
Type : string
Decorators :
@ApiProperty()
Readonly userId
Type : string
Decorators :
@ApiProperty()
import { ApiProperty } from "@nestjs/swagger";
import { UserProfile } from "../schemas/user-profile.schema";

export class CreateUserIdentityDto {
  @ApiProperty()
  readonly authStrategy?: string;

  @ApiProperty()
  readonly credentials?: Record<string, unknown>;

  @ApiProperty()
  readonly externalId?: string;

  @ApiProperty()
  readonly profile: UserProfile;

  @ApiProperty()
  readonly provider?: string;

  @ApiProperty()
  readonly userId: string;
}

results matching ""

    No results matching ""