Adds several types and fields to support components in catalog
This adds the Ci::Catalog::Resource::ComponentType inside the VersionsType, given that we will only have component records when a release is created. An additional type for Inputs was created as wel, since the frontend needs the data parsed into three different fields.
显示
- app/graphql/types/ci/catalog/resources/component_type.rb 41 个添加, 0 个删除app/graphql/types/ci/catalog/resources/component_type.rb
- app/graphql/types/ci/catalog/resources/components/input_type.rb 29 个添加, 0 个删除...aphql/types/ci/catalog/resources/components/input_type.rb
- app/graphql/types/ci/catalog/resources/version_type.rb 4 个添加, 0 个删除app/graphql/types/ci/catalog/resources/version_type.rb
- doc/api/graphql/reference/index.md 51 个添加, 0 个删除doc/api/graphql/reference/index.md
- spec/graphql/types/ci/catalog/resources/component_type_spec.rb 18 个添加, 0 个删除...graphql/types/ci/catalog/resources/component_type_spec.rb
- spec/graphql/types/ci/catalog/resources/components/input_type_spec.rb 17 个添加, 0 个删除.../types/ci/catalog/resources/components/input_type_spec.rb
- spec/graphql/types/ci/catalog/resources/version_type_spec.rb 1 个添加, 0 个删除spec/graphql/types/ci/catalog/resources/version_type_spec.rb
- spec/requests/api/graphql/ci/catalog/resource_spec.rb 92 个添加, 40 个删除spec/requests/api/graphql/ci/catalog/resource_spec.rb
加载中
想要评论请 注册 或 登录