summaryrefslogtreecommitdiff
path: root/doc/api/graphql/reference
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-11-09 21:08:48 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-11-09 21:08:48 +0000
commitf29dae9f106150cd85d4fb107f1eb3b0281e6968 (patch)
tree3f3707bb3aa554c50e83b95ed9f0f0ff066edb3f /doc/api/graphql/reference
parent42c8bf63670403d3f5cd23091bb56edde7e187c6 (diff)
downloadgitlab-ce-f29dae9f106150cd85d4fb107f1eb3b0281e6968.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/graphql/reference')
-rw-r--r--doc/api/graphql/reference/gitlab_schema.graphql23
-rw-r--r--doc/api/graphql/reference/gitlab_schema.json28
-rw-r--r--doc/api/graphql/reference/index.md2
3 files changed, 34 insertions, 19 deletions
diff --git a/doc/api/graphql/reference/gitlab_schema.graphql b/doc/api/graphql/reference/gitlab_schema.graphql
index 18031185a18..df136e9c8c0 100644
--- a/doc/api/graphql/reference/gitlab_schema.graphql
+++ b/doc/api/graphql/reference/gitlab_schema.graphql
@@ -5955,7 +5955,7 @@ input DestroySnippetInput {
"""
The global id of the snippet to destroy
"""
- id: ID!
+ id: SnippetID!
}
"""
@@ -11576,7 +11576,7 @@ input MarkAsSpamSnippetInput {
"""
The global id of the snippet to update
"""
- id: ID!
+ id: SnippetID!
}
"""
@@ -15990,7 +15990,7 @@ type Project {
"""
Array of global snippet ids, e.g., "gid://gitlab/ProjectSnippet/1"
"""
- ids: [ID!]
+ ids: [SnippetID!]
"""
Returns the last _n_ elements from the list.
@@ -17036,7 +17036,7 @@ type Query {
"""
The ID of an author
"""
- authorId: ID
+ authorId: UserID
"""
Returns the elements in the list that come before the specified cursor.
@@ -17056,7 +17056,7 @@ type Query {
"""
Array of global snippet ids, e.g., "gid://gitlab/ProjectSnippet/1"
"""
- ids: [ID!]
+ ids: [SnippetID!]
"""
Returns the last _n_ elements from the list.
@@ -17066,7 +17066,7 @@ type Query {
"""
The ID of a project
"""
- projectId: ID
+ projectId: ProjectID
"""
The type of snippet
@@ -19638,7 +19638,7 @@ type Snippet implements Noteable {
"""
ID of the snippet
"""
- id: ID!
+ id: SnippetID!
"""
All notes on this noteable
@@ -19916,6 +19916,11 @@ type SnippetEdge {
node: Snippet
}
+"""
+Identifier of Snippet
+"""
+scalar SnippetID
+
type SnippetPermissions {
"""
Indicates the user can perform `admin_snippet` on this resource
@@ -21831,7 +21836,7 @@ input UpdateSnippetInput {
"""
The global id of the snippet to update
"""
- id: ID!
+ id: SnippetID!
"""
Title of the snippet
@@ -22139,7 +22144,7 @@ type User {
"""
Array of global snippet ids, e.g., "gid://gitlab/ProjectSnippet/1"
"""
- ids: [ID!]
+ ids: [SnippetID!]
"""
Returns the last _n_ elements from the list.
diff --git a/doc/api/graphql/reference/gitlab_schema.json b/doc/api/graphql/reference/gitlab_schema.json
index 56752684541..375bdd036cc 100644
--- a/doc/api/graphql/reference/gitlab_schema.json
+++ b/doc/api/graphql/reference/gitlab_schema.json
@@ -16300,7 +16300,7 @@
"name": null,
"ofType": {
"kind": "SCALAR",
- "name": "ID",
+ "name": "SnippetID",
"ofType": null
}
},
@@ -31712,7 +31712,7 @@
"name": null,
"ofType": {
"kind": "SCALAR",
- "name": "ID",
+ "name": "SnippetID",
"ofType": null
}
},
@@ -46307,7 +46307,7 @@
"name": null,
"ofType": {
"kind": "SCALAR",
- "name": "ID",
+ "name": "SnippetID",
"ofType": null
}
}
@@ -49373,7 +49373,7 @@
"name": null,
"ofType": {
"kind": "SCALAR",
- "name": "ID",
+ "name": "SnippetID",
"ofType": null
}
}
@@ -49395,7 +49395,7 @@
"description": "The ID of an author",
"type": {
"kind": "SCALAR",
- "name": "ID",
+ "name": "UserID",
"ofType": null
},
"defaultValue": null
@@ -49405,7 +49405,7 @@
"description": "The ID of a project",
"type": {
"kind": "SCALAR",
- "name": "ID",
+ "name": "ProjectID",
"ofType": null
},
"defaultValue": null
@@ -56879,7 +56879,7 @@
"name": null,
"ofType": {
"kind": "SCALAR",
- "name": "ID",
+ "name": "SnippetID",
"ofType": null
}
},
@@ -57746,6 +57746,16 @@
"possibleTypes": null
},
{
+ "kind": "SCALAR",
+ "name": "SnippetID",
+ "description": "Identifier of Snippet",
+ "fields": null,
+ "inputFields": null,
+ "interfaces": null,
+ "enumValues": null,
+ "possibleTypes": null
+ },
+ {
"kind": "OBJECT",
"name": "SnippetPermissions",
"description": null,
@@ -63283,7 +63293,7 @@
"name": null,
"ofType": {
"kind": "SCALAR",
- "name": "ID",
+ "name": "SnippetID",
"ofType": null
}
},
@@ -64057,7 +64067,7 @@
"name": null,
"ofType": {
"kind": "SCALAR",
- "name": "ID",
+ "name": "SnippetID",
"ofType": null
}
}
diff --git a/doc/api/graphql/reference/index.md b/doc/api/graphql/reference/index.md
index 94171220fad..1eeaab813f1 100644
--- a/doc/api/graphql/reference/index.md
+++ b/doc/api/graphql/reference/index.md
@@ -2841,7 +2841,7 @@ Represents a snippet entry.
| `discussions` | DiscussionConnection! | All discussions on this noteable |
| `fileName` | String | File Name of the snippet |
| `httpUrlToRepo` | String | HTTP URL to the snippet repository |
-| `id` | ID! | ID of the snippet |
+| `id` | SnippetID! | ID of the snippet |
| `notes` | NoteConnection! | All notes on this noteable |
| `project` | Project | The project the snippet is associated with |
| `rawUrl` | String! | Raw URL of the snippet |