MCPcopy Index your code
hub / github.com/simstudioai/sim / getTableDetailQueryOptions

Function getTableDetailQueryOptions

apps/sim/hooks/queries/tables.ts:258–264  ·  view source on GitHub ↗
(workspaceId: string, tableId: string)

Source from the content-addressed store, hash-verified

256 * providers) can `ensureQueryData` the same cache entry `useTable` populates.
257 */
258export function getTableDetailQueryOptions(workspaceId: string, tableId: string) {
259 return {
260 queryKey: tableKeys.detail(tableId),
261 queryFn: ({ signal }: { signal?: AbortSignal }) => fetchTable(workspaceId, tableId, signal),
262 staleTime: 30 * 1000,
263 }
264}
265
266export interface TableRunState {
267 dispatches: ActiveDispatch[]

Callers 1

selectors.tsFile · 0.90

Calls 1

fetchTableFunction · 0.85

Tested by

no test coverage detected