1
|
|
2
|
/* class copied from omtd-platform git repository */
|
3
|
|
4
|
export class Description {
|
5
|
desc : string;
|
6
|
label : string;
|
7
|
mandatory : boolean;
|
8
|
recommended : boolean;
|
9
|
}
|
10
|
|
11
|
|
12
|
/* Description of the repository interface repeating form */
|
13
|
export let interfaceFormDesc = {
|
14
|
desc : 'form for adding new interfaces of the repository',
|
15
|
label : 'Interface',
|
16
|
mandatory: true,
|
17
|
recommended: false
|
18
|
};
|
19
|
|
20
|
|
21
|
/* Desription of the Datasource Update Form fields */
|
22
|
export let softwarePlatformDesc = {
|
23
|
desc : 'the software platform that the repository uses',
|
24
|
label: 'Software Platform (*)',
|
25
|
mandatory: true,
|
26
|
recommended: false
|
27
|
};
|
28
|
|
29
|
export let platformNameDesc = {
|
30
|
desc : 'the name of the software platform that the repository uses',
|
31
|
label : '',
|
32
|
mandatory: true,
|
33
|
recommended: false
|
34
|
};
|
35
|
|
36
|
export let officialNameDesc = {
|
37
|
desc : 'the official name of the repository',
|
38
|
label : 'Official Name (*)',
|
39
|
mandatory : true,
|
40
|
recommended : false
|
41
|
};
|
42
|
|
43
|
export let repoDescriptionDesc = {
|
44
|
desc : 'a description for the repository',
|
45
|
label : 'Description (*)',
|
46
|
mandatory : true,
|
47
|
recommended : false
|
48
|
};
|
49
|
|
50
|
export let countryDesc = {
|
51
|
desc : 'the name of a country',
|
52
|
label : 'Country (*)',
|
53
|
mandatory : true,
|
54
|
recommended : false
|
55
|
};
|
56
|
|
57
|
export let longtitudeDesc = {
|
58
|
desc : 'longtitude of the repository position',
|
59
|
label : 'Longtitude (*)',
|
60
|
mandatory : true,
|
61
|
recommended : false
|
62
|
};
|
63
|
|
64
|
export let latitudeDesc = {
|
65
|
desc : 'latitude of the repository position',
|
66
|
label : 'Latitude (*)',
|
67
|
mandatory : true,
|
68
|
recommended : false
|
69
|
};
|
70
|
|
71
|
export let websiteUrlDesc = {
|
72
|
desc : 'the repository\'s web address',
|
73
|
label : 'Entry URL (*)',
|
74
|
mandatory : true,
|
75
|
recommended : false
|
76
|
};
|
77
|
|
78
|
export let institutionNameDesc = {
|
79
|
desc : 'the name of the institution that the repository belongs to',
|
80
|
label : 'Institution (*)',
|
81
|
mandatory : true,
|
82
|
recommended : false
|
83
|
};
|
84
|
|
85
|
export let englishNameDesc = {
|
86
|
desc : 'the name of the repository in english',
|
87
|
label : 'English Name (*)',
|
88
|
mandatory : true,
|
89
|
recommended : false
|
90
|
};
|
91
|
|
92
|
export let logoUrlDesc = {
|
93
|
desc : 'the url of a logo for the repository',
|
94
|
label : 'Logo URL',
|
95
|
mandatory : false,
|
96
|
recommended : false
|
97
|
};
|
98
|
|
99
|
export let timezoneDesc = {
|
100
|
desc : 'timezone of the repository country',
|
101
|
label : 'Timezone (*)',
|
102
|
mandatory : true,
|
103
|
recommended : false
|
104
|
};
|
105
|
|
106
|
export let datasourceTypeDesc = {
|
107
|
desc : 'the type of the datasource',
|
108
|
label : 'Datasource Type (*)',
|
109
|
mandatory : true,
|
110
|
recommended : false
|
111
|
};
|
112
|
|
113
|
export let adminEmailDesc = {
|
114
|
desc : 'the email address of the datasource administrator',
|
115
|
label : 'Admin Email (*)',
|
116
|
mandatory : true,
|
117
|
recommended : false
|
118
|
};
|