(
workspaceId: string,
baseId: string,
options: { source_id: string; name: string; baseId: string; query: string }
)
| 166 | } |
| 167 | |
| 168 | export async function createOuterbaseQuery( |
| 169 | workspaceId: string, |
| 170 | baseId: string, |
| 171 | options: { source_id: string; name: string; baseId: string; query: string } |
| 172 | ) { |
| 173 | return requestOuterbase<OuterbaseAPIQuery>( |
| 174 | `/api/v1/workspace/${workspaceId}/query?${new URLSearchParams({ baseId })}`, |
| 175 | "POST", |
| 176 | options |
| 177 | ); |
| 178 | } |
| 179 | |
| 180 | export async function deleteOuterbaseQuery( |
| 181 | workspaceId: string, |
no test coverage detected