-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproperties.ts
More file actions
35 lines (34 loc) · 797 Bytes
/
properties.ts
File metadata and controls
35 lines (34 loc) · 797 Bytes
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
import { PropertiesConfig } from '../model';
import { persons } from './persons';
export const properties: PropertiesConfig = {
status: {
values: [
'open',
'in_progress',
'done',
]
},
priority: {
values: [
'high',
'medium',
'low',
]
},
resolution: {
values: [
'done',
'wontfix',
'duplicate',
]
},
author: {
values: persons.map(person => `@${person.username}`),
completions: persons.map(person => ({
apply: `@${person.username}`,
label: `${person.name} ${person.surname}`,
detail: `(@${person.username})`,
info: `${person.job}`
}))
}
};