305 lines
7.7 KiB
TypeScript
305 lines
7.7 KiB
TypeScript
/**
|
|
* @generated SignedSource<<2b964bdee12b49230932678f583c7401>>
|
|
* @lightSyntaxTransform
|
|
* @nogrep
|
|
*/
|
|
|
|
/* tslint:disable */
|
|
/* eslint-disable */
|
|
// @ts-nocheck
|
|
|
|
import { ReaderFragment } from 'relay-runtime';
|
|
export type RiskTreatment = "ACCEPTED" | "AVOIDED" | "MITIGATED" | "TRANSFERRED";
|
|
import { FragmentRefs } from "relay-runtime";
|
|
export type RiskGraphFragment$data = {
|
|
readonly id: string;
|
|
readonly risks: {
|
|
readonly edges: ReadonlyArray<{
|
|
readonly node: {
|
|
readonly category: string;
|
|
readonly id: string;
|
|
readonly inherentImpact: number;
|
|
readonly inherentLikelihood: number;
|
|
readonly inherentRiskScore: number;
|
|
readonly name: string;
|
|
readonly residualImpact: number;
|
|
readonly residualLikelihood: number;
|
|
readonly residualRiskScore: number;
|
|
readonly snapshotId: string | null | undefined;
|
|
readonly treatment: RiskTreatment;
|
|
readonly " $fragmentSpreads": FragmentRefs<"useRiskFormFragment">;
|
|
};
|
|
}>;
|
|
};
|
|
readonly " $fragmentType": "RiskGraphFragment";
|
|
};
|
|
export type RiskGraphFragment$key = {
|
|
readonly " $data"?: RiskGraphFragment$data;
|
|
readonly " $fragmentSpreads": FragmentRefs<"RiskGraphFragment">;
|
|
};
|
|
|
|
import RisksListQuery_graphql from './RisksListQuery.graphql';
|
|
|
|
const node: ReaderFragment = (function(){
|
|
var v0 = [
|
|
"risks"
|
|
],
|
|
v1 = {
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "id",
|
|
"storageKey": null
|
|
};
|
|
return {
|
|
"argumentDefinitions": [
|
|
{
|
|
"defaultValue": null,
|
|
"kind": "LocalArgument",
|
|
"name": "after"
|
|
},
|
|
{
|
|
"defaultValue": null,
|
|
"kind": "LocalArgument",
|
|
"name": "before"
|
|
},
|
|
{
|
|
"defaultValue": 50,
|
|
"kind": "LocalArgument",
|
|
"name": "first"
|
|
},
|
|
{
|
|
"defaultValue": null,
|
|
"kind": "LocalArgument",
|
|
"name": "last"
|
|
},
|
|
{
|
|
"defaultValue": null,
|
|
"kind": "LocalArgument",
|
|
"name": "order"
|
|
},
|
|
{
|
|
"defaultValue": null,
|
|
"kind": "LocalArgument",
|
|
"name": "snapshotId"
|
|
}
|
|
],
|
|
"kind": "Fragment",
|
|
"metadata": {
|
|
"connection": [
|
|
{
|
|
"count": null,
|
|
"cursor": null,
|
|
"direction": "bidirectional",
|
|
"path": (v0/*: any*/)
|
|
}
|
|
],
|
|
"refetch": {
|
|
"connection": {
|
|
"forward": {
|
|
"count": "first",
|
|
"cursor": "after"
|
|
},
|
|
"backward": {
|
|
"count": "last",
|
|
"cursor": "before"
|
|
},
|
|
"path": (v0/*: any*/)
|
|
},
|
|
"fragmentPathInResult": [
|
|
"node"
|
|
],
|
|
"operation": RisksListQuery_graphql,
|
|
"identifierInfo": {
|
|
"identifierField": "id",
|
|
"identifierQueryVariableName": "id"
|
|
}
|
|
}
|
|
},
|
|
"name": "RiskGraphFragment",
|
|
"selections": [
|
|
{
|
|
"alias": "risks",
|
|
"args": [
|
|
{
|
|
"fields": [
|
|
{
|
|
"kind": "Variable",
|
|
"name": "snapshotId",
|
|
"variableName": "snapshotId"
|
|
}
|
|
],
|
|
"kind": "ObjectValue",
|
|
"name": "filter"
|
|
}
|
|
],
|
|
"concreteType": "RiskConnection",
|
|
"kind": "LinkedField",
|
|
"name": "__RisksListQuery_risks_connection",
|
|
"plural": false,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "RiskEdge",
|
|
"kind": "LinkedField",
|
|
"name": "edges",
|
|
"plural": true,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "Risk",
|
|
"kind": "LinkedField",
|
|
"name": "node",
|
|
"plural": false,
|
|
"selections": [
|
|
(v1/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "snapshotId",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "name",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "category",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "treatment",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "inherentLikelihood",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "inherentImpact",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "residualLikelihood",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "residualImpact",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "inherentRiskScore",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "residualRiskScore",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"args": null,
|
|
"kind": "FragmentSpread",
|
|
"name": "useRiskFormFragment"
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "__typename",
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "cursor",
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "PageInfo",
|
|
"kind": "LinkedField",
|
|
"name": "pageInfo",
|
|
"plural": false,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "endCursor",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "hasNextPage",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "hasPreviousPage",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "startCursor",
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
},
|
|
(v1/*: any*/)
|
|
],
|
|
"type": "Organization",
|
|
"abstractKey": null
|
|
};
|
|
})();
|
|
|
|
(node as any).hash = "95c68a022cbf075eede9b7417393a369";
|
|
|
|
export default node;
|