UNPKG

@sethub/sdk

Version:

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

24 lines (23 loc) 817 B
import type { SetHubProtocols } from '../../../common/types/common'; import type { HttpClientProtocols } from '../../../http/protocols/client.protocols'; import type { ProjectMemberRole, UserProject } from './project'; type ListMyProjectsFailure = { code: 'internal'; message: string; }; export declare namespace ListMyProjects { type Options = Pick<HttpClientProtocols.PostOptions, 'abortSignal'>; type APIOutput = { slug: string; name: string; description: string | null; role: ProjectMemberRole; update_sets_count: number; }[]; type Success = UserProject[]; type ErrorCodes = 'internal'; type Failure = ListMyProjectsFailure; type Output = APIOutput | Failure; type Response = SetHubProtocols.Response<Success, Failure>; } export {};