diff --git a/app/graphql/types/data_type_type.rb b/app/graphql/types/data_type_type.rb index 86fa231c..887d8442 100644 --- a/app/graphql/types/data_type_type.rb +++ b/app/graphql/types/data_type_type.rb @@ -6,6 +6,9 @@ class DataTypeType < Types::BaseObject authorize :read_datatype + field :aliases, Types::TranslationType.connection_type, null: true, description: 'Name of the function' + field :display_messages, Types::TranslationType.connection_type, null: true, + description: 'Display message of the function' field :generic_keys, [String], null: true, description: 'Generic keys of the datatype' field :identifier, String, null: false, description: 'The identifier scoped to the namespace' field :name, Types::TranslationType.connection_type, method: :names, null: false, diff --git a/app/graphql/types/flow_type_type.rb b/app/graphql/types/flow_type_type.rb index 5a824277..68e1b225 100644 --- a/app/graphql/types/flow_type_type.rb +++ b/app/graphql/types/flow_type_type.rb @@ -6,8 +6,11 @@ class FlowTypeType < Types::BaseObject authorize :read_flow_type + field :aliases, Types::TranslationType.connection_type, null: true, description: 'Name of the function' field :descriptions, Types::TranslationType.connection_type, null: true, description: 'Descriptions of the flow type' + field :display_messages, Types::TranslationType.connection_type, null: true, + description: 'Display message of the function' 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' diff --git a/app/graphql/types/function_definition_type.rb b/app/graphql/types/function_definition_type.rb index c1eeba2c..151f17f0 100644 --- a/app/graphql/types/function_definition_type.rb +++ b/app/graphql/types/function_definition_type.rb @@ -14,7 +14,10 @@ class FunctionDefinitionType < Types::BaseObject null: true, description: 'Parameters of the function' + field :aliases, Types::TranslationType.connection_type, null: true, description: 'Name of the function' field :descriptions, Types::TranslationType.connection_type, null: true, description: 'Description of the function' + field :display_messages, Types::TranslationType.connection_type, null: true, + description: 'Display message of the function' field :names, Types::TranslationType.connection_type, null: true, description: 'Name of the function' field :deprecation_messages, Types::TranslationType.connection_type, diff --git a/docs/graphql/object/datatype.md b/docs/graphql/object/datatype.md index 3c75a148..4494dd21 100644 --- a/docs/graphql/object/datatype.md +++ b/docs/graphql/object/datatype.md @@ -8,7 +8,9 @@ Represents a DataType | Name | Type | Description | |------|------|-------------| +| `aliases` | [`TranslationConnection`](../object/translationconnection.md) | Name of the function | | `createdAt` | [`Time!`](../scalar/time.md) | Time when this DataType was created | +| `displayMessages` | [`TranslationConnection`](../object/translationconnection.md) | Display message of the function | | `genericKeys` | [`[String!]`](../scalar/string.md) | Generic keys of the datatype | | `id` | [`DataTypeID!`](../scalar/datatypeid.md) | Global ID of this DataType | | `identifier` | [`String!`](../scalar/string.md) | The identifier scoped to the namespace | diff --git a/docs/graphql/object/flowtype.md b/docs/graphql/object/flowtype.md index d6ab5dc6..c311fe1c 100644 --- a/docs/graphql/object/flowtype.md +++ b/docs/graphql/object/flowtype.md @@ -8,8 +8,10 @@ Represents a flow type | Name | Type | Description | |------|------|-------------| +| `aliases` | [`TranslationConnection`](../object/translationconnection.md) | Name of the function | | `createdAt` | [`Time!`](../scalar/time.md) | Time when this FlowType was created | | `descriptions` | [`TranslationConnection`](../object/translationconnection.md) | Descriptions of the flow type | +| `displayMessages` | [`TranslationConnection`](../object/translationconnection.md) | Display message of the function | | `editable` | [`Boolean!`](../scalar/boolean.md) | Editable status of the flow type | | `flowTypeSettings` | [`[FlowTypeSetting!]!`](../object/flowtypesetting.md) | Flow type settings of the flow type | | `id` | [`TypesFlowTypeID!`](../scalar/typesflowtypeid.md) | Global ID of this FlowType | diff --git a/docs/graphql/object/functiondefinition.md b/docs/graphql/object/functiondefinition.md index 54cf02c4..12c7acd4 100644 --- a/docs/graphql/object/functiondefinition.md +++ b/docs/graphql/object/functiondefinition.md @@ -8,9 +8,11 @@ Represents a function definition | Name | Type | Description | |------|------|-------------| +| `aliases` | [`TranslationConnection`](../object/translationconnection.md) | Name of the function | | `createdAt` | [`Time!`](../scalar/time.md) | Time when this FunctionDefinition was created | | `deprecationMessages` | [`TranslationConnection`](../object/translationconnection.md) | Deprecation message of the function | | `descriptions` | [`TranslationConnection`](../object/translationconnection.md) | Description of the function | +| `displayMessages` | [`TranslationConnection`](../object/translationconnection.md) | Display message of the function | | `documentations` | [`TranslationConnection`](../object/translationconnection.md) | Documentation of the function | | `genericKeys` | [`[String!]`](../scalar/string.md) | Generic keys of the function | | `id` | [`FunctionDefinitionID!`](../scalar/functiondefinitionid.md) | Global ID of this FunctionDefinition | diff --git a/spec/graphql/types/data_type_type_spec.rb b/spec/graphql/types/data_type_type_spec.rb index 3387b8e4..deb03ee3 100644 --- a/spec/graphql/types/data_type_type_spec.rb +++ b/spec/graphql/types/data_type_type_spec.rb @@ -10,6 +10,8 @@ id rules name + display_messages + aliases runtime genericKeys createdAt diff --git a/spec/graphql/types/flow_type_type_spec.rb b/spec/graphql/types/flow_type_type_spec.rb index 1f940cd5..3571503c 100644 --- a/spec/graphql/types/flow_type_type_spec.rb +++ b/spec/graphql/types/flow_type_type_spec.rb @@ -11,6 +11,8 @@ return_type flow_type_settings names + display_messages + aliases descriptions id created_at diff --git a/spec/graphql/types/function_definition_type_spec.rb b/spec/graphql/types/function_definition_type_spec.rb index 77ddcb96..3a7c91a0 100644 --- a/spec/graphql/types/function_definition_type_spec.rb +++ b/spec/graphql/types/function_definition_type_spec.rb @@ -10,6 +10,8 @@ returnType parameterDefinitions names + displayMessages + aliases descriptions documentations deprecationMessages