133 lines
2.9 KiB
TypeScript
133 lines
2.9 KiB
TypeScript
/**
|
|
* @generated SignedSource<<dec71a6edcf899669b0b8e29a8b77aad>>
|
|
* @lightSyntaxTransform
|
|
* @nogrep
|
|
*/
|
|
|
|
/* tslint:disable */
|
|
/* eslint-disable */
|
|
// @ts-nocheck
|
|
|
|
import { ConcreteRequest } from 'relay-runtime';
|
|
export type DeleteRiskInput = {
|
|
riskId: string;
|
|
};
|
|
export type RiskGraphDeleteMutation$variables = {
|
|
connections: ReadonlyArray<string>;
|
|
input: DeleteRiskInput;
|
|
};
|
|
export type RiskGraphDeleteMutation$data = {
|
|
readonly deleteRisk: {
|
|
readonly deletedRiskId: string;
|
|
};
|
|
};
|
|
export type RiskGraphDeleteMutation = {
|
|
response: RiskGraphDeleteMutation$data;
|
|
variables: RiskGraphDeleteMutation$variables;
|
|
};
|
|
|
|
const node: ConcreteRequest = (function(){
|
|
var v0 = {
|
|
"defaultValue": null,
|
|
"kind": "LocalArgument",
|
|
"name": "connections"
|
|
},
|
|
v1 = {
|
|
"defaultValue": null,
|
|
"kind": "LocalArgument",
|
|
"name": "input"
|
|
},
|
|
v2 = [
|
|
{
|
|
"kind": "Variable",
|
|
"name": "input",
|
|
"variableName": "input"
|
|
}
|
|
],
|
|
v3 = {
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "deletedRiskId",
|
|
"storageKey": null
|
|
};
|
|
return {
|
|
"fragment": {
|
|
"argumentDefinitions": [
|
|
(v0/*: any*/),
|
|
(v1/*: any*/)
|
|
],
|
|
"kind": "Fragment",
|
|
"metadata": null,
|
|
"name": "RiskGraphDeleteMutation",
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": (v2/*: any*/),
|
|
"concreteType": "DeleteRiskPayload",
|
|
"kind": "LinkedField",
|
|
"name": "deleteRisk",
|
|
"plural": false,
|
|
"selections": [
|
|
(v3/*: any*/)
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"type": "Mutation",
|
|
"abstractKey": null
|
|
},
|
|
"kind": "Request",
|
|
"operation": {
|
|
"argumentDefinitions": [
|
|
(v1/*: any*/),
|
|
(v0/*: any*/)
|
|
],
|
|
"kind": "Operation",
|
|
"name": "RiskGraphDeleteMutation",
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": (v2/*: any*/),
|
|
"concreteType": "DeleteRiskPayload",
|
|
"kind": "LinkedField",
|
|
"name": "deleteRisk",
|
|
"plural": false,
|
|
"selections": [
|
|
(v3/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"filters": null,
|
|
"handle": "deleteEdge",
|
|
"key": "",
|
|
"kind": "ScalarHandle",
|
|
"name": "deletedRiskId",
|
|
"handleArgs": [
|
|
{
|
|
"kind": "Variable",
|
|
"name": "connections",
|
|
"variableName": "connections"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
]
|
|
},
|
|
"params": {
|
|
"cacheID": "57b2b12cd623a9c0a99bc5d13284e21e",
|
|
"id": null,
|
|
"metadata": {},
|
|
"name": "RiskGraphDeleteMutation",
|
|
"operationKind": "mutation",
|
|
"text": "mutation RiskGraphDeleteMutation(\n $input: DeleteRiskInput!\n) {\n deleteRisk(input: $input) {\n deletedRiskId\n }\n}\n"
|
|
}
|
|
};
|
|
})();
|
|
|
|
(node as any).hash = "a930aa55cb8dcca220dfb26783550877";
|
|
|
|
export default node;
|