UNPKG

@lomray/microservice-users

Version:

Users microservice based on NodeJS & inverted json.

19 lines (18 loc) 616 B
import IdProvider from "../../constants/id-provider.js"; import User from "../../entities/user.js"; declare class IdentityProviderAttachInput { userId: string; provider: IdProvider; token: string; params: Record<string, any>; } declare class IdentityProviderAttachOutput { user: User; } /** * Attach new identity provider to existing user */ declare const attach: import("@lomray/microservice-helpers/services/endpoint").IReturnWithMeta<never, IdentityProviderAttachInput, Record<string, any>, { user: User; }>; export { IdentityProviderAttachInput, IdentityProviderAttachOutput, attach };