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

View File

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