UNPKG

@sethub/sdk

Version:

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

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