diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-18 11:17:02 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-18 11:17:02 +0300 |
commit | b39512ed755239198a9c294b6a45e65c05900235 (patch) | |
tree | d234a3efade1de67c46b9e5a38ce813627726aa7 /app/graphql/types/metrics/dashboards/annotation_type.rb | |
parent | d31474cf3b17ece37939d20082b07f6657cc79a9 (diff) |
Add latest changes from gitlab-org/gitlab@15-3-stable-eev15.3.0-rc42
Diffstat (limited to 'app/graphql/types/metrics/dashboards/annotation_type.rb')
-rw-r--r-- | app/graphql/types/metrics/dashboards/annotation_type.rb | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/app/graphql/types/metrics/dashboards/annotation_type.rb b/app/graphql/types/metrics/dashboards/annotation_type.rb index 0621cf4d674..ec479078272 100644 --- a/app/graphql/types/metrics/dashboards/annotation_type.rb +++ b/app/graphql/types/metrics/dashboards/annotation_type.rb @@ -8,20 +8,22 @@ module Types authorize :read_metrics_dashboard_annotation field :description, GraphQL::Types::String, null: true, - description: 'Description of the annotation.' + description: 'Description of the annotation.' field :id, GraphQL::Types::ID, null: false, - description: 'ID of the annotation.' + description: 'ID of the annotation.' - field :panel_id, GraphQL::Types::String, null: true, + field :panel_id, + GraphQL::Types::String, + null: true, description: 'ID of a dashboard panel to which the annotation should be scoped.', method: :panel_xid field :starting_at, Types::TimeType, null: true, - description: 'Timestamp marking start of annotated time span.' + description: 'Timestamp marking start of annotated time span.' field :ending_at, Types::TimeType, null: true, - description: 'Timestamp marking end of annotated time span.' + description: 'Timestamp marking end of annotated time span.' end end end |