forked from canada-ca/tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhttps-order-field.js
More file actions
32 lines (31 loc) · 833 Bytes
/
https-order-field.js
File metadata and controls
32 lines (31 loc) · 833 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
import { GraphQLEnumType } from 'graphql'
export const HttpsOrderField = new GraphQLEnumType({
name: 'HTTPSOrderField',
description: 'Properties by which HTTPS connections can be ordered.',
values: {
TIMESTAMP: {
value: 'timestamp',
description: 'Order HTTPS edges by timestamp.',
},
IMPLEMENTATION: {
value: 'implementation',
description: 'Order HTTPS edges by implementation.',
},
ENFORCED: {
value: 'enforced',
description: 'Order HTTPS edges by enforced.',
},
HSTS: {
value: 'hsts',
description: 'Order HTTPS edges by hsts.',
},
HSTS_AGE: {
value: 'hsts-age',
description: 'Order HTTPS edges by hsts age.',
},
PRELOADED: {
value: 'preloaded',
description: 'Order HTTPS edges by preloaded.',
},
},
})