chore: commit remaining worktree changes
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
import { apiFetch } from "./client";
|
||||
import type { PreviewResult } from "./types";
|
||||
|
||||
export const sqlPreview = (
|
||||
id: string,
|
||||
opts: { limit?: number; offset?: number } = {}
|
||||
) =>
|
||||
apiFetch<PreviewResult>(`/sessions/${id}/sql/preview`, {
|
||||
method: "POST",
|
||||
body: JSON.stringify(opts),
|
||||
});
|
||||
|
||||
export const sqlExport = (id: string) =>
|
||||
apiFetch<{ path: string }>(`/sessions/${id}/sql/export`, { method: "POST" });
|
||||
Reference in New Issue
Block a user