Files
oh-my-opencode/src/shared/open-code-client-shapes.ts
T

8 lines
294 B
TypeScript
Raw Normal View History

export type ProviderListResponse = { data?: { connected?: string[] } }
export type ModelListResponse = {
data?: Array<{ id?: string; provider?: string }>
}
export type ProviderListFunction = () => Promise<ProviderListResponse>
export type ModelListFunction = () => Promise<ModelListResponse>