diff options
Diffstat (limited to 'app/graphql/types/namespace_type.rb')
-rw-r--r-- | app/graphql/types/namespace_type.rb | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/app/graphql/types/namespace_type.rb b/app/graphql/types/namespace_type.rb index ab614d92b06..da983399a11 100644 --- a/app/graphql/types/namespace_type.rb +++ b/app/graphql/types/namespace_type.rb @@ -7,40 +7,40 @@ module Types authorize :read_namespace field :id, GraphQL::ID_TYPE, null: false, - description: 'ID of the namespace' + description: 'ID of the namespace.' field :name, GraphQL::STRING_TYPE, null: false, - description: 'Name of the namespace' + description: 'Name of the namespace.' field :path, GraphQL::STRING_TYPE, null: false, - description: 'Path of the namespace' + description: 'Path of the namespace.' field :full_name, GraphQL::STRING_TYPE, null: false, - description: 'Full name of the namespace' + description: 'Full name of the namespace.' field :full_path, GraphQL::ID_TYPE, null: false, - description: 'Full path of the namespace' + description: 'Full path of the namespace.' field :description, GraphQL::STRING_TYPE, null: true, - description: 'Description of the namespace' + description: 'Description of the namespace.' markdown_field :description_html, null: true field :visibility, GraphQL::STRING_TYPE, null: true, - description: 'Visibility of the namespace' + description: 'Visibility of the namespace.' field :lfs_enabled, GraphQL::BOOLEAN_TYPE, null: true, method: :lfs_enabled?, - description: 'Indicates if Large File Storage (LFS) is enabled for namespace' + description: 'Indicates if Large File Storage (LFS) is enabled for namespace.' field :request_access_enabled, GraphQL::BOOLEAN_TYPE, null: true, - description: 'Indicates if users can request access to namespace' + description: 'Indicates if users can request access to namespace.' field :root_storage_statistics, Types::RootStorageStatisticsType, null: true, - description: 'Aggregated storage statistics of the namespace. Only available for root namespaces' + description: 'Aggregated storage statistics of the namespace. Only available for root namespaces.' field :projects, Types::ProjectType.connection_type, null: false, - description: 'Projects within this namespace', + description: 'Projects within this namespace.', resolver: ::Resolvers::NamespaceProjectsResolver field :package_settings, Types::Namespace::PackageSettingsType, null: true, - description: 'The package settings for the namespace' + description: 'The package settings for the namespace.' def root_storage_statistics Gitlab::Graphql::Loaders::BatchRootStorageStatisticsLoader.new(object.id).find |