Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions app/graphql/types/data_type_type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 3 additions & 0 deletions app/graphql/types/flow_type_type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
3 changes: 3 additions & 0 deletions app/graphql/types/function_definition_type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 2 additions & 0 deletions docs/graphql/object/datatype.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
2 changes: 2 additions & 0 deletions docs/graphql/object/flowtype.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
2 changes: 2 additions & 0 deletions docs/graphql/object/functiondefinition.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
2 changes: 2 additions & 0 deletions spec/graphql/types/data_type_type_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
id
rules
name
display_messages
aliases
runtime
genericKeys
createdAt
Expand Down
2 changes: 2 additions & 0 deletions spec/graphql/types/flow_type_type_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
return_type
flow_type_settings
names
display_messages
aliases
descriptions
id
created_at
Expand Down
2 changes: 2 additions & 0 deletions spec/graphql/types/function_definition_type_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
returnType
parameterDefinitions
names
displayMessages
aliases
descriptions
documentations
deprecationMessages
Expand Down