Commit c56a1403 authored by Corinna Wiesner's avatar Corinna Wiesner Committed by Tyler Amos

Apply renamed method to NamespaceType

After changes in the base branch, a method had to be renamed.
parent 0a7dc675
......@@ -7706,11 +7706,6 @@ type Group {
"""
lfsEnabled: Boolean
"""
Number of projects in the root namespace where the repository size exceeds the limit
"""
lockedProjectCount: Int!
"""
Indicates if a group is disabled from getting mentioned
"""
......@@ -7918,6 +7913,11 @@ type Group {
sort: NamespaceProjectSort = null
): ProjectConnection!
"""
Number of projects in the root namespace where the repository size exceeds the limit
"""
repositorySizeExcessProjectCount: Int!
"""
Indicates if users can request access to namespace
"""
......@@ -11958,11 +11958,6 @@ type Namespace {
"""
lfsEnabled: Boolean
"""
Number of projects in the root namespace where the repository size exceeds the limit
"""
lockedProjectCount: Int!
"""
Name of the namespace
"""
......@@ -12018,6 +12013,11 @@ type Namespace {
sort: NamespaceProjectSort = null
): ProjectConnection!
"""
Number of projects in the root namespace where the repository size exceeds the limit
"""
repositorySizeExcessProjectCount: Int!
"""
Indicates if users can request access to namespace
"""
......
......@@ -21095,24 +21095,6 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "lockedProjectCount",
"description": "Number of projects in the root namespace where the repository size exceeds the limit",
"args": [
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "mentionsDisabled",
"description": "Indicates if a group is disabled from getting mentioned",
......@@ -21604,6 +21586,24 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "repositorySizeExcessProjectCount",
"description": "Number of projects in the root namespace where the repository size exceeds the limit",
"args": [
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "requestAccessEnabled",
"description": "Indicates if users can request access to namespace",
......@@ -35246,24 +35246,6 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "lockedProjectCount",
"description": "Number of projects in the root namespace where the repository size exceeds the limit",
"args": [
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "name",
"description": "Name of the namespace",
......@@ -35397,6 +35379,24 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "repositorySizeExcessProjectCount",
"description": "Number of projects in the root namespace where the repository size exceeds the limit",
"args": [
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "requestAccessEnabled",
"description": "Indicates if users can request access to namespace",
......@@ -1153,12 +1153,12 @@ Autogenerated return type of EpicTreeReorder.
| `isTemporaryStorageIncreaseEnabled` | Boolean! | Status of the temporary storage increase |
| `label` | Label | A label available on this group |
| `lfsEnabled` | Boolean | Indicates if Large File Storage (LFS) is enabled for namespace |
| `lockedProjectCount` | Int! | Number of projects in the root namespace where the repository size exceeds the limit |
| `mentionsDisabled` | Boolean | Indicates if a group is disabled from getting mentioned |
| `name` | String! | Name of the namespace |
| `parent` | Group | Parent group |
| `path` | String! | Path of the namespace |
| `projectCreationLevel` | String | The permission level required to create projects in the group |
| `repositorySizeExcessProjectCount` | Int! | Number of projects in the root namespace where the repository size exceeds the limit |
| `requestAccessEnabled` | Boolean | Indicates if users can request access to namespace |
| `requireTwoFactorAuthentication` | Boolean | Indicates if all users in this group are required to set up two-factor authentication |
| `rootStorageStatistics` | RootStorageStatistics | Aggregated storage statistics of the namespace. Only available for root namespaces |
......@@ -1726,9 +1726,9 @@ Contains statistics about a milestone.
| `id` | ID! | ID of the namespace |
| `isTemporaryStorageIncreaseEnabled` | Boolean! | Status of the temporary storage increase |
| `lfsEnabled` | Boolean | Indicates if Large File Storage (LFS) is enabled for namespace |
| `lockedProjectCount` | Int! | Number of projects in the root namespace where the repository size exceeds the limit |
| `name` | String! | Name of the namespace |
| `path` | String! | Path of the namespace |
| `repositorySizeExcessProjectCount` | Int! | Number of projects in the root namespace where the repository size exceeds the limit |
| `requestAccessEnabled` | Boolean | Indicates if users can request access to namespace |
| `rootStorageStatistics` | RootStorageStatistics | Aggregated storage statistics of the namespace. Only available for root namespaces |
| `storageSizeLimit` | Float | Total storage limit of the root namespace in bytes |
......
......@@ -27,7 +27,7 @@ module EE
description: 'Includes at least one project where the repository size exceeds the limit',
resolve: -> (obj, _args, _ctx) { obj.contains_locked_projects? }
field :locked_project_count,
field :repository_size_excess_project_count,
GraphQL::INT_TYPE,
null: false,
description: 'Number of projects in the root namespace where the repository size exceeds the limit'
......
......@@ -9,7 +9,7 @@ RSpec.describe GitlabSchema.types['Namespace'] do
total_repository_size_excess
total_repository_size
contains_locked_projects
locked_project_count
repository_size_excess_project_count
storage_size_limit
is_temporary_storage_increase_enabled
temporary_storage_increase_ends_on
......
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