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

12 lines 804 B
/** Configuration to display a DOI, as well as the ability to create one for users with such permission */ export type PortalDOIConfiguration = { /** The ID of the portal created with https://rest-docs.synapse.org/rest/POST/portal.html */ portalId: string; /** The type of portal resource the card refers to (e.g. STUDY). This is included in the serialized DOI ID. */ resourceType: string; /** Ordered list of table columns that contain the ID of the resource that is serialized to the DOI object ID. */ resourceIdKeyColumns: string[]; /** Function to transform the type and key attributes to a deterministic DOI ID */ serializeDoiString: (resourceType: string, resourceAttributes: Record<string, string>) => string; }; //# sourceMappingURL=PortalDOIConfiguration.d.ts.map