119 lines
2.1 KiB
TypeScript
119 lines
2.1 KiB
TypeScript
import { gql } from '@apollo/client';
|
|
|
|
export const GET_APPS = gql`
|
|
query GetApps($name: String, $onlyWithTriggers: Boolean, $onlyWithActions: Boolean) {
|
|
getApps(name: $name, onlyWithTriggers: $onlyWithTriggers, onlyWithActions: $onlyWithActions) {
|
|
name
|
|
key
|
|
iconUrl
|
|
docUrl
|
|
primaryColor
|
|
connectionCount
|
|
supportsConnections
|
|
auth {
|
|
fields {
|
|
key
|
|
label
|
|
type
|
|
required
|
|
readOnly
|
|
value
|
|
placeholder
|
|
description
|
|
docUrl
|
|
clickToCopy
|
|
}
|
|
authenticationSteps {
|
|
step
|
|
type
|
|
name
|
|
arguments {
|
|
name
|
|
value
|
|
type
|
|
properties {
|
|
name
|
|
value
|
|
}
|
|
}
|
|
}
|
|
reconnectionSteps {
|
|
step
|
|
type
|
|
name
|
|
arguments {
|
|
name
|
|
value
|
|
type
|
|
properties {
|
|
name
|
|
value
|
|
}
|
|
}
|
|
}
|
|
}
|
|
triggers {
|
|
name
|
|
key
|
|
pollInterval
|
|
description
|
|
substeps {
|
|
key
|
|
name
|
|
arguments {
|
|
label
|
|
key
|
|
type
|
|
required
|
|
description
|
|
variables
|
|
dependsOn
|
|
options {
|
|
label
|
|
value
|
|
}
|
|
source {
|
|
type
|
|
name
|
|
arguments {
|
|
name
|
|
value
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
actions {
|
|
name
|
|
key
|
|
description
|
|
substeps {
|
|
key
|
|
name
|
|
arguments {
|
|
label
|
|
key
|
|
type
|
|
required
|
|
description
|
|
variables
|
|
dependsOn
|
|
options {
|
|
label
|
|
value
|
|
}
|
|
source {
|
|
type
|
|
name
|
|
arguments {
|
|
name
|
|
value
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
`;
|