chore: Use integer for IDs of resources
This commit is contained in:

committed by
Ömer Faruk Aydın

parent
a58411ee99
commit
3f2f1212c9
@@ -75,7 +75,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{createConnection.id}"
|
"value": "{createConnection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -97,7 +98,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{createConnection.id}"
|
"value": "{createConnection.id}",
|
||||||
|
"type": "integer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
@@ -118,7 +120,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{createConnection.id}"
|
"value": "{createConnection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -131,7 +134,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -142,7 +146,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
@@ -167,7 +172,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -189,7 +195,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
@@ -210,7 +217,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -75,7 +75,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{createConnection.id}"
|
"value": "{createConnection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -97,7 +98,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{createConnection.id}"
|
"value": "{createConnection.id}",
|
||||||
|
"type": "integer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
@@ -118,7 +120,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{createConnection.id}"
|
"value": "{createConnection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -131,7 +134,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -142,7 +146,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
@@ -167,7 +172,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -189,7 +195,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
@@ -210,7 +217,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -75,7 +75,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{createConnection.id}"
|
"value": "{createConnection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -97,7 +98,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{createConnection.id}"
|
"value": "{createConnection.id}",
|
||||||
|
"type": "integer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
@@ -118,7 +120,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{createConnection.id}"
|
"value": "{createConnection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -131,7 +134,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -142,7 +146,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
@@ -167,7 +172,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -189,7 +195,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
@@ -210,7 +217,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -75,7 +75,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{createConnection.id}"
|
"value": "{createConnection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -97,7 +98,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{createConnection.id}"
|
"value": "{createConnection.id}",
|
||||||
|
"type": "integer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
@@ -118,7 +120,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{createConnection.id}"
|
"value": "{createConnection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -131,7 +134,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -142,7 +146,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
@@ -167,7 +172,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -189,7 +195,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
@@ -210,7 +217,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -127,7 +127,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{createConnection.id}"
|
"value": "{createConnection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -140,7 +141,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -151,7 +153,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
@@ -192,7 +195,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -127,7 +127,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{createConnection.id}"
|
"value": "{createConnection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -140,7 +141,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -151,7 +153,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
@@ -192,7 +195,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -63,7 +63,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{createConnection.id}"
|
"value": "{createConnection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -76,7 +77,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -87,7 +89,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
@@ -112,7 +115,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -75,7 +75,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{createConnection.id}"
|
"value": "{createConnection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -97,7 +98,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{createConnection.id}"
|
"value": "{createConnection.id}",
|
||||||
|
"type": "integer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
@@ -118,7 +120,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{createConnection.id}"
|
"value": "{createConnection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -131,7 +134,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -142,7 +146,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
@@ -167,7 +172,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -189,7 +195,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
@@ -210,7 +217,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -75,7 +75,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{createConnection.id}"
|
"value": "{createConnection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -97,7 +98,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{createConnection.id}"
|
"value": "{createConnection.id}",
|
||||||
|
"type": "integer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
@@ -118,7 +120,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{createConnection.id}"
|
"value": "{createConnection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -131,7 +134,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -142,7 +146,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
@@ -167,7 +172,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -189,7 +195,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
@@ -210,7 +217,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -75,7 +75,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{createConnection.id}"
|
"value": "{createConnection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -97,7 +98,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{createConnection.id}"
|
"value": "{createConnection.id}",
|
||||||
|
"type": "integer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
@@ -118,7 +120,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{createConnection.id}"
|
"value": "{createConnection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -131,7 +134,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -142,7 +146,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
@@ -167,7 +172,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -189,7 +195,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
@@ -210,7 +217,8 @@
|
|||||||
"arguments": [
|
"arguments": [
|
||||||
{
|
{
|
||||||
"name": "id",
|
"name": "id",
|
||||||
"value": "{connection.id}"
|
"value": "{connection.id}",
|
||||||
|
"type": "integer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
import { GraphQLNonNull, GraphQLString } from 'graphql';
|
import { GraphQLNonNull, GraphQLInt } from 'graphql';
|
||||||
import Connection from '../../models/connection';
|
import Connection from '../../models/connection';
|
||||||
import authLinkType from '../types/auth-link';
|
import authLinkType from '../types/auth-link';
|
||||||
import RequestWithCurrentUser from '../../types/express/request-with-current-user';
|
import RequestWithCurrentUser from '../../types/express/request-with-current-user';
|
||||||
@@ -6,6 +6,7 @@ import RequestWithCurrentUser from '../../types/express/request-with-current-use
|
|||||||
type Params = {
|
type Params = {
|
||||||
id: number,
|
id: number,
|
||||||
}
|
}
|
||||||
|
|
||||||
const createAuthDataResolver = async (params: Params, req: RequestWithCurrentUser) => {
|
const createAuthDataResolver = async (params: Params, req: RequestWithCurrentUser) => {
|
||||||
const connection = await Connection.query().findOne({
|
const connection = await Connection.query().findOne({
|
||||||
user_id: req.currentUser.id,
|
user_id: req.currentUser.id,
|
||||||
@@ -34,7 +35,7 @@ const createAuthDataResolver = async (params: Params, req: RequestWithCurrentUse
|
|||||||
const createAuthData = {
|
const createAuthData = {
|
||||||
type: authLinkType,
|
type: authLinkType,
|
||||||
args: {
|
args: {
|
||||||
id: { type: GraphQLNonNull(GraphQLString) },
|
id: { type: GraphQLNonNull(GraphQLInt) },
|
||||||
},
|
},
|
||||||
resolve: (_: any, params: Params, req: RequestWithCurrentUser) => createAuthDataResolver(params, req)
|
resolve: (_: any, params: Params, req: RequestWithCurrentUser) => createAuthDataResolver(params, req)
|
||||||
};
|
};
|
||||||
|
@@ -32,7 +32,7 @@ const createStepResolver = async (params: Params, req: RequestWithCurrentUser) =
|
|||||||
const createStep = {
|
const createStep = {
|
||||||
type: stepType,
|
type: stepType,
|
||||||
args: {
|
args: {
|
||||||
flowId: { type: GraphQLNonNull(GraphQLString) },
|
flowId: { type: GraphQLNonNull(GraphQLInt) },
|
||||||
key: { type: GraphQLNonNull(GraphQLString) },
|
key: { type: GraphQLNonNull(GraphQLString) },
|
||||||
appKey: { type: GraphQLNonNull(GraphQLString) },
|
appKey: { type: GraphQLNonNull(GraphQLString) },
|
||||||
type: {
|
type: {
|
||||||
|
@@ -1,9 +1,9 @@
|
|||||||
import { GraphQLString, GraphQLNonNull, GraphQLBoolean } from 'graphql';
|
import { GraphQLInt, GraphQLNonNull, GraphQLBoolean } from 'graphql';
|
||||||
import Connection from '../../models/connection';
|
import Connection from '../../models/connection';
|
||||||
import RequestWithCurrentUser from '../../types/express/request-with-current-user';
|
import RequestWithCurrentUser from '../../types/express/request-with-current-user';
|
||||||
|
|
||||||
type Params = {
|
type Params = {
|
||||||
id: string,
|
id: number,
|
||||||
data: object
|
data: object
|
||||||
}
|
}
|
||||||
const deleteConnectionResolver = async (params: Params, req: RequestWithCurrentUser) => {
|
const deleteConnectionResolver = async (params: Params, req: RequestWithCurrentUser) => {
|
||||||
@@ -18,7 +18,7 @@ const deleteConnectionResolver = async (params: Params, req: RequestWithCurrentU
|
|||||||
const deleteConnection = {
|
const deleteConnection = {
|
||||||
type: GraphQLBoolean,
|
type: GraphQLBoolean,
|
||||||
args: {
|
args: {
|
||||||
id: { type: GraphQLNonNull(GraphQLString) }
|
id: { type: GraphQLNonNull(GraphQLInt) }
|
||||||
},
|
},
|
||||||
resolve: (_: any, params: Params, req: RequestWithCurrentUser) => deleteConnectionResolver(params, req)
|
resolve: (_: any, params: Params, req: RequestWithCurrentUser) => deleteConnectionResolver(params, req)
|
||||||
};
|
};
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
import { GraphQLString, GraphQLNonNull } from 'graphql';
|
import { GraphQLInt, GraphQLNonNull } from 'graphql';
|
||||||
import App from '../../models/app';
|
import App from '../../models/app';
|
||||||
import Connection from '../../models/connection';
|
import Connection from '../../models/connection';
|
||||||
import Step from '../../models/step';
|
import Step from '../../models/step';
|
||||||
@@ -6,7 +6,7 @@ import stepType from '../types/step';
|
|||||||
import RequestWithCurrentUser from '../../types/express/request-with-current-user';
|
import RequestWithCurrentUser from '../../types/express/request-with-current-user';
|
||||||
|
|
||||||
type Params = {
|
type Params = {
|
||||||
id: string,
|
id: number,
|
||||||
data: object
|
data: object
|
||||||
}
|
}
|
||||||
const executeStepResolver = async (params: Params, req: RequestWithCurrentUser) => {
|
const executeStepResolver = async (params: Params, req: RequestWithCurrentUser) => {
|
||||||
@@ -28,7 +28,7 @@ const executeStepResolver = async (params: Params, req: RequestWithCurrentUser)
|
|||||||
const executeStep = {
|
const executeStep = {
|
||||||
type: stepType,
|
type: stepType,
|
||||||
args: {
|
args: {
|
||||||
id: { type: GraphQLNonNull(GraphQLString) }
|
id: { type: GraphQLNonNull(GraphQLInt) }
|
||||||
},
|
},
|
||||||
resolve: (_: any, params: Params, req: RequestWithCurrentUser) => executeStepResolver(params, req)
|
resolve: (_: any, params: Params, req: RequestWithCurrentUser) => executeStepResolver(params, req)
|
||||||
};
|
};
|
||||||
|
@@ -1,10 +1,10 @@
|
|||||||
import { GraphQLString, GraphQLNonNull } from 'graphql';
|
import { GraphQLInt, GraphQLNonNull } from 'graphql';
|
||||||
import Connection from '../../models/connection';
|
import Connection from '../../models/connection';
|
||||||
import connectionType from '../types/connection';
|
import connectionType from '../types/connection';
|
||||||
import RequestWithCurrentUser from '../../types/express/request-with-current-user';
|
import RequestWithCurrentUser from '../../types/express/request-with-current-user';
|
||||||
|
|
||||||
type Params = {
|
type Params = {
|
||||||
id: string
|
id: number
|
||||||
}
|
}
|
||||||
|
|
||||||
const resetConnectionResolver = async (params: Params, req: RequestWithCurrentUser) => {
|
const resetConnectionResolver = async (params: Params, req: RequestWithCurrentUser) => {
|
||||||
@@ -23,7 +23,7 @@ const resetConnectionResolver = async (params: Params, req: RequestWithCurrentUs
|
|||||||
const resetConnection = {
|
const resetConnection = {
|
||||||
type: connectionType,
|
type: connectionType,
|
||||||
args: {
|
args: {
|
||||||
id: { type: GraphQLNonNull(GraphQLString) },
|
id: { type: GraphQLNonNull(GraphQLInt) },
|
||||||
},
|
},
|
||||||
resolve: (_: any, params: Params, req: RequestWithCurrentUser) => resetConnectionResolver(params, req)
|
resolve: (_: any, params: Params, req: RequestWithCurrentUser) => resetConnectionResolver(params, req)
|
||||||
};
|
};
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
import { GraphQLString, GraphQLNonNull } from 'graphql';
|
import { GraphQLInt, GraphQLNonNull } from 'graphql';
|
||||||
import { GraphQLJSONObject } from 'graphql-type-json';
|
import { GraphQLJSONObject } from 'graphql-type-json';
|
||||||
import Connection from '../../models/connection';
|
import Connection from '../../models/connection';
|
||||||
import connectionType from '../types/connection';
|
import connectionType from '../types/connection';
|
||||||
import RequestWithCurrentUser from '../../types/express/request-with-current-user';
|
import RequestWithCurrentUser from '../../types/express/request-with-current-user';
|
||||||
|
|
||||||
type Params = {
|
type Params = {
|
||||||
id: string,
|
id: number,
|
||||||
data: object
|
data: object
|
||||||
}
|
}
|
||||||
const updateConnectionResolver = async (params: Params, req: RequestWithCurrentUser) => {
|
const updateConnectionResolver = async (params: Params, req: RequestWithCurrentUser) => {
|
||||||
@@ -27,7 +27,7 @@ const updateConnectionResolver = async (params: Params, req: RequestWithCurrentU
|
|||||||
const updateConnection = {
|
const updateConnection = {
|
||||||
type: connectionType,
|
type: connectionType,
|
||||||
args: {
|
args: {
|
||||||
id: { type: GraphQLNonNull(GraphQLString) },
|
id: { type: GraphQLNonNull(GraphQLInt) },
|
||||||
data: { type: GraphQLNonNull(GraphQLJSONObject) }
|
data: { type: GraphQLNonNull(GraphQLJSONObject) }
|
||||||
},
|
},
|
||||||
resolve: (_: any, params: Params, req: RequestWithCurrentUser) => updateConnectionResolver(params, req)
|
resolve: (_: any, params: Params, req: RequestWithCurrentUser) => updateConnectionResolver(params, req)
|
||||||
|
@@ -4,7 +4,7 @@ import flowType from '../types/flow';
|
|||||||
import RequestWithCurrentUser from '../../types/express/request-with-current-user';
|
import RequestWithCurrentUser from '../../types/express/request-with-current-user';
|
||||||
|
|
||||||
type Params = {
|
type Params = {
|
||||||
id: string,
|
id: number,
|
||||||
name: string
|
name: string
|
||||||
}
|
}
|
||||||
const updateFlowResolver = async (params: Params, req: RequestWithCurrentUser) => {
|
const updateFlowResolver = async (params: Params, req: RequestWithCurrentUser) => {
|
||||||
|
@@ -1,10 +1,10 @@
|
|||||||
import { GraphQLString, GraphQLNonNull } from 'graphql';
|
import { GraphQLInt, GraphQLNonNull } from 'graphql';
|
||||||
import Connection from '../../models/connection';
|
import Connection from '../../models/connection';
|
||||||
import connectionType from '../types/connection';
|
import connectionType from '../types/connection';
|
||||||
import RequestWithCurrentUser from '../../types/express/request-with-current-user';
|
import RequestWithCurrentUser from '../../types/express/request-with-current-user';
|
||||||
|
|
||||||
type Params = {
|
type Params = {
|
||||||
id: string
|
id: number
|
||||||
}
|
}
|
||||||
const verifyConnectionResolver = async (params: Params, req: RequestWithCurrentUser) => {
|
const verifyConnectionResolver = async (params: Params, req: RequestWithCurrentUser) => {
|
||||||
let connection = await Connection.query().findOne({
|
let connection = await Connection.query().findOne({
|
||||||
@@ -31,7 +31,7 @@ const verifyConnectionResolver = async (params: Params, req: RequestWithCurrentU
|
|||||||
const verifyConnection = {
|
const verifyConnection = {
|
||||||
type: connectionType,
|
type: connectionType,
|
||||||
args: {
|
args: {
|
||||||
id: { type: GraphQLNonNull(GraphQLString) }
|
id: { type: GraphQLNonNull(GraphQLInt) }
|
||||||
},
|
},
|
||||||
resolve: (_: any, params: Params, req: RequestWithCurrentUser) => verifyConnectionResolver(params, req)
|
resolve: (_: any, params: Params, req: RequestWithCurrentUser) => verifyConnectionResolver(params, req)
|
||||||
};
|
};
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
import { GraphQLObjectType, GraphQLString, GraphQLBoolean } from 'graphql';
|
import { GraphQLObjectType, GraphQLString, GraphQLBoolean, GraphQLInt } from 'graphql';
|
||||||
import connectionDataType from './connection-data';
|
import connectionDataType from './connection-data';
|
||||||
|
|
||||||
const connectionType = new GraphQLObjectType({
|
const connectionType = new GraphQLObjectType({
|
||||||
@@ -7,7 +7,7 @@ const connectionType = new GraphQLObjectType({
|
|||||||
const appType = require('./app').default;
|
const appType = require('./app').default;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
id: { type: GraphQLString },
|
id: { type: GraphQLInt },
|
||||||
key: { type: GraphQLString },
|
key: { type: GraphQLString },
|
||||||
data: { type: connectionDataType },
|
data: { type: connectionDataType },
|
||||||
verified: { type: GraphQLBoolean },
|
verified: { type: GraphQLBoolean },
|
||||||
|
@@ -1,10 +1,10 @@
|
|||||||
import { GraphQLList, GraphQLObjectType, GraphQLString } from 'graphql';
|
import { GraphQLList, GraphQLObjectType, GraphQLString, GraphQLInt } from 'graphql';
|
||||||
import StepType from './step';
|
import StepType from './step';
|
||||||
|
|
||||||
const flowType = new GraphQLObjectType({
|
const flowType = new GraphQLObjectType({
|
||||||
name: 'Flow',
|
name: 'Flow',
|
||||||
fields: {
|
fields: {
|
||||||
id: { type: GraphQLString },
|
id: { type: GraphQLInt },
|
||||||
name: { type: GraphQLString },
|
name: { type: GraphQLString },
|
||||||
steps: {
|
steps: {
|
||||||
type: GraphQLList(StepType),
|
type: GraphQLList(StepType),
|
||||||
|
@@ -4,7 +4,7 @@ import ConnectionType from './connection';
|
|||||||
const stepType = new GraphQLObjectType({
|
const stepType = new GraphQLObjectType({
|
||||||
name: 'Step',
|
name: 'Step',
|
||||||
fields: {
|
fields: {
|
||||||
id: { type: GraphQLString },
|
id: { type: GraphQLInt },
|
||||||
key: { type: GraphQLNonNull(GraphQLString) },
|
key: { type: GraphQLNonNull(GraphQLString) },
|
||||||
appKey: { type: GraphQLNonNull(GraphQLString) },
|
appKey: { type: GraphQLNonNull(GraphQLString) },
|
||||||
type: {
|
type: {
|
||||||
|
@@ -1,9 +1,9 @@
|
|||||||
import { GraphQLObjectType, GraphQLString, GraphQLList, GraphQLInt } from 'graphql';
|
import { GraphQLObjectType, GraphQLString, GraphQLInt } from 'graphql';
|
||||||
|
|
||||||
const userType = new GraphQLObjectType({
|
const userType = new GraphQLObjectType({
|
||||||
name: 'User',
|
name: 'User',
|
||||||
fields: {
|
fields: {
|
||||||
id: { type: GraphQLString },
|
id: { type: GraphQLInt },
|
||||||
email: { type: GraphQLString },
|
email: { type: GraphQLString },
|
||||||
createdAt: { type: GraphQLString },
|
createdAt: { type: GraphQLString },
|
||||||
updatedAt: { type: GraphQLString }
|
updatedAt: { type: GraphQLString }
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
import { gql } from '@apollo/client';
|
import { gql } from '@apollo/client';
|
||||||
|
|
||||||
export const CREATE_AUTH_DATA = gql`
|
export const CREATE_AUTH_DATA = gql`
|
||||||
mutation createAuthData($id: String!) {
|
mutation createAuthData($id: Int!) {
|
||||||
createAuthData(id: $id) {
|
createAuthData(id: $id) {
|
||||||
url
|
url
|
||||||
}
|
}
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
import { gql } from '@apollo/client';
|
import { gql } from '@apollo/client';
|
||||||
|
|
||||||
export const DELETE_CONNECTION = gql`
|
export const DELETE_CONNECTION = gql`
|
||||||
mutation DeleteConnection($id: String!) {
|
mutation DeleteConnection($id: Int!) {
|
||||||
deleteConnection(id: $id)
|
deleteConnection(id: $id)
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
import { gql } from '@apollo/client';
|
import { gql } from '@apollo/client';
|
||||||
|
|
||||||
export const RESET_CONNECTION = gql`
|
export const RESET_CONNECTION = gql`
|
||||||
mutation ResetConnection($id: String!) {
|
mutation ResetConnection($id: Int!) {
|
||||||
resetConnection(id: $id) {
|
resetConnection(id: $id) {
|
||||||
id
|
id
|
||||||
}
|
}
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
import { gql } from '@apollo/client';
|
import { gql } from '@apollo/client';
|
||||||
|
|
||||||
export const UPDATE_CONNECTION = gql`
|
export const UPDATE_CONNECTION = gql`
|
||||||
mutation UpdateConnection($id: String!, $data: JSONObject!) {
|
mutation UpdateConnection($id: Int!, $data: JSONObject!) {
|
||||||
updateConnection(id: $id, data: $data) {
|
updateConnection(id: $id, data: $data) {
|
||||||
id
|
id
|
||||||
key
|
key
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
import { gql } from '@apollo/client';
|
import { gql } from '@apollo/client';
|
||||||
|
|
||||||
export const VERIFY_CONNECTION = gql`
|
export const VERIFY_CONNECTION = gql`
|
||||||
mutation VerifyConnection($id: String!) {
|
mutation VerifyConnection($id: Int!) {
|
||||||
verifyConnection(id: $id) {
|
verifyConnection(id: $id) {
|
||||||
id
|
id
|
||||||
verified
|
verified
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
import { gql } from '@apollo/client';
|
import { gql } from '@apollo/client';
|
||||||
|
|
||||||
export const GET_FLOW = gql`
|
export const GET_FLOW = gql`
|
||||||
query GetFlow($id: String!) {
|
query GetFlow($id: Int!) {
|
||||||
getFlow(id: $id) {
|
getFlow(id: $id) {
|
||||||
id
|
id
|
||||||
name
|
name
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
import { gql } from '@apollo/client';
|
import { gql } from '@apollo/client';
|
||||||
|
|
||||||
export const TEST_CONNECTION = gql`
|
export const TEST_CONNECTION = gql`
|
||||||
query TestConnection($id: String!) {
|
query TestConnection($id: Int!) {
|
||||||
testConnection(id: $id) {
|
testConnection(id: $id) {
|
||||||
id
|
id
|
||||||
verified
|
verified
|
||||||
|
Reference in New Issue
Block a user