tethys.backend/app/Library/Doi/DoiClientContract.ts
Arno Kaimbacher c9ba7d6adc
Some checks failed
CI Pipeline / japa-tests (push) Failing after 57s
- added doi registration
- 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
2024-01-26 09:39:03 +01:00

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>;
}