Skip to main content

getUserCtor

Callable

  • getUserCtor<CustomEmail, CustomSession, CustomService, CustomUserCtorArgs, CustomEmailCtorArgs, CustomServiceCtorArgs>(__namedParameters?: { EmailEntity?: new (args: CustomEmailCtorArgs) => CustomEmail; ServiceEntity?: new (args: CustomServiceCtorArgs) => CustomService; abstract?: boolean; getCustomEmailArgs?: (args: CustomUserCtorArgs) => Partial<CustomEmailCtorArgs>; getCustomServiceArgs?: (args: CustomUserCtorArgs) => Partial<CustomServiceCtorArgs> }): UserCtor<CustomEmail, CustomSession, CustomService, UserCtorArgs>

  • Type parameters

    Parameters

    • __namedParameters: { EmailEntity?: new (args: CustomEmailCtorArgs) => CustomEmail; ServiceEntity?: new (args: CustomServiceCtorArgs) => CustomService; abstract?: boolean; getCustomEmailArgs?: (args: CustomUserCtorArgs) => Partial<CustomEmailCtorArgs>; getCustomServiceArgs?: (args: CustomUserCtorArgs) => Partial<CustomServiceCtorArgs> } = {}

    Returns UserCtor<CustomEmail, CustomSession, CustomService, UserCtorArgs>