UNPKG

@sethub/sdk

Version:

<div align="center"> <h1> SetHub SDK </h1>

21 lines (20 loc) 634 B
import type { SetHubProtocols } from '../../../common/types/common'; import type { HttpClientProtocols } from '../../../http/protocols/client.protocols'; type SignUpFailure = { code: 'internal'; message: string; }; export declare namespace SignUp { type Input = { name: string; email: string; password: string; }; type Options = Pick<HttpClientProtocols.PostOptions, 'abortSignal'>; type Success = void; type ErrorCodes = 'internal'; type Failure = SignUpFailure; type Output = Success | Failure; type Response = SetHubProtocols.Response<Success, Failure>; } export {};