79 lines
1.2 KiB
TypeScript
79 lines
1.2 KiB
TypeScript
import { gql } from '@apollo/client';
|
|
|
|
export const GET_APP = gql`
|
|
query GetApp($key: String!) {
|
|
getApp(key: $key) {
|
|
name
|
|
key
|
|
iconUrl
|
|
docUrl
|
|
authDocUrl
|
|
primaryColor
|
|
supportsConnections
|
|
auth {
|
|
fields {
|
|
key
|
|
label
|
|
type
|
|
required
|
|
readOnly
|
|
value
|
|
description
|
|
docUrl
|
|
clickToCopy
|
|
options {
|
|
label
|
|
value
|
|
}
|
|
}
|
|
authenticationSteps {
|
|
type
|
|
name
|
|
arguments {
|
|
name
|
|
value
|
|
type
|
|
properties {
|
|
name
|
|
value
|
|
}
|
|
}
|
|
}
|
|
reconnectionSteps {
|
|
type
|
|
name
|
|
arguments {
|
|
name
|
|
value
|
|
type
|
|
properties {
|
|
name
|
|
value
|
|
}
|
|
}
|
|
}
|
|
}
|
|
connections {
|
|
id
|
|
}
|
|
triggers {
|
|
name
|
|
key
|
|
pollInterval
|
|
description
|
|
substeps {
|
|
name
|
|
}
|
|
}
|
|
actions {
|
|
name
|
|
key
|
|
description
|
|
substeps {
|
|
name
|
|
}
|
|
}
|
|
}
|
|
}
|
|
`;
|