tethys.backend/app/Library/Doi/DoiClientContract.ts

13 lines
473 B
TypeScript
Raw Normal View History

// import ResumptionToken from './ResumptionToken';
2024-03-14 19:25:27 +00:00
import { AxiosResponse } from 'axios';
export default interface DoiClientContract {
username: string;
password: string;
serviceUrl: string;
// prefix: string;
// base_domain: string;
2024-03-14 19:25:27 +00:00
registerDoi(doiValue: string, xmlMeta: string, landingPageUrl: string): Promise<AxiosResponse<any>>;
// get(key: string): Promise<ResumptionToken | null>;
// set(token: ResumptionToken): Promise<string>;
}