dnet-applications/frontends/dnet-is-application/src/app/model/controller.model.ts

143 lines
2.4 KiB
TypeScript
Raw Normal View History

2023-01-20 11:39:34 +01:00
export interface ResourceType {
2023-01-30 12:37:01 +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 {
k: string;
v: string;
2023-01-26 12:21:50 +01:00
}
2023-01-31 12:36:51 +01:00
export interface BrowseTerm {
term: string,
name: string,
total: number
}
2023-01-25 16:08:32 +01:00
export interface Module {
2023-01-23 14:22:14 +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-01-20 11:39:34 +01:00
export interface ProtocolParams {
2023-01-30 12:37:01 +01:00
name: string
label: string
type: string
optional: boolean
hasSelFunction: boolean
2023-01-20 11:39:34 +01:00
}
export interface Protocol {
id: string
params: ProtocolParams[]
2023-01-20 16:57:03 +01:00
}
export interface WfHistoryEntry {
processId: string,
name: string,
family: string,
status: string,
startDate: string,
endDate: string,
dsId?: string,
dsName?: string,
dsApi?: string,
2023-01-30 12:37:01 +01:00
details: Map<string, string>
2023-01-25 16:08:32 +01:00
}
export interface SimpleResource {
id: string,
name: string,
type: string,
description?: string,
creationDate?: string,
modificationDate?: string
}
2023-01-27 11:44:30 +01:00
export interface ContextParam {
name: string,
value: string
}
export interface Context {
id: string,
label: string,
parameters: ContextParam[],
nChilds: number,
type: string
2023-01-27 15:00:41 +01:00
}
export interface ContextNode {
id: string,
label: string,
parameters: ContextParam[],
nChilds: number,
claim: boolean,
parent: string,
populated?: boolean,
childs?: ContextNode[]
}
2023-01-30 10:58:34 +01:00
export interface Vocabulary {
id: string,
name: string,
description?: string
2023-01-30 12:37:01 +01:00
}
export interface VocabularyTermSynonym {
term: string,
encoding: string
}
export interface VocabularyTerm {
code: string,
vocabulary: string,
name: string,
encoding: string,
synonyms: VocabularyTermSynonym[]
}
2023-01-31 15:02:51 +01:00
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<T> {
content: T[],
totalPages: number,
totalElements: number,
size: number,
2023-02-01 09:33:22 +01:00
number: number
2023-01-31 15:02:51 +01:00
}