Commit d6a464f7 authored by Sean Arnold's avatar Sean Arnold

Update graphqldocs after tweaks

parent 3aa2ace3
...@@ -8,7 +8,7 @@ module ResolvesSnippets ...@@ -8,7 +8,7 @@ module ResolvesSnippets
argument :ids, [::Types::GlobalIDType[::Snippet]], argument :ids, [::Types::GlobalIDType[::Snippet]],
required: false, required: false,
description: 'Array of global snippet ids, e.g., `gid://gitlab/ProjectSnippet/1`.' description: 'Array of global snippet IDs. For example, `gid://gitlab/ProjectSnippet/1`.'
argument :visibility, Types::Snippets::VisibilityScopesEnum, argument :visibility, Types::Snippets::VisibilityScopesEnum,
required: false, required: false,
......
...@@ -85,7 +85,7 @@ module Types ...@@ -85,7 +85,7 @@ module Types
field :instance_statistics_measurements, Types::Admin::Analytics::UsageTrends::MeasurementType.connection_type, field :instance_statistics_measurements, Types::Admin::Analytics::UsageTrends::MeasurementType.connection_type,
null: true, null: true,
description: 'Get statistics on the instance.', description: 'Get statistics on the instance.',
deprecated: { reason: 'This field was renamed. Use the `usageTrendsMeasurements` field instead.', milestone: '13.10' }, deprecated: { reason: 'This field was renamed. Use the `usageTrendsMeasurements` field instead', milestone: '13.10' },
resolver: Resolvers::Admin::Analytics::UsageTrends::MeasurementsResolver resolver: Resolvers::Admin::Analytics::UsageTrends::MeasurementsResolver
field :usage_trends_measurements, Types::Admin::Analytics::UsageTrends::MeasurementType.connection_type, field :usage_trends_measurements, Types::Admin::Analytics::UsageTrends::MeasurementType.connection_type,
......
...@@ -103,7 +103,7 @@ Fields related to Instance Security Dashboard. ...@@ -103,7 +103,7 @@ Fields related to Instance Security Dashboard.
### InstanceStatisticsMeasurements ### InstanceStatisticsMeasurements
Get statistics on the instance. Deprecated in 13.10: This field was renamed. Use the `usageTrendsMeasurements` field instead.. Get statistics on the instance. Deprecated in 13.10: This field was renamed. Use the `usageTrendsMeasurements` field instead.
| Name | Description | Type | | Name | Description | Type |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
...@@ -216,7 +216,7 @@ Find Snippets visible to the current user. ...@@ -216,7 +216,7 @@ Find Snippets visible to the current user.
| `before` | Returns the elements in the list that come before the specified cursor. | String | | `before` | Returns the elements in the list that come before the specified cursor. | String |
| `explore` | Explore personal snippets. | Boolean | | `explore` | Explore personal snippets. | Boolean |
| `first` | Returns the first _n_ elements from the list. | Int | | `first` | Returns the first _n_ elements from the list. | Int |
| `ids` | Array of global snippet ids, e.g., `gid://gitlab/ProjectSnippet/1`. | SnippetID! => Array | | `ids` | Array of global snippet IDs. For example, `gid://gitlab/ProjectSnippet/1`. | SnippetID! => Array |
| `last` | Returns the last _n_ elements from the list. | Int | | `last` | Returns the last _n_ elements from the list. | Int |
| `projectId` | The ID of a project. | ProjectID | | `projectId` | The ID of a project. | ProjectID |
| `type` | The type of snippet. | TypeEnum | | `type` | The type of snippet. | TypeEnum |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment