feat: Add argument option to connections of get app query

This commit is contained in:
Faruk AYDIN
2022-10-23 17:12:00 +02:00
committed by Ali BARIN
parent 3978e8cd0d
commit cb8f6f7b75
2 changed files with 12 additions and 3 deletions

View File

@@ -1,5 +1,9 @@
type Query { type Query {
getApps(name: String, onlyWithTriggers: Boolean, onlyWithActions: Boolean): [App] getApps(
name: String
onlyWithTriggers: Boolean
onlyWithActions: Boolean
): [App]
getApp(key: AvailableAppsEnumType!): App getApp(key: AvailableAppsEnumType!): App
getConnectedApps(name: String): [App] getConnectedApps(name: String): [App]
testConnection(id: String!): Connection testConnection(id: String!): Connection
@@ -208,6 +212,7 @@ type Field {
description: String description: String
docUrl: String docUrl: String
clickToCopy: Boolean clickToCopy: Boolean
options: [ArgumentOption]
} }
type FlowConnection { type FlowConnection {
@@ -412,7 +417,7 @@ type TriggerSubstepArgument {
variables: Boolean variables: Boolean
source: TriggerSubstepArgumentSource source: TriggerSubstepArgumentSource
dependsOn: [String] dependsOn: [String]
options: [TriggerSubstepArgumentOption] options: [ArgumentOption]
} }
type TriggerSubstepArgumentSource { type TriggerSubstepArgumentSource {
@@ -421,7 +426,7 @@ type TriggerSubstepArgumentSource {
arguments: [TriggerSubstepArgumentSourceArgument] arguments: [TriggerSubstepArgumentSourceArgument]
} }
type TriggerSubstepArgumentOption { type ArgumentOption {
label: String label: String
value: JSONObject value: JSONObject
} }

View File

@@ -21,6 +21,10 @@ export const GET_APP = gql`
description description
docUrl docUrl
clickToCopy clickToCopy
options {
label
value
}
} }
authenticationSteps { authenticationSteps {
step step