feat: add paging capability in getFlows query

This commit is contained in:
Ali BARIN
2022-08-05 13:40:03 +02:00
parent ae8f701e5c
commit 5a177b330a
2 changed files with 26 additions and 8 deletions

View File

@@ -4,7 +4,7 @@ type Query {
getConnectedApps(name: String): [App]
testConnection(id: String!): Connection
getFlow(id: String!): Flow
getFlows(appKey: String): [Flow]
getFlows(limit: Int!, offset: Int!, appKey: String): FlowConnection
getStepWithTestExecutions(stepId: String!): [Step]
getExecutions(limit: Int!, offset: Int!): ExecutionConnection
getExecutionSteps(
@@ -189,6 +189,15 @@ type Field {
clickToCopy: Boolean
}
type FlowConnection {
edges: [FlowEdge]
pageInfo: PageInfo
}
type FlowEdge {
node: Flow
}
type Flow {
id: String
name: String