@@ -106,21 +106,6 @@ const createRiskMappingMutation = graphql`
|
|||||||
) {
|
) {
|
||||||
createRiskMapping(input: $input) {
|
createRiskMapping(input: $input) {
|
||||||
success
|
success
|
||||||
risk {
|
|
||||||
id
|
|
||||||
mitigations(first: 100) @connection(key: "Risk__mitigations") {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
id
|
|
||||||
name
|
|
||||||
description
|
|
||||||
category
|
|
||||||
importance
|
|
||||||
state
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
@@ -132,22 +117,6 @@ const deleteRiskMappingMutation = graphql`
|
|||||||
) {
|
) {
|
||||||
deleteRiskMapping(input: $input) {
|
deleteRiskMapping(input: $input) {
|
||||||
success
|
success
|
||||||
risk {
|
|
||||||
id
|
|
||||||
mitigations(first: 100) @connection(key: "Risk__mitigations") {
|
|
||||||
edges {
|
|
||||||
node {
|
|
||||||
id
|
|
||||||
name
|
|
||||||
description
|
|
||||||
category
|
|
||||||
importance
|
|
||||||
state
|
|
||||||
createdAt
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* @generated SignedSource<<c8807fd1479464c46122e4ca904713f3>>
|
* @generated SignedSource<<61ecdce52780dbfd62783deecb27645d>>
|
||||||
* @lightSyntaxTransform
|
* @lightSyntaxTransform
|
||||||
* @nogrep
|
* @nogrep
|
||||||
*/
|
*/
|
||||||
@@ -24,6 +24,7 @@ export type ShowRiskViewQuery$data = {
|
|||||||
readonly edges: ReadonlyArray<{
|
readonly edges: ReadonlyArray<{
|
||||||
readonly node: {
|
readonly node: {
|
||||||
readonly category: string;
|
readonly category: string;
|
||||||
|
readonly createdAt: string;
|
||||||
readonly description: string;
|
readonly description: string;
|
||||||
readonly id: string;
|
readonly id: string;
|
||||||
readonly importance: MitigationImportance;
|
readonly importance: MitigationImportance;
|
||||||
@@ -79,105 +80,129 @@ v4 = {
|
|||||||
"storageKey": null
|
"storageKey": null
|
||||||
},
|
},
|
||||||
v5 = {
|
v5 = {
|
||||||
"kind": "InlineFragment",
|
"alias": null,
|
||||||
"selections": [
|
"args": null,
|
||||||
(v3/*: any*/),
|
"kind": "ScalarField",
|
||||||
(v4/*: any*/),
|
"name": "probability",
|
||||||
{
|
"storageKey": null
|
||||||
"alias": null,
|
},
|
||||||
"args": null,
|
v6 = {
|
||||||
"kind": "ScalarField",
|
"alias": null,
|
||||||
"name": "probability",
|
"args": null,
|
||||||
"storageKey": null
|
"kind": "ScalarField",
|
||||||
},
|
"name": "impact",
|
||||||
{
|
"storageKey": null
|
||||||
"alias": null,
|
},
|
||||||
"args": null,
|
v7 = {
|
||||||
"kind": "ScalarField",
|
"alias": null,
|
||||||
"name": "impact",
|
"args": null,
|
||||||
"storageKey": null
|
"kind": "ScalarField",
|
||||||
},
|
"name": "createdAt",
|
||||||
{
|
"storageKey": null
|
||||||
"alias": null,
|
},
|
||||||
"args": null,
|
v8 = {
|
||||||
"kind": "ScalarField",
|
"alias": null,
|
||||||
"name": "createdAt",
|
"args": null,
|
||||||
"storageKey": null
|
"kind": "ScalarField",
|
||||||
},
|
"name": "updatedAt",
|
||||||
{
|
"storageKey": null
|
||||||
"alias": null,
|
},
|
||||||
"args": null,
|
v9 = {
|
||||||
"kind": "ScalarField",
|
"alias": null,
|
||||||
"name": "updatedAt",
|
"args": null,
|
||||||
"storageKey": null
|
"kind": "ScalarField",
|
||||||
},
|
"name": "__typename",
|
||||||
{
|
"storageKey": null
|
||||||
"alias": null,
|
},
|
||||||
"args": [
|
v10 = [
|
||||||
{
|
{
|
||||||
"kind": "Literal",
|
"alias": null,
|
||||||
"name": "first",
|
"args": null,
|
||||||
"value": 100
|
"concreteType": "MitigationEdge",
|
||||||
}
|
"kind": "LinkedField",
|
||||||
],
|
"name": "edges",
|
||||||
"concreteType": "MitigationConnection",
|
"plural": true,
|
||||||
"kind": "LinkedField",
|
"selections": [
|
||||||
"name": "mitigations",
|
{
|
||||||
"plural": false,
|
"alias": null,
|
||||||
"selections": [
|
"args": null,
|
||||||
{
|
"concreteType": "Mitigation",
|
||||||
"alias": null,
|
"kind": "LinkedField",
|
||||||
"args": null,
|
"name": "node",
|
||||||
"concreteType": "MitigationEdge",
|
"plural": false,
|
||||||
"kind": "LinkedField",
|
"selections": [
|
||||||
"name": "edges",
|
(v2/*: any*/),
|
||||||
"plural": true,
|
(v3/*: any*/),
|
||||||
"selections": [
|
(v4/*: any*/),
|
||||||
{
|
{
|
||||||
"alias": null,
|
"alias": null,
|
||||||
"args": null,
|
"args": null,
|
||||||
"concreteType": "Mitigation",
|
"kind": "ScalarField",
|
||||||
"kind": "LinkedField",
|
"name": "category",
|
||||||
"name": "node",
|
"storageKey": null
|
||||||
"plural": false,
|
},
|
||||||
"selections": [
|
{
|
||||||
(v2/*: any*/),
|
"alias": null,
|
||||||
(v3/*: any*/),
|
"args": null,
|
||||||
(v4/*: any*/),
|
"kind": "ScalarField",
|
||||||
{
|
"name": "importance",
|
||||||
"alias": null,
|
"storageKey": null
|
||||||
"args": null,
|
},
|
||||||
"kind": "ScalarField",
|
(v7/*: any*/),
|
||||||
"name": "category",
|
{
|
||||||
"storageKey": null
|
"alias": null,
|
||||||
},
|
"args": null,
|
||||||
{
|
"kind": "ScalarField",
|
||||||
"alias": null,
|
"name": "state",
|
||||||
"args": null,
|
"storageKey": null
|
||||||
"kind": "ScalarField",
|
},
|
||||||
"name": "importance",
|
(v9/*: any*/)
|
||||||
"storageKey": null
|
],
|
||||||
},
|
"storageKey": null
|
||||||
{
|
},
|
||||||
"alias": null,
|
{
|
||||||
"args": null,
|
"alias": null,
|
||||||
"kind": "ScalarField",
|
"args": null,
|
||||||
"name": "state",
|
"kind": "ScalarField",
|
||||||
"storageKey": null
|
"name": "cursor",
|
||||||
}
|
"storageKey": null
|
||||||
],
|
}
|
||||||
"storageKey": null
|
],
|
||||||
}
|
"storageKey": null
|
||||||
],
|
},
|
||||||
"storageKey": null
|
{
|
||||||
}
|
"alias": null,
|
||||||
],
|
"args": null,
|
||||||
"storageKey": "mitigations(first:100)"
|
"concreteType": "PageInfo",
|
||||||
}
|
"kind": "LinkedField",
|
||||||
],
|
"name": "pageInfo",
|
||||||
"type": "Risk",
|
"plural": false,
|
||||||
"abstractKey": null
|
"selections": [
|
||||||
};
|
{
|
||||||
|
"alias": null,
|
||||||
|
"args": null,
|
||||||
|
"kind": "ScalarField",
|
||||||
|
"name": "endCursor",
|
||||||
|
"storageKey": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"alias": null,
|
||||||
|
"args": null,
|
||||||
|
"kind": "ScalarField",
|
||||||
|
"name": "hasNextPage",
|
||||||
|
"storageKey": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"storageKey": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
v11 = [
|
||||||
|
{
|
||||||
|
"kind": "Literal",
|
||||||
|
"name": "first",
|
||||||
|
"value": 100
|
||||||
|
}
|
||||||
|
];
|
||||||
return {
|
return {
|
||||||
"fragment": {
|
"fragment": {
|
||||||
"argumentDefinitions": (v0/*: any*/),
|
"argumentDefinitions": (v0/*: any*/),
|
||||||
@@ -194,7 +219,29 @@ return {
|
|||||||
"plural": false,
|
"plural": false,
|
||||||
"selections": [
|
"selections": [
|
||||||
(v2/*: any*/),
|
(v2/*: any*/),
|
||||||
(v5/*: any*/)
|
{
|
||||||
|
"kind": "InlineFragment",
|
||||||
|
"selections": [
|
||||||
|
(v3/*: any*/),
|
||||||
|
(v4/*: any*/),
|
||||||
|
(v5/*: any*/),
|
||||||
|
(v6/*: any*/),
|
||||||
|
(v7/*: any*/),
|
||||||
|
(v8/*: any*/),
|
||||||
|
{
|
||||||
|
"alias": "mitigations",
|
||||||
|
"args": null,
|
||||||
|
"concreteType": "MitigationConnection",
|
||||||
|
"kind": "LinkedField",
|
||||||
|
"name": "__Risk__mitigations_connection",
|
||||||
|
"plural": false,
|
||||||
|
"selections": (v10/*: any*/),
|
||||||
|
"storageKey": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "Risk",
|
||||||
|
"abstractKey": null
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"storageKey": null
|
"storageKey": null
|
||||||
}
|
}
|
||||||
@@ -216,31 +263,68 @@ return {
|
|||||||
"name": "node",
|
"name": "node",
|
||||||
"plural": false,
|
"plural": false,
|
||||||
"selections": [
|
"selections": [
|
||||||
{
|
(v9/*: any*/),
|
||||||
"alias": null,
|
|
||||||
"args": null,
|
|
||||||
"kind": "ScalarField",
|
|
||||||
"name": "__typename",
|
|
||||||
"storageKey": null
|
|
||||||
},
|
|
||||||
(v2/*: any*/),
|
(v2/*: any*/),
|
||||||
(v5/*: any*/)
|
{
|
||||||
|
"kind": "InlineFragment",
|
||||||
|
"selections": [
|
||||||
|
(v3/*: any*/),
|
||||||
|
(v4/*: any*/),
|
||||||
|
(v5/*: any*/),
|
||||||
|
(v6/*: any*/),
|
||||||
|
(v7/*: any*/),
|
||||||
|
(v8/*: any*/),
|
||||||
|
{
|
||||||
|
"alias": null,
|
||||||
|
"args": (v11/*: any*/),
|
||||||
|
"concreteType": "MitigationConnection",
|
||||||
|
"kind": "LinkedField",
|
||||||
|
"name": "mitigations",
|
||||||
|
"plural": false,
|
||||||
|
"selections": (v10/*: any*/),
|
||||||
|
"storageKey": "mitigations(first:100)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"alias": null,
|
||||||
|
"args": (v11/*: any*/),
|
||||||
|
"filters": null,
|
||||||
|
"handle": "connection",
|
||||||
|
"key": "Risk__mitigations",
|
||||||
|
"kind": "LinkedHandle",
|
||||||
|
"name": "mitigations"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "Risk",
|
||||||
|
"abstractKey": null
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"storageKey": null
|
"storageKey": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"params": {
|
"params": {
|
||||||
"cacheID": "1fa87a20a3f945fa7da2f72e5b4fa52f",
|
"cacheID": "b30cf22fe56e7cb776d6d4a5af81e358",
|
||||||
"id": null,
|
"id": null,
|
||||||
"metadata": {},
|
"metadata": {
|
||||||
|
"connection": [
|
||||||
|
{
|
||||||
|
"count": null,
|
||||||
|
"cursor": null,
|
||||||
|
"direction": "forward",
|
||||||
|
"path": [
|
||||||
|
"node",
|
||||||
|
"mitigations"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
"name": "ShowRiskViewQuery",
|
"name": "ShowRiskViewQuery",
|
||||||
"operationKind": "query",
|
"operationKind": "query",
|
||||||
"text": "query ShowRiskViewQuery(\n $riskId: ID!\n) {\n node(id: $riskId) {\n __typename\n id\n ... on Risk {\n name\n description\n probability\n impact\n createdAt\n updatedAt\n mitigations(first: 100) {\n edges {\n node {\n id\n name\n description\n category\n importance\n state\n }\n }\n }\n }\n }\n}\n"
|
"text": "query ShowRiskViewQuery(\n $riskId: ID!\n) {\n node(id: $riskId) {\n __typename\n id\n ... on Risk {\n name\n description\n probability\n impact\n createdAt\n updatedAt\n mitigations(first: 100) {\n edges {\n node {\n id\n name\n description\n category\n importance\n createdAt\n state\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n }\n }\n}\n"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
})();
|
})();
|
||||||
|
|
||||||
(node as any).hash = "824859cf39078da910b00879c17a2a9d";
|
(node as any).hash = "77f36d2a4405051ede742be63d3e1e38";
|
||||||
|
|
||||||
export default node;
|
export default node;
|
||||||
|
|||||||
Reference in New Issue
Block a user