forked from geolba/tethys.backend
Arno Kaimbacher
c9ba7d6adc
- npm updates for webpack-encore and postcss-loader - DatasetExtension.ts: use relation contributors for PersonContributor - added DoiClient.ts and DoiClientContract.ts - rozes.ts: addes routes for creating and storing doi identifier - addes xslt doi_datacite.xslt needed for registering DOI identifier
12 lines
405 B
TypeScript
12 lines
405 B
TypeScript
// import ResumptionToken from './ResumptionToken';
|
|
|
|
export default interface DoiClientContract {
|
|
username: string;
|
|
password: string;
|
|
serviceUrl: string;
|
|
// prefix: string;
|
|
// base_domain: string;
|
|
registerDoi(doiValue: string, xmlMeta: string, landingPageUrl: string);
|
|
// get(key: string): Promise<ResumptionToken | null>;
|
|
// set(token: ResumptionToken): Promise<string>;
|
|
} |