Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
c76ec4f0
Commit
c76ec4f0
authored
May 14, 2021
by
Jonathan Schafer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add descriptions to Snippets::TypeEnum
parent
afd1e93f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
.rubocop_manual_todo.yml
.rubocop_manual_todo.yml
+0
-1
app/graphql/types/snippets/type_enum.rb
app/graphql/types/snippets/type_enum.rb
+2
-2
doc/api/graphql/reference/index.md
doc/api/graphql/reference/index.md
+2
-2
No files found.
.rubocop_manual_todo.yml
View file @
c76ec4f0
...
...
@@ -14,7 +14,6 @@
Graphql/Descriptions
:
Exclude
:
-
'
app/graphql/types/snippets/blob_action_enum.rb'
-
'
app/graphql/types/snippets/type_enum.rb'
-
'
app/graphql/types/snippets/visibility_scopes_enum.rb'
-
'
ee/app/graphql/ee/types/list_limit_metric_enum.rb'
-
'
ee/app/graphql/types/epic_state_enum.rb'
...
...
app/graphql/types/snippets/type_enum.rb
View file @
c76ec4f0
...
...
@@ -3,8 +3,8 @@
module
Types
module
Snippets
class
TypeEnum
<
BaseEnum
value
'personal'
,
value:
'personal'
value
'project'
,
value:
'project'
value
'personal'
,
description:
'Snippet created independent of any project.'
,
value:
'personal'
value
'project'
,
description:
'Snippet related to a specific project.'
,
value:
'project'
end
end
end
doc/api/graphql/reference/index.md
View file @
c76ec4f0
...
...
@@ -14497,8 +14497,8 @@ State of a test report.
| Value | Description |
| ----- | ----------- |
|
<a
id=
"typeenumpersonal"
></a>
`personal`
| |
|
<a
id=
"typeenumproject"
></a>
`project`
| |
|
<a
id=
"typeenumpersonal"
></a>
`personal`
|
Snippet created independent of any project.
|
|
<a
id=
"typeenumproject"
></a>
`project`
|
Snippet related to a specific project.
|
### `UserCalloutFeatureNameEnum`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment