@@ -156,7 +156,11 @@ const createMeasureMappingMutation = graphql`
|
||||
$input: CreateControlMeasureMappingInput!
|
||||
) {
|
||||
createControlMeasureMapping(input: $input) {
|
||||
success
|
||||
controlEdge {
|
||||
node {
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
@@ -167,7 +171,7 @@ const deleteMeasureMappingMutation = graphql`
|
||||
$input: DeleteControlMeasureMappingInput!
|
||||
) {
|
||||
deleteControlMeasureMapping(input: $input) {
|
||||
success
|
||||
deletedMeasureId
|
||||
}
|
||||
}
|
||||
`;
|
||||
@@ -178,7 +182,11 @@ const createPolicyMappingMutation = graphql`
|
||||
$input: CreateControlPolicyMappingInput!
|
||||
) {
|
||||
createControlPolicyMapping(input: $input) {
|
||||
success
|
||||
controlEdge {
|
||||
node {
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
@@ -189,7 +197,7 @@ const deletePolicyMappingMutation = graphql`
|
||||
$input: DeleteControlPolicyMappingInput!
|
||||
) {
|
||||
deleteControlPolicyMapping(input: $input) {
|
||||
success
|
||||
deletedPolicyId
|
||||
}
|
||||
}
|
||||
`;
|
||||
@@ -234,10 +242,10 @@ export function Control({
|
||||
|
||||
// Create mutation hooks
|
||||
const [commitCreateMeasureMapping] = useMutation(
|
||||
createMeasureMappingMutation,
|
||||
createMeasureMappingMutation
|
||||
);
|
||||
const [commitDeleteMeasureMapping] = useMutation(
|
||||
deleteMeasureMappingMutation,
|
||||
deleteMeasureMappingMutation
|
||||
);
|
||||
const [commitCreatePolicyMapping] = useMutation(createPolicyMappingMutation);
|
||||
const [commitDeletePolicyMapping] = useMutation(deletePolicyMappingMutation);
|
||||
@@ -273,7 +281,7 @@ export function Control({
|
||||
organizationMeasuresQuery,
|
||||
{
|
||||
organizationId,
|
||||
},
|
||||
}
|
||||
).subscribe({
|
||||
next: (data) => {
|
||||
setOrganizationMeasuresData(data);
|
||||
@@ -285,7 +293,7 @@ export function Control({
|
||||
linkedMeasuresQuery,
|
||||
{
|
||||
controlId: control.id,
|
||||
},
|
||||
}
|
||||
).subscribe({
|
||||
next: (data) => {
|
||||
setLinkedMeasuresData(data);
|
||||
@@ -318,7 +326,7 @@ export function Control({
|
||||
const getMeasures = useCallback(() => {
|
||||
if (!organizationMeasuresData?.organization?.measures?.edges) return [];
|
||||
return organizationMeasuresData.organization.measures.edges.map(
|
||||
(edge) => edge.node,
|
||||
(edge) => edge.node
|
||||
);
|
||||
}, [organizationMeasuresData]);
|
||||
|
||||
@@ -332,7 +340,7 @@ export function Control({
|
||||
const linkedMeasures = getLinkedMeasures();
|
||||
return linkedMeasures.some((measure) => measure.id === measureId);
|
||||
},
|
||||
[getLinkedMeasures],
|
||||
[getLinkedMeasures]
|
||||
);
|
||||
|
||||
const getMeasureCategories = useCallback(() => {
|
||||
@@ -405,7 +413,7 @@ export function Control({
|
||||
linkedMeasuresQuery,
|
||||
{
|
||||
controlId: control.id,
|
||||
},
|
||||
}
|
||||
).subscribe({
|
||||
next: (data) => {
|
||||
setLinkedMeasuresData(data);
|
||||
@@ -431,7 +439,7 @@ export function Control({
|
||||
},
|
||||
});
|
||||
},
|
||||
[commitCreateMeasureMapping, control.id, environment, toast],
|
||||
[commitCreateMeasureMapping, control.id, environment, toast]
|
||||
);
|
||||
|
||||
const handleUnlinkMeasure = useCallback(
|
||||
@@ -466,7 +474,7 @@ export function Control({
|
||||
linkedMeasuresQuery,
|
||||
{
|
||||
controlId: control.id,
|
||||
},
|
||||
}
|
||||
).subscribe({
|
||||
next: (data) => {
|
||||
setLinkedMeasuresData(data);
|
||||
@@ -492,7 +500,7 @@ export function Control({
|
||||
},
|
||||
});
|
||||
},
|
||||
[commitDeleteMeasureMapping, control.id, environment, toast],
|
||||
[commitDeleteMeasureMapping, control.id, environment, toast]
|
||||
);
|
||||
|
||||
const handleOpenMeasureMappingDialog = useCallback(() => {
|
||||
@@ -531,7 +539,7 @@ export function Control({
|
||||
organizationPoliciesQuery,
|
||||
{
|
||||
organizationId,
|
||||
},
|
||||
}
|
||||
).subscribe({
|
||||
next: (data) => {
|
||||
setOrganizationPoliciesData(data);
|
||||
@@ -543,7 +551,7 @@ export function Control({
|
||||
linkedPoliciesQuery,
|
||||
{
|
||||
controlId: control.id,
|
||||
},
|
||||
}
|
||||
).subscribe({
|
||||
next: (data) => {
|
||||
setLinkedPoliciesData(data);
|
||||
@@ -576,7 +584,7 @@ export function Control({
|
||||
const getPolicies = useCallback(() => {
|
||||
if (!organizationPoliciesData?.organization?.policies?.edges) return [];
|
||||
return organizationPoliciesData.organization.policies.edges.map(
|
||||
(edge) => edge.node,
|
||||
(edge) => edge.node
|
||||
);
|
||||
}, [organizationPoliciesData]);
|
||||
|
||||
@@ -590,7 +598,7 @@ export function Control({
|
||||
const linkedPolicies = getLinkedPolicies();
|
||||
return linkedPolicies.some((policy) => policy.id === policyId);
|
||||
},
|
||||
[getLinkedPolicies],
|
||||
[getLinkedPolicies]
|
||||
);
|
||||
|
||||
const filteredPolicies = useCallback(() => {
|
||||
@@ -642,7 +650,7 @@ export function Control({
|
||||
linkedPoliciesQuery,
|
||||
{
|
||||
controlId: control.id,
|
||||
},
|
||||
}
|
||||
).subscribe({
|
||||
next: (data) => {
|
||||
setLinkedPoliciesData(data);
|
||||
@@ -668,7 +676,7 @@ export function Control({
|
||||
},
|
||||
});
|
||||
},
|
||||
[commitCreatePolicyMapping, control.id, environment, toast],
|
||||
[commitCreatePolicyMapping, control.id, environment, toast]
|
||||
);
|
||||
|
||||
const handleUnlinkPolicy = useCallback(
|
||||
@@ -703,7 +711,7 @@ export function Control({
|
||||
linkedPoliciesQuery,
|
||||
{
|
||||
controlId: control.id,
|
||||
},
|
||||
}
|
||||
).subscribe({
|
||||
next: (data) => {
|
||||
setLinkedPoliciesData(data);
|
||||
@@ -729,7 +737,7 @@ export function Control({
|
||||
},
|
||||
});
|
||||
},
|
||||
[commitDeletePolicyMapping, control.id, environment, toast],
|
||||
[commitDeletePolicyMapping, control.id, environment, toast]
|
||||
);
|
||||
|
||||
const handleOpenPolicyMappingDialog = useCallback(() => {
|
||||
@@ -879,7 +887,7 @@ export function Control({
|
||||
<td className="py-3 px-4">
|
||||
<div
|
||||
className={`px-2 py-0.5 rounded-full text-xs ${getStateColor(
|
||||
measure.state,
|
||||
measure.state
|
||||
)} inline-block`}
|
||||
>
|
||||
{formatState(measure.state)}
|
||||
@@ -992,7 +1000,7 @@ export function Control({
|
||||
<td className="py-3 px-4">
|
||||
<div
|
||||
className={`px-2 py-0.5 rounded-full text-xs ${getStateColor(
|
||||
measure.state,
|
||||
measure.state
|
||||
)} inline-block`}
|
||||
>
|
||||
{formatState(measure.state)}
|
||||
@@ -1113,7 +1121,7 @@ export function Control({
|
||||
<td className="py-3 px-4">
|
||||
{policy.updatedAt
|
||||
? new Date(
|
||||
policy.updatedAt,
|
||||
policy.updatedAt
|
||||
).toLocaleDateString()
|
||||
: "Not set"}
|
||||
</td>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @generated SignedSource<<369cb72e422d254a5e4956d17c47a8ae>>
|
||||
* @generated SignedSource<<97db419e0a721e3a40619b1dbe4f9cde>>
|
||||
* @lightSyntaxTransform
|
||||
* @nogrep
|
||||
*/
|
||||
@@ -18,7 +18,11 @@ export type ControlCreateMeasureMappingMutation$variables = {
|
||||
};
|
||||
export type ControlCreateMeasureMappingMutation$data = {
|
||||
readonly createControlMeasureMapping: {
|
||||
readonly success: boolean;
|
||||
readonly controlEdge: {
|
||||
readonly node: {
|
||||
readonly id: string;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
export type ControlCreateMeasureMappingMutation = {
|
||||
@@ -52,8 +56,30 @@ v1 = [
|
||||
{
|
||||
"alias": null,
|
||||
"args": null,
|
||||
"kind": "ScalarField",
|
||||
"name": "success",
|
||||
"concreteType": "ControlEdge",
|
||||
"kind": "LinkedField",
|
||||
"name": "controlEdge",
|
||||
"plural": false,
|
||||
"selections": [
|
||||
{
|
||||
"alias": null,
|
||||
"args": null,
|
||||
"concreteType": "Control",
|
||||
"kind": "LinkedField",
|
||||
"name": "node",
|
||||
"plural": false,
|
||||
"selections": [
|
||||
{
|
||||
"alias": null,
|
||||
"args": null,
|
||||
"kind": "ScalarField",
|
||||
"name": "id",
|
||||
"storageKey": null
|
||||
}
|
||||
],
|
||||
"storageKey": null
|
||||
}
|
||||
],
|
||||
"storageKey": null
|
||||
}
|
||||
],
|
||||
@@ -78,16 +104,16 @@ return {
|
||||
"selections": (v1/*: any*/)
|
||||
},
|
||||
"params": {
|
||||
"cacheID": "5ff3b52a5f40607556617a17e44dc3b1",
|
||||
"cacheID": "47a25e6c0c8c8695cf742b3cb5dfc90e",
|
||||
"id": null,
|
||||
"metadata": {},
|
||||
"name": "ControlCreateMeasureMappingMutation",
|
||||
"operationKind": "mutation",
|
||||
"text": "mutation ControlCreateMeasureMappingMutation(\n $input: CreateControlMeasureMappingInput!\n) {\n createControlMeasureMapping(input: $input) {\n success\n }\n}\n"
|
||||
"text": "mutation ControlCreateMeasureMappingMutation(\n $input: CreateControlMeasureMappingInput!\n) {\n createControlMeasureMapping(input: $input) {\n controlEdge {\n node {\n id\n }\n }\n }\n}\n"
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
||||
(node as any).hash = "2c0061b6e180971d0e0f8b8b5c44d566";
|
||||
(node as any).hash = "4d5a5c705066af948f689da7e1ae491e";
|
||||
|
||||
export default node;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @generated SignedSource<<d614f25231ff53581f96021c5b52628a>>
|
||||
* @generated SignedSource<<9e8a7131004ab3ef4f20c36c904bd9db>>
|
||||
* @lightSyntaxTransform
|
||||
* @nogrep
|
||||
*/
|
||||
@@ -18,7 +18,11 @@ export type ControlCreatePolicyMappingMutation$variables = {
|
||||
};
|
||||
export type ControlCreatePolicyMappingMutation$data = {
|
||||
readonly createControlPolicyMapping: {
|
||||
readonly success: boolean;
|
||||
readonly controlEdge: {
|
||||
readonly node: {
|
||||
readonly id: string;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
export type ControlCreatePolicyMappingMutation = {
|
||||
@@ -52,8 +56,30 @@ v1 = [
|
||||
{
|
||||
"alias": null,
|
||||
"args": null,
|
||||
"kind": "ScalarField",
|
||||
"name": "success",
|
||||
"concreteType": "ControlEdge",
|
||||
"kind": "LinkedField",
|
||||
"name": "controlEdge",
|
||||
"plural": false,
|
||||
"selections": [
|
||||
{
|
||||
"alias": null,
|
||||
"args": null,
|
||||
"concreteType": "Control",
|
||||
"kind": "LinkedField",
|
||||
"name": "node",
|
||||
"plural": false,
|
||||
"selections": [
|
||||
{
|
||||
"alias": null,
|
||||
"args": null,
|
||||
"kind": "ScalarField",
|
||||
"name": "id",
|
||||
"storageKey": null
|
||||
}
|
||||
],
|
||||
"storageKey": null
|
||||
}
|
||||
],
|
||||
"storageKey": null
|
||||
}
|
||||
],
|
||||
@@ -78,16 +104,16 @@ return {
|
||||
"selections": (v1/*: any*/)
|
||||
},
|
||||
"params": {
|
||||
"cacheID": "bde220ef49867cec6b77bffc06878258",
|
||||
"cacheID": "d2cf3e45fcc9109399c3b80addb03b20",
|
||||
"id": null,
|
||||
"metadata": {},
|
||||
"name": "ControlCreatePolicyMappingMutation",
|
||||
"operationKind": "mutation",
|
||||
"text": "mutation ControlCreatePolicyMappingMutation(\n $input: CreateControlPolicyMappingInput!\n) {\n createControlPolicyMapping(input: $input) {\n success\n }\n}\n"
|
||||
"text": "mutation ControlCreatePolicyMappingMutation(\n $input: CreateControlPolicyMappingInput!\n) {\n createControlPolicyMapping(input: $input) {\n controlEdge {\n node {\n id\n }\n }\n }\n}\n"
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
||||
(node as any).hash = "8e6ef41146efb59340331e16ce0493d6";
|
||||
(node as any).hash = "9deabb78c91eca04673b23cf5d0b68f5";
|
||||
|
||||
export default node;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @generated SignedSource<<6208e6173d03bbf497b38e0f8dece2a7>>
|
||||
* @generated SignedSource<<92ccd3ebf9c0f657aa025589621b5bb9>>
|
||||
* @lightSyntaxTransform
|
||||
* @nogrep
|
||||
*/
|
||||
@@ -18,7 +18,7 @@ export type ControlDeleteMeasureMappingMutation$variables = {
|
||||
};
|
||||
export type ControlDeleteMeasureMappingMutation$data = {
|
||||
readonly deleteControlMeasureMapping: {
|
||||
readonly success: boolean;
|
||||
readonly deletedMeasureId: string;
|
||||
};
|
||||
};
|
||||
export type ControlDeleteMeasureMappingMutation = {
|
||||
@@ -53,7 +53,7 @@ v1 = [
|
||||
"alias": null,
|
||||
"args": null,
|
||||
"kind": "ScalarField",
|
||||
"name": "success",
|
||||
"name": "deletedMeasureId",
|
||||
"storageKey": null
|
||||
}
|
||||
],
|
||||
@@ -78,16 +78,16 @@ return {
|
||||
"selections": (v1/*: any*/)
|
||||
},
|
||||
"params": {
|
||||
"cacheID": "446e0d6cc32e0c0dfc4f5e74e11bdb84",
|
||||
"cacheID": "f04fc5d41446167e628d231693adacb5",
|
||||
"id": null,
|
||||
"metadata": {},
|
||||
"name": "ControlDeleteMeasureMappingMutation",
|
||||
"operationKind": "mutation",
|
||||
"text": "mutation ControlDeleteMeasureMappingMutation(\n $input: DeleteControlMeasureMappingInput!\n) {\n deleteControlMeasureMapping(input: $input) {\n success\n }\n}\n"
|
||||
"text": "mutation ControlDeleteMeasureMappingMutation(\n $input: DeleteControlMeasureMappingInput!\n) {\n deleteControlMeasureMapping(input: $input) {\n deletedMeasureId\n }\n}\n"
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
||||
(node as any).hash = "f6a94c260a98dffe7d48e4aa9e690845";
|
||||
(node as any).hash = "3585131b3599d0926a1e53979eafc0a3";
|
||||
|
||||
export default node;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @generated SignedSource<<5988b98a6e2ae42a565e51fc13fa5c91>>
|
||||
* @generated SignedSource<<16f8815c8b1db694fb8cd18be95c3f53>>
|
||||
* @lightSyntaxTransform
|
||||
* @nogrep
|
||||
*/
|
||||
@@ -18,7 +18,7 @@ export type ControlDeletePolicyMappingMutation$variables = {
|
||||
};
|
||||
export type ControlDeletePolicyMappingMutation$data = {
|
||||
readonly deleteControlPolicyMapping: {
|
||||
readonly success: boolean;
|
||||
readonly deletedPolicyId: string;
|
||||
};
|
||||
};
|
||||
export type ControlDeletePolicyMappingMutation = {
|
||||
@@ -53,7 +53,7 @@ v1 = [
|
||||
"alias": null,
|
||||
"args": null,
|
||||
"kind": "ScalarField",
|
||||
"name": "success",
|
||||
"name": "deletedPolicyId",
|
||||
"storageKey": null
|
||||
}
|
||||
],
|
||||
@@ -78,16 +78,16 @@ return {
|
||||
"selections": (v1/*: any*/)
|
||||
},
|
||||
"params": {
|
||||
"cacheID": "3b84cd899eee67303695eae81d1ba453",
|
||||
"cacheID": "ae87d43859683362f6c7024e7f371425",
|
||||
"id": null,
|
||||
"metadata": {},
|
||||
"name": "ControlDeletePolicyMappingMutation",
|
||||
"operationKind": "mutation",
|
||||
"text": "mutation ControlDeletePolicyMappingMutation(\n $input: DeleteControlPolicyMappingInput!\n) {\n deleteControlPolicyMapping(input: $input) {\n success\n }\n}\n"
|
||||
"text": "mutation ControlDeletePolicyMappingMutation(\n $input: DeleteControlPolicyMappingInput!\n) {\n deleteControlPolicyMapping(input: $input) {\n deletedPolicyId\n }\n}\n"
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
||||
(node as any).hash = "e706f52dac09ef3fcadeb588ccd0274d";
|
||||
(node as any).hash = "39306cd73fd5af5c603272f0bba45a8f";
|
||||
|
||||
export default node;
|
||||
|
||||
@@ -431,7 +431,11 @@ const createControlMappingMutation = graphql`
|
||||
$input: CreateControlMeasureMappingInput!
|
||||
) {
|
||||
createControlMeasureMapping(input: $input) {
|
||||
success
|
||||
controlEdge {
|
||||
node {
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
@@ -441,7 +445,7 @@ const deleteControlMappingMutation = graphql`
|
||||
$input: DeleteControlMeasureMappingInput!
|
||||
) {
|
||||
deleteControlMeasureMapping(input: $input) {
|
||||
success
|
||||
deletedMeasureId
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @generated SignedSource<<441cfaaf785e0628a8c954249ef87bdf>>
|
||||
* @generated SignedSource<<b762c4de95c264178aa53ec0db98a973>>
|
||||
* @lightSyntaxTransform
|
||||
* @nogrep
|
||||
*/
|
||||
@@ -18,7 +18,11 @@ export type MeasureViewCreateControlMappingMutation$variables = {
|
||||
};
|
||||
export type MeasureViewCreateControlMappingMutation$data = {
|
||||
readonly createControlMeasureMapping: {
|
||||
readonly success: boolean;
|
||||
readonly controlEdge: {
|
||||
readonly node: {
|
||||
readonly id: string;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
export type MeasureViewCreateControlMappingMutation = {
|
||||
@@ -52,8 +56,30 @@ v1 = [
|
||||
{
|
||||
"alias": null,
|
||||
"args": null,
|
||||
"kind": "ScalarField",
|
||||
"name": "success",
|
||||
"concreteType": "ControlEdge",
|
||||
"kind": "LinkedField",
|
||||
"name": "controlEdge",
|
||||
"plural": false,
|
||||
"selections": [
|
||||
{
|
||||
"alias": null,
|
||||
"args": null,
|
||||
"concreteType": "Control",
|
||||
"kind": "LinkedField",
|
||||
"name": "node",
|
||||
"plural": false,
|
||||
"selections": [
|
||||
{
|
||||
"alias": null,
|
||||
"args": null,
|
||||
"kind": "ScalarField",
|
||||
"name": "id",
|
||||
"storageKey": null
|
||||
}
|
||||
],
|
||||
"storageKey": null
|
||||
}
|
||||
],
|
||||
"storageKey": null
|
||||
}
|
||||
],
|
||||
@@ -78,16 +104,16 @@ return {
|
||||
"selections": (v1/*: any*/)
|
||||
},
|
||||
"params": {
|
||||
"cacheID": "ea74e0148d320dbfb79859bb6286427b",
|
||||
"cacheID": "27359a60a5a935f7d707c11d25c5d656",
|
||||
"id": null,
|
||||
"metadata": {},
|
||||
"name": "MeasureViewCreateControlMappingMutation",
|
||||
"operationKind": "mutation",
|
||||
"text": "mutation MeasureViewCreateControlMappingMutation(\n $input: CreateControlMeasureMappingInput!\n) {\n createControlMeasureMapping(input: $input) {\n success\n }\n}\n"
|
||||
"text": "mutation MeasureViewCreateControlMappingMutation(\n $input: CreateControlMeasureMappingInput!\n) {\n createControlMeasureMapping(input: $input) {\n controlEdge {\n node {\n id\n }\n }\n }\n}\n"
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
||||
(node as any).hash = "dfe964679c82f9c47d418122595989a8";
|
||||
(node as any).hash = "8621dd4bf5bdb9d06c1451004493fac9";
|
||||
|
||||
export default node;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @generated SignedSource<<9136dd4c154f9e4b2ba8b91316edbf4a>>
|
||||
* @generated SignedSource<<c903592f9282d20a2a8d28f0907be974>>
|
||||
* @lightSyntaxTransform
|
||||
* @nogrep
|
||||
*/
|
||||
@@ -18,7 +18,7 @@ export type MeasureViewDeleteControlMappingMutation$variables = {
|
||||
};
|
||||
export type MeasureViewDeleteControlMappingMutation$data = {
|
||||
readonly deleteControlMeasureMapping: {
|
||||
readonly success: boolean;
|
||||
readonly deletedMeasureId: string;
|
||||
};
|
||||
};
|
||||
export type MeasureViewDeleteControlMappingMutation = {
|
||||
@@ -53,7 +53,7 @@ v1 = [
|
||||
"alias": null,
|
||||
"args": null,
|
||||
"kind": "ScalarField",
|
||||
"name": "success",
|
||||
"name": "deletedMeasureId",
|
||||
"storageKey": null
|
||||
}
|
||||
],
|
||||
@@ -78,16 +78,16 @@ return {
|
||||
"selections": (v1/*: any*/)
|
||||
},
|
||||
"params": {
|
||||
"cacheID": "8e779137f0502f324968a4c414bff2e6",
|
||||
"cacheID": "7cdb64662f8f7c05b6ab0698c234970f",
|
||||
"id": null,
|
||||
"metadata": {},
|
||||
"name": "MeasureViewDeleteControlMappingMutation",
|
||||
"operationKind": "mutation",
|
||||
"text": "mutation MeasureViewDeleteControlMappingMutation(\n $input: DeleteControlMeasureMappingInput!\n) {\n deleteControlMeasureMapping(input: $input) {\n success\n }\n}\n"
|
||||
"text": "mutation MeasureViewDeleteControlMappingMutation(\n $input: DeleteControlMeasureMappingInput!\n) {\n deleteControlMeasureMapping(input: $input) {\n deletedMeasureId\n }\n}\n"
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
||||
(node as any).hash = "7c74e8e787022c1c51fbfc38388445e4";
|
||||
(node as any).hash = "73049774597ac1235e58527f7aa46564";
|
||||
|
||||
export default node;
|
||||
|
||||
@@ -169,7 +169,11 @@ const createRiskMeasureMappingMutation = graphql`
|
||||
$input: CreateRiskMeasureMappingInput!
|
||||
) {
|
||||
createRiskMeasureMapping(input: $input) {
|
||||
success
|
||||
riskEdge {
|
||||
node {
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
@@ -180,7 +184,7 @@ const deleteRiskMeasureMappingMutation = graphql`
|
||||
$input: DeleteRiskMeasureMappingInput!
|
||||
) {
|
||||
deleteRiskMeasureMapping(input: $input) {
|
||||
success
|
||||
deletedMeasureId
|
||||
}
|
||||
}
|
||||
`;
|
||||
@@ -191,7 +195,11 @@ const createRiskPolicyMappingMutation = graphql`
|
||||
$input: CreateRiskPolicyMappingInput!
|
||||
) {
|
||||
createRiskPolicyMapping(input: $input) {
|
||||
success
|
||||
riskEdge {
|
||||
node {
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
@@ -202,7 +210,7 @@ const deleteRiskPolicyMappingMutation = graphql`
|
||||
$input: DeleteRiskPolicyMappingInput!
|
||||
) {
|
||||
deleteRiskPolicyMapping(input: $input) {
|
||||
success
|
||||
deletedPolicyId
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @generated SignedSource<<ac6b4af30ca3e03181512667a7ee6d76>>
|
||||
* @generated SignedSource<<87f06a7e4f736af29d5dafddd750eaff>>
|
||||
* @lightSyntaxTransform
|
||||
* @nogrep
|
||||
*/
|
||||
@@ -18,7 +18,11 @@ export type ShowRiskViewCreateRiskMeasureMappingMutation$variables = {
|
||||
};
|
||||
export type ShowRiskViewCreateRiskMeasureMappingMutation$data = {
|
||||
readonly createRiskMeasureMapping: {
|
||||
readonly success: boolean;
|
||||
readonly riskEdge: {
|
||||
readonly node: {
|
||||
readonly id: string;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
export type ShowRiskViewCreateRiskMeasureMappingMutation = {
|
||||
@@ -52,8 +56,30 @@ v1 = [
|
||||
{
|
||||
"alias": null,
|
||||
"args": null,
|
||||
"kind": "ScalarField",
|
||||
"name": "success",
|
||||
"concreteType": "RiskEdge",
|
||||
"kind": "LinkedField",
|
||||
"name": "riskEdge",
|
||||
"plural": false,
|
||||
"selections": [
|
||||
{
|
||||
"alias": null,
|
||||
"args": null,
|
||||
"concreteType": "Risk",
|
||||
"kind": "LinkedField",
|
||||
"name": "node",
|
||||
"plural": false,
|
||||
"selections": [
|
||||
{
|
||||
"alias": null,
|
||||
"args": null,
|
||||
"kind": "ScalarField",
|
||||
"name": "id",
|
||||
"storageKey": null
|
||||
}
|
||||
],
|
||||
"storageKey": null
|
||||
}
|
||||
],
|
||||
"storageKey": null
|
||||
}
|
||||
],
|
||||
@@ -78,16 +104,16 @@ return {
|
||||
"selections": (v1/*: any*/)
|
||||
},
|
||||
"params": {
|
||||
"cacheID": "f9e85548eb6e6aeb601fc36f92803ab6",
|
||||
"cacheID": "d767dfb986b187e7eaad1e442e9a2822",
|
||||
"id": null,
|
||||
"metadata": {},
|
||||
"name": "ShowRiskViewCreateRiskMeasureMappingMutation",
|
||||
"operationKind": "mutation",
|
||||
"text": "mutation ShowRiskViewCreateRiskMeasureMappingMutation(\n $input: CreateRiskMeasureMappingInput!\n) {\n createRiskMeasureMapping(input: $input) {\n success\n }\n}\n"
|
||||
"text": "mutation ShowRiskViewCreateRiskMeasureMappingMutation(\n $input: CreateRiskMeasureMappingInput!\n) {\n createRiskMeasureMapping(input: $input) {\n riskEdge {\n node {\n id\n }\n }\n }\n}\n"
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
||||
(node as any).hash = "6246bbb8af3e7c1a2e968eb5482c91ce";
|
||||
(node as any).hash = "11529c76ce2bb6c0d0b6813c51f3ae9d";
|
||||
|
||||
export default node;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @generated SignedSource<<0ecdbc802635f485dd265dac34b04386>>
|
||||
* @generated SignedSource<<0a4cb496e3dd17d135eaa689ebba360a>>
|
||||
* @lightSyntaxTransform
|
||||
* @nogrep
|
||||
*/
|
||||
@@ -18,7 +18,11 @@ export type ShowRiskViewCreateRiskPolicyMappingMutation$variables = {
|
||||
};
|
||||
export type ShowRiskViewCreateRiskPolicyMappingMutation$data = {
|
||||
readonly createRiskPolicyMapping: {
|
||||
readonly success: boolean;
|
||||
readonly riskEdge: {
|
||||
readonly node: {
|
||||
readonly id: string;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
export type ShowRiskViewCreateRiskPolicyMappingMutation = {
|
||||
@@ -52,8 +56,30 @@ v1 = [
|
||||
{
|
||||
"alias": null,
|
||||
"args": null,
|
||||
"kind": "ScalarField",
|
||||
"name": "success",
|
||||
"concreteType": "RiskEdge",
|
||||
"kind": "LinkedField",
|
||||
"name": "riskEdge",
|
||||
"plural": false,
|
||||
"selections": [
|
||||
{
|
||||
"alias": null,
|
||||
"args": null,
|
||||
"concreteType": "Risk",
|
||||
"kind": "LinkedField",
|
||||
"name": "node",
|
||||
"plural": false,
|
||||
"selections": [
|
||||
{
|
||||
"alias": null,
|
||||
"args": null,
|
||||
"kind": "ScalarField",
|
||||
"name": "id",
|
||||
"storageKey": null
|
||||
}
|
||||
],
|
||||
"storageKey": null
|
||||
}
|
||||
],
|
||||
"storageKey": null
|
||||
}
|
||||
],
|
||||
@@ -78,16 +104,16 @@ return {
|
||||
"selections": (v1/*: any*/)
|
||||
},
|
||||
"params": {
|
||||
"cacheID": "7aac9b6766d79dcc4785f72b6f6805a8",
|
||||
"cacheID": "57ab115614eb72c930a05a4496827702",
|
||||
"id": null,
|
||||
"metadata": {},
|
||||
"name": "ShowRiskViewCreateRiskPolicyMappingMutation",
|
||||
"operationKind": "mutation",
|
||||
"text": "mutation ShowRiskViewCreateRiskPolicyMappingMutation(\n $input: CreateRiskPolicyMappingInput!\n) {\n createRiskPolicyMapping(input: $input) {\n success\n }\n}\n"
|
||||
"text": "mutation ShowRiskViewCreateRiskPolicyMappingMutation(\n $input: CreateRiskPolicyMappingInput!\n) {\n createRiskPolicyMapping(input: $input) {\n riskEdge {\n node {\n id\n }\n }\n }\n}\n"
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
||||
(node as any).hash = "5a10339ed779d863662406775e38ea7b";
|
||||
(node as any).hash = "ca3e1eee912cd4b7ac2702e4192dd544";
|
||||
|
||||
export default node;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @generated SignedSource<<2cf110e09c6e34e64c013c6fc260e918>>
|
||||
* @generated SignedSource<<dbef3ce0074f8f10185181eab091a2eb>>
|
||||
* @lightSyntaxTransform
|
||||
* @nogrep
|
||||
*/
|
||||
@@ -18,7 +18,7 @@ export type ShowRiskViewDeleteRiskMeasureMappingMutation$variables = {
|
||||
};
|
||||
export type ShowRiskViewDeleteRiskMeasureMappingMutation$data = {
|
||||
readonly deleteRiskMeasureMapping: {
|
||||
readonly success: boolean;
|
||||
readonly deletedMeasureId: string;
|
||||
};
|
||||
};
|
||||
export type ShowRiskViewDeleteRiskMeasureMappingMutation = {
|
||||
@@ -53,7 +53,7 @@ v1 = [
|
||||
"alias": null,
|
||||
"args": null,
|
||||
"kind": "ScalarField",
|
||||
"name": "success",
|
||||
"name": "deletedMeasureId",
|
||||
"storageKey": null
|
||||
}
|
||||
],
|
||||
@@ -78,16 +78,16 @@ return {
|
||||
"selections": (v1/*: any*/)
|
||||
},
|
||||
"params": {
|
||||
"cacheID": "76adf5d3867e6179bb11daeda4de9fc5",
|
||||
"cacheID": "7d0915a443335171854ece73a62d38d8",
|
||||
"id": null,
|
||||
"metadata": {},
|
||||
"name": "ShowRiskViewDeleteRiskMeasureMappingMutation",
|
||||
"operationKind": "mutation",
|
||||
"text": "mutation ShowRiskViewDeleteRiskMeasureMappingMutation(\n $input: DeleteRiskMeasureMappingInput!\n) {\n deleteRiskMeasureMapping(input: $input) {\n success\n }\n}\n"
|
||||
"text": "mutation ShowRiskViewDeleteRiskMeasureMappingMutation(\n $input: DeleteRiskMeasureMappingInput!\n) {\n deleteRiskMeasureMapping(input: $input) {\n deletedMeasureId\n }\n}\n"
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
||||
(node as any).hash = "c51d0282a2d54bab88d56d9f2fdc9e49";
|
||||
(node as any).hash = "f6dbd4c81c9c6cc167ee8816a1f698cc";
|
||||
|
||||
export default node;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @generated SignedSource<<d11690667058b0e7d271b815f510c44c>>
|
||||
* @generated SignedSource<<8f8d550cd2bbc73744ba0b7a97720a49>>
|
||||
* @lightSyntaxTransform
|
||||
* @nogrep
|
||||
*/
|
||||
@@ -18,7 +18,7 @@ export type ShowRiskViewDeleteRiskPolicyMappingMutation$variables = {
|
||||
};
|
||||
export type ShowRiskViewDeleteRiskPolicyMappingMutation$data = {
|
||||
readonly deleteRiskPolicyMapping: {
|
||||
readonly success: boolean;
|
||||
readonly deletedPolicyId: string;
|
||||
};
|
||||
};
|
||||
export type ShowRiskViewDeleteRiskPolicyMappingMutation = {
|
||||
@@ -53,7 +53,7 @@ v1 = [
|
||||
"alias": null,
|
||||
"args": null,
|
||||
"kind": "ScalarField",
|
||||
"name": "success",
|
||||
"name": "deletedPolicyId",
|
||||
"storageKey": null
|
||||
}
|
||||
],
|
||||
@@ -78,16 +78,16 @@ return {
|
||||
"selections": (v1/*: any*/)
|
||||
},
|
||||
"params": {
|
||||
"cacheID": "a3e208ccc9b5c1248450edaec7ef8417",
|
||||
"cacheID": "d10c9ccbc01259fb7fea2bf463d6ecc6",
|
||||
"id": null,
|
||||
"metadata": {},
|
||||
"name": "ShowRiskViewDeleteRiskPolicyMappingMutation",
|
||||
"operationKind": "mutation",
|
||||
"text": "mutation ShowRiskViewDeleteRiskPolicyMappingMutation(\n $input: DeleteRiskPolicyMappingInput!\n) {\n deleteRiskPolicyMapping(input: $input) {\n success\n }\n}\n"
|
||||
"text": "mutation ShowRiskViewDeleteRiskPolicyMappingMutation(\n $input: DeleteRiskPolicyMappingInput!\n) {\n deleteRiskPolicyMapping(input: $input) {\n deletedPolicyId\n }\n}\n"
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
||||
(node as any).hash = "5e6b5677587f3c8bad3cec9d751952e1";
|
||||
(node as any).hash = "26177c99b1c35723f913637a1d6ac54b";
|
||||
|
||||
export default node;
|
||||
|
||||
Reference in New Issue
Block a user