37 lines
589 B
TypeScript
37 lines
589 B
TypeScript
import { gql } from '@apollo/client';
|
|
|
|
export const GET_FLOWS = gql`
|
|
query GetFlows(
|
|
$limit: Int!
|
|
$offset: Int!
|
|
$appKey: String
|
|
$connectionId: String
|
|
$name: String
|
|
) {
|
|
getFlows(
|
|
limit: $limit
|
|
offset: $offset
|
|
appKey: $appKey
|
|
connectionId: $connectionId
|
|
name: $name
|
|
) {
|
|
pageInfo {
|
|
currentPage
|
|
totalPages
|
|
}
|
|
edges {
|
|
node {
|
|
id
|
|
name
|
|
createdAt
|
|
updatedAt
|
|
active
|
|
steps {
|
|
iconUrl
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
`;
|