feat: Introduce reset and verify connection mutations

This commit is contained in:
Faruk AYDIN
2021-10-22 15:55:25 +02:00
committed by Ali BARIN
parent de82dbfe29
commit 44fbaeee82
9 changed files with 168 additions and 18 deletions

View File

@@ -110,12 +110,34 @@
]
}
]
},
{
"step": 5,
"type": "mutation",
"name": "verifyConnection",
"fields": [
{
"name": "id",
"value": "{createConnection.id}"
}
]
}
],
"reconnectionSteps": [
{
"step": 1,
"type": "mutation",
"name": "resetConnection",
"fields": [
{
"name": "id",
"value": "{connection.id}"
}
]
},
{
"step": 2,
"type": "mutation",
"name": "updateConnection",
"fields": [
{
@@ -139,7 +161,7 @@
]
},
{
"step": 2,
"step": 3,
"type": "mutation",
"name": "createAuthLink",
"fields": [
@@ -150,7 +172,7 @@
]
},
{
"step": 3,
"step": 4,
"type": "openWithPopup",
"name": "openAuthPopup",
"fields": [
@@ -161,7 +183,7 @@
]
},
{
"step": 4,
"step": 5,
"type": "mutation",
"name": "updateConnection",
"fields": [
@@ -180,6 +202,17 @@
]
}
]
},
{
"step": 6,
"type": "mutation",
"name": "verifyConnection",
"fields": [
{
"name": "id",
"value": "{connection.id}"
}
]
}
]
}

View File

@@ -110,12 +110,34 @@
]
}
]
},
{
"step": 5,
"type": "mutation",
"name": "verifyConnection",
"fields": [
{
"name": "id",
"value": "{createConnection.id}"
}
]
}
],
"reconnectionSteps": [
{
"step": 1,
"type": "mutation",
"name": "resetConnection",
"fields": [
{
"name": "id",
"value": "{connection.id}"
}
]
},
{
"step": 2,
"type": "mutation",
"name": "updateConnection",
"fields": [
{
@@ -139,7 +161,7 @@
]
},
{
"step": 2,
"step": 3,
"type": "mutation",
"name": "createAuthLink",
"fields": [
@@ -150,7 +172,7 @@
]
},
{
"step": 3,
"step": 4,
"type": "openWithPopup",
"name": "openTwitterAuthPopup",
"fields": [
@@ -161,7 +183,7 @@
]
},
{
"step": 4,
"step": 5,
"type": "mutation",
"name": "updateConnection",
"fields": [
@@ -180,6 +202,17 @@
]
}
]
},
{
"step": 6,
"type": "mutation",
"name": "verifyConnection",
"fields": [
{
"name": "id",
"value": "{connection.id}"
}
]
}
]
}