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

98 lines
1.7 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-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[]
}