2023-01-20 11:39:34 +01:00
|
|
|
export interface ResourceType {
|
2023-02-08 15:12:39 +01:00
|
|
|
id: string
|
|
|
|
name: string
|
|
|
|
contentType: string
|
|
|
|
count: number
|
|
|
|
simple: boolean
|
2023-01-19 14:47:52 +01:00
|
|
|
}
|
|
|
|
|
2023-01-23 14:22:14 +01:00
|
|
|
export interface KeyValue {
|
2023-02-08 15:12:39 +01:00
|
|
|
k: string;
|
2023-03-21 15:28:18 +01:00
|
|
|
v: any;
|
2023-01-26 12:21:50 +01:00
|
|
|
}
|
|
|
|
|
2023-01-31 12:36:51 +01:00
|
|
|
export interface BrowseTerm {
|
2023-02-08 15:12:39 +01:00
|
|
|
term: string,
|
|
|
|
name: string,
|
|
|
|
total: number
|
2023-01-31 12:36:51 +01:00
|
|
|
}
|
|
|
|
|
2023-01-25 16:08:32 +01:00
|
|
|
export interface Module {
|
2023-02-08 15:12:39 +01:00
|
|
|
group: string;
|
|
|
|
name: string;
|
|
|
|
versions: string[];
|
|
|
|
files: string[];
|
2023-01-25 16:08:32 +01:00
|
|
|
}
|
2023-01-23 14:22:14 +01:00
|
|
|
|
2023-02-01 15:45:33 +01:00
|
|
|
export interface ProtocolParam {
|
2023-02-08 15:12:39 +01:00
|
|
|
name: string
|
|
|
|
label: string
|
|
|
|
type: string
|
|
|
|
optional: boolean
|
|
|
|
hasSelFunction: boolean
|
2023-01-20 11:39:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface Protocol {
|
2023-02-08 15:12:39 +01:00
|
|
|
id: string
|
|
|
|
params: ProtocolParam[]
|
2023-01-20 16:57:03 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface WfHistoryEntry {
|
2023-02-08 15:12:39 +01:00
|
|
|
processId: string,
|
|
|
|
name: string,
|
|
|
|
family: string,
|
|
|
|
status: string,
|
|
|
|
startDate: string,
|
|
|
|
endDate: string,
|
|
|
|
dsId?: string,
|
|
|
|
dsName?: string,
|
|
|
|
dsApi?: string,
|
|
|
|
details: Map<string, string>
|
2023-01-25 16:08:32 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface SimpleResource {
|
2023-02-08 15:12:39 +01:00
|
|
|
id: string,
|
|
|
|
name: string,
|
|
|
|
type: string,
|
2023-03-03 13:53:21 +01:00
|
|
|
subtype?: string,
|
2023-02-08 15:12:39 +01:00
|
|
|
description?: string,
|
|
|
|
creationDate?: string,
|
|
|
|
modificationDate?: string
|
2023-01-25 16:08:32 +01:00
|
|
|
}
|
2023-01-27 11:44:30 +01:00
|
|
|
|
|
|
|
export interface ContextParam {
|
2023-02-08 15:12:39 +01:00
|
|
|
name: string,
|
|
|
|
value: string
|
2023-01-27 11:44:30 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface Context {
|
2023-02-08 15:12:39 +01:00
|
|
|
id: string,
|
|
|
|
label: string,
|
|
|
|
parameters: ContextParam[],
|
|
|
|
nChilds: number,
|
|
|
|
type: string
|
2023-01-27 15:00:41 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface ContextNode {
|
2023-02-08 15:12:39 +01:00
|
|
|
id: string,
|
|
|
|
label: string,
|
|
|
|
parameters: ContextParam[],
|
|
|
|
nChilds: number,
|
|
|
|
claim: boolean,
|
|
|
|
parent: string,
|
|
|
|
populated?: boolean,
|
|
|
|
childs?: ContextNode[]
|
2023-01-27 15:00:41 +01:00
|
|
|
}
|
2023-01-30 10:58:34 +01:00
|
|
|
|
|
|
|
export interface Vocabulary {
|
2023-02-08 15:12:39 +01:00
|
|
|
id: string,
|
|
|
|
name: string,
|
|
|
|
description?: string
|
2023-01-30 12:37:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface VocabularyTermSynonym {
|
2023-02-08 15:12:39 +01:00
|
|
|
term: string,
|
|
|
|
encoding: string
|
2023-01-30 12:37:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface VocabularyTerm {
|
2023-02-08 15:12:39 +01:00
|
|
|
code: string,
|
|
|
|
vocabulary: string,
|
|
|
|
name: string,
|
|
|
|
encoding: string,
|
|
|
|
synonyms: VocabularyTermSynonym[]
|
2023-01-30 12:37:01 +01:00
|
|
|
}
|
2023-01-31 15:02:51 +01:00
|
|
|
|
|
|
|
export interface Api {
|
2023-02-08 15:12:39 +01:00
|
|
|
id: string,
|
|
|
|
protocol: string,
|
|
|
|
compliance: string,
|
|
|
|
active: boolean,
|
|
|
|
aggrDate: string,
|
|
|
|
aggrTotal: number
|
2023-01-31 15:02:51 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 14:26:53 +01:00
|
|
|
export interface ApiParam {
|
2023-02-08 15:12:39 +01:00
|
|
|
param: string,
|
|
|
|
value: string
|
2023-02-02 14:26:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface ApiInsert {
|
2023-02-08 15:12:39 +01:00
|
|
|
id: string,
|
|
|
|
protocol: string,
|
|
|
|
datasource: string,
|
|
|
|
contentdescription: string,
|
|
|
|
removable: boolean,
|
|
|
|
compatibility: string,
|
|
|
|
metadataIdentifierPath: string,
|
|
|
|
baseurl: string,
|
|
|
|
apiParams: ApiParam[]
|
2023-02-02 14:26:53 +01:00
|
|
|
};
|
|
|
|
|
2023-01-31 15:02:51 +01:00
|
|
|
export interface Organization {
|
2023-02-08 15:12:39 +01:00
|
|
|
name: string,
|
|
|
|
country: string
|
2023-01-31 15:02:51 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export interface Datasource {
|
2023-02-08 15:12:39 +01:00
|
|
|
id: string,
|
|
|
|
name: string,
|
|
|
|
otherName?: string,
|
|
|
|
nsprefix: string,
|
|
|
|
websiteUrl?: string,
|
|
|
|
type: string,
|
|
|
|
consenttermsofuse?: boolean,
|
|
|
|
fulltextdownload?: boolean,
|
|
|
|
collectedFrom: string,
|
|
|
|
organizations: Organization[],
|
|
|
|
apis: Api[]
|
2023-01-31 15:02:51 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface Page<T> {
|
2023-02-08 15:12:39 +01:00
|
|
|
content: T[],
|
|
|
|
totalPages: number,
|
|
|
|
totalElements: number,
|
|
|
|
size: number,
|
|
|
|
number: number
|
2023-01-31 15:02:51 +01:00
|
|
|
}
|
|
|
|
|
2023-02-01 15:45:33 +01:00
|
|
|
export interface DsmConf {
|
2023-02-08 15:12:39 +01:00
|
|
|
compatibilityLevels: string[],
|
|
|
|
contentDescTypes: string[],
|
|
|
|
protocols: Protocol[]
|
2023-02-01 15:45:33 +01:00
|
|
|
}
|
2023-02-07 11:22:20 +01:00
|
|
|
|
|
|
|
export interface MDStore {
|
2023-02-08 15:12:39 +01:00
|
|
|
id: string,
|
|
|
|
format: string,
|
|
|
|
layout: string,
|
2023-02-10 12:18:06 +01:00
|
|
|
type: string,
|
2023-02-08 15:12:39 +01:00
|
|
|
interpretation: string,
|
|
|
|
datasourceName: string,
|
|
|
|
datasourceId: string,
|
|
|
|
apiId: string,
|
|
|
|
currentVersion: string,
|
|
|
|
creationDate: string,
|
|
|
|
lastUpdate: string,
|
|
|
|
size: number,
|
|
|
|
numberOfVersions: number,
|
2023-02-10 12:18:06 +01:00
|
|
|
params: any
|
2023-02-07 11:22:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface MDStoreVersion {
|
2023-02-08 15:12:39 +01:00
|
|
|
id: string,
|
|
|
|
mdstore: string,
|
|
|
|
writing: boolean,
|
|
|
|
readCount: number,
|
|
|
|
lastUpdate: string,
|
|
|
|
size: number,
|
2023-02-10 12:18:06 +01:00
|
|
|
params: any
|
2023-02-08 15:12:39 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface MDStoreRecord {
|
|
|
|
id: string,
|
|
|
|
originalId: string,
|
|
|
|
encoding: string,
|
|
|
|
body: string,
|
|
|
|
dateOfCollection: string,
|
|
|
|
dateOfTransformation: string,
|
|
|
|
provenance: any
|
2023-02-08 15:36:13 +01:00
|
|
|
}
|
2023-03-03 11:13:24 +01:00
|
|
|
|
|
|
|
export interface EmailTemplate {
|
|
|
|
id: string,
|
|
|
|
description: string,
|
|
|
|
subject: string,
|
|
|
|
message: string
|
|
|
|
}
|
2023-03-10 12:15:54 +01:00
|
|
|
|
2023-03-23 12:24:56 +01:00
|
|
|
export interface WfSection {
|
|
|
|
id: string,
|
|
|
|
name: string
|
|
|
|
}
|
2023-03-10 12:15:54 +01:00
|
|
|
|
2023-03-22 10:42:33 +01:00
|
|
|
export interface WfConf {
|
2023-03-10 12:15:54 +01:00
|
|
|
id: string,
|
2023-03-23 12:24:56 +01:00
|
|
|
name: string,
|
|
|
|
section?: string,
|
2023-03-10 12:15:54 +01:00
|
|
|
details: Map<string, string>,
|
|
|
|
priority: number,
|
|
|
|
dsId?: string,
|
|
|
|
dsName?: string,
|
|
|
|
apiId?: string,
|
|
|
|
enabled: boolean,
|
|
|
|
configured: boolean,
|
|
|
|
schedulingEnabled: boolean,
|
|
|
|
cronExpression?: string,
|
|
|
|
cronMinInterval?: number,
|
|
|
|
workflow: string,
|
|
|
|
destroyWf?: string,
|
|
|
|
systemParams: Map<string, string>,
|
|
|
|
userParams: Map<string, string>
|
|
|
|
}
|
2023-03-21 15:28:18 +01:00
|
|
|
|
2023-03-28 14:25:08 +02:00
|
|
|
export interface WfParam {
|
|
|
|
name: string,
|
|
|
|
description?: string,
|
|
|
|
type?: string,
|
|
|
|
defaultValue?: any,
|
|
|
|
required: boolean
|
|
|
|
}
|
|
|
|
|
2023-03-22 10:42:33 +01:00
|
|
|
export interface WfSubscription {
|
2023-03-27 14:16:53 +02:00
|
|
|
// TODO
|
2023-03-21 15:28:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface WfProcessStatus {
|
2023-03-27 14:16:53 +02:00
|
|
|
// TODO
|
2023-03-21 15:28:18 +01:00
|
|
|
}
|