forked from canada-ca/tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathemail-update-options.js
More file actions
25 lines (24 loc) · 967 Bytes
/
Copy pathemail-update-options.js
File metadata and controls
25 lines (24 loc) · 967 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
import { GraphQLBoolean, GraphQLObjectType } from 'graphql'
export const emailUpdateOptionsType = new GraphQLObjectType({
name: 'EmailUpdateOptions',
fields: () => ({
orgFootprint: {
type: GraphQLBoolean,
description:
"Value used to determine if user wants to receive possibly daily email updates about their organization's digital footprint.",
resolve: ({ orgFootprint }) => orgFootprint,
},
progressReport: {
type: GraphQLBoolean,
description:
"Value used to determine if user wants to receive monthly email updates about their organization's compliance score progress.",
resolve: ({ progressReport }) => progressReport,
},
detectDecay: {
type: GraphQLBoolean,
description:
"Value used to determine if user wants to receive possibly daily email updates about their organization's compliance statuses.",
resolve: ({ detectDecay }) => detectDecay,
},
}),
})