synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
17 lines • 1.06 kB
TypeScript
import { ColumnModel, QueryBundleRequest } from '@sage-bionetworks/synapse-types';
export type TableQueryActionsRequiredProps = {
/** The query request to use to select rows to check if actions are required. */
queryBundleRequest: QueryBundleRequest;
/** The column models of the table */
columnModels: ColumnModel[];
/** Invoked when a user clicks "View Sharing Settings" for a set of files that require the Download permission*/
onViewSharingSettingsClicked?: (benefactorId: string) => void;
/** Invoked when the number of required actions changes. Can be used to set UI state based on if all actions have been fulfilled */
onNumberOfRequiredActionsChanged?: (actionsRequired: number) => void;
};
/**
* Displays an interactive list of actions required to take for a user to gain access to Synapse entities referenced in
* a table query.
*/
export declare function TableQueryActionsRequired(props: TableQueryActionsRequiredProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=TableQueryActionsRequired.d.ts.map