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
|
# frozen_string_literal: true
module Types
module Users
class NamespaceCommitEmailType < BaseObject
graphql_name 'NamespaceCommitEmail'
authorize :read_user_email_address
field :id,
GraphQL::Types::ID,
null: false,
description: 'Internal ID of the namespace commit email.'
field :email,
Types::Users::EmailType,
null: false,
description: 'Email.'
field :namespace,
Types::NamespaceType,
null: false,
description: 'Namespace.'
field :created_at,
Types::TimeType,
null: false,
description: 'Timestamp the namespace commit email was created.'
field :updated_at,
Types::TimeType,
null: false,
description: 'Timestamp the namespace commit email was last updated.'
end
end
end
|