diff --git a/apps/console/src/hooks/graph/ComplianceRegistryGraph.ts b/apps/console/src/hooks/graph/ComplianceRegistryGraph.ts index 232cf45da..f157d3f4b 100644 --- a/apps/console/src/hooks/graph/ComplianceRegistryGraph.ts +++ b/apps/console/src/hooks/graph/ComplianceRegistryGraph.ts @@ -31,14 +31,6 @@ export const complianceRegistryNodeQuery = graphql` lastReviewDate dueDate status - audit { - id - name - framework { - id - name - } - } owner { id fullName @@ -72,13 +64,6 @@ export const createComplianceRegistryMutation = graphql` lastReviewDate dueDate status - audit { - id - name - framework { - name - } - } owner { id fullName @@ -108,14 +93,6 @@ export const updateComplianceRegistryMutation = graphql` id fullName } - audit { - id - name - framework { - id - name - } - } updatedAt } } @@ -176,7 +153,6 @@ export const useCreateComplianceRegistry = (connectionId: string) => { referenceId: string; area?: string; source?: string; - auditId: string; requirement?: string; actionsToBeImplemented?: string; regulator?: string; @@ -191,9 +167,6 @@ export const useCreateComplianceRegistry = (connectionId: string) => { if (!input.referenceId) { return alert(__("Failed to create compliance registry entry: reference ID is required")); } - if (!input.auditId) { - return alert(__("Failed to create compliance registry entry: audit is required")); - } if (!input.ownerId) { return alert(__("Failed to create compliance registry entry: owner is required")); } @@ -205,7 +178,6 @@ export const useCreateComplianceRegistry = (connectionId: string) => { referenceId: input.referenceId, area: input.area, source: input.source, - auditId: input.auditId, requirement: input.requirement, actionsToBeImplemented: input.actionsToBeImplemented, regulator: input.regulator, @@ -229,7 +201,6 @@ export const useUpdateComplianceRegistry = () => { referenceId?: string; area?: string; source?: string; - auditId?: string; requirement?: string; actionsToBeImplemented?: string; regulator?: string; diff --git a/apps/console/src/hooks/graph/ContinualImprovementRegistryGraph.ts b/apps/console/src/hooks/graph/ContinualImprovementRegistryGraph.ts index 6dd4bbed0..0ba0077ba 100644 --- a/apps/console/src/hooks/graph/ContinualImprovementRegistryGraph.ts +++ b/apps/console/src/hooks/graph/ContinualImprovementRegistryGraph.ts @@ -28,14 +28,6 @@ export const continualImprovementRegistryNodeQuery = graphql` targetDate status priority - audit { - id - name - framework { - id - name - } - } owner { id fullName @@ -66,13 +58,6 @@ export const createContinualImprovementRegistryMutation = graphql` targetDate status priority - audit { - id - name - framework { - name - } - } owner { id fullName @@ -99,14 +84,6 @@ export const updateContinualImprovementRegistryMutation = graphql` id fullName } - audit { - id - name - framework { - id - name - } - } updatedAt } } @@ -167,7 +144,6 @@ export const useCreateContinualImprovementRegistry = (connectionId: string) => { referenceId: string; description?: string; source?: string; - auditId: string; ownerId: string; targetDate?: string; status: string; @@ -179,9 +155,6 @@ export const useCreateContinualImprovementRegistry = (connectionId: string) => { if (!input.referenceId) { return alert(__("Failed to create continual improvement registry entry: reference ID is required")); } - if (!input.auditId) { - return alert(__("Failed to create continual improvement registry entry: audit is required")); - } if (!input.ownerId) { return alert(__("Failed to create continual improvement registry entry: owner is required")); } @@ -193,7 +166,6 @@ export const useCreateContinualImprovementRegistry = (connectionId: string) => { referenceId: input.referenceId, description: input.description, source: input.source, - auditId: input.auditId, ownerId: input.ownerId, targetDate: input.targetDate, status: input.status || "OPEN", @@ -214,7 +186,6 @@ export const useUpdateContinualImprovementRegistry = () => { referenceId?: string; description?: string; source?: string; - auditId?: string; ownerId?: string; targetDate?: string; status?: string; diff --git a/apps/console/src/hooks/graph/ProcessingActivityRegistryGraph.ts b/apps/console/src/hooks/graph/ProcessingActivityRegistryGraph.ts index 9bed2cc4c..9bf9efbfd 100644 --- a/apps/console/src/hooks/graph/ProcessingActivityRegistryGraph.ts +++ b/apps/console/src/hooks/graph/ProcessingActivityRegistryGraph.ts @@ -37,14 +37,6 @@ export const processingActivityRegistryNodeQuery = graphql` securityMeasures dataProtectionImpactAssessment transferImpactAssessment - audit { - id - name - framework { - id - name - } - } organization { id name @@ -80,13 +72,6 @@ export const createProcessingActivityRegistryMutation = graphql` securityMeasures dataProtectionImpactAssessment transferImpactAssessment - audit { - id - name - framework { - name - } - } createdAt } } @@ -114,14 +99,6 @@ export const updateProcessingActivityRegistryMutation = graphql` securityMeasures dataProtectionImpactAssessment transferImpactAssessment - audit { - id - name - framework { - id - name - } - } updatedAt } } @@ -179,7 +156,6 @@ export const useCreateProcessingActivityRegistry = (connectionId?: string) => { return (input: { organizationId: string; - auditId: string; name: string; purpose?: string; dataSubjectCategory?: string; @@ -202,15 +178,11 @@ export const useCreateProcessingActivityRegistry = (connectionId?: string) => { if (!input.name) { return alert(__("Failed to create processing activity registry entry: name is required")); } - if (!input.auditId) { - return alert(__("Failed to create processing activity registry entry: audit is required")); - } return promisifyMutation(mutate)({ variables: { input: { organizationId: input.organizationId, - auditId: input.auditId, name: input.name, purpose: input.purpose, dataSubjectCategory: input.dataSubjectCategory, @@ -239,7 +211,6 @@ export const useUpdateProcessingActivityRegistry = () => { return (input: { id: string; - auditId?: string; name?: string; purpose?: string; dataSubjectCategory?: string; diff --git a/apps/console/src/hooks/graph/__generated__/ComplianceRegistryGraphCreateMutation.graphql.ts b/apps/console/src/hooks/graph/__generated__/ComplianceRegistryGraphCreateMutation.graphql.ts index bf7a017bf..c15567b5d 100644 --- a/apps/console/src/hooks/graph/__generated__/ComplianceRegistryGraphCreateMutation.graphql.ts +++ b/apps/console/src/hooks/graph/__generated__/ComplianceRegistryGraphCreateMutation.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<4cd5e6a5205e9438408c95bba2378cde>> * @lightSyntaxTransform * @nogrep */ @@ -13,7 +13,6 @@ export type ComplianceRegistryStatus = "CLOSED" | "IN_PROGRESS" | "OPEN"; export type CreateComplianceRegistryInput = { actionsToBeImplemented?: string | null | undefined; area?: string | null | undefined; - auditId: string; dueDate?: any | null | undefined; lastReviewDate?: any | null | undefined; organizationId: string; @@ -34,13 +33,6 @@ export type ComplianceRegistryGraphCreateMutation$data = { readonly node: { readonly actionsToBeImplemented: string | null | undefined; readonly area: string | null | undefined; - readonly audit: { - readonly framework: { - readonly name: string; - }; - readonly id: string; - readonly name: string | null | undefined; - }; readonly createdAt: any; readonly dueDate: any | null | undefined; readonly id: string; @@ -91,98 +83,114 @@ v3 = { v4 = { "alias": null, "args": null, - "kind": "ScalarField", - "name": "referenceId", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "area", - "storageKey": null -}, -v6 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "source", - "storageKey": null -}, -v7 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "requirement", - "storageKey": null -}, -v8 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "actionsToBeImplemented", - "storageKey": null -}, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "regulator", - "storageKey": null -}, -v10 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lastReviewDate", - "storageKey": null -}, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dueDate", - "storageKey": null -}, -v12 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null -}, -v13 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v14 = { - "alias": null, - "args": null, - "concreteType": "People", + "concreteType": "ComplianceRegistryEdge", "kind": "LinkedField", - "name": "owner", + "name": "complianceRegistryEdge", "plural": false, "selections": [ - (v3/*: any*/), { "alias": null, "args": null, - "kind": "ScalarField", - "name": "fullName", + "concreteType": "ComplianceRegistry", + "kind": "LinkedField", + "name": "node", + "plural": false, + "selections": [ + (v3/*: 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": [ + (v3/*: any*/), + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "fullName", + "storageKey": null + } + ], + "storageKey": null + }, + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "createdAt", + "storageKey": null + } + ], "storageKey": null } ], "storageKey": null -}, -v15 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null }; return { "fragment": { @@ -202,65 +210,7 @@ return { "name": "createComplianceRegistry", "plural": false, "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ComplianceRegistryEdge", - "kind": "LinkedField", - "name": "complianceRegistryEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ComplianceRegistry", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v12/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "audit", - "plural": false, - "selections": [ - (v3/*: any*/), - (v13/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v13/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - }, - (v14/*: any*/), - (v15/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - } + (v4/*: any*/) ], "storageKey": null } @@ -285,66 +235,7 @@ return { "name": "createComplianceRegistry", "plural": false, "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ComplianceRegistryEdge", - "kind": "LinkedField", - "name": "complianceRegistryEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ComplianceRegistry", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v12/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "audit", - "plural": false, - "selections": [ - (v3/*: any*/), - (v13/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v13/*: any*/), - (v3/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - }, - (v14/*: any*/), - (v15/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - }, + (v4/*: any*/), { "alias": null, "args": null, @@ -367,16 +258,16 @@ return { ] }, "params": { - "cacheID": "68c793eb099ce3e917992b3f8c22d551", + "cacheID": "01d9290d9f4bb8162a0d18ab3c72bdaf", "id": null, "metadata": {}, "name": "ComplianceRegistryGraphCreateMutation", "operationKind": "mutation", - "text": "mutation ComplianceRegistryGraphCreateMutation(\n $input: CreateComplianceRegistryInput!\n) {\n createComplianceRegistry(input: $input) {\n complianceRegistryEdge {\n node {\n id\n referenceId\n area\n source\n requirement\n actionsToBeImplemented\n regulator\n lastReviewDate\n dueDate\n status\n audit {\n id\n name\n framework {\n name\n id\n }\n }\n owner {\n id\n fullName\n }\n createdAt\n }\n }\n }\n}\n" + "text": "mutation ComplianceRegistryGraphCreateMutation(\n $input: CreateComplianceRegistryInput!\n) {\n createComplianceRegistry(input: $input) {\n complianceRegistryEdge {\n node {\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 createdAt\n }\n }\n }\n}\n" } }; })(); -(node as any).hash = "50e1966d2f9cc1ed347a77f8f024125c"; +(node as any).hash = "c203076113948b2c59dddad5577e1c13"; export default node; diff --git a/apps/console/src/hooks/graph/__generated__/ComplianceRegistryGraphListQuery.graphql.ts b/apps/console/src/hooks/graph/__generated__/ComplianceRegistryGraphListQuery.graphql.ts index 63f1aaac4..66306a0ce 100644 --- a/apps/console/src/hooks/graph/__generated__/ComplianceRegistryGraphListQuery.graphql.ts +++ b/apps/console/src/hooks/graph/__generated__/ComplianceRegistryGraphListQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<8e9c859e7b87a623664e1bd16c620ef1>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -58,14 +58,7 @@ v4 = [ "name": "first", "value": 10 } -], -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; +]; return { "fragment": { "argumentDefinitions": (v0/*: any*/), @@ -214,32 +207,6 @@ return { "name": "regulator", "storageKey": null }, - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "audit", - "plural": false, - "selections": [ - (v3/*: any*/), - (v5/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v3/*: any*/), - (v5/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - }, { "alias": null, "args": null, @@ -346,12 +313,12 @@ return { ] }, "params": { - "cacheID": "bec30edcb0f8d7c4147e827c422d524f", + "cacheID": "2852dc9732086326e7770650cbd00ad1", "id": null, "metadata": {}, "name": "ComplianceRegistryGraphListQuery", "operationKind": "query", - "text": "query ComplianceRegistryGraphListQuery(\n $organizationId: ID!\n) {\n node(id: $organizationId) {\n __typename\n ... on Organization {\n ...ComplianceRegistriesPageFragment\n }\n id\n }\n}\n\nfragment ComplianceRegistriesPageFragment on Organization {\n id\n complianceRegistries(first: 10) {\n totalCount\n edges {\n node {\n id\n referenceId\n area\n source\n requirement\n status\n lastReviewDate\n dueDate\n actionsToBeImplemented\n regulator\n audit {\n id\n name\n framework {\n id\n name\n }\n }\n owner {\n id\n fullName\n }\n createdAt\n updatedAt\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n" + "text": "query ComplianceRegistryGraphListQuery(\n $organizationId: ID!\n) {\n node(id: $organizationId) {\n __typename\n ... on Organization {\n ...ComplianceRegistriesPageFragment\n }\n id\n }\n}\n\nfragment ComplianceRegistriesPageFragment on Organization {\n id\n complianceRegistries(first: 10) {\n totalCount\n edges {\n node {\n id\n referenceId\n area\n source\n requirement\n status\n lastReviewDate\n dueDate\n actionsToBeImplemented\n regulator\n owner {\n id\n fullName\n }\n createdAt\n updatedAt\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n" } }; })(); diff --git a/apps/console/src/hooks/graph/__generated__/ComplianceRegistryGraphNodeQuery.graphql.ts b/apps/console/src/hooks/graph/__generated__/ComplianceRegistryGraphNodeQuery.graphql.ts index e0d9e8f81..574c74a63 100644 --- a/apps/console/src/hooks/graph/__generated__/ComplianceRegistryGraphNodeQuery.graphql.ts +++ b/apps/console/src/hooks/graph/__generated__/ComplianceRegistryGraphNodeQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<14a59a4b5703ae1fb885b70ff8c8d479>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -17,14 +17,6 @@ export type ComplianceRegistryGraphNodeQuery$data = { readonly node: { 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 createdAt?: any; readonly dueDate?: any | null | undefined; readonly id?: string; @@ -136,40 +128,6 @@ v11 = { "storageKey": null }, v12 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v13 = [ - (v2/*: any*/), - (v12/*: any*/) -], -v14 = { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "audit", - "plural": false, - "selections": [ - (v2/*: any*/), - (v12/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": (v13/*: any*/), - "storageKey": null - } - ], - "storageKey": null -}, -v15 = { "alias": null, "args": null, "concreteType": "People", @@ -188,24 +146,33 @@ v15 = { ], "storageKey": null }, -v16 = { +v13 = { "alias": null, "args": null, "concreteType": "Organization", "kind": "LinkedField", "name": "organization", "plural": false, - "selections": (v13/*: any*/), + "selections": [ + (v2/*: any*/), + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "name", + "storageKey": null + } + ], "storageKey": null }, -v17 = { +v14 = { "alias": null, "args": null, "kind": "ScalarField", "name": "createdAt", "storageKey": null }, -v18 = { +v15 = { "alias": null, "args": null, "kind": "ScalarField", @@ -240,11 +207,10 @@ return { (v9/*: any*/), (v10/*: any*/), (v11/*: any*/), + (v12/*: any*/), + (v13/*: any*/), (v14/*: any*/), - (v15/*: any*/), - (v16/*: any*/), - (v17/*: any*/), - (v18/*: any*/) + (v15/*: any*/) ], "type": "ComplianceRegistry", "abstractKey": null @@ -290,11 +256,10 @@ return { (v9/*: any*/), (v10/*: any*/), (v11/*: any*/), + (v12/*: any*/), + (v13/*: any*/), (v14/*: any*/), - (v15/*: any*/), - (v16/*: any*/), - (v17/*: any*/), - (v18/*: any*/) + (v15/*: any*/) ], "type": "ComplianceRegistry", "abstractKey": null @@ -305,16 +270,16 @@ return { ] }, "params": { - "cacheID": "bb1bf89e0916abe7f9807404aa2cf9eb", + "cacheID": "4b91258de0711b2821a26bef89b60b02", "id": null, "metadata": {}, "name": "ComplianceRegistryGraphNodeQuery", "operationKind": "query", - "text": "query ComplianceRegistryGraphNodeQuery(\n $complianceRegistryId: ID!\n) {\n node(id: $complianceRegistryId) {\n __typename\n ... on ComplianceRegistry {\n id\n referenceId\n area\n source\n requirement\n actionsToBeImplemented\n regulator\n lastReviewDate\n dueDate\n status\n audit {\n id\n name\n framework {\n id\n name\n }\n }\n owner {\n id\n fullName\n }\n organization {\n id\n name\n }\n createdAt\n updatedAt\n }\n id\n }\n}\n" + "text": "query ComplianceRegistryGraphNodeQuery(\n $complianceRegistryId: ID!\n) {\n node(id: $complianceRegistryId) {\n __typename\n ... on 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 organization {\n id\n name\n }\n createdAt\n updatedAt\n }\n id\n }\n}\n" } }; })(); -(node as any).hash = "292fb8d0ee375d8c5e34cbf2633b7f77"; +(node as any).hash = "1b3352776a5b514b7545111aeb780148"; export default node; diff --git a/apps/console/src/hooks/graph/__generated__/ComplianceRegistryGraphUpdateMutation.graphql.ts b/apps/console/src/hooks/graph/__generated__/ComplianceRegistryGraphUpdateMutation.graphql.ts index d5c9aa24a..a8bf591a6 100644 --- a/apps/console/src/hooks/graph/__generated__/ComplianceRegistryGraphUpdateMutation.graphql.ts +++ b/apps/console/src/hooks/graph/__generated__/ComplianceRegistryGraphUpdateMutation.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<833c870a75dfe52e076fd57045cf1acd>> * @lightSyntaxTransform * @nogrep */ @@ -13,7 +13,6 @@ 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; @@ -32,14 +31,6 @@ export type ComplianceRegistryGraphUpdateMutation$data = { 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; @@ -76,14 +67,7 @@ v1 = { "name": "id", "storageKey": null }, -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v3 = [ +v2 = [ { "alias": null, "args": [ @@ -189,32 +173,6 @@ v3 = [ ], "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, @@ -235,7 +193,7 @@ return { "kind": "Fragment", "metadata": null, "name": "ComplianceRegistryGraphUpdateMutation", - "selections": (v3/*: any*/), + "selections": (v2/*: any*/), "type": "Mutation", "abstractKey": null }, @@ -244,19 +202,19 @@ return { "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ComplianceRegistryGraphUpdateMutation", - "selections": (v3/*: any*/) + "selections": (v2/*: any*/) }, "params": { - "cacheID": "4a4f7e9273f36c87a7e48b5373f69bc2", + "cacheID": "d6a24a6f7a42eceab325fb186e1bf7fa", "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" + "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 updatedAt\n }\n }\n}\n" } }; })(); -(node as any).hash = "c4d17f11888dd8a4769b471797c25b95"; +(node as any).hash = "607857e9f72cf13338ea52813c035e06"; export default node; diff --git a/apps/console/src/hooks/graph/__generated__/ContinualImprovementRegistryGraphCreateMutation.graphql.ts b/apps/console/src/hooks/graph/__generated__/ContinualImprovementRegistryGraphCreateMutation.graphql.ts index efdb50686..a502f9539 100644 --- a/apps/console/src/hooks/graph/__generated__/ContinualImprovementRegistryGraphCreateMutation.graphql.ts +++ b/apps/console/src/hooks/graph/__generated__/ContinualImprovementRegistryGraphCreateMutation.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<66b92b83fa5be4a0dcc2e7f11ad162b6>> * @lightSyntaxTransform * @nogrep */ @@ -12,7 +12,6 @@ import { ConcreteRequest } from 'relay-runtime'; export type ContinualImprovementRegistriesPriority = "HIGH" | "LOW" | "MEDIUM"; export type ContinualImprovementRegistriesStatus = "CLOSED" | "IN_PROGRESS" | "OPEN"; export type CreateContinualImprovementRegistryInput = { - auditId: string; description?: string | null | undefined; organizationId: string; ownerId: string; @@ -30,13 +29,6 @@ export type ContinualImprovementRegistryGraphCreateMutation$data = { readonly createContinualImprovementRegistry: { readonly continualImprovementRegistryEdge: { readonly node: { - readonly audit: { - readonly framework: { - readonly name: string; - }; - readonly id: string; - readonly name: string | null | undefined; - }; readonly createdAt: any; readonly description: string | null | undefined; readonly id: string; @@ -86,77 +78,93 @@ v3 = { v4 = { "alias": null, "args": null, - "kind": "ScalarField", - "name": "referenceId", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null -}, -v6 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "source", - "storageKey": null -}, -v7 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "targetDate", - "storageKey": null -}, -v8 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null -}, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "priority", - "storageKey": null -}, -v10 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v11 = { - "alias": null, - "args": null, - "concreteType": "People", + "concreteType": "ContinualImprovementRegistryEdge", "kind": "LinkedField", - "name": "owner", + "name": "continualImprovementRegistryEdge", "plural": false, "selections": [ - (v3/*: any*/), { "alias": null, "args": null, - "kind": "ScalarField", - "name": "fullName", + "concreteType": "ContinualImprovementRegistry", + "kind": "LinkedField", + "name": "node", + "plural": false, + "selections": [ + (v3/*: any*/), + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "referenceId", + "storageKey": null + }, + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "description", + "storageKey": null + }, + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "source", + "storageKey": null + }, + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "targetDate", + "storageKey": null + }, + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "status", + "storageKey": null + }, + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "priority", + "storageKey": null + }, + { + "alias": null, + "args": null, + "concreteType": "People", + "kind": "LinkedField", + "name": "owner", + "plural": false, + "selections": [ + (v3/*: any*/), + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "fullName", + "storageKey": null + } + ], + "storageKey": null + }, + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "createdAt", + "storageKey": null + } + ], "storageKey": null } ], "storageKey": null -}, -v12 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null }; return { "fragment": { @@ -176,62 +184,7 @@ return { "name": "createContinualImprovementRegistry", "plural": false, "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ContinualImprovementRegistryEdge", - "kind": "LinkedField", - "name": "continualImprovementRegistryEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ContinualImprovementRegistry", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "audit", - "plural": false, - "selections": [ - (v3/*: any*/), - (v10/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v10/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - }, - (v11/*: any*/), - (v12/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - } + (v4/*: any*/) ], "storageKey": null } @@ -256,63 +209,7 @@ return { "name": "createContinualImprovementRegistry", "plural": false, "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ContinualImprovementRegistryEdge", - "kind": "LinkedField", - "name": "continualImprovementRegistryEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ContinualImprovementRegistry", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "audit", - "plural": false, - "selections": [ - (v3/*: any*/), - (v10/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v10/*: any*/), - (v3/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - }, - (v11/*: any*/), - (v12/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - }, + (v4/*: any*/), { "alias": null, "args": null, @@ -335,16 +232,16 @@ return { ] }, "params": { - "cacheID": "a3ddc3c5ac1f55ef2db276ae41ae213b", + "cacheID": "7d03cdc29b6ecb916bf8bdf5ea1df737", "id": null, "metadata": {}, "name": "ContinualImprovementRegistryGraphCreateMutation", "operationKind": "mutation", - "text": "mutation ContinualImprovementRegistryGraphCreateMutation(\n $input: CreateContinualImprovementRegistryInput!\n) {\n createContinualImprovementRegistry(input: $input) {\n continualImprovementRegistryEdge {\n node {\n id\n referenceId\n description\n source\n targetDate\n status\n priority\n audit {\n id\n name\n framework {\n name\n id\n }\n }\n owner {\n id\n fullName\n }\n createdAt\n }\n }\n }\n}\n" + "text": "mutation ContinualImprovementRegistryGraphCreateMutation(\n $input: CreateContinualImprovementRegistryInput!\n) {\n createContinualImprovementRegistry(input: $input) {\n continualImprovementRegistryEdge {\n node {\n id\n referenceId\n description\n source\n targetDate\n status\n priority\n owner {\n id\n fullName\n }\n createdAt\n }\n }\n }\n}\n" } }; })(); -(node as any).hash = "5d9e0771c839c6c220dabdb00267a7ee"; +(node as any).hash = "c2acef94a51f4ae101d7d115aa9761bf"; export default node; diff --git a/apps/console/src/hooks/graph/__generated__/ContinualImprovementRegistryGraphListQuery.graphql.ts b/apps/console/src/hooks/graph/__generated__/ContinualImprovementRegistryGraphListQuery.graphql.ts index b963daa32..41460a86c 100644 --- a/apps/console/src/hooks/graph/__generated__/ContinualImprovementRegistryGraphListQuery.graphql.ts +++ b/apps/console/src/hooks/graph/__generated__/ContinualImprovementRegistryGraphListQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<7d5f12e454c99687263a264f59618ebe>> + * @generated SignedSource<<09a183f301bdb0deae825495f9fdd438>> * @lightSyntaxTransform * @nogrep */ @@ -58,14 +58,7 @@ v4 = [ "name": "first", "value": 10 } -], -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; +]; return { "fragment": { "argumentDefinitions": (v0/*: any*/), @@ -193,32 +186,6 @@ return { "name": "priority", "storageKey": null }, - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "audit", - "plural": false, - "selections": [ - (v3/*: any*/), - (v5/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v3/*: any*/), - (v5/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - }, { "alias": null, "args": null, @@ -325,12 +292,12 @@ return { ] }, "params": { - "cacheID": "875ae8e8faf73c6c1672d6c033e8dcf0", + "cacheID": "248942c6d0d46f56e8c55fd3eb1e8888", "id": null, "metadata": {}, "name": "ContinualImprovementRegistryGraphListQuery", "operationKind": "query", - "text": "query ContinualImprovementRegistryGraphListQuery(\n $organizationId: ID!\n) {\n node(id: $organizationId) {\n __typename\n ... on Organization {\n ...ContinualImprovementRegistriesPageFragment\n }\n id\n }\n}\n\nfragment ContinualImprovementRegistriesPageFragment on Organization {\n id\n continualImprovementRegistries(first: 10) {\n totalCount\n edges {\n node {\n id\n referenceId\n description\n source\n targetDate\n status\n priority\n audit {\n id\n name\n framework {\n id\n name\n }\n }\n owner {\n id\n fullName\n }\n createdAt\n updatedAt\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n" + "text": "query ContinualImprovementRegistryGraphListQuery(\n $organizationId: ID!\n) {\n node(id: $organizationId) {\n __typename\n ... on Organization {\n ...ContinualImprovementRegistriesPageFragment\n }\n id\n }\n}\n\nfragment ContinualImprovementRegistriesPageFragment on Organization {\n id\n continualImprovementRegistries(first: 10) {\n totalCount\n edges {\n node {\n id\n referenceId\n description\n source\n targetDate\n status\n priority\n owner {\n id\n fullName\n }\n createdAt\n updatedAt\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n" } }; })(); diff --git a/apps/console/src/hooks/graph/__generated__/ContinualImprovementRegistryGraphNodeQuery.graphql.ts b/apps/console/src/hooks/graph/__generated__/ContinualImprovementRegistryGraphNodeQuery.graphql.ts index 9cf3cc659..805661e1a 100644 --- a/apps/console/src/hooks/graph/__generated__/ContinualImprovementRegistryGraphNodeQuery.graphql.ts +++ b/apps/console/src/hooks/graph/__generated__/ContinualImprovementRegistryGraphNodeQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<6ac0e2eaa895ed1c2409e524e0333ab6>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -16,14 +16,6 @@ export type ContinualImprovementRegistryGraphNodeQuery$variables = { }; export type ContinualImprovementRegistryGraphNodeQuery$data = { readonly node: { - readonly audit?: { - readonly framework: { - readonly id: string; - readonly name: string; - }; - readonly id: string; - readonly name: string | null | undefined; - }; readonly createdAt?: any; readonly description?: string | null | undefined; readonly id?: string; @@ -113,40 +105,6 @@ v8 = { "storageKey": null }, v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v10 = [ - (v2/*: any*/), - (v9/*: any*/) -], -v11 = { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "audit", - "plural": false, - "selections": [ - (v2/*: any*/), - (v9/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": (v10/*: any*/), - "storageKey": null - } - ], - "storageKey": null -}, -v12 = { "alias": null, "args": null, "concreteType": "People", @@ -165,24 +123,33 @@ v12 = { ], "storageKey": null }, -v13 = { +v10 = { "alias": null, "args": null, "concreteType": "Organization", "kind": "LinkedField", "name": "organization", "plural": false, - "selections": (v10/*: any*/), + "selections": [ + (v2/*: any*/), + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "name", + "storageKey": null + } + ], "storageKey": null }, -v14 = { +v11 = { "alias": null, "args": null, "kind": "ScalarField", "name": "createdAt", "storageKey": null }, -v15 = { +v12 = { "alias": null, "args": null, "kind": "ScalarField", @@ -214,11 +181,10 @@ return { (v6/*: any*/), (v7/*: any*/), (v8/*: any*/), + (v9/*: any*/), + (v10/*: any*/), (v11/*: any*/), - (v12/*: any*/), - (v13/*: any*/), - (v14/*: any*/), - (v15/*: any*/) + (v12/*: any*/) ], "type": "ContinualImprovementRegistry", "abstractKey": null @@ -261,11 +227,10 @@ return { (v6/*: any*/), (v7/*: any*/), (v8/*: any*/), + (v9/*: any*/), + (v10/*: any*/), (v11/*: any*/), - (v12/*: any*/), - (v13/*: any*/), - (v14/*: any*/), - (v15/*: any*/) + (v12/*: any*/) ], "type": "ContinualImprovementRegistry", "abstractKey": null @@ -276,16 +241,16 @@ return { ] }, "params": { - "cacheID": "c3195d70369df1a1ca2a73fdfef37039", + "cacheID": "cdf6a776528b7eb148caaa696e7c348c", "id": null, "metadata": {}, "name": "ContinualImprovementRegistryGraphNodeQuery", "operationKind": "query", - "text": "query ContinualImprovementRegistryGraphNodeQuery(\n $continualImprovementRegistryId: ID!\n) {\n node(id: $continualImprovementRegistryId) {\n __typename\n ... on ContinualImprovementRegistry {\n id\n referenceId\n description\n source\n targetDate\n status\n priority\n audit {\n id\n name\n framework {\n id\n name\n }\n }\n owner {\n id\n fullName\n }\n organization {\n id\n name\n }\n createdAt\n updatedAt\n }\n id\n }\n}\n" + "text": "query ContinualImprovementRegistryGraphNodeQuery(\n $continualImprovementRegistryId: ID!\n) {\n node(id: $continualImprovementRegistryId) {\n __typename\n ... on ContinualImprovementRegistry {\n id\n referenceId\n description\n source\n targetDate\n status\n priority\n owner {\n id\n fullName\n }\n organization {\n id\n name\n }\n createdAt\n updatedAt\n }\n id\n }\n}\n" } }; })(); -(node as any).hash = "fe3c3ff44245eb13ea465ae5809ef5bd"; +(node as any).hash = "1b5811e2cd314786117ef60841743dc5"; export default node; diff --git a/apps/console/src/hooks/graph/__generated__/ContinualImprovementRegistryGraphUpdateMutation.graphql.ts b/apps/console/src/hooks/graph/__generated__/ContinualImprovementRegistryGraphUpdateMutation.graphql.ts index 188c8010a..52ff2a924 100644 --- a/apps/console/src/hooks/graph/__generated__/ContinualImprovementRegistryGraphUpdateMutation.graphql.ts +++ b/apps/console/src/hooks/graph/__generated__/ContinualImprovementRegistryGraphUpdateMutation.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<<0f5c8a4c09725f287ec32e2366f5d829>> * @lightSyntaxTransform * @nogrep */ @@ -12,7 +12,6 @@ import { ConcreteRequest } from 'relay-runtime'; export type ContinualImprovementRegistriesPriority = "HIGH" | "LOW" | "MEDIUM"; export type ContinualImprovementRegistriesStatus = "CLOSED" | "IN_PROGRESS" | "OPEN"; export type UpdateContinualImprovementRegistryInput = { - auditId?: string | null | undefined; description?: string | null | undefined; id: string; ownerId?: string | null | undefined; @@ -28,14 +27,6 @@ export type ContinualImprovementRegistryGraphUpdateMutation$variables = { export type ContinualImprovementRegistryGraphUpdateMutation$data = { readonly updateContinualImprovementRegistry: { readonly continualImprovementRegistry: { - readonly audit: { - readonly framework: { - readonly id: string; - readonly name: string; - }; - readonly id: string; - readonly name: string | null | undefined; - }; readonly description: string | null | undefined; readonly id: string; readonly owner: { @@ -71,14 +62,7 @@ v1 = { "name": "id", "storageKey": null }, -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v3 = [ +v2 = [ { "alias": null, "args": [ @@ -163,32 +147,6 @@ v3 = [ ], "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, @@ -209,7 +167,7 @@ return { "kind": "Fragment", "metadata": null, "name": "ContinualImprovementRegistryGraphUpdateMutation", - "selections": (v3/*: any*/), + "selections": (v2/*: any*/), "type": "Mutation", "abstractKey": null }, @@ -218,19 +176,19 @@ return { "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ContinualImprovementRegistryGraphUpdateMutation", - "selections": (v3/*: any*/) + "selections": (v2/*: any*/) }, "params": { - "cacheID": "b3b3931c06838e6e60f33738be340d6c", + "cacheID": "4fa7e841eea92d03f30fadf630135159", "id": null, "metadata": {}, "name": "ContinualImprovementRegistryGraphUpdateMutation", "operationKind": "mutation", - "text": "mutation ContinualImprovementRegistryGraphUpdateMutation(\n $input: UpdateContinualImprovementRegistryInput!\n) {\n updateContinualImprovementRegistry(input: $input) {\n continualImprovementRegistry {\n id\n referenceId\n description\n source\n targetDate\n status\n priority\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" + "text": "mutation ContinualImprovementRegistryGraphUpdateMutation(\n $input: UpdateContinualImprovementRegistryInput!\n) {\n updateContinualImprovementRegistry(input: $input) {\n continualImprovementRegistry {\n id\n referenceId\n description\n source\n targetDate\n status\n priority\n owner {\n id\n fullName\n }\n updatedAt\n }\n }\n}\n" } }; })(); -(node as any).hash = "e59f20342fd5532b1815034334cd5560"; +(node as any).hash = "82fad800ffad42813aeceda43c3304a3"; export default node; diff --git a/apps/console/src/hooks/graph/__generated__/ProcessingActivityRegistryGraphCreateMutation.graphql.ts b/apps/console/src/hooks/graph/__generated__/ProcessingActivityRegistryGraphCreateMutation.graphql.ts index 955ae62c6..b939a6616 100644 --- a/apps/console/src/hooks/graph/__generated__/ProcessingActivityRegistryGraphCreateMutation.graphql.ts +++ b/apps/console/src/hooks/graph/__generated__/ProcessingActivityRegistryGraphCreateMutation.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<8372cc0960f7642aa8619dbc091dc4de>> + * @generated SignedSource<<0eb58c6c3650563cef060921b0d7f65c>> * @lightSyntaxTransform * @nogrep */ @@ -15,7 +15,6 @@ export type ProcessingActivityRegistrySpecialOrCriminalData = "NO" | "POSSIBLE" export type ProcessingActivityRegistryTransferImpactAssessment = "NEEDED" | "NOT_NEEDED"; export type ProcessingActivityRegistryTransferSafeguards = "ADEQUACY_DECISION" | "BINDING_CORPORATE_RULES" | "CERTIFICATION_MECHANISMS" | "CODES_OF_CONDUCT" | "DEROGATIONS" | "STANDARD_CONTRACTUAL_CLAUSES"; export type CreateProcessingActivityRegistryInput = { - auditId: string; consentEvidenceLink?: string | null | undefined; dataProtectionImpactAssessment: ProcessingActivityRegistryDataProtectionImpactAssessment; dataSubjectCategory?: string | null | undefined; @@ -31,7 +30,7 @@ export type CreateProcessingActivityRegistryInput = { securityMeasures?: string | null | undefined; specialOrCriminalData: ProcessingActivityRegistrySpecialOrCriminalData; transferImpactAssessment: ProcessingActivityRegistryTransferImpactAssessment; - transferSafeguards: ProcessingActivityRegistryTransferSafeguards; + transferSafeguards?: ProcessingActivityRegistryTransferSafeguards | null | undefined; }; export type ProcessingActivityRegistryGraphCreateMutation$variables = { connections: ReadonlyArray; @@ -41,13 +40,6 @@ export type ProcessingActivityRegistryGraphCreateMutation$data = { readonly createProcessingActivityRegistry: { readonly processingActivityRegistryEdge: { readonly node: { - readonly audit: { - readonly framework: { - readonly name: string; - }; - readonly id: string; - readonly name: string | null | undefined; - }; readonly consentEvidenceLink: string | null | undefined; readonly createdAt: any; readonly dataProtectionImpactAssessment: ProcessingActivityRegistryDataProtectionImpactAssessment; @@ -64,7 +56,7 @@ export type ProcessingActivityRegistryGraphCreateMutation$data = { readonly securityMeasures: string | null | undefined; readonly specialOrCriminalData: ProcessingActivityRegistrySpecialOrCriminalData; readonly transferImpactAssessment: ProcessingActivityRegistryTransferImpactAssessment; - readonly transferSafeguards: ProcessingActivityRegistryTransferSafeguards; + readonly transferSafeguards: ProcessingActivityRegistryTransferSafeguards | null | undefined; }; }; }; @@ -95,120 +87,142 @@ v2 = [ v3 = { "alias": null, "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "purpose", - "storageKey": null -}, -v6 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataSubjectCategory", - "storageKey": null -}, -v7 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "personalDataCategory", - "storageKey": null -}, -v8 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "specialOrCriminalData", - "storageKey": null -}, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "consentEvidenceLink", - "storageKey": null -}, -v10 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lawfulBasis", - "storageKey": null -}, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "recipients", - "storageKey": null -}, -v12 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "location", - "storageKey": null -}, -v13 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "internationalTransfers", - "storageKey": null -}, -v14 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "transferSafeguards", - "storageKey": null -}, -v15 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "retentionPeriod", - "storageKey": null -}, -v16 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "securityMeasures", - "storageKey": null -}, -v17 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataProtectionImpactAssessment", - "storageKey": null -}, -v18 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "transferImpactAssessment", - "storageKey": null -}, -v19 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", + "concreteType": "ProcessingActivityRegistryEdge", + "kind": "LinkedField", + "name": "processingActivityRegistryEdge", + "plural": false, + "selections": [ + { + "alias": null, + "args": null, + "concreteType": "ProcessingActivityRegistry", + "kind": "LinkedField", + "name": "node", + "plural": false, + "selections": [ + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "id", + "storageKey": null + }, + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "name", + "storageKey": null + }, + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "purpose", + "storageKey": null + }, + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "dataSubjectCategory", + "storageKey": null + }, + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "personalDataCategory", + "storageKey": null + }, + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "specialOrCriminalData", + "storageKey": null + }, + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "consentEvidenceLink", + "storageKey": null + }, + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "lawfulBasis", + "storageKey": null + }, + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "recipients", + "storageKey": null + }, + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "location", + "storageKey": null + }, + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "internationalTransfers", + "storageKey": null + }, + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "transferSafeguards", + "storageKey": null + }, + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "retentionPeriod", + "storageKey": null + }, + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "securityMeasures", + "storageKey": null + }, + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "dataProtectionImpactAssessment", + "storageKey": null + }, + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "transferImpactAssessment", + "storageKey": null + }, + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "createdAt", + "storageKey": null + } + ], + "storageKey": null + } + ], "storageKey": null }; return { @@ -229,70 +243,7 @@ return { "name": "createProcessingActivityRegistry", "plural": false, "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ProcessingActivityRegistryEdge", - "kind": "LinkedField", - "name": "processingActivityRegistryEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ProcessingActivityRegistry", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v12/*: any*/), - (v13/*: any*/), - (v14/*: any*/), - (v15/*: any*/), - (v16/*: any*/), - (v17/*: any*/), - (v18/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "audit", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v4/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - }, - (v19/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - } + (v3/*: any*/) ], "storageKey": null } @@ -317,71 +268,7 @@ return { "name": "createProcessingActivityRegistry", "plural": false, "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ProcessingActivityRegistryEdge", - "kind": "LinkedField", - "name": "processingActivityRegistryEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ProcessingActivityRegistry", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v12/*: any*/), - (v13/*: any*/), - (v14/*: any*/), - (v15/*: any*/), - (v16/*: any*/), - (v17/*: any*/), - (v18/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "audit", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v4/*: any*/), - (v3/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - }, - (v19/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - }, + (v3/*: any*/), { "alias": null, "args": null, @@ -404,16 +291,16 @@ return { ] }, "params": { - "cacheID": "9942999c0282d64a6250774f8a26f1f9", + "cacheID": "22dc5c717c1e1de0a4bc8399a8e4f2eb", "id": null, "metadata": {}, "name": "ProcessingActivityRegistryGraphCreateMutation", "operationKind": "mutation", - "text": "mutation ProcessingActivityRegistryGraphCreateMutation(\n $input: CreateProcessingActivityRegistryInput!\n) {\n createProcessingActivityRegistry(input: $input) {\n processingActivityRegistryEdge {\n node {\n id\n name\n purpose\n dataSubjectCategory\n personalDataCategory\n specialOrCriminalData\n consentEvidenceLink\n lawfulBasis\n recipients\n location\n internationalTransfers\n transferSafeguards\n retentionPeriod\n securityMeasures\n dataProtectionImpactAssessment\n transferImpactAssessment\n audit {\n id\n name\n framework {\n name\n id\n }\n }\n createdAt\n }\n }\n }\n}\n" + "text": "mutation ProcessingActivityRegistryGraphCreateMutation(\n $input: CreateProcessingActivityRegistryInput!\n) {\n createProcessingActivityRegistry(input: $input) {\n processingActivityRegistryEdge {\n node {\n id\n name\n purpose\n dataSubjectCategory\n personalDataCategory\n specialOrCriminalData\n consentEvidenceLink\n lawfulBasis\n recipients\n location\n internationalTransfers\n transferSafeguards\n retentionPeriod\n securityMeasures\n dataProtectionImpactAssessment\n transferImpactAssessment\n createdAt\n }\n }\n }\n}\n" } }; })(); -(node as any).hash = "7563c6519bb6f538e3c211322a5a638f"; +(node as any).hash = "000dcbeea412bc2b3863a37f58135df3"; export default node; diff --git a/apps/console/src/hooks/graph/__generated__/ProcessingActivityRegistryGraphListQuery.graphql.ts b/apps/console/src/hooks/graph/__generated__/ProcessingActivityRegistryGraphListQuery.graphql.ts index 7fffcff53..eb82dc2ef 100644 --- a/apps/console/src/hooks/graph/__generated__/ProcessingActivityRegistryGraphListQuery.graphql.ts +++ b/apps/console/src/hooks/graph/__generated__/ProcessingActivityRegistryGraphListQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<44f708dc14c5476a3b7c8cf751aca32f>> + * @generated SignedSource<<8f505e33f8bc537835367f0f54547998>> * @lightSyntaxTransform * @nogrep */ @@ -58,14 +58,7 @@ v4 = [ "name": "first", "value": 10 } -], -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; +]; return { "fragment": { "argumentDefinitions": (v0/*: any*/), @@ -151,7 +144,13 @@ return { "plural": false, "selections": [ (v3/*: any*/), - (v5/*: any*/), + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "name", + "storageKey": null + }, { "alias": null, "args": null, @@ -194,32 +193,6 @@ return { "name": "internationalTransfers", "storageKey": null }, - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "audit", - "plural": false, - "selections": [ - (v3/*: any*/), - (v5/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v3/*: any*/), - (v5/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - }, { "alias": null, "args": null, @@ -307,12 +280,12 @@ return { ] }, "params": { - "cacheID": "b5b5c645e407c2bfb68aaa717b7d2ae7", + "cacheID": "720254aa19136fdf96cc29e26f980533", "id": null, "metadata": {}, "name": "ProcessingActivityRegistryGraphListQuery", "operationKind": "query", - "text": "query ProcessingActivityRegistryGraphListQuery(\n $organizationId: ID!\n) {\n node(id: $organizationId) {\n __typename\n ... on Organization {\n ...ProcessingActivityRegistriesPageFragment\n }\n id\n }\n}\n\nfragment ProcessingActivityRegistriesPageFragment on Organization {\n id\n processingActivityRegistries(first: 10) {\n totalCount\n edges {\n node {\n id\n name\n purpose\n dataSubjectCategory\n personalDataCategory\n lawfulBasis\n location\n internationalTransfers\n audit {\n id\n name\n framework {\n id\n name\n }\n }\n createdAt\n updatedAt\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n" + "text": "query ProcessingActivityRegistryGraphListQuery(\n $organizationId: ID!\n) {\n node(id: $organizationId) {\n __typename\n ... on Organization {\n ...ProcessingActivityRegistriesPageFragment\n }\n id\n }\n}\n\nfragment ProcessingActivityRegistriesPageFragment on Organization {\n id\n processingActivityRegistries(first: 10) {\n totalCount\n edges {\n node {\n id\n name\n purpose\n dataSubjectCategory\n personalDataCategory\n lawfulBasis\n location\n internationalTransfers\n createdAt\n updatedAt\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n" } }; })(); diff --git a/apps/console/src/hooks/graph/__generated__/ProcessingActivityRegistryGraphNodeQuery.graphql.ts b/apps/console/src/hooks/graph/__generated__/ProcessingActivityRegistryGraphNodeQuery.graphql.ts index 64ed08a36..6bb359792 100644 --- a/apps/console/src/hooks/graph/__generated__/ProcessingActivityRegistryGraphNodeQuery.graphql.ts +++ b/apps/console/src/hooks/graph/__generated__/ProcessingActivityRegistryGraphNodeQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<681e1d8f8073e0efd781bdf322b893ab>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -19,14 +19,6 @@ export type ProcessingActivityRegistryGraphNodeQuery$variables = { }; export type ProcessingActivityRegistryGraphNodeQuery$data = { readonly node: { - readonly audit?: { - readonly framework: { - readonly id: string; - readonly name: string; - }; - readonly id: string; - readonly name: string | null | undefined; - }; readonly consentEvidenceLink?: string | null | undefined; readonly createdAt?: any; readonly dataProtectionImpactAssessment?: ProcessingActivityRegistryDataProtectionImpactAssessment; @@ -47,7 +39,7 @@ export type ProcessingActivityRegistryGraphNodeQuery$data = { readonly securityMeasures?: string | null | undefined; readonly specialOrCriminalData?: ProcessingActivityRegistrySpecialOrCriminalData; readonly transferImpactAssessment?: ProcessingActivityRegistryTransferImpactAssessment; - readonly transferSafeguards?: ProcessingActivityRegistryTransferSafeguards; + readonly transferSafeguards?: ProcessingActivityRegistryTransferSafeguards | null | undefined; readonly updatedAt?: any; }; }; @@ -183,51 +175,27 @@ v17 = { "name": "transferImpactAssessment", "storageKey": null }, -v18 = [ - (v2/*: any*/), - (v3/*: any*/) -], -v19 = { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "audit", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": (v18/*: any*/), - "storageKey": null - } - ], - "storageKey": null -}, -v20 = { +v18 = { "alias": null, "args": null, "concreteType": "Organization", "kind": "LinkedField", "name": "organization", "plural": false, - "selections": (v18/*: any*/), + "selections": [ + (v2/*: any*/), + (v3/*: any*/) + ], "storageKey": null }, -v21 = { +v19 = { "alias": null, "args": null, "kind": "ScalarField", "name": "createdAt", "storageKey": null }, -v22 = { +v20 = { "alias": null, "args": null, "kind": "ScalarField", @@ -268,10 +236,9 @@ return { (v15/*: any*/), (v16/*: any*/), (v17/*: any*/), + (v18/*: any*/), (v19/*: any*/), - (v20/*: any*/), - (v21/*: any*/), - (v22/*: any*/) + (v20/*: any*/) ], "type": "ProcessingActivityRegistry", "abstractKey": null @@ -323,10 +290,9 @@ return { (v15/*: any*/), (v16/*: any*/), (v17/*: any*/), + (v18/*: any*/), (v19/*: any*/), - (v20/*: any*/), - (v21/*: any*/), - (v22/*: any*/) + (v20/*: any*/) ], "type": "ProcessingActivityRegistry", "abstractKey": null @@ -337,16 +303,16 @@ return { ] }, "params": { - "cacheID": "74eed9b882f3bf3b11af0c15f65ef870", + "cacheID": "4a2a061717de77346b788a94d5c6b4ef", "id": null, "metadata": {}, "name": "ProcessingActivityRegistryGraphNodeQuery", "operationKind": "query", - "text": "query ProcessingActivityRegistryGraphNodeQuery(\n $processingActivityRegistryId: ID!\n) {\n node(id: $processingActivityRegistryId) {\n __typename\n ... on ProcessingActivityRegistry {\n id\n name\n purpose\n dataSubjectCategory\n personalDataCategory\n specialOrCriminalData\n consentEvidenceLink\n lawfulBasis\n recipients\n location\n internationalTransfers\n transferSafeguards\n retentionPeriod\n securityMeasures\n dataProtectionImpactAssessment\n transferImpactAssessment\n audit {\n id\n name\n framework {\n id\n name\n }\n }\n organization {\n id\n name\n }\n createdAt\n updatedAt\n }\n id\n }\n}\n" + "text": "query ProcessingActivityRegistryGraphNodeQuery(\n $processingActivityRegistryId: ID!\n) {\n node(id: $processingActivityRegistryId) {\n __typename\n ... on ProcessingActivityRegistry {\n id\n name\n purpose\n dataSubjectCategory\n personalDataCategory\n specialOrCriminalData\n consentEvidenceLink\n lawfulBasis\n recipients\n location\n internationalTransfers\n transferSafeguards\n retentionPeriod\n securityMeasures\n dataProtectionImpactAssessment\n transferImpactAssessment\n organization {\n id\n name\n }\n createdAt\n updatedAt\n }\n id\n }\n}\n" } }; })(); -(node as any).hash = "979f4b05c845c90dd6359d24821e44fd"; +(node as any).hash = "80aa43b56a3258a77b0d1c6c0c9b950d"; export default node; diff --git a/apps/console/src/hooks/graph/__generated__/ProcessingActivityRegistryGraphUpdateMutation.graphql.ts b/apps/console/src/hooks/graph/__generated__/ProcessingActivityRegistryGraphUpdateMutation.graphql.ts index e9cb1e5da..832968062 100644 --- a/apps/console/src/hooks/graph/__generated__/ProcessingActivityRegistryGraphUpdateMutation.graphql.ts +++ b/apps/console/src/hooks/graph/__generated__/ProcessingActivityRegistryGraphUpdateMutation.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<945fa4ed1c5bab25f39047b601307e03>> + * @generated SignedSource<<86ea716b0545bec9ee5eabbc2bf35b74>> * @lightSyntaxTransform * @nogrep */ @@ -15,7 +15,6 @@ export type ProcessingActivityRegistrySpecialOrCriminalData = "NO" | "POSSIBLE" export type ProcessingActivityRegistryTransferImpactAssessment = "NEEDED" | "NOT_NEEDED"; export type ProcessingActivityRegistryTransferSafeguards = "ADEQUACY_DECISION" | "BINDING_CORPORATE_RULES" | "CERTIFICATION_MECHANISMS" | "CODES_OF_CONDUCT" | "DEROGATIONS" | "STANDARD_CONTRACTUAL_CLAUSES"; export type UpdateProcessingActivityRegistryInput = { - auditId?: string | null | undefined; consentEvidenceLink?: string | null | undefined; dataProtectionImpactAssessment?: ProcessingActivityRegistryDataProtectionImpactAssessment | null | undefined; dataSubjectCategory?: string | null | undefined; @@ -39,14 +38,6 @@ export type ProcessingActivityRegistryGraphUpdateMutation$variables = { export type ProcessingActivityRegistryGraphUpdateMutation$data = { readonly updateProcessingActivityRegistry: { readonly processingActivityRegistry: { - readonly audit: { - readonly framework: { - readonly id: string; - readonly name: string; - }; - readonly id: string; - readonly name: string | null | undefined; - }; readonly consentEvidenceLink: string | null | undefined; readonly dataProtectionImpactAssessment: ProcessingActivityRegistryDataProtectionImpactAssessment; readonly dataSubjectCategory: string | null | undefined; @@ -62,7 +53,7 @@ export type ProcessingActivityRegistryGraphUpdateMutation$data = { readonly securityMeasures: string | null | undefined; readonly specialOrCriminalData: ProcessingActivityRegistrySpecialOrCriminalData; readonly transferImpactAssessment: ProcessingActivityRegistryTransferImpactAssessment; - readonly transferSafeguards: ProcessingActivityRegistryTransferSafeguards; + readonly transferSafeguards: ProcessingActivityRegistryTransferSafeguards | null | undefined; readonly updatedAt: any; }; }; @@ -80,21 +71,7 @@ var v0 = [ "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 = [ +v1 = [ { "alias": null, "args": [ @@ -117,8 +94,20 @@ v3 = [ "name": "processingActivityRegistry", "plural": false, "selections": [ - (v1/*: any*/), - (v2/*: any*/), + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "id", + "storageKey": null + }, + { + "alias": null, + "args": null, + "kind": "ScalarField", + "name": "name", + "storageKey": null + }, { "alias": null, "args": null, @@ -217,32 +206,6 @@ v3 = [ "name": "transferImpactAssessment", "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, @@ -263,7 +226,7 @@ return { "kind": "Fragment", "metadata": null, "name": "ProcessingActivityRegistryGraphUpdateMutation", - "selections": (v3/*: any*/), + "selections": (v1/*: any*/), "type": "Mutation", "abstractKey": null }, @@ -272,19 +235,19 @@ return { "argumentDefinitions": (v0/*: any*/), "kind": "Operation", "name": "ProcessingActivityRegistryGraphUpdateMutation", - "selections": (v3/*: any*/) + "selections": (v1/*: any*/) }, "params": { - "cacheID": "40f01e772e5377add784e6c455b173a9", + "cacheID": "d4baf575ac4c35aab308228550cc6474", "id": null, "metadata": {}, "name": "ProcessingActivityRegistryGraphUpdateMutation", "operationKind": "mutation", - "text": "mutation ProcessingActivityRegistryGraphUpdateMutation(\n $input: UpdateProcessingActivityRegistryInput!\n) {\n updateProcessingActivityRegistry(input: $input) {\n processingActivityRegistry {\n id\n name\n purpose\n dataSubjectCategory\n personalDataCategory\n specialOrCriminalData\n consentEvidenceLink\n lawfulBasis\n recipients\n location\n internationalTransfers\n transferSafeguards\n retentionPeriod\n securityMeasures\n dataProtectionImpactAssessment\n transferImpactAssessment\n audit {\n id\n name\n framework {\n id\n name\n }\n }\n updatedAt\n }\n }\n}\n" + "text": "mutation ProcessingActivityRegistryGraphUpdateMutation(\n $input: UpdateProcessingActivityRegistryInput!\n) {\n updateProcessingActivityRegistry(input: $input) {\n processingActivityRegistry {\n id\n name\n purpose\n dataSubjectCategory\n personalDataCategory\n specialOrCriminalData\n consentEvidenceLink\n lawfulBasis\n recipients\n location\n internationalTransfers\n transferSafeguards\n retentionPeriod\n securityMeasures\n dataProtectionImpactAssessment\n transferImpactAssessment\n updatedAt\n }\n }\n}\n" } }; })(); -(node as any).hash = "0833d096c755275a5255d98276922c04"; +(node as any).hash = "2a6f14684cad524d383d66421354d6c7"; export default node; diff --git a/apps/console/src/pages/organizations/complianceRegistries/ComplianceRegistriesPage.tsx b/apps/console/src/pages/organizations/complianceRegistries/ComplianceRegistriesPage.tsx index 4e417860a..5cc691be2 100644 --- a/apps/console/src/pages/organizations/complianceRegistries/ComplianceRegistriesPage.tsx +++ b/apps/console/src/pages/organizations/complianceRegistries/ComplianceRegistriesPage.tsx @@ -64,14 +64,6 @@ const complianceRegistriesPageFragment = graphql` dueDate actionsToBeImplemented regulator - audit { - id - name - framework { - id - name - } - } owner { id fullName @@ -148,7 +140,6 @@ export default function ComplianceRegistriesPage({ queryRef }: ComplianceRegistr {__("Area")} {__("Source")} {__("Status")} - {__("Audit")} {__("Owner")} {__("Due Date")} {__("Actions")} @@ -232,12 +223,6 @@ function RegistryRow({ {getStatusLabel(registry.status || "OPEN")} - - {registry.audit.name - ? `${registry.audit.framework.name} - ${registry.audit.name}` - : registry.audit.framework.name - } - {registry.owner?.fullName || "-"} {registry.dueDate ? ( diff --git a/apps/console/src/pages/organizations/complianceRegistries/ComplianceRegistryDetailsPage.tsx b/apps/console/src/pages/organizations/complianceRegistries/ComplianceRegistryDetailsPage.tsx index a6e63e40f..d645b71d9 100644 --- a/apps/console/src/pages/organizations/complianceRegistries/ComplianceRegistryDetailsPage.tsx +++ b/apps/console/src/pages/organizations/complianceRegistries/ComplianceRegistryDetailsPage.tsx @@ -27,7 +27,6 @@ import { import { useTranslate } from "@probo/i18n"; import { useOrganizationId } from "/hooks/useOrganizationId"; import { PeopleSelectField } from "/components/form/PeopleSelectField"; -import { AuditSelectField } from "/components/form/AuditSelectField"; import { useFormWithSchema } from "/hooks/useFormWithSchema"; import { Controller } from "react-hook-form"; import z from "zod"; @@ -45,7 +44,6 @@ const updateRegistrySchema = z.object({ dueDate: z.string().optional(), status: z.enum(["OPEN", "IN_PROGRESS", "CLOSED"]), ownerId: z.string().min(1, "Owner is required"), - auditId: z.string().min(1, "Audit is required"), }); type Props = { @@ -91,7 +89,6 @@ export default function ComplianceRegistryDetailsPage(props: Props) { : "", status: registry.status || "OPEN", ownerId: registry.owner?.id || "", - auditId: registry.audit?.id || "", }, } ); @@ -110,7 +107,7 @@ export default function ComplianceRegistryDetailsPage(props: Props) { dueDate: formatDatetime(formData.dueDate), status: formData.status, ownerId: formData.ownerId, - auditId: formData.auditId, + }); toast({ @@ -165,20 +162,7 @@ export default function ComplianceRegistryDetailsPage(props: Props) { /> - ( - - )} - /> +
> + * @generated SignedSource<<312905201e0a72d96dd29afeed17dee1>> * @lightSyntaxTransform * @nogrep */ @@ -18,14 +18,6 @@ export type ComplianceRegistriesPageFragment$data = { readonly node: { 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 createdAt: any; readonly dueDate: any | null | undefined; readonly id: string; @@ -68,13 +60,6 @@ v1 = { "kind": "ScalarField", "name": "id", "storageKey": null -}, -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null }; return { "argumentDefinitions": [ @@ -216,32 +201,6 @@ return { "name": "regulator", "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, @@ -341,6 +300,6 @@ return { }; })(); -(node as any).hash = "c85f1b770b00186cc074726ee8766698"; +(node as any).hash = "b6b97d09ba132cbc1ffb006c23a33589"; export default node; diff --git a/apps/console/src/pages/organizations/complianceRegistries/__generated__/ComplianceRegistriesPageQuery.graphql.ts b/apps/console/src/pages/organizations/complianceRegistries/__generated__/ComplianceRegistriesPageQuery.graphql.ts index d6ece95ac..0fbb00ffe 100644 --- a/apps/console/src/pages/organizations/complianceRegistries/__generated__/ComplianceRegistriesPageQuery.graphql.ts +++ b/apps/console/src/pages/organizations/complianceRegistries/__generated__/ComplianceRegistriesPageQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<45ac04d64bae14926f41dccda7ec5a25>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -58,14 +58,7 @@ v4 = [ "name": "first", "value": 10 } -], -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; +]; return { "fragment": { "argumentDefinitions": (v0/*: any*/), @@ -214,32 +207,6 @@ return { "name": "regulator", "storageKey": null }, - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "audit", - "plural": false, - "selections": [ - (v3/*: any*/), - (v5/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v3/*: any*/), - (v5/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - }, { "alias": null, "args": null, @@ -346,12 +313,12 @@ return { ] }, "params": { - "cacheID": "fcc5d4d2cc4ca376314b334d7f36316f", + "cacheID": "e4fba5ed79a8d19c72d2814f1adf38c3", "id": null, "metadata": {}, "name": "ComplianceRegistriesPageQuery", "operationKind": "query", - "text": "query ComplianceRegistriesPageQuery(\n $organizationId: ID!\n) {\n node(id: $organizationId) {\n __typename\n ... on Organization {\n ...ComplianceRegistriesPageFragment\n }\n id\n }\n}\n\nfragment ComplianceRegistriesPageFragment on Organization {\n id\n complianceRegistries(first: 10) {\n totalCount\n edges {\n node {\n id\n referenceId\n area\n source\n requirement\n status\n lastReviewDate\n dueDate\n actionsToBeImplemented\n regulator\n audit {\n id\n name\n framework {\n id\n name\n }\n }\n owner {\n id\n fullName\n }\n createdAt\n updatedAt\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n" + "text": "query ComplianceRegistriesPageQuery(\n $organizationId: ID!\n) {\n node(id: $organizationId) {\n __typename\n ... on Organization {\n ...ComplianceRegistriesPageFragment\n }\n id\n }\n}\n\nfragment ComplianceRegistriesPageFragment on Organization {\n id\n complianceRegistries(first: 10) {\n totalCount\n edges {\n node {\n id\n referenceId\n area\n source\n requirement\n status\n lastReviewDate\n dueDate\n actionsToBeImplemented\n regulator\n owner {\n id\n fullName\n }\n createdAt\n updatedAt\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n" } }; })(); diff --git a/apps/console/src/pages/organizations/complianceRegistries/__generated__/ComplianceRegistriesPageRefetchQuery.graphql.ts b/apps/console/src/pages/organizations/complianceRegistries/__generated__/ComplianceRegistriesPageRefetchQuery.graphql.ts index 338d724a1..bdcebc470 100644 --- a/apps/console/src/pages/organizations/complianceRegistries/__generated__/ComplianceRegistriesPageRefetchQuery.graphql.ts +++ b/apps/console/src/pages/organizations/complianceRegistries/__generated__/ComplianceRegistriesPageRefetchQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<2f421894f05c26b8fbca3d5e76ebdf0d>> + * @generated SignedSource<<25a63f42437f72ee5aea5f2c6e324d4a>> * @lightSyntaxTransform * @nogrep */ @@ -75,13 +75,6 @@ v4 = { "kind": "ScalarField", "name": "id", "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null }; return { "fragment": { @@ -224,32 +217,6 @@ return { "name": "regulator", "storageKey": null }, - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "audit", - "plural": false, - "selections": [ - (v4/*: any*/), - (v5/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v4/*: any*/), - (v5/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - }, { "alias": null, "args": null, @@ -356,16 +323,16 @@ return { ] }, "params": { - "cacheID": "aaec01ab09a3becc49afe167cc55acb6", + "cacheID": "2b10e1f8598c007ee1e3e93e39b51b0d", "id": null, "metadata": {}, "name": "ComplianceRegistriesPageRefetchQuery", "operationKind": "query", - "text": "query ComplianceRegistriesPageRefetchQuery(\n $after: CursorKey\n $first: Int = 10\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...ComplianceRegistriesPageFragment_2HEEH6\n id\n }\n}\n\nfragment ComplianceRegistriesPageFragment_2HEEH6 on Organization {\n id\n complianceRegistries(first: $first, after: $after) {\n totalCount\n edges {\n node {\n id\n referenceId\n area\n source\n requirement\n status\n lastReviewDate\n dueDate\n actionsToBeImplemented\n regulator\n audit {\n id\n name\n framework {\n id\n name\n }\n }\n owner {\n id\n fullName\n }\n createdAt\n updatedAt\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n" + "text": "query ComplianceRegistriesPageRefetchQuery(\n $after: CursorKey\n $first: Int = 10\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...ComplianceRegistriesPageFragment_2HEEH6\n id\n }\n}\n\nfragment ComplianceRegistriesPageFragment_2HEEH6 on Organization {\n id\n complianceRegistries(first: $first, after: $after) {\n totalCount\n edges {\n node {\n id\n referenceId\n area\n source\n requirement\n status\n lastReviewDate\n dueDate\n actionsToBeImplemented\n regulator\n owner {\n id\n fullName\n }\n createdAt\n updatedAt\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n" } }; })(); -(node as any).hash = "c85f1b770b00186cc074726ee8766698"; +(node as any).hash = "b6b97d09ba132cbc1ffb006c23a33589"; export default node; diff --git a/apps/console/src/pages/organizations/complianceRegistries/dialogs/CreateComplianceRegistryDialog.tsx b/apps/console/src/pages/organizations/complianceRegistries/dialogs/CreateComplianceRegistryDialog.tsx index 64178ee33..20d0ccdd8 100644 --- a/apps/console/src/pages/organizations/complianceRegistries/dialogs/CreateComplianceRegistryDialog.tsx +++ b/apps/console/src/pages/organizations/complianceRegistries/dialogs/CreateComplianceRegistryDialog.tsx @@ -19,7 +19,6 @@ import { z } from "zod"; import { useFormWithSchema } from "/hooks/useFormWithSchema"; import { useCreateComplianceRegistry } from "../../../../hooks/graph/ComplianceRegistryGraph"; import { PeopleSelectField } from "/components/form/PeopleSelectField"; -import { AuditSelectField } from "/components/form/AuditSelectField"; import { Controller } from "react-hook-form"; import { formatDatetime, getComplianceRegistryStatusOptions } from "@probo/helpers"; @@ -27,7 +26,6 @@ const schema = z.object({ referenceId: z.string().min(1, "Reference ID is required"), area: z.string().optional(), source: z.string().optional(), - auditId: z.string().min(1, "Audit is required"), requirement: z.string().optional(), actionsToBeImplemented: z.string().optional(), regulator: z.string().optional(), @@ -62,7 +60,6 @@ export function CreateComplianceRegistryDialog({ referenceId: "", area: "", source: "", - auditId: "", requirement: "", actionsToBeImplemented: "", regulator: "", @@ -80,7 +77,6 @@ export function CreateComplianceRegistryDialog({ referenceId: formData.referenceId, area: formData.area || undefined, source: formData.source || undefined, - auditId: formData.auditId, requirement: formData.requirement || undefined, actionsToBeImplemented: formData.actionsToBeImplemented || undefined, regulator: formData.regulator || undefined, @@ -124,15 +120,6 @@ export function CreateComplianceRegistryDialog({ required /> - -
{__("Description")} {__("Status")} {__("Priority")} - {__("Audit")} {__("Owner")} {__("Target Date")} {__("Actions")} @@ -244,12 +235,6 @@ function RegistryRow({ {registry.priority === "HIGH" ? __("High") : registry.priority === "MEDIUM" ? __("Medium") : __("Low")} - - {registry.audit.name - ? `${registry.audit.framework.name} - ${registry.audit.name}` - : registry.audit.framework.name - } - {registry.owner?.fullName || "-"} {registry.targetDate ? ( diff --git a/apps/console/src/pages/organizations/continualImprovementRegistries/ContinualImprovementRegistryDetailsPage.tsx b/apps/console/src/pages/organizations/continualImprovementRegistries/ContinualImprovementRegistryDetailsPage.tsx index aafa149cc..21dd3d849 100644 --- a/apps/console/src/pages/organizations/continualImprovementRegistries/ContinualImprovementRegistryDetailsPage.tsx +++ b/apps/console/src/pages/organizations/continualImprovementRegistries/ContinualImprovementRegistryDetailsPage.tsx @@ -27,7 +27,6 @@ import { import { useTranslate } from "@probo/i18n"; import { useOrganizationId } from "/hooks/useOrganizationId"; import { PeopleSelectField } from "/components/form/PeopleSelectField"; -import { AuditSelectField } from "/components/form/AuditSelectField"; import { useFormWithSchema } from "/hooks/useFormWithSchema"; import { Controller } from "react-hook-form"; import z from "zod"; @@ -42,7 +41,6 @@ const updateRegistrySchema = z.object({ status: z.enum(["OPEN", "IN_PROGRESS", "CLOSED"]), priority: z.enum(["LOW", "MEDIUM", "HIGH"]), ownerId: z.string().min(1, "Owner is required"), - auditId: z.string().min(1, "Audit is required"), }); type Props = { @@ -82,7 +80,6 @@ export default function ContinualImprovementRegistryDetailsPage(props: Props) { status: registry.status || "OPEN", priority: registry.priority || "MEDIUM", ownerId: registry.owner?.id || "", - auditId: registry.audit?.id || "", }, } ); @@ -98,7 +95,7 @@ export default function ContinualImprovementRegistryDetailsPage(props: Props) { status: formData.status, priority: formData.priority, ownerId: formData.ownerId, - auditId: formData.auditId, + }); toast({ @@ -165,14 +162,7 @@ export default function ContinualImprovementRegistryDetailsPage(props: Props) { required /> - +
diff --git a/apps/console/src/pages/organizations/continualImprovementRegistries/__generated__/ContinualImprovementRegistriesPageFragment.graphql.ts b/apps/console/src/pages/organizations/continualImprovementRegistries/__generated__/ContinualImprovementRegistriesPageFragment.graphql.ts index c622739f9..a2bde990b 100644 --- a/apps/console/src/pages/organizations/continualImprovementRegistries/__generated__/ContinualImprovementRegistriesPageFragment.graphql.ts +++ b/apps/console/src/pages/organizations/continualImprovementRegistries/__generated__/ContinualImprovementRegistriesPageFragment.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<9fd7671cda5fa074c27aebb356782846>> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -17,14 +17,6 @@ export type ContinualImprovementRegistriesPageFragment$data = { readonly __id: string; readonly edges: ReadonlyArray<{ readonly node: { - readonly audit: { - readonly framework: { - readonly id: string; - readonly name: string; - }; - readonly id: string; - readonly name: string | null | undefined; - }; readonly createdAt: any; readonly description: string | null | undefined; readonly id: string; @@ -66,13 +58,6 @@ v1 = { "kind": "ScalarField", "name": "id", "storageKey": null -}, -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null }; return { "argumentDefinitions": [ @@ -193,32 +178,6 @@ return { "name": "priority", "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, @@ -318,6 +277,6 @@ return { }; })(); -(node as any).hash = "838609d0047346d2031f045e5227c9f0"; +(node as any).hash = "1532ac43a0b47d9cd63980861eaa7306"; export default node; diff --git a/apps/console/src/pages/organizations/continualImprovementRegistries/__generated__/ContinualImprovementRegistriesPageQuery.graphql.ts b/apps/console/src/pages/organizations/continualImprovementRegistries/__generated__/ContinualImprovementRegistriesPageQuery.graphql.ts index e6e76f021..06e23b112 100644 --- a/apps/console/src/pages/organizations/continualImprovementRegistries/__generated__/ContinualImprovementRegistriesPageQuery.graphql.ts +++ b/apps/console/src/pages/organizations/continualImprovementRegistries/__generated__/ContinualImprovementRegistriesPageQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<> + * @generated SignedSource<> * @lightSyntaxTransform * @nogrep */ @@ -58,14 +58,7 @@ v4 = [ "name": "first", "value": 10 } -], -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; +]; return { "fragment": { "argumentDefinitions": (v0/*: any*/), @@ -193,32 +186,6 @@ return { "name": "priority", "storageKey": null }, - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "audit", - "plural": false, - "selections": [ - (v3/*: any*/), - (v5/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v3/*: any*/), - (v5/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - }, { "alias": null, "args": null, @@ -325,12 +292,12 @@ return { ] }, "params": { - "cacheID": "734faf62cb9f84c554159d0cc35a9eda", + "cacheID": "aefda1aa296696b978edb452106544c5", "id": null, "metadata": {}, "name": "ContinualImprovementRegistriesPageQuery", "operationKind": "query", - "text": "query ContinualImprovementRegistriesPageQuery(\n $organizationId: ID!\n) {\n node(id: $organizationId) {\n __typename\n ... on Organization {\n ...ContinualImprovementRegistriesPageFragment\n }\n id\n }\n}\n\nfragment ContinualImprovementRegistriesPageFragment on Organization {\n id\n continualImprovementRegistries(first: 10) {\n totalCount\n edges {\n node {\n id\n referenceId\n description\n source\n targetDate\n status\n priority\n audit {\n id\n name\n framework {\n id\n name\n }\n }\n owner {\n id\n fullName\n }\n createdAt\n updatedAt\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n" + "text": "query ContinualImprovementRegistriesPageQuery(\n $organizationId: ID!\n) {\n node(id: $organizationId) {\n __typename\n ... on Organization {\n ...ContinualImprovementRegistriesPageFragment\n }\n id\n }\n}\n\nfragment ContinualImprovementRegistriesPageFragment on Organization {\n id\n continualImprovementRegistries(first: 10) {\n totalCount\n edges {\n node {\n id\n referenceId\n description\n source\n targetDate\n status\n priority\n owner {\n id\n fullName\n }\n createdAt\n updatedAt\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n" } }; })(); diff --git a/apps/console/src/pages/organizations/continualImprovementRegistries/__generated__/ContinualImprovementRegistriesPageRefetchQuery.graphql.ts b/apps/console/src/pages/organizations/continualImprovementRegistries/__generated__/ContinualImprovementRegistriesPageRefetchQuery.graphql.ts index 12dda1b29..aad7f7f68 100644 --- a/apps/console/src/pages/organizations/continualImprovementRegistries/__generated__/ContinualImprovementRegistriesPageRefetchQuery.graphql.ts +++ b/apps/console/src/pages/organizations/continualImprovementRegistries/__generated__/ContinualImprovementRegistriesPageRefetchQuery.graphql.ts @@ -1,5 +1,5 @@ /** - * @generated SignedSource<<4ae1cc52a5065a1ee1c8edf344307b6c>> + * @generated SignedSource<<105f0362fe12b8fd084e076e760d51f2>> * @lightSyntaxTransform * @nogrep */ @@ -75,13 +75,6 @@ v4 = { "kind": "ScalarField", "name": "id", "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null }; return { "fragment": { @@ -203,32 +196,6 @@ return { "name": "priority", "storageKey": null }, - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "audit", - "plural": false, - "selections": [ - (v4/*: any*/), - (v5/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v4/*: any*/), - (v5/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - }, { "alias": null, "args": null, @@ -335,16 +302,16 @@ return { ] }, "params": { - "cacheID": "2b886a4652dbea93012ef2306451ea4e", + "cacheID": "2e8a89e4ba6d6811f415617a559381b1", "id": null, "metadata": {}, "name": "ContinualImprovementRegistriesPageRefetchQuery", "operationKind": "query", - "text": "query ContinualImprovementRegistriesPageRefetchQuery(\n $after: CursorKey\n $first: Int = 10\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...ContinualImprovementRegistriesPageFragment_2HEEH6\n id\n }\n}\n\nfragment ContinualImprovementRegistriesPageFragment_2HEEH6 on Organization {\n id\n continualImprovementRegistries(first: $first, after: $after) {\n totalCount\n edges {\n node {\n id\n referenceId\n description\n source\n targetDate\n status\n priority\n audit {\n id\n name\n framework {\n id\n name\n }\n }\n owner {\n id\n fullName\n }\n createdAt\n updatedAt\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n" + "text": "query ContinualImprovementRegistriesPageRefetchQuery(\n $after: CursorKey\n $first: Int = 10\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...ContinualImprovementRegistriesPageFragment_2HEEH6\n id\n }\n}\n\nfragment ContinualImprovementRegistriesPageFragment_2HEEH6 on Organization {\n id\n continualImprovementRegistries(first: $first, after: $after) {\n totalCount\n edges {\n node {\n id\n referenceId\n description\n source\n targetDate\n status\n priority\n owner {\n id\n fullName\n }\n createdAt\n updatedAt\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n" } }; })(); -(node as any).hash = "838609d0047346d2031f045e5227c9f0"; +(node as any).hash = "1532ac43a0b47d9cd63980861eaa7306"; export default node; diff --git a/apps/console/src/pages/organizations/continualImprovementRegistries/dialogs/CreateContinualImprovementRegistryDialog.tsx b/apps/console/src/pages/organizations/continualImprovementRegistries/dialogs/CreateContinualImprovementRegistryDialog.tsx index 60cd7cec2..806ea14e4 100644 --- a/apps/console/src/pages/organizations/continualImprovementRegistries/dialogs/CreateContinualImprovementRegistryDialog.tsx +++ b/apps/console/src/pages/organizations/continualImprovementRegistries/dialogs/CreateContinualImprovementRegistryDialog.tsx @@ -19,7 +19,6 @@ import { z } from "zod"; import { useFormWithSchema } from "/hooks/useFormWithSchema"; import { useCreateContinualImprovementRegistry } from "../../../../hooks/graph/ContinualImprovementRegistryGraph"; import { PeopleSelectField } from "/components/form/PeopleSelectField"; -import { AuditSelectField } from "/components/form/AuditSelectField"; import { Controller } from "react-hook-form"; import { formatDatetime } from "@probo/helpers"; @@ -27,7 +26,6 @@ const schema = z.object({ referenceId: z.string().min(1, "Reference ID is required"), description: z.string().optional(), source: z.string().optional(), - auditId: z.string().min(1, "Audit is required"), ownerId: z.string().min(1, "Owner is required"), targetDate: z.string().optional(), status: z.enum(["OPEN", "IN_PROGRESS", "CLOSED"]), @@ -58,7 +56,6 @@ export function CreateContinualImprovementRegistryDialog({ referenceId: "", description: "", source: "", - auditId: "", ownerId: "", targetDate: "", status: "OPEN" as const, @@ -73,7 +70,6 @@ export function CreateContinualImprovementRegistryDialog({ referenceId: formData.referenceId, description: formData.description || undefined, source: formData.source || undefined, - auditId: formData.auditId, ownerId: formData.ownerId, targetDate: formatDatetime(formData.targetDate), status: formData.status, @@ -126,15 +122,6 @@ export function CreateContinualImprovementRegistryDialog({ required /> - -