263 lines
7.2 KiB
TypeScript
263 lines
7.2 KiB
TypeScript
/**
|
|
* @generated SignedSource<<e0af427b5ec1a1056bee3859d5c06a8a>>
|
|
* @lightSyntaxTransform
|
|
* @nogrep
|
|
*/
|
|
|
|
/* tslint:disable */
|
|
/* eslint-disable */
|
|
// @ts-nocheck
|
|
|
|
import { ConcreteRequest } from 'relay-runtime';
|
|
export type ComplianceRegistryStatus = "CLOSED" | "IN_PROGRESS" | "OPEN";
|
|
export type UpdateComplianceRegistryInput = {
|
|
actionsToBeImplemented?: string | null | undefined;
|
|
area?: string | null | undefined;
|
|
auditId?: string | null | undefined;
|
|
dueDate?: any | null | undefined;
|
|
id: string;
|
|
lastReviewDate?: any | null | undefined;
|
|
ownerId?: string | null | undefined;
|
|
referenceId?: string | null | undefined;
|
|
regulator?: string | null | undefined;
|
|
requirement?: string | null | undefined;
|
|
source?: string | null | undefined;
|
|
status?: ComplianceRegistryStatus | null | undefined;
|
|
};
|
|
export type ComplianceRegistryGraphUpdateMutation$variables = {
|
|
input: UpdateComplianceRegistryInput;
|
|
};
|
|
export type ComplianceRegistryGraphUpdateMutation$data = {
|
|
readonly updateComplianceRegistry: {
|
|
readonly complianceRegistry: {
|
|
readonly actionsToBeImplemented: string | null | undefined;
|
|
readonly area: string | null | undefined;
|
|
readonly audit: {
|
|
readonly framework: {
|
|
readonly id: string;
|
|
readonly name: string;
|
|
};
|
|
readonly id: string;
|
|
readonly name: string | null | undefined;
|
|
};
|
|
readonly dueDate: any | null | undefined;
|
|
readonly id: string;
|
|
readonly lastReviewDate: any | null | undefined;
|
|
readonly owner: {
|
|
readonly fullName: string;
|
|
readonly id: string;
|
|
};
|
|
readonly referenceId: string;
|
|
readonly regulator: string | null | undefined;
|
|
readonly requirement: string | null | undefined;
|
|
readonly source: string | null | undefined;
|
|
readonly status: ComplianceRegistryStatus;
|
|
readonly updatedAt: any;
|
|
};
|
|
};
|
|
};
|
|
export type ComplianceRegistryGraphUpdateMutation = {
|
|
response: ComplianceRegistryGraphUpdateMutation$data;
|
|
variables: ComplianceRegistryGraphUpdateMutation$variables;
|
|
};
|
|
|
|
const node: ConcreteRequest = (function(){
|
|
var v0 = [
|
|
{
|
|
"defaultValue": null,
|
|
"kind": "LocalArgument",
|
|
"name": "input"
|
|
}
|
|
],
|
|
v1 = {
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "id",
|
|
"storageKey": null
|
|
},
|
|
v2 = {
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "name",
|
|
"storageKey": null
|
|
},
|
|
v3 = [
|
|
{
|
|
"alias": null,
|
|
"args": [
|
|
{
|
|
"kind": "Variable",
|
|
"name": "input",
|
|
"variableName": "input"
|
|
}
|
|
],
|
|
"concreteType": "UpdateComplianceRegistryPayload",
|
|
"kind": "LinkedField",
|
|
"name": "updateComplianceRegistry",
|
|
"plural": false,
|
|
"selections": [
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "ComplianceRegistry",
|
|
"kind": "LinkedField",
|
|
"name": "complianceRegistry",
|
|
"plural": false,
|
|
"selections": [
|
|
(v1/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "referenceId",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "area",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "source",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "requirement",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "actionsToBeImplemented",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "regulator",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "lastReviewDate",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "dueDate",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "status",
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "People",
|
|
"kind": "LinkedField",
|
|
"name": "owner",
|
|
"plural": false,
|
|
"selections": [
|
|
(v1/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "fullName",
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "Audit",
|
|
"kind": "LinkedField",
|
|
"name": "audit",
|
|
"plural": false,
|
|
"selections": [
|
|
(v1/*: any*/),
|
|
(v2/*: any*/),
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"concreteType": "Framework",
|
|
"kind": "LinkedField",
|
|
"name": "framework",
|
|
"plural": false,
|
|
"selections": [
|
|
(v1/*: any*/),
|
|
(v2/*: any*/)
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
},
|
|
{
|
|
"alias": null,
|
|
"args": null,
|
|
"kind": "ScalarField",
|
|
"name": "updatedAt",
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
],
|
|
"storageKey": null
|
|
}
|
|
];
|
|
return {
|
|
"fragment": {
|
|
"argumentDefinitions": (v0/*: any*/),
|
|
"kind": "Fragment",
|
|
"metadata": null,
|
|
"name": "ComplianceRegistryGraphUpdateMutation",
|
|
"selections": (v3/*: any*/),
|
|
"type": "Mutation",
|
|
"abstractKey": null
|
|
},
|
|
"kind": "Request",
|
|
"operation": {
|
|
"argumentDefinitions": (v0/*: any*/),
|
|
"kind": "Operation",
|
|
"name": "ComplianceRegistryGraphUpdateMutation",
|
|
"selections": (v3/*: any*/)
|
|
},
|
|
"params": {
|
|
"cacheID": "4a4f7e9273f36c87a7e48b5373f69bc2",
|
|
"id": null,
|
|
"metadata": {},
|
|
"name": "ComplianceRegistryGraphUpdateMutation",
|
|
"operationKind": "mutation",
|
|
"text": "mutation ComplianceRegistryGraphUpdateMutation(\n $input: UpdateComplianceRegistryInput!\n) {\n updateComplianceRegistry(input: $input) {\n complianceRegistry {\n id\n referenceId\n area\n source\n requirement\n actionsToBeImplemented\n regulator\n lastReviewDate\n dueDate\n status\n owner {\n id\n fullName\n }\n audit {\n id\n name\n framework {\n id\n name\n }\n }\n updatedAt\n }\n }\n}\n"
|
|
}
|
|
};
|
|
})();
|
|
|
|
(node as any).hash = "c4d17f11888dd8a4769b471797c25b95";
|
|
|
|
export default node;
|