-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariable-definitions.js
198 lines (198 loc) · 3.88 KB
/
variable-definitions.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
export const fieldDefinitions = {
id: {
type: 'Integer', //The data type being represented. Determines what type of editable field is displayed (textField, datePicker, etc)
editable: false, //Whether or not the field is greyed out
display: false, //Whether or not the field is actually rendered
label: 'Variable ID', //The cleaner title of the editable field
pristine: true, //whether or not the field is still untouched by the edit page. False means the field has been edited and will be passed to the mutation
},
name: {
type: 'String',
editable: true,
display: true,
label: 'Name',
pristine: true,
},
class: {
type: 'String',
editable: true,
display: true,
label: 'Class',
pristine: true,
},
domain: {
type: 'String',
editable: true,
display: true,
label: 'Domain',
pristine: true,
},
set: {
type: 'String',
editable: true,
display: true,
label: 'Set',
pristine: true,
},
description: {
type: 'String',
editable: true,
display: true,
label: 'Description',
pristine: true,
},
method: {
type: 'String',
editable: true,
display: true,
label: 'Method',
pristine: true,
},
uri: {
type: 'String',
editable: true,
display: true,
label: 'Uniform Resource Identifier (URI)',
pristine: true,
},
rftype: {
type: 'String',
editable: true,
display: true,
label: 'RF Type',
pristine: true,
},
score: {
type: 'Integer',
editable: true,
display: true,
label: 'Score',
pristine: true,
},
rating: {
type: 'Integer',
editable: true,
display: true,
label: 'Rating',
pristine: true,
},
relevance: {
type: 'Float',
editable: true,
display: true,
label: 'Relevance',
pristine: true,
},
feasibility: {
type: 'Float',
editable: true,
display: true,
label: 'Feasibility',
pristine: true,
},
cost: {
type: 'Float',
editable: true,
display: true,
label: 'Cost',
pristine: true,
},
updated_by: {
type: 'String',
editable: true,
display: true,
label: 'Updated By',
pristine: true,
},
updated_at: {
type: 'Date',
editable: true,
display: true,
label: 'Updated At',
pristine: true,
},
frequency_value: {
type: 'Float',
editable: true,
display: true,
label: 'Frequency Value',
pristine: true,
},
frequency_unit: {
type: 'String',
editable: true,
display: true,
label: 'Frequency Unit',
pristine: true,
},
frequency_comment: {
type: 'String',
editable: true,
display: true,
label: 'Frequency Comment',
pristine: true,
},
res_value: {
type: 'Float',
editable: true,
display: true,
label: 'Resolution Value',
pristine: true,
},
res_unit: {
type: 'String',
editable: true,
display: true,
label: 'Resolution Unit',
pristine: true,
},
res_comment: {
type: 'String',
editable: true,
display: true,
label: 'Resolution Comment',
pristine: true,
},
unc_val: {
type: 'Float',
editable: true,
display: true,
label: 'Uncertainty Value',
pristine: true,
},
unc_unit: {
type: 'String',
editable: true,
display: true,
label: 'Uncertainty Unit',
pristine: true,
},
unc_comment: {
type: 'String',
editable: true,
display: true,
label: 'Uncertainty Comment',
pristine: true,
},
req_source: {
type: 'String',
editable: true,
display: true,
label: '***req=Request?*** Source',
pristine: true,
},
req_uri: {
type: 'String',
editable: true,
display: true,
label: '***req=Request?*** Uniform Resource Identifier (URI)',
pristine: true,
},
technology_type: {
type: 'String',
editable: true,
display: true,
label: 'Technology Type',
pristine: true,
},
}