@@ -194,6 +194,7 @@ const mitigationViewQuery = graphql`
|
||||
type
|
||||
url
|
||||
createdAt
|
||||
description
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -269,6 +270,7 @@ const createEvidenceMutation = graphql`
|
||||
size
|
||||
state
|
||||
createdAt
|
||||
description
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -448,6 +450,7 @@ const fulfillEvidenceMutation = graphql`
|
||||
size
|
||||
state
|
||||
createdAt
|
||||
description
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2697,6 +2700,14 @@ function MitigationViewContent({
|
||||
{evidence.state === "REQUESTED" ? (
|
||||
<span className="italic text-yellow-600">
|
||||
Waiting for fulfillment
|
||||
{evidence.description && (
|
||||
<>
|
||||
<span className="mx-1">•</span>
|
||||
<span className="text-gray-600 not-italic">
|
||||
{evidence.description}
|
||||
</span>
|
||||
</>
|
||||
)}
|
||||
</span>
|
||||
) : evidence.type === "FILE" ? (
|
||||
<>
|
||||
@@ -3190,6 +3201,14 @@ function MitigationViewContent({
|
||||
{evidence.state === "REQUESTED" ? (
|
||||
<span className="italic text-yellow-600">
|
||||
Waiting for fulfillment
|
||||
{evidence.description && (
|
||||
<>
|
||||
<span className="mx-1">•</span>
|
||||
<span className="text-gray-600 not-italic">
|
||||
{evidence.description}
|
||||
</span>
|
||||
</>
|
||||
)}
|
||||
</span>
|
||||
) : evidence.type === "FILE" ? (
|
||||
<>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @generated SignedSource<<beb765793d4559382ee625dffd7a510c>>
|
||||
* @generated SignedSource<<487ccddf967e20c9111c5074548bebae>>
|
||||
* @lightSyntaxTransform
|
||||
* @nogrep
|
||||
*/
|
||||
@@ -28,6 +28,7 @@ export type MitigationViewCreateEvidenceMutation$data = {
|
||||
readonly evidenceEdge: {
|
||||
readonly node: {
|
||||
readonly createdAt: string;
|
||||
readonly description: string;
|
||||
readonly fileUrl: string | null | undefined;
|
||||
readonly filename: string;
|
||||
readonly id: string;
|
||||
@@ -141,6 +142,13 @@ v3 = {
|
||||
"kind": "ScalarField",
|
||||
"name": "createdAt",
|
||||
"storageKey": null
|
||||
},
|
||||
{
|
||||
"alias": null,
|
||||
"args": null,
|
||||
"kind": "ScalarField",
|
||||
"name": "description",
|
||||
"storageKey": null
|
||||
}
|
||||
],
|
||||
"storageKey": null
|
||||
@@ -214,16 +222,16 @@ return {
|
||||
]
|
||||
},
|
||||
"params": {
|
||||
"cacheID": "ca3148cb5b3c59fec3bd9ff9c281f364",
|
||||
"cacheID": "899aada42838cb5db77546be2bd6adb2",
|
||||
"id": null,
|
||||
"metadata": {},
|
||||
"name": "MitigationViewCreateEvidenceMutation",
|
||||
"operationKind": "mutation",
|
||||
"text": "mutation MitigationViewCreateEvidenceMutation(\n $input: CreateEvidenceInput!\n) {\n createEvidence(input: $input) {\n evidenceEdge {\n node {\n id\n filename\n fileUrl\n mimeType\n type\n url\n size\n state\n createdAt\n }\n }\n }\n}\n"
|
||||
"text": "mutation MitigationViewCreateEvidenceMutation(\n $input: CreateEvidenceInput!\n) {\n createEvidence(input: $input) {\n evidenceEdge {\n node {\n id\n filename\n fileUrl\n mimeType\n type\n url\n size\n state\n createdAt\n description\n }\n }\n }\n}\n"
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
||||
(node as any).hash = "dac05ab414b2e09e801df5b0be9532a3";
|
||||
(node as any).hash = "ca8611e07bcf9233313c3a1580bfc7eb";
|
||||
|
||||
export default node;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @generated SignedSource<<c502368227307b9e9780b67691ec45a1>>
|
||||
* @generated SignedSource<<780fd466293ec923661adc90f801380a>>
|
||||
* @lightSyntaxTransform
|
||||
* @nogrep
|
||||
*/
|
||||
@@ -26,6 +26,7 @@ export type MitigationViewFulfillEvidenceMutation$data = {
|
||||
readonly evidenceEdge: {
|
||||
readonly node: {
|
||||
readonly createdAt: string;
|
||||
readonly description: string;
|
||||
readonly fileUrl: string | null | undefined;
|
||||
readonly filename: string;
|
||||
readonly id: string;
|
||||
@@ -139,6 +140,13 @@ v3 = {
|
||||
"kind": "ScalarField",
|
||||
"name": "createdAt",
|
||||
"storageKey": null
|
||||
},
|
||||
{
|
||||
"alias": null,
|
||||
"args": null,
|
||||
"kind": "ScalarField",
|
||||
"name": "description",
|
||||
"storageKey": null
|
||||
}
|
||||
],
|
||||
"storageKey": null
|
||||
@@ -212,16 +220,16 @@ return {
|
||||
]
|
||||
},
|
||||
"params": {
|
||||
"cacheID": "147fdc881f797ace12dc1242cab782ad",
|
||||
"cacheID": "efdf549604c425e8bb58ccf51df580c9",
|
||||
"id": null,
|
||||
"metadata": {},
|
||||
"name": "MitigationViewFulfillEvidenceMutation",
|
||||
"operationKind": "mutation",
|
||||
"text": "mutation MitigationViewFulfillEvidenceMutation(\n $input: FulfillEvidenceInput!\n) {\n fulfillEvidence(input: $input) {\n evidenceEdge {\n node {\n id\n filename\n fileUrl\n mimeType\n type\n url\n size\n state\n createdAt\n }\n }\n }\n}\n"
|
||||
"text": "mutation MitigationViewFulfillEvidenceMutation(\n $input: FulfillEvidenceInput!\n) {\n fulfillEvidence(input: $input) {\n evidenceEdge {\n node {\n id\n filename\n fileUrl\n mimeType\n type\n url\n size\n state\n createdAt\n description\n }\n }\n }\n}\n"
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
||||
(node as any).hash = "c0a1e6be43759cfbcd7e25a3b597926a";
|
||||
(node as any).hash = "2a7f04e50e4e6fc39457a861a22baf08";
|
||||
|
||||
export default node;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @generated SignedSource<<3188657dfa050c818bf0dc06688d7fab>>
|
||||
* @generated SignedSource<<8b25e364318ac90f1c1eaf313a6286cb>>
|
||||
* @lightSyntaxTransform
|
||||
* @nogrep
|
||||
*/
|
||||
@@ -40,6 +40,7 @@ export type MitigationViewQuery$data = {
|
||||
readonly edges: ReadonlyArray<{
|
||||
readonly node: {
|
||||
readonly createdAt: string;
|
||||
readonly description: string;
|
||||
readonly filename: string;
|
||||
readonly id: string;
|
||||
readonly mimeType: string;
|
||||
@@ -266,6 +267,7 @@ v14 = [
|
||||
"name": "createdAt",
|
||||
"storageKey": null
|
||||
},
|
||||
(v4/*: any*/),
|
||||
(v10/*: any*/)
|
||||
],
|
||||
"storageKey": null
|
||||
@@ -484,7 +486,7 @@ return {
|
||||
]
|
||||
},
|
||||
"params": {
|
||||
"cacheID": "27e466aa3f7c929738fc108627fd5aa8",
|
||||
"cacheID": "711b5dac4db6ca883144ece5d4bc48c3",
|
||||
"id": null,
|
||||
"metadata": {
|
||||
"connection": [
|
||||
@@ -507,11 +509,11 @@ return {
|
||||
},
|
||||
"name": "MitigationViewQuery",
|
||||
"operationKind": "query",
|
||||
"text": "query MitigationViewQuery(\n $mitigationId: ID!\n) {\n mitigation: node(id: $mitigationId) {\n __typename\n id\n ... on Mitigation {\n name\n description\n state\n importance\n category\n tasks(first: 100) {\n edges {\n node {\n id\n name\n description\n state\n timeEstimate\n assignedTo {\n id\n fullName\n primaryEmailAddress\n }\n evidences(first: 50) {\n edges {\n node {\n id\n mimeType\n filename\n size\n state\n type\n url\n createdAt\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n }\n }\n}\n"
|
||||
"text": "query MitigationViewQuery(\n $mitigationId: ID!\n) {\n mitigation: node(id: $mitigationId) {\n __typename\n id\n ... on Mitigation {\n name\n description\n state\n importance\n category\n tasks(first: 100) {\n edges {\n node {\n id\n name\n description\n state\n timeEstimate\n assignedTo {\n id\n fullName\n primaryEmailAddress\n }\n evidences(first: 50) {\n edges {\n node {\n id\n mimeType\n filename\n size\n state\n type\n url\n createdAt\n description\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n }\n }\n}\n"
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
||||
(node as any).hash = "c26df14ee0f01a46868fdd73baa76638";
|
||||
(node as any).hash = "cb5d73e09aa6168901bf5db0f931e24c";
|
||||
|
||||
export default node;
|
||||
|
||||
Reference in New Issue
Block a user