Files
automatisch/packages/web/src/graphql/queries/get-flows.ts
2022-08-07 15:39:47 +02:00

24 lines
468 B
TypeScript

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