UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

22 lines 1.15 kB
import { CardLink } from '@/components/CardContainer/CardLink'; import { TargetEnum } from '@/utils/html/TargetEnum'; import { ColumnModel, Entity, FileHandleAssociation, SelectColumn } from '@sage-bionetworks/synapse-types'; export declare const getFileHandleAssociation: (table?: Entity, fileHandleId?: string, rowSynapseId?: string) => FileHandleAssociation | undefined; export declare const getValueOrMultiValue: ({ columnName, value, selectColumns, columnModels, }: { columnName?: string; value?: string; selectColumns?: SelectColumn[]; columnModels?: ColumnModel[]; }) => ValueOrMultiValue; type ValueOrMultiValue = { str: string; strList?: string[]; selectColumn?: SelectColumn; }; export declare function getCardLinkHref(cardLink: CardLink | undefined, data: string[] | undefined, schema?: Record<string, number>, rowId?: number): string | undefined; export declare function getLinkParams(link: string, cardLinkConfig: CardLink | undefined, data: string[] | undefined, schema?: Record<string, number>, rowId?: number): { href: string; target: TargetEnum; }; export {}; //# sourceMappingURL=CardUtils.d.ts.map