forked from canada-ca/tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdomain-order-field.js
More file actions
36 lines (35 loc) · 936 Bytes
/
domain-order-field.js
File metadata and controls
36 lines (35 loc) · 936 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
36
import { GraphQLEnumType } from 'graphql'
export const DomainOrderField = new GraphQLEnumType({
name: 'DomainOrderField',
description: 'Properties by which domain connections can be ordered.',
values: {
DOMAIN: {
value: 'domain',
description: 'Order domains by domain.',
},
LAST_RAN: {
value: 'last-ran',
description: 'Order domains by last ran.',
},
DKIM_STATUS: {
value: 'dkim-status',
description: 'Order domains by dkim status.',
},
DMARC_STATUS: {
value: 'dmarc-status',
description: 'Order domains by dmarc status.',
},
HTTPS_STATUS: {
value: 'https-status',
description: 'Order domains by https status.',
},
SPF_STATUS: {
value: 'spf-status',
description: 'Order domains by spf status.',
},
SSL_STATUS: {
value: 'ssl-status',
description: 'Order domains by ssl status.',
},
},
})