Solution API
Solution API is supplied by the isolated LongLink renderer.
longlink docs --component "Solution API"
Solution API [Runtime]Props and typesdeclare function navigate(path: string): void;declare function request<T = unknown>(path: string,options?: {method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';json?: unknown;form?: [string, string | Blob][];binary?: boolean;},): Promise<T>;declare function useApi<T = unknown>(path: string): readonly [T, () => Promise<void>];
Referencedeclare function navigate(path: string): void;declare function request<T = unknown>(path: string,options?: {method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';json?: unknown;form?: [string, string | Blob][];binary?: boolean;},): Promise<T>;declare function useApi<T = unknown>(path: string): readonly [T, () => Promise<void>];