24 lines
468 B
TypeScript
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
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
`;
|