forked from canada-ca/tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstatus.js
More file actions
22 lines (21 loc) · 665 Bytes
/
status.js
File metadata and controls
22 lines (21 loc) · 665 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { GraphQLEnumType } from 'graphql'
export const StatusEnum = new GraphQLEnumType({
name: 'StatusEnum',
values: {
PASS: {
value: 'pass',
description: 'If the given check meets the passing requirements.',
},
INFO: {
value: 'info',
description:
"If the given check has flagged something that can provide information on the domain that aren't scan related.",
},
FAIL: {
value: 'fail',
description: 'If the given check does not meet the passing requirements',
},
},
description:
'Enum used to inform front end if there are any issues, info, or the domain passes a given check.',
})