export interface ResourceType { id: string name: string contentType: string count: number simple: boolean } export interface KeyValue { k: string; v: string; } export interface BrowseTerm { term: string, name: string, total: number } export interface Module { group: string; name: string; versions: string[]; files: string[]; } export interface ProtocolParam { name: string label: string type: string optional: boolean hasSelFunction: boolean } export interface Protocol { id: string params: ProtocolParam[] } export interface WfHistoryEntry { processId: string, name: string, family: string, status: string, startDate: string, endDate: string, dsId?: string, dsName?: string, dsApi?: string, details: Map } export interface SimpleResource { id: string, name: string, type: string, description?: string, creationDate?: string, modificationDate?: string } export interface ContextParam { name: string, value: string } export interface Context { id: string, label: string, parameters: ContextParam[], nChilds: number, type: string } export interface ContextNode { id: string, label: string, parameters: ContextParam[], nChilds: number, claim: boolean, parent: string, populated?: boolean, childs?: ContextNode[] } export interface Vocabulary { id: string, name: string, description?: string } export interface VocabularyTermSynonym { term: string, encoding: string } export interface VocabularyTerm { code: string, vocabulary: string, name: string, encoding: string, synonyms: VocabularyTermSynonym[] } export interface Api { id: string, protocol: string, compliance: string, active: boolean, aggrDate: string, aggrTotal: number } export interface Organization { name:string, country:string } export interface Datasource { id: string, name: string, otherName?: string, nsprefix: string, websiteUrl?: string, type: string, consenttermsofuse?: boolean, fulltextdownload?: boolean, collectedFrom: string, organizations: Organization[], apis: Api[] } export interface Page { content: T[], totalPages: number, totalElements: number, size: number, number: number } export interface DsmConf { compatibilityLevels: string[], contentDescTypes: string[], protocols: Protocol[] }