export interface ResourceType { id: string name: string contentType: string count: number simple: boolean } export interface KeyValue { k: string; v: string; } export interface Module { group: string; name: string; versions: string[]; files: string[]; } export interface ProtocolParams { name: string label: string type: string optional: boolean hasSelFunction: boolean } export interface Protocol { id: string params: ProtocolParams[] } 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[] }