diff --git a/app/graphql/types/flow_type_type.rb b/app/graphql/types/flow_type_type.rb index 852f07ae6..51e778654 100644 --- a/app/graphql/types/flow_type_type.rb +++ b/app/graphql/types/flow_type_type.rb @@ -14,8 +14,9 @@ class FlowTypeType < Types::BaseObject field :documentations, [Types::TranslationType], null: true, description: 'Documentations of the flow type' field :editable, Boolean, null: false, description: 'Editable status of the flow type' - field :flow_type_settings, [Types::FlowTypeSettingType], null: false, - description: 'Flow type settings of the flow type' + field :flow_type_settings, Types::FlowTypeSettingType.connection_type, + null: false, + description: 'Flow type settings of the flow type' field :identifier, String, null: false, description: 'Identifier of the flow type' field :names, [Types::TranslationType], null: true, description: 'Names of the flow type' field :runtime, Types::RuntimeType, null: false, diff --git a/docs/graphql/object/flowtype.md b/docs/graphql/object/flowtype.md index c15c6600b..4ad1831ef 100644 --- a/docs/graphql/object/flowtype.md +++ b/docs/graphql/object/flowtype.md @@ -16,7 +16,7 @@ Represents a flow type | `displayMessages` | [`[Translation!]`](../object/translation.md) | Display message of the function | | `documentations` | [`[Translation!]`](../object/translation.md) | Documentations of the flow type | | `editable` | [`Boolean!`](../scalar/boolean.md) | Editable status of the flow type | -| `flowTypeSettings` | [`[FlowTypeSetting!]!`](../object/flowtypesetting.md) | Flow type settings of the flow type | +| `flowTypeSettings` | [`FlowTypeSettingConnection!`](../object/flowtypesettingconnection.md) | Flow type settings of the flow type | | `id` | [`FlowTypeID!`](../scalar/flowtypeid.md) | Global ID of this FlowType | | `identifier` | [`String!`](../scalar/string.md) | Identifier of the flow type | | `linkedDataTypes` | [`DataTypeConnection!`](../object/datatypeconnection.md) | The data types that are referenced in this flow type | diff --git a/docs/graphql/object/flowtypesettingconnection.md b/docs/graphql/object/flowtypesettingconnection.md new file mode 100644 index 000000000..86963c4f9 --- /dev/null +++ b/docs/graphql/object/flowtypesettingconnection.md @@ -0,0 +1,14 @@ +--- +title: FlowTypeSettingConnection +--- + +The connection type for FlowTypeSetting. + +## Fields without arguments + +| Name | Type | Description | +|------|------|-------------| +| `count` | [`Int!`](../scalar/int.md) | Total count of collection. | +| `edges` | [`[FlowTypeSettingEdge]`](../object/flowtypesettingedge.md) | A list of edges. | +| `nodes` | [`[FlowTypeSetting]`](../object/flowtypesetting.md) | A list of nodes. | +| `pageInfo` | [`PageInfo!`](../object/pageinfo.md) | Information to aid in pagination. | diff --git a/docs/graphql/object/flowtypesettingedge.md b/docs/graphql/object/flowtypesettingedge.md new file mode 100644 index 000000000..51f815dae --- /dev/null +++ b/docs/graphql/object/flowtypesettingedge.md @@ -0,0 +1,12 @@ +--- +title: FlowTypeSettingEdge +--- + +An edge in a connection. + +## Fields without arguments + +| Name | Type | Description | +|------|------|-------------| +| `cursor` | [`String!`](../scalar/string.md) | A cursor for use in pagination. | +| `node` | [`FlowTypeSetting`](../object/flowtypesetting.md) | The item at the end of the edge. |