synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
11 lines • 515 B
TypeScript
import { SynapseContextType } from '@/utils/index';
import { GridSession } from '@sage-bionetworks/synapse-client';
import { QueryClient } from '@tanstack/react-query';
/**
* Get the latest grid session for the given source. If no grid session exists, return null.
*/
export declare function getLatestGridSessionForSource(sourceId: string, context: {
queryClient: QueryClient;
synapseContext: SynapseContextType;
}): Promise<GridSession | null>;
//# sourceMappingURL=getLatestGridSessionForSource.d.ts.map