Files
automatisch/packages/web/src/graphql/queries/get-flows.ts
2022-11-05 23:57:33 +01:00

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
}
}
}
}
}
`;