Initial commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
export interface ApiRequestOptions {
|
||||
signal?: AbortSignal
|
||||
}
|
||||
|
||||
export interface ExampleHealthResponse {
|
||||
status: 'ok'
|
||||
}
|
||||
|
||||
export interface ExampleWelcomeResponse {
|
||||
message: string
|
||||
}
|
||||
|
||||
export interface ExampleApi {
|
||||
getHealth: (options?: ApiRequestOptions) => Promise<ExampleHealthResponse>
|
||||
getWelcome: (options?: ApiRequestOptions) => Promise<ExampleWelcomeResponse>
|
||||
}
|
||||
|
||||
export interface ApiClients {
|
||||
example: ExampleApi
|
||||
}
|
||||
Reference in New Issue
Block a user