mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-17 06:19:41 +02:00
17 lines
737 B
TypeScript
Generated
17 lines
737 B
TypeScript
Generated
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { HttpExchange, ModelPayload } from "./gen_models";
|
|
|
|
export type ListModelsRequest = Record<string, never>;
|
|
|
|
export type ListModelsResponse = { httpExchanges: Array<HttpExchange>, };
|
|
|
|
export type ProxyStartRequest = { port: number | null, };
|
|
|
|
export type ProxyStartResponse = { port: number, alreadyRunning: boolean, };
|
|
|
|
export type ProxyStopRequest = Record<string, never>;
|
|
|
|
export type RpcEventSchema = { model_write: ModelPayload, };
|
|
|
|
export type RpcSchema = { proxy_start: [ProxyStartRequest, ProxyStartResponse], proxy_stop: [ProxyStopRequest, boolean], list_models: [ListModelsRequest, ListModelsResponse], };
|