From cfc514c8e029212624ec96b821ddc384952cfe57 Mon Sep 17 00:00:00 2001 From: Bryan Frimin Date: Sun, 4 Jan 2026 19:03:00 +0100 Subject: [PATCH] Add SCIM management Signed-off-by: Bryan Frimin --- .../core/AssetGraphCreateMutation.graphql.ts | 323 -- .../core/AssetGraphDeleteMutation.graphql.ts | 132 - .../core/AssetGraphListQuery.graphql.ts | 411 --- .../core/AssetGraphNodeQuery.graphql.ts | 320 -- .../core/AssetGraphUpdateMutation.graphql.ts | 242 -- .../core/AssetsListQuery.graphql.ts | 470 --- .../core/AssetsPageFragment.graphql.ts | 388 --- .../core/AuditGraphCreateMutation.graphql.ts | 276 -- .../core/AuditGraphDeleteMutation.graphql.ts | 132 - .../AuditGraphDeleteReportMutation.graphql.ts | 153 - .../core/AuditGraphListQuery.graphql.ts | 351 --- .../core/AuditGraphNodeQuery.graphql.ts | 332 -- .../core/AuditGraphUpdateMutation.graphql.ts | 194 -- .../AuditGraphUploadReportMutation.graphql.ts | 154 - .../core/AuditSelectFieldQuery.graphql.ts | 215 -- .../core/AuditsListQuery.graphql.ts | 396 --- .../core/AuditsPageFragment.graphql.ts | 329 -- .../core/ComplianceReportListQuery.graphql.ts | 383 --- ...lImprovementGraphCreateMutation.graphql.ts | 275 -- ...lImprovementGraphDeleteMutation.graphql.ts | 132 - ...tinualImprovementGraphListQuery.graphql.ts | 383 --- ...tinualImprovementGraphNodeQuery.graphql.ts | 308 -- ...lImprovementGraphUpdateMutation.graphql.ts | 194 -- ...ntinualImprovementsPageFragment.graphql.ts | 343 --- ...ualImprovementsPageRefetchQuery.graphql.ts | 391 --- ...reateAuditDialogFrameworksQuery.graphql.ts | 172 -- .../CreateContactDialogMutation.graphql.ts | 262 -- .../CreateDocumentDialogMutation.graphql.ts | 364 --- ...ateEvidenceDialogUploadMutation.graphql.ts | 248 -- ...eateMeetingDialogCreateMutation.graphql.ts | 224 -- .../CreatePeopleDialogMutation.graphql.ts | 234 -- ...ateRiskAssessmentDialogMutation.graphql.ts | 225 -- .../CreateServiceDialogMutation.graphql.ts | 242 -- .../core/DataListQuery.graphql.ts | 452 --- .../core/DataPageFragment.graphql.ts | 362 --- .../core/DatumGraphCreateMutation.graphql.ts | 297 -- .../core/DatumGraphDeleteMutation.graphql.ts | 132 - .../core/DatumGraphListQuery.graphql.ts | 390 --- .../core/DatumGraphNodeQuery.graphql.ts | 317 -- .../core/DatumGraphUpdateMutation.graphql.ts | 216 -- ...ssociateAgreementDialogMutation.graphql.ts | 92 - ...aPrivacyAgreementDialogMutation.graphql.ts | 92 - .../DeleteDomainDialogMutation.graphql.ts | 92 - ...ocumentControlsTabControlsQuery.graphql.ts | 363 --- .../DocumentControlsTabFragment.graphql.ts | 235 -- ...ntrolsTab_attachControlMutation.graphql.ts | 216 -- ...ntrolsTab_detachControlMutation.graphql.ts | 133 - ...umentDetailPageDocumentFragment.graphql.ts | 429 --- ...mentDetailPageExportPDFMutation.graphql.ts | 95 - ...cumentDetailPagePublishMutation.graphql.ts | 630 ---- ...ocumentDetailPageUpdateMutation.graphql.ts | 162 - ...raphBulkDeleteDocumentsMutation.graphql.ts | 115 - ...raphBulkExportDocumentsMutation.graphql.ts | 95 - ...ocumentGraphDeleteDraftMutation.graphql.ts | 132 - .../DocumentGraphDeleteMutation.graphql.ts | 115 - .../core/DocumentGraphListQuery.graphql.ts | 474 --- .../core/DocumentGraphNodeQuery.graphql.ts | 617 ---- ...endSigningNotificationsMutation.graphql.ts | 92 - .../core/DocumentRowFragment.graphql.ts | 84 - ...cumentSignaturesTabRefetchQuery.graphql.ts | 351 --- ...uresTab_cancelSignatureMutation.graphql.ts | 132 - ...resTab_requestSignatureMutation.graphql.ts | 267 -- ...DocumentSignaturesTab_signature.graphql.ts | 110 - .../DocumentSignaturesTab_version.graphql.ts | 261 -- .../core/DocumentsListQuery.graphql.ts | 526 ---- .../core/DocumentsPageListFragment.graphql.ts | 284 -- .../core/DocumentsPageRowFragment.graphql.ts | 244 -- .../core/DomainCardFragment.graphql.ts | 71 - .../core/DomainDialogFragment.graphql.ts | 128 - .../core/DomainSettingsPageQuery.graphql.ts | 276 -- ...ssociateAgreementDialogMutation.graphql.ts | 139 - ...EditContactDialogUpdateMutation.graphql.ts | 206 -- .../EditControlDialogLinkMutation.graphql.ts | 194 -- ...aPrivacyAgreementDialogMutation.graphql.ts | 139 - ...EditServiceDialogUpdateMutation.graphql.ts | 192 -- ...ntSignaturePageDocumentFragment.graphql.ts | 139 - ...rePageExportSignablePDFMutation.graphql.ts | 92 - ...loyeeDocumentSignaturePageQuery.graphql.ts | 217 -- ...cumentSignaturePageSignMutation.graphql.ts | 114 - .../EmployeeDocumentsPageQuery.graphql.ts | 247 -- .../core/EvidenceGraphFileQuery.graphql.ts | 189 -- .../core/FormRiskDialogMutation.graphql.ts | 285 -- ...ormRiskDialogUpdateRiskMutation.graphql.ts | 235 -- ...workControlDialogCreateMutation.graphql.ts | 233 -- .../FrameworkControlDialogFragment.graphql.ts | 91 - ...workControlDialogUpdateMutation.graphql.ts | 183 -- ...kControlPageAttachAuditMutation.graphql.ts | 237 -- ...ntrolPageAttachDocumentMutation.graphql.ts | 256 -- ...meworkControlPageAttachMutation.graphql.ts | 202 -- ...rolPageAttachObligationMutation.graphql.ts | 235 -- ...ntrolPageAttachSnapshotMutation.graphql.ts | 216 -- ...achStateOfApplicabilityMutation.graphql.ts | 237 -- ...ontrolPageDeleteControlMutation.graphql.ts | 132 - ...kControlPageDetachAuditMutation.graphql.ts | 133 - ...ntrolPageDetachDocumentMutation.graphql.ts | 133 - ...meworkControlPageDetachMutation.graphql.ts | 133 - ...rolPageDetachObligationMutation.graphql.ts | 133 - ...ntrolPageDetachSnapshotMutation.graphql.ts | 133 - ...achStateOfApplicabilityMutation.graphql.ts | 153 - ...tailPageExportFrameworkMutation.graphql.ts | 95 - .../FrameworkDetailPageFragment.graphql.ts | 252 -- ...orkStateOfApplicabilityMutation.graphql.ts | 95 - .../FrameworkFormDialogMutation.graphql.ts | 243 -- ...ameworkFormDialogUpdateMutation.graphql.ts | 123 - .../FrameworkGraphControlNodeQuery.graphql.ts | 1308 -------- .../FrameworkGraphDeleteMutation.graphql.ts | 132 - .../core/FrameworkGraphListQuery.graphql.ts | 364 --- .../core/FrameworkGraphNodeQuery.graphql.ts | 316 -- .../FrameworksPageCardFragment.graphql.ts | 102 - .../FrameworksPageImportMutation.graphql.ts | 242 -- .../ImportAssessmentDialogMutation.graphql.ts | 570 ---- .../LinkControlDialogLinkMutation.graphql.ts | 194 -- .../core/LinkControlDialogQuery.graphql.ts | 211 -- ...LinkControlDialogUnlinkMutation.graphql.ts | 109 - .../core/LinkedAuditsCardFragment.graphql.ts | 104 - .../LinkedAuditsDialogFragment.graphql.ts | 257 -- .../core/LinkedAuditsDialogQuery.graphql.ts | 273 -- ...inkedAuditsDialogQuery_fragment.graphql.ts | 346 --- .../LinkedControlsCardFragment.graphql.ts | 79 - ...nkedControlsDialogControlsQuery.graphql.ts | 351 --- .../LinkedControlsDialogFragment.graphql.ts | 248 -- .../core/LinkedControlsDialogQuery.graphql.ts | 253 -- .../LinkedDocumentsCardFragment.graphql.ts | 126 - .../LinkedDocumentsDialogFragment.graphql.ts | 223 -- .../LinkedDocumentsDialogQuery.graphql.ts | 245 -- ...edDocumentsDialogQuery_fragment.graphql.ts | 318 -- .../LinkedMeasuresCardFragment.graphql.ts | 59 - .../LinkedObligationsCardFragment.graphql.ts | 96 - ...LinkedObligationsDialogFragment.graphql.ts | 260 -- .../LinkedObligationsDialogQuery.graphql.ts | 278 -- ...ObligationsDialogQuery_fragment.graphql.ts | 351 --- .../core/LinkedRisksCardFragment.graphql.ts | 66 - .../core/LinkedRisksDialogQuery.graphql.ts | 206 -- .../LinkedSnapshotsCardFragment.graphql.ts | 75 - .../LinkedSnapshotsDialogFragment.graphql.ts | 239 -- .../LinkedSnapshotsDialogQuery.graphql.ts | 259 -- ...edSnapshotsDialogQuery_fragment.graphql.ts | 332 -- ...atesOfApplicabilityCardFragment.graphql.ts | 100 - ...tatesOfApplicabilityDialogQuery.graphql.ts | 172 -- ...easureControlsTabAttachMutation.graphql.ts | 216 -- ...MeasureControlsTabControlsQuery.graphql.ts | 389 --- ...easureControlsTabDetachMutation.graphql.ts | 133 - .../MeasureControlsTabFragment.graphql.ts | 263 -- ...easureDetailPageTasksCountQuery.graphql.ts | 143 - ...asureEvidencesTabDeleteMutation.graphql.ts | 132 - .../MeasureEvidencesTabFragment.graphql.ts | 276 -- ...reEvidencesTabFragment_evidence.graphql.ts | 110 - .../core/MeasureEvidencesTabQuery.graphql.ts | 389 --- ...MeasureFormDialogCreateMutation.graphql.ts | 215 -- ...easureFormDialogMeasureFragment.graphql.ts | 75 - .../MeasureGraphDeleteMutation.graphql.ts | 132 - .../core/MeasureGraphListQuery.graphql.ts | 307 -- .../core/MeasureGraphNodeQuery.graphql.ts | 697 ----- .../MeasureGraphUpdateMutation.graphql.ts | 167 - .../MeasureRisksTabCreateMutation.graphql.ts | 209 -- .../MeasureRisksTabDetachMutation.graphql.ts | 133 - .../core/MeasureRisksTabFragment.graphql.ts | 183 -- .../core/MeasureTasksTabQuery.graphql.ts | 425 --- .../core/MeasuresPageFragment.graphql.ts | 203 -- .../MeasuresPageImportMutation.graphql.ts | 184 -- ...eetingDetailPageMeetingFragment.graphql.ts | 120 - .../MeetingGraphCreateMutation.graphql.ts | 210 -- .../MeetingGraphDeleteMutation.graphql.ts | 115 - .../core/MeetingGraphListQuery.graphql.ts | 331 -- .../core/MeetingGraphNodeQuery.graphql.ts | 188 -- .../MeetingGraphUpdateMutation.graphql.ts | 157 - .../core/MeetingsListQuery.graphql.ts | 383 --- .../core/MeetingsPageListFragment.graphql.ts | 249 -- .../core/MeetingsPageRowFragment.graphql.ts | 98 - ...tingsPage_UpdateSummaryMutation.graphql.ts | 114 - .../core/NewDomainDialogMutation.graphql.ts | 200 -- .../NonconformitiesPageFragment.graphql.ts | 391 --- ...NonconformitiesPageRefetchQuery.graphql.ts | 431 --- ...onconformityGraphCreateMutation.graphql.ts | 380 --- ...onconformityGraphDeleteMutation.graphql.ts | 132 - .../NonconformityGraphListQuery.graphql.ts | 423 --- .../NonconformityGraphNodeQuery.graphql.ts | 349 --- ...onconformityGraphUpdateMutation.graphql.ts | 250 -- .../ObligationGraphCreateMutation.graphql.ts | 302 -- .../ObligationGraphDeleteMutation.graphql.ts | 132 - .../core/ObligationGraphListQuery.graphql.ts | 397 --- .../core/ObligationGraphNodeQuery.graphql.ts | 338 --- .../ObligationGraphUpdateMutation.graphql.ts | 221 -- .../core/ObligationsPageFragment.graphql.ts | 358 --- .../ObligationsPageRefetchQuery.graphql.ts | 405 --- .../core/PeopleGraphDeleteMutation.graphql.ts | 132 - .../core/PeopleGraphNodeQuery.graphql.ts | 227 -- .../PeopleGraphPaginatedFragment.graphql.ts | 331 -- .../core/PeopleGraphPaginatedQuery.graphql.ts | 340 --- .../core/PeopleGraphQuery.graphql.ts | 206 -- .../core/PeopleGraphUpdateMutation.graphql.ts | 169 -- .../core/PeopleListQuery.graphql.ts | 426 --- ...ssingActivitiesPageDPIAFragment.graphql.ts | 274 -- ...gActivitiesPageDPIARefetchQuery.graphql.ts | 330 -- ...vitiesPageExportDPIAPDFMutation.graphql.ts | 96 - ...ActivitiesPageExportPDFMutation.graphql.ts | 96 - ...ivitiesPageExportTIAPDFMutation.graphql.ts | 96 - ...rocessingActivitiesPageFragment.graphql.ts | 327 -- ...ssingActivitiesPageRefetchQuery.graphql.ts | 379 --- ...essingActivitiesPageTIAFragment.graphql.ts | 273 -- ...ngActivitiesPageTIARefetchQuery.graphql.ts | 330 -- ...ActivityGraphCreateDPIAMutation.graphql.ts | 167 - ...singActivityGraphCreateMutation.graphql.ts | 446 --- ...gActivityGraphCreateTIAMutation.graphql.ts | 166 - ...ActivityGraphDeleteDPIAMutation.graphql.ts | 92 - ...singActivityGraphDeleteMutation.graphql.ts | 132 - ...gActivityGraphDeleteTIAMutation.graphql.ts | 92 - ...rocessingActivityGraphListQuery.graphql.ts | 594 ---- ...rocessingActivityGraphNodeQuery.graphql.ts | 695 ----- ...ActivityGraphUpdateDPIAMutation.graphql.ts | 167 - ...singActivityGraphUpdateMutation.graphql.ts | 365 --- ...gActivityGraphUpdateTIAMutation.graphql.ts | 166 - .../PublishDocumentsDialogMutation.graphql.ts | 330 -- ...ightsRequestGraphCreateMutation.graphql.ts | 231 -- ...ightsRequestGraphDeleteMutation.graphql.ts | 132 - .../RightsRequestGraphListQuery.graphql.ts | 337 --- .../RightsRequestGraphNodeQuery.graphql.ts | 273 -- ...ightsRequestGraphUpdateMutation.graphql.ts | 178 -- .../RightsRequestsPageFragment.graphql.ts | 295 -- .../RightsRequestsPageRefetchQuery.graphql.ts | 331 -- .../RiskControlsTabControlsQuery.graphql.ts | 351 --- .../core/RiskControlsTabFragment.graphql.ts | 250 -- .../RiskDocumentsTabCreateMutation.graphql.ts | 256 -- .../RiskDocumentsTabDetachMutation.graphql.ts | 133 - .../core/RiskDocumentsTabFragment.graphql.ts | 155 - .../core/RiskGraphDeleteMutation.graphql.ts | 132 - .../core/RiskGraphFragment.graphql.ts | 385 --- .../core/RiskGraphListQuery.graphql.ts | 404 --- .../core/RiskGraphNodeQuery.graphql.ts | 902 ------ .../RiskMeasuresTabCreateMutation.graphql.ts | 202 -- .../RiskMeasuresTabDetachMutation.graphql.ts | 133 - .../core/RiskMeasuresTabFragment.graphql.ts | 155 - ...iskObligationsTabCreateMutation.graphql.ts | 235 -- ...iskObligationsTabDetachMutation.graphql.ts | 133 - .../RiskObligationsTabFragment.graphql.ts | 155 - .../core/RiskOverviewTabFragment.graphql.ts | 82 - .../core/RisksListQuery.graphql.ts | 482 --- ...ignatureDocumentsDialogMutation.graphql.ts | 128 - .../core/SnapshotBannerQuery.graphql.ts | 155 - ...napshotFormDialogCreateMutation.graphql.ts | 208 -- .../SnapshotGraphCreateMutation.graphql.ts | 194 -- .../SnapshotGraphDeleteMutation.graphql.ts | 132 - .../core/SnapshotGraphListQuery.graphql.ts | 282 -- .../core/SnapshotGraphNodeQuery.graphql.ts | 184 -- .../core/SnapshotsPageFragment.graphql.ts | 191 -- ...rolsFieldFrameworkControlsQuery.graphql.ts | 197 -- ...ityControlsFieldFrameworksQuery.graphql.ts | 172 -- ...pplicabilityControlsTabFragment.graphql.ts | 228 -- ...cabilityControlsTabRefetchQuery.graphql.ts | 273 -- ...bilityControlsTabUnlinkMutation.graphql.ts | 109 - ...abilityDetailPageExportMutation.graphql.ts | 92 - ...pplicabilityGraphCreateMutation.graphql.ts | 200 -- ...pplicabilityGraphDeleteMutation.graphql.ts | 132 - ...fApplicabilityGraphForEditQuery.graphql.ts | 218 -- ...teOfApplicabilityGraphNodeQuery.graphql.ts | 401 --- ...icabilityGraphPaginatedFragment.graphql.ts | 315 -- ...pplicabilityGraphPaginatedQuery.graphql.ts | 353 --- ...pplicabilityGraphUpdateMutation.graphql.ts | 171 -- .../StateOfApplicabilityListQuery.graphql.ts | 412 --- .../TaskFormDialogCreateMutation.graphql.ts | 249 -- .../core/TaskFormDialogFragment.graphql.ts | 115 - .../TaskFormDialogUpdateMutation.graphql.ts | 201 -- .../core/TaskGraphQuery.graphql.ts | 350 --- .../core/TasksCardDeleteMutation.graphql.ts | 132 - .../core/TasksCard_TaskRowFragment.graphql.ts | 155 - .../core/TasksPageFragment.graphql.ts | 261 -- .../core/TasksPageFragment_query.graphql.ts | 423 --- ...CenterAccessGraphCreateMutation.graphql.ts | 261 -- ...CenterAccessGraphDeleteMutation.graphql.ts | 132 - ...sGraphLoadDocumentAccessesQuery.graphql.ts | 385 --- ...enterAccessGraphPaginationQuery.graphql.ts | 341 --- .../TrustCenterAccessGraphQuery.graphql.ts | 356 --- ...CenterAccessGraphUpdateMutation.graphql.ts | 187 -- ...TrustCenterAccessGraph_accesses.graphql.ts | 301 -- ...rustCenterAccessTokenGraphQuery.graphql.ts | 159 - ...tCenterAuditGraphUpdateMutation.graphql.ts | 203 -- .../TrustCenterAuditsCardFragment.graphql.ts | 110 - .../TrustCenterDocumentGraphQuery.graphql.ts | 288 -- ...nterDocumentGraphUpdateMutation.graphql.ts | 224 -- ...rustCenterDocumentsCardFragment.graphql.ts | 135 - ...stCenterFileGraphCreateMutation.graphql.ts | 211 -- ...stCenterFileGraphDeleteMutation.graphql.ts | 132 - ...stCenterFileGraphUpdateMutation.graphql.ts | 141 - .../TrustCenterFilesCardFragment.graphql.ts | 119 - ...ustCenterGraphDeleteNDAMutation.graphql.ts | 121 - .../core/TrustCenterGraphQuery.graphql.ts | 970 ------ .../TrustCenterGraphUpdateMutation.graphql.ts | 122 - ...ustCenterGraphUploadNDAMutation.graphql.ts | 123 - ...terReferenceGraphCreateMutation.graphql.ts | 254 -- ...terReferenceGraphDeleteMutation.graphql.ts | 132 - .../TrustCenterReferenceGraphQuery.graphql.ts | 389 --- ...terReferenceGraphUpdateMutation.graphql.ts | 194 -- ...eferenceGraphUpdateRankMutation.graphql.ts | 118 - ...CenterVendorGraphUpdateMutation.graphql.ts | 210 -- .../TrustCenterVendorsCardFragment.graphql.ts | 97 - ...dateVersionDialogCreateMutation.graphql.ts | 256 -- ...dateVersionDialogUpdateMutation.graphql.ts | 114 - ...ssociateAgreementDialogMutation.graphql.ts | 149 - ...aPrivacyAgreementDialogMutation.graphql.ts | 149 - ...mplianceTabDeleteReportMutation.graphql.ts | 132 - .../VendorComplianceTabFragment.graphql.ts | 239 -- ...dorComplianceTabFragment_report.graphql.ts | 117 - ...mplianceTabUploadReportMutation.graphql.ts | 258 -- .../core/VendorContactsListQuery.graphql.ts | 384 --- ...ontactsTabDeleteContactMutation.graphql.ts | 132 - .../core/VendorContactsTabFragment.graphql.ts | 253 -- ...ndorContactsTabFragment_contact.graphql.ts | 118 - .../core/VendorGraphCreateMutation.graphql.ts | 247 -- .../core/VendorGraphDeleteMutation.graphql.ts | 132 - .../core/VendorGraphListQuery.graphql.ts | 407 --- .../core/VendorGraphNodeQuery.graphql.ts | 1038 ------- .../VendorGraphPaginatedFragment.graphql.ts | 379 --- .../core/VendorGraphSelectQuery.graphql.ts | 188 -- ...inessAssociateAgreementFragment.graphql.ts | 123 - ...TabDataPrivacyAgreementFragment.graphql.ts | 123 - ...VendorRiskAssessmentTabFragment.graphql.ts | 229 -- ...ssessmentTabFragment_assessment.graphql.ts | 84 - .../VendorRiskAssessmentTabQuery.graphql.ts | 351 --- .../core/VendorServicesListQuery.graphql.ts | 370 --- ...ervicesTabDeleteServiceMutation.graphql.ts | 132 - .../core/VendorServicesTabFragment.graphql.ts | 253 -- ...ndorServicesTabFragment_service.graphql.ts | 102 - .../core/VendorsListQuery.graphql.ts | 467 --- .../core/VersionActionsFragment.graphql.ts | 50 - .../core/VersionRowFragment.graphql.ts | 66 - .../usePaginatedMeasuresFragment.graphql.ts | 239 -- .../core/usePaginatedMeasuresQuery.graphql.ts | 259 -- ...PaginatedMeasuresQuery_fragment.graphql.ts | 332 -- .../core/useRiskFormFragment.graphql.ts | 149 - .../core/useVendorFormFragment.graphql.ts | 196 -- .../core/useVendorFormMutation.graphql.ts | 285 -- .../iam/APIKeysPageQuery.graphql.ts | 202 -- ...EditMemberDialog_updateMutation.graphql.ts | 116 - .../EditSAMLConfigurationFormQuery.graphql.ts | 273 -- ...onfigurationForm_updateMutation.graphql.ts | 159 - .../iam/GeneralSettingsPageQuery.graphql.ts | 227 -- ...eralSettingsPage_deleteMutation.graphql.ts | 132 - .../iam/InvitationCardFragment.graphql.ts | 89 - .../iam/InvitationCardMutation.graphql.ts | 118 - .../iam/InvitationListFragment.graphql.ts | 238 -- ...tationListFragment_RefetchQuery.graphql.ts | 386 --- .../iam/InvitationListItemFragment.graphql.ts | 114 - ...stItem_DeleteInvitationMutation.graphql.ts | 133 - .../iam/InviteUserDialogMutation.graphql.ts | 224 -- ...eUserDialog_currentRoleFragment.graphql.ts | 60 - .../iam/MemberListFragment.graphql.ts | 244 -- ...MemberListFragment_RefetchQuery.graphql.ts | 411 --- .../iam/MemberListItemFragment.graphql.ts | 146 - .../MemberListItem_removeMutation.graphql.ts | 133 - .../iam/MembersPageQuery.graphql.ts | 531 ---- .../iam/MembershipCardFragment.graphql.ts | 101 - .../MembershipCard_assumeMutation.graphql.ts | 145 - .../iam/MembershipLayoutQuery.graphql.ts | 633 ---- ...ershipsDropdownMenuItemFragment.graphql.ts | 103 - ...DropdownMenuItem_assumeMutation.graphql.ts | 145 - .../MembershipsDropdownMenuQuery.graphql.ts | 263 -- ...psDropdown_organizationFragment.graphql.ts | 42 - ...bershipsDropdown_viewerFragment.graphql.ts | 63 - .../iam/MembershipsPageQuery.graphql.ts | 383 --- .../NewOrganizationPageMutation.graphql.ts | 115 - ...onfigurationForm_createMutation.graphql.ts | 211 -- .../iam/OrganizationFormFragment.graphql.ts | 116 - ...rm_deleteHorizontalLogoMutation.graphql.ts | 113 - ...OrganizationForm_updateMutation.graphql.ts | 168 - ...ersonalAPIKeyListCreateMutation.graphql.ts | 193 -- .../iam/PersonalAPIKeyListFragment.graphql.ts | 150 - .../iam/PersonalAPIKeyRowFragment.graphql.ts | 101 - .../PersonalAPIKeyRowRefetchQuery.graphql.ts | 172 -- ...ersonalAPIKeyRow_revokeMutation.graphql.ts | 132 - .../SAMLConfigurationListFragment.graphql.ts | 208 -- ...onfigurationList_deleteMutation.graphql.ts | 133 - .../iam/SAMLSettingsPageQuery.graphql.ts | 300 -- .../iam/SessionDropdownFragment.graphql.ts | 115 - .../SessionDropdownSignOutMutation.graphql.ts | 74 - .../iam/SidebarFragment.graphql.ts | 314 -- .../iam/SignInPageMutation.graphql.ts | 106 - ...ignUpFromInvitationPageMutation.graphql.ts | 107 - .../iam/SignUpPageMutation.graphql.ts | 107 - .../settings/SCIMSettingsPage.tsx | 60 + .../settings/SCIMSettingsPageLoader.tsx | 33 + .../organizations/settings/SettingsLayout.tsx | 5 + .../_components/SCIMConfiguration.tsx | 354 +++ apps/console/src/routes.tsx | 31 +- pkg/coredata/entity_type_reg.go | 16 + pkg/coredata/membership.go | 34 + pkg/coredata/membership_source.go | 3 + pkg/coredata/migrations/20260104T155201Z.sql | 14 + pkg/coredata/migrations/20260104T155202Z.sql | 22 + pkg/coredata/scim_configuration.go | 299 ++ .../scim_configuration_order_field.go | 40 + pkg/coredata/scim_event.go | 344 +++ pkg/coredata/scim_event_order_field.go | 40 + pkg/iam/errors.go | 10 + pkg/iam/iam_actions.go | 10 + pkg/iam/iam_policies.go | 29 +- pkg/iam/organization_service.go | 270 ++ pkg/iam/saml/service.go | 47 +- pkg/iam/service.go | 56 + pkg/probo/actions.go | 1 + pkg/server/api/connect/v1/schema.graphql | 108 + pkg/server/api/connect/v1/schema/schema.go | 2690 +++++++++++++++++ .../connect/v1/types/scim_configuration.go | 30 + pkg/server/api/connect/v1/types/scim_event.go | 82 + pkg/server/api/connect/v1/types/types.go | 64 + pkg/server/api/connect/v1/v1_resolver.go | 226 ++ 405 files changed, 4888 insertions(+), 88927 deletions(-) delete mode 100644 apps/console/src/__generated__/core/AssetGraphCreateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/AssetGraphDeleteMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/AssetGraphListQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/AssetGraphNodeQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/AssetGraphUpdateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/AssetsListQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/AssetsPageFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/AuditGraphCreateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/AuditGraphDeleteMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/AuditGraphDeleteReportMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/AuditGraphListQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/AuditGraphNodeQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/AuditGraphUpdateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/AuditGraphUploadReportMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/AuditSelectFieldQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/AuditsListQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/AuditsPageFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ComplianceReportListQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ContinualImprovementGraphCreateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ContinualImprovementGraphDeleteMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ContinualImprovementGraphListQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ContinualImprovementGraphNodeQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ContinualImprovementGraphUpdateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ContinualImprovementsPageFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ContinualImprovementsPageRefetchQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/CreateAuditDialogFrameworksQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/CreateContactDialogMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/CreateDocumentDialogMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/CreateEvidenceDialogUploadMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/CreateMeetingDialogCreateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/CreatePeopleDialogMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/CreateRiskAssessmentDialogMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/CreateServiceDialogMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DataListQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DataPageFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DatumGraphCreateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DatumGraphDeleteMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DatumGraphListQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DatumGraphNodeQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DatumGraphUpdateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DeleteBusinessAssociateAgreementDialogMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DeleteDataPrivacyAgreementDialogMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DeleteDomainDialogMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DocumentControlsTabControlsQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DocumentControlsTabFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DocumentControlsTab_attachControlMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DocumentControlsTab_detachControlMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DocumentDetailPageDocumentFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DocumentDetailPageExportPDFMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DocumentDetailPagePublishMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DocumentDetailPageUpdateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DocumentGraphBulkDeleteDocumentsMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DocumentGraphBulkExportDocumentsMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DocumentGraphDeleteDraftMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DocumentGraphDeleteMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DocumentGraphListQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DocumentGraphNodeQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DocumentGraphSendSigningNotificationsMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DocumentRowFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DocumentSignaturesTabRefetchQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DocumentSignaturesTab_cancelSignatureMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DocumentSignaturesTab_requestSignatureMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DocumentSignaturesTab_signature.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DocumentSignaturesTab_version.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DocumentsListQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DocumentsPageListFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DocumentsPageRowFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DomainCardFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DomainDialogFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/DomainSettingsPageQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/EditBusinessAssociateAgreementDialogMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/EditContactDialogUpdateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/EditControlDialogLinkMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/EditDataPrivacyAgreementDialogMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/EditServiceDialogUpdateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/EmployeeDocumentSignaturePageDocumentFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/EmployeeDocumentSignaturePageExportSignablePDFMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/EmployeeDocumentSignaturePageQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/EmployeeDocumentSignaturePageSignMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/EmployeeDocumentsPageQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/EvidenceGraphFileQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/FormRiskDialogMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/FormRiskDialogUpdateRiskMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/FrameworkControlDialogCreateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/FrameworkControlDialogFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/FrameworkControlDialogUpdateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/FrameworkControlPageAttachAuditMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/FrameworkControlPageAttachDocumentMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/FrameworkControlPageAttachMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/FrameworkControlPageAttachObligationMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/FrameworkControlPageAttachSnapshotMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/FrameworkControlPageAttachStateOfApplicabilityMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/FrameworkControlPageDeleteControlMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/FrameworkControlPageDetachAuditMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/FrameworkControlPageDetachDocumentMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/FrameworkControlPageDetachMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/FrameworkControlPageDetachObligationMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/FrameworkControlPageDetachSnapshotMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/FrameworkControlPageDetachStateOfApplicabilityMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/FrameworkDetailPageExportFrameworkMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/FrameworkDetailPageFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/FrameworkDetailPageGenerateFrameworkStateOfApplicabilityMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/FrameworkFormDialogMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/FrameworkFormDialogUpdateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/FrameworkGraphControlNodeQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/FrameworkGraphDeleteMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/FrameworkGraphListQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/FrameworkGraphNodeQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/FrameworksPageCardFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/FrameworksPageImportMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ImportAssessmentDialogMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/LinkControlDialogLinkMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/LinkControlDialogQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/LinkControlDialogUnlinkMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/LinkedAuditsCardFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/LinkedAuditsDialogFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/LinkedAuditsDialogQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/LinkedAuditsDialogQuery_fragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/LinkedControlsCardFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/LinkedControlsDialogControlsQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/LinkedControlsDialogFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/LinkedControlsDialogQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/LinkedDocumentsCardFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/LinkedDocumentsDialogFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/LinkedDocumentsDialogQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/LinkedDocumentsDialogQuery_fragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/LinkedMeasuresCardFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/LinkedObligationsCardFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/LinkedObligationsDialogFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/LinkedObligationsDialogQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/LinkedObligationsDialogQuery_fragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/LinkedRisksCardFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/LinkedRisksDialogQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/LinkedSnapshotsCardFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/LinkedSnapshotsDialogFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/LinkedSnapshotsDialogQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/LinkedSnapshotsDialogQuery_fragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/LinkedStatesOfApplicabilityCardFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/LinkedStatesOfApplicabilityDialogQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeasureControlsTabAttachMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeasureControlsTabControlsQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeasureControlsTabDetachMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeasureControlsTabFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeasureDetailPageTasksCountQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeasureEvidencesTabDeleteMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeasureEvidencesTabFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeasureEvidencesTabFragment_evidence.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeasureEvidencesTabQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeasureFormDialogCreateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeasureFormDialogMeasureFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeasureGraphDeleteMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeasureGraphListQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeasureGraphNodeQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeasureGraphUpdateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeasureRisksTabCreateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeasureRisksTabDetachMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeasureRisksTabFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeasureTasksTabQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeasuresPageFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeasuresPageImportMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeetingDetailPageMeetingFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeetingGraphCreateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeetingGraphDeleteMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeetingGraphListQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeetingGraphNodeQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeetingGraphUpdateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeetingsListQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeetingsPageListFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeetingsPageRowFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/MeetingsPage_UpdateSummaryMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/NewDomainDialogMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/NonconformitiesPageFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/NonconformitiesPageRefetchQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/NonconformityGraphCreateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/NonconformityGraphDeleteMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/NonconformityGraphListQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/NonconformityGraphNodeQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/NonconformityGraphUpdateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ObligationGraphCreateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ObligationGraphDeleteMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ObligationGraphListQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ObligationGraphNodeQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ObligationGraphUpdateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ObligationsPageFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ObligationsPageRefetchQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/PeopleGraphDeleteMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/PeopleGraphNodeQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/PeopleGraphPaginatedFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/PeopleGraphPaginatedQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/PeopleGraphQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/PeopleGraphUpdateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/PeopleListQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ProcessingActivitiesPageDPIAFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ProcessingActivitiesPageDPIARefetchQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ProcessingActivitiesPageExportDPIAPDFMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ProcessingActivitiesPageExportPDFMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ProcessingActivitiesPageExportTIAPDFMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ProcessingActivitiesPageFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ProcessingActivitiesPageRefetchQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ProcessingActivitiesPageTIAFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ProcessingActivitiesPageTIARefetchQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ProcessingActivityGraphCreateDPIAMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ProcessingActivityGraphCreateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ProcessingActivityGraphCreateTIAMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ProcessingActivityGraphDeleteDPIAMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ProcessingActivityGraphDeleteMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ProcessingActivityGraphDeleteTIAMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ProcessingActivityGraphListQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ProcessingActivityGraphNodeQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ProcessingActivityGraphUpdateDPIAMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ProcessingActivityGraphUpdateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/ProcessingActivityGraphUpdateTIAMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/PublishDocumentsDialogMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/RightsRequestGraphCreateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/RightsRequestGraphDeleteMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/RightsRequestGraphListQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/RightsRequestGraphNodeQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/RightsRequestGraphUpdateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/RightsRequestsPageFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/RightsRequestsPageRefetchQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/RiskControlsTabControlsQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/RiskControlsTabFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/RiskDocumentsTabCreateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/RiskDocumentsTabDetachMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/RiskDocumentsTabFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/RiskGraphDeleteMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/RiskGraphFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/RiskGraphListQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/RiskGraphNodeQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/RiskMeasuresTabCreateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/RiskMeasuresTabDetachMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/RiskMeasuresTabFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/RiskObligationsTabCreateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/RiskObligationsTabDetachMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/RiskObligationsTabFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/RiskOverviewTabFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/RisksListQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/SignatureDocumentsDialogMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/SnapshotBannerQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/SnapshotFormDialogCreateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/SnapshotGraphCreateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/SnapshotGraphDeleteMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/SnapshotGraphListQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/SnapshotGraphNodeQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/SnapshotsPageFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/StateOfApplicabilityControlsFieldFrameworkControlsQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/StateOfApplicabilityControlsFieldFrameworksQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/StateOfApplicabilityControlsTabFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/StateOfApplicabilityControlsTabRefetchQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/StateOfApplicabilityControlsTabUnlinkMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/StateOfApplicabilityDetailPageExportMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/StateOfApplicabilityGraphCreateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/StateOfApplicabilityGraphDeleteMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/StateOfApplicabilityGraphForEditQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/StateOfApplicabilityGraphNodeQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/StateOfApplicabilityGraphPaginatedFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/StateOfApplicabilityGraphPaginatedQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/StateOfApplicabilityGraphUpdateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/StateOfApplicabilityListQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TaskFormDialogCreateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TaskFormDialogFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TaskFormDialogUpdateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TaskGraphQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TasksCardDeleteMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TasksCard_TaskRowFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TasksPageFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TasksPageFragment_query.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TrustCenterAccessGraphCreateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TrustCenterAccessGraphDeleteMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TrustCenterAccessGraphLoadDocumentAccessesQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TrustCenterAccessGraphPaginationQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TrustCenterAccessGraphQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TrustCenterAccessGraphUpdateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TrustCenterAccessGraph_accesses.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TrustCenterAccessTokenGraphQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TrustCenterAuditGraphUpdateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TrustCenterAuditsCardFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TrustCenterDocumentGraphQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TrustCenterDocumentGraphUpdateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TrustCenterDocumentsCardFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TrustCenterFileGraphCreateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TrustCenterFileGraphDeleteMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TrustCenterFileGraphUpdateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TrustCenterFilesCardFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TrustCenterGraphDeleteNDAMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TrustCenterGraphQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TrustCenterGraphUpdateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TrustCenterGraphUploadNDAMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TrustCenterReferenceGraphCreateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TrustCenterReferenceGraphDeleteMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TrustCenterReferenceGraphQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TrustCenterReferenceGraphUpdateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TrustCenterReferenceGraphUpdateRankMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TrustCenterVendorGraphUpdateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/TrustCenterVendorsCardFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/UpdateVersionDialogCreateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/UpdateVersionDialogUpdateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/UploadBusinessAssociateAgreementDialogMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/UploadDataPrivacyAgreementDialogMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/VendorComplianceTabDeleteReportMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/VendorComplianceTabFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/VendorComplianceTabFragment_report.graphql.ts delete mode 100644 apps/console/src/__generated__/core/VendorComplianceTabUploadReportMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/VendorContactsListQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/VendorContactsTabDeleteContactMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/VendorContactsTabFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/VendorContactsTabFragment_contact.graphql.ts delete mode 100644 apps/console/src/__generated__/core/VendorGraphCreateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/VendorGraphDeleteMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/VendorGraphListQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/VendorGraphNodeQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/VendorGraphPaginatedFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/VendorGraphSelectQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/VendorOverviewTabBusinessAssociateAgreementFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/VendorOverviewTabDataPrivacyAgreementFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/VendorRiskAssessmentTabFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/VendorRiskAssessmentTabFragment_assessment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/VendorRiskAssessmentTabQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/VendorServicesListQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/VendorServicesTabDeleteServiceMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/core/VendorServicesTabFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/VendorServicesTabFragment_service.graphql.ts delete mode 100644 apps/console/src/__generated__/core/VendorsListQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/VersionActionsFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/VersionRowFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/usePaginatedMeasuresFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/usePaginatedMeasuresQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/core/usePaginatedMeasuresQuery_fragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/useRiskFormFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/useVendorFormFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/core/useVendorFormMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/APIKeysPageQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/EditMemberDialog_updateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/EditSAMLConfigurationFormQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/EditSAMLConfigurationForm_updateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/GeneralSettingsPageQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/GeneralSettingsPage_deleteMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/InvitationCardFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/InvitationCardMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/InvitationListFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/InvitationListFragment_RefetchQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/InvitationListItemFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/InvitationListItem_DeleteInvitationMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/InviteUserDialogMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/InviteUserDialog_currentRoleFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/MemberListFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/MemberListFragment_RefetchQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/MemberListItemFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/MemberListItem_removeMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/MembersPageQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/MembershipCardFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/MembershipCard_assumeMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/MembershipLayoutQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/MembershipsDropdownMenuItemFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/MembershipsDropdownMenuItem_assumeMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/MembershipsDropdownMenuQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/MembershipsDropdown_organizationFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/MembershipsDropdown_viewerFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/MembershipsPageQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/NewOrganizationPageMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/NewSAMLConfigurationForm_createMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/OrganizationFormFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/OrganizationForm_deleteHorizontalLogoMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/OrganizationForm_updateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/PersonalAPIKeyListCreateMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/PersonalAPIKeyListFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/PersonalAPIKeyRowFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/PersonalAPIKeyRowRefetchQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/PersonalAPIKeyRow_revokeMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/SAMLConfigurationListFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/SAMLConfigurationList_deleteMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/SAMLSettingsPageQuery.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/SessionDropdownFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/SessionDropdownSignOutMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/SidebarFragment.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/SignInPageMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/SignUpFromInvitationPageMutation.graphql.ts delete mode 100644 apps/console/src/__generated__/iam/SignUpPageMutation.graphql.ts create mode 100644 apps/console/src/pages/iam/organizations/settings/SCIMSettingsPage.tsx create mode 100644 apps/console/src/pages/iam/organizations/settings/SCIMSettingsPageLoader.tsx create mode 100644 apps/console/src/pages/iam/organizations/settings/_components/SCIMConfiguration.tsx create mode 100644 pkg/coredata/migrations/20260104T155201Z.sql create mode 100644 pkg/coredata/migrations/20260104T155202Z.sql create mode 100644 pkg/coredata/scim_configuration.go create mode 100644 pkg/coredata/scim_configuration_order_field.go create mode 100644 pkg/coredata/scim_event.go create mode 100644 pkg/coredata/scim_event_order_field.go create mode 100644 pkg/server/api/connect/v1/types/scim_configuration.go create mode 100644 pkg/server/api/connect/v1/types/scim_event.go diff --git a/apps/console/src/__generated__/core/AssetGraphCreateMutation.graphql.ts b/apps/console/src/__generated__/core/AssetGraphCreateMutation.graphql.ts deleted file mode 100644 index 8b0fae750..000000000 --- a/apps/console/src/__generated__/core/AssetGraphCreateMutation.graphql.ts +++ /dev/null @@ -1,323 +0,0 @@ -/** - * @generated SignedSource<<9e2e93809320c103f393c0e1e0ae3e27>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type AssetType = "PHYSICAL" | "VIRTUAL"; -export type CreateAssetInput = { - amount: number; - assetType: AssetType; - dataTypesStored: string; - name: string; - organizationId: string; - ownerId: string; - vendorIds?: ReadonlyArray | null | undefined; -}; -export type AssetGraphCreateMutation$variables = { - connections: ReadonlyArray; - input: CreateAssetInput; -}; -export type AssetGraphCreateMutation$data = { - readonly createAsset: { - readonly assetEdge: { - readonly node: { - readonly amount: number; - readonly assetType: AssetType; - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly createdAt: string; - readonly dataTypesStored: string; - readonly id: string; - readonly name: string; - readonly owner: { - readonly fullName: string; - readonly id: string; - }; - readonly snapshotId: string | null | undefined; - readonly vendors: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly name: string; - readonly websiteUrl: string | null | undefined; - }; - }>; - }; - }; - }; - }; -}; -export type AssetGraphCreateMutation = { - response: AssetGraphCreateMutation$data; - variables: AssetGraphCreateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -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, - "concreteType": "AssetEdge", - "kind": "LinkedField", - "name": "assetEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Asset", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null - }, - (v4/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "amount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "assetType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataTypesStored", - "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": [ - { - "kind": "Literal", - "name": "first", - "value": 50 - } - ], - "concreteType": "VendorConnection", - "kind": "LinkedField", - "name": "vendors", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Vendor", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "vendors(first:50)" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:asset:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:asset:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:asset:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:asset:delete\")" - } - ], - "storageKey": null - } - ], - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "AssetGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateAssetPayload", - "kind": "LinkedField", - "name": "createAsset", - "plural": false, - "selections": [ - (v5/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "AssetGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateAssetPayload", - "kind": "LinkedField", - "name": "createAsset", - "plural": false, - "selections": [ - (v5/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "appendEdge", - "key": "", - "kind": "LinkedHandle", - "name": "assetEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "6e077b7787ccbc473247d102b0540e98", - "id": null, - "metadata": {}, - "name": "AssetGraphCreateMutation", - "operationKind": "mutation", - "text": "mutation AssetGraphCreateMutation(\n $input: CreateAssetInput!\n) {\n createAsset(input: $input) {\n assetEdge {\n node {\n id\n snapshotId\n name\n amount\n assetType\n dataTypesStored\n owner {\n id\n fullName\n }\n vendors(first: 50) {\n edges {\n node {\n id\n name\n websiteUrl\n }\n }\n }\n createdAt\n canUpdate: permission(action: \"core:asset:update\")\n canDelete: permission(action: \"core:asset:delete\")\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "f337be2dfc0f146f33e1b94f65cfc199"; - -export default node; diff --git a/apps/console/src/__generated__/core/AssetGraphDeleteMutation.graphql.ts b/apps/console/src/__generated__/core/AssetGraphDeleteMutation.graphql.ts deleted file mode 100644 index bff31397e..000000000 --- a/apps/console/src/__generated__/core/AssetGraphDeleteMutation.graphql.ts +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @generated SignedSource<<067da1978a06c9feadeeff5ae6af7b50>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteAssetInput = { - assetId: string; -}; -export type AssetGraphDeleteMutation$variables = { - connections: ReadonlyArray; - input: DeleteAssetInput; -}; -export type AssetGraphDeleteMutation$data = { - readonly deleteAsset: { - readonly deletedAssetId: string; - }; -}; -export type AssetGraphDeleteMutation = { - response: AssetGraphDeleteMutation$data; - variables: AssetGraphDeleteMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedAssetId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "AssetGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteAssetPayload", - "kind": "LinkedField", - "name": "deleteAsset", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "AssetGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteAssetPayload", - "kind": "LinkedField", - "name": "deleteAsset", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedAssetId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "bbda9e3ed8effba4140c130883a59d07", - "id": null, - "metadata": {}, - "name": "AssetGraphDeleteMutation", - "operationKind": "mutation", - "text": "mutation AssetGraphDeleteMutation(\n $input: DeleteAssetInput!\n) {\n deleteAsset(input: $input) {\n deletedAssetId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "46b040e435edef42987b5524d823f592"; - -export default node; diff --git a/apps/console/src/__generated__/core/AssetGraphListQuery.graphql.ts b/apps/console/src/__generated__/core/AssetGraphListQuery.graphql.ts deleted file mode 100644 index bd73f9466..000000000 --- a/apps/console/src/__generated__/core/AssetGraphListQuery.graphql.ts +++ /dev/null @@ -1,411 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type AssetGraphListQuery$variables = { - organizationId: string; - snapshotId?: string | null | undefined; -}; -export type AssetGraphListQuery$data = { - readonly node: { - readonly canCreateAsset?: boolean; - readonly " $fragmentSpreads": FragmentRefs<"AssetsPageFragment">; - }; -}; -export type AssetGraphListQuery = { - response: AssetGraphListQuery$data; - variables: AssetGraphListQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": "canCreateAsset", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:asset:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:asset:create\")" -}, -v3 = [ - { - "kind": "Variable", - "name": "snapshotId", - "variableName": "snapshotId" - } -], -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v6 = [ - { - "fields": (v3/*: any*/), - "kind": "ObjectValue", - "name": "filter" - }, - { - "kind": "Literal", - "name": "first", - "value": 10 - } -], -v7 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "AssetGraphListQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - { - "args": (v3/*: any*/), - "kind": "FragmentSpread", - "name": "AssetsPageFragment" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "AssetGraphListQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v4/*: any*/), - (v5/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": "AssetConnection", - "kind": "LinkedField", - "name": "assets", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "AssetEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Asset", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v5/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null - }, - (v7/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "amount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "assetType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataTypesStored", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v5/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 50 - } - ], - "concreteType": "VendorConnection", - "kind": "LinkedField", - "name": "vendors", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Vendor", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v5/*: any*/), - (v7/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "vendors(first:50)" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:asset:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:asset:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:asset:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:asset:delete\")" - }, - (v4/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v6/*: any*/), - "filters": [ - "filter" - ], - "handle": "connection", - "key": "AssetsPage_assets", - "kind": "LinkedHandle", - "name": "assets" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "e55d3b21b1689a03329569da5669d216", - "id": null, - "metadata": {}, - "name": "AssetGraphListQuery", - "operationKind": "query", - "text": "query AssetGraphListQuery(\n $organizationId: ID!\n $snapshotId: ID\n) {\n node(id: $organizationId) {\n __typename\n ... on Organization {\n canCreateAsset: permission(action: \"core:asset:create\")\n ...AssetsPageFragment_3iomuz\n }\n id\n }\n}\n\nfragment AssetsPageFragment_3iomuz on Organization {\n assets(first: 10, filter: {snapshotId: $snapshotId}) {\n edges {\n node {\n id\n snapshotId\n name\n amount\n assetType\n dataTypesStored\n owner {\n id\n fullName\n }\n vendors(first: 50) {\n edges {\n node {\n id\n name\n websiteUrl\n }\n }\n }\n createdAt\n canUpdate: permission(action: \"core:asset:update\")\n canDelete: permission(action: \"core:asset:delete\")\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n" - } -}; -})(); - -(node as any).hash = "319c01153f98cf6c927a07cbe6eed98e"; - -export default node; diff --git a/apps/console/src/__generated__/core/AssetGraphNodeQuery.graphql.ts b/apps/console/src/__generated__/core/AssetGraphNodeQuery.graphql.ts deleted file mode 100644 index f15a17d7a..000000000 --- a/apps/console/src/__generated__/core/AssetGraphNodeQuery.graphql.ts +++ /dev/null @@ -1,320 +0,0 @@ -/** - * @generated SignedSource<<6da31497d94651dbbe2bbaa4da7f541b>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type AssetType = "PHYSICAL" | "VIRTUAL"; -export type VendorCategory = "ANALYTICS" | "CLOUD_MONITORING" | "CLOUD_PROVIDER" | "COLLABORATION" | "CUSTOMER_SUPPORT" | "DATA_STORAGE_AND_PROCESSING" | "DOCUMENT_MANAGEMENT" | "EMPLOYEE_MANAGEMENT" | "ENGINEERING" | "FINANCE" | "IDENTITY_PROVIDER" | "IT" | "MARKETING" | "OFFICE_OPERATIONS" | "OTHER" | "PASSWORD_MANAGEMENT" | "PRODUCT_AND_DESIGN" | "PROFESSIONAL_SERVICES" | "RECRUITING" | "SALES" | "SECURITY" | "VERSION_CONTROL"; -export type AssetGraphNodeQuery$variables = { - assetId: string; -}; -export type AssetGraphNodeQuery$data = { - readonly node: { - readonly amount?: number; - readonly assetType?: AssetType; - readonly canDelete?: boolean; - readonly canUpdate?: boolean; - readonly createdAt?: string; - readonly dataTypesStored?: string; - readonly id?: string; - readonly name?: string; - readonly owner?: { - readonly fullName: string; - readonly id: string; - }; - readonly snapshotId?: string | null | undefined; - readonly updatedAt?: string; - readonly vendors?: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly category: VendorCategory; - readonly id: string; - readonly name: string; - readonly websiteUrl: string | null | undefined; - }; - }>; - }; - }; -}; -export type AssetGraphNodeQuery = { - response: AssetGraphNodeQuery$data; - variables: AssetGraphNodeQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "assetId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "assetId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "amount", - "storageKey": null -}, -v6 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "assetType", - "storageKey": null -}, -v7 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataTypesStored", - "storageKey": null -}, -v8 = { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null -}, -v9 = { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 50 - } - ], - "concreteType": "VendorConnection", - "kind": "LinkedField", - "name": "vendors", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Vendor", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v4/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "category", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "vendors(first:50)" -}, -v10 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null -}, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null -}, -v12 = { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:asset:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:asset:update\")" -}, -v13 = { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:asset:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:asset:delete\")" -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "AssetGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v12/*: any*/), - (v13/*: any*/) - ], - "type": "Asset", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "AssetGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v12/*: any*/), - (v13/*: any*/) - ], - "type": "Asset", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "6cc4f590468366f12144c88b15704bac", - "id": null, - "metadata": {}, - "name": "AssetGraphNodeQuery", - "operationKind": "query", - "text": "query AssetGraphNodeQuery(\n $assetId: ID!\n) {\n node(id: $assetId) {\n __typename\n ... on Asset {\n id\n snapshotId\n name\n amount\n assetType\n dataTypesStored\n owner {\n id\n fullName\n }\n vendors(first: 50) {\n edges {\n node {\n id\n name\n websiteUrl\n category\n }\n }\n }\n createdAt\n updatedAt\n canUpdate: permission(action: \"core:asset:update\")\n canDelete: permission(action: \"core:asset:delete\")\n }\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "61e648da526c4b332ded50ba1daa3fbf"; - -export default node; diff --git a/apps/console/src/__generated__/core/AssetGraphUpdateMutation.graphql.ts b/apps/console/src/__generated__/core/AssetGraphUpdateMutation.graphql.ts deleted file mode 100644 index 3de12c79c..000000000 --- a/apps/console/src/__generated__/core/AssetGraphUpdateMutation.graphql.ts +++ /dev/null @@ -1,242 +0,0 @@ -/** - * @generated SignedSource<<383e1cf1a7ebdac22de46fbc694566fe>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type AssetType = "PHYSICAL" | "VIRTUAL"; -export type UpdateAssetInput = { - amount?: number | null | undefined; - assetType?: AssetType | null | undefined; - dataTypesStored?: string | null | undefined; - id: string; - name?: string | null | undefined; - ownerId?: string | null | undefined; - vendorIds?: ReadonlyArray | null | undefined; -}; -export type AssetGraphUpdateMutation$variables = { - input: UpdateAssetInput; -}; -export type AssetGraphUpdateMutation$data = { - readonly updateAsset: { - readonly asset: { - readonly amount: number; - readonly assetType: AssetType; - readonly dataTypesStored: string; - readonly id: string; - readonly name: string; - readonly owner: { - readonly fullName: string; - readonly id: string; - }; - readonly snapshotId: string | null | undefined; - readonly updatedAt: string; - readonly vendors: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly name: string; - readonly websiteUrl: string | null | undefined; - }; - }>; - }; - }; - }; -}; -export type AssetGraphUpdateMutation = { - response: AssetGraphUpdateMutation$data; - variables: AssetGraphUpdateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v3 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UpdateAssetPayload", - "kind": "LinkedField", - "name": "updateAsset", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Asset", - "kind": "LinkedField", - "name": "asset", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null - }, - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "amount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "assetType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataTypesStored", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 50 - } - ], - "concreteType": "VendorConnection", - "kind": "LinkedField", - "name": "vendors", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Vendor", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "vendors(first:50)" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "AssetGraphUpdateMutation", - "selections": (v3/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "AssetGraphUpdateMutation", - "selections": (v3/*: any*/) - }, - "params": { - "cacheID": "ee67fc797e7a09d39db357b1b8e68d11", - "id": null, - "metadata": {}, - "name": "AssetGraphUpdateMutation", - "operationKind": "mutation", - "text": "mutation AssetGraphUpdateMutation(\n $input: UpdateAssetInput!\n) {\n updateAsset(input: $input) {\n asset {\n id\n snapshotId\n name\n amount\n assetType\n dataTypesStored\n owner {\n id\n fullName\n }\n vendors(first: 50) {\n edges {\n node {\n id\n name\n websiteUrl\n }\n }\n }\n updatedAt\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "65a76cfab2b2fba398cd19e566e3ee33"; - -export default node; diff --git a/apps/console/src/__generated__/core/AssetsListQuery.graphql.ts b/apps/console/src/__generated__/core/AssetsListQuery.graphql.ts deleted file mode 100644 index 74bc9884d..000000000 --- a/apps/console/src/__generated__/core/AssetsListQuery.graphql.ts +++ /dev/null @@ -1,470 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type AssetOrderField = "AMOUNT" | "CREATED_AT"; -export type OrderDirection = "ASC" | "DESC"; -export type AssetOrder = { - direction: OrderDirection; - field: AssetOrderField; -}; -export type AssetsListQuery$variables = { - after?: string | null | undefined; - before?: string | null | undefined; - first?: number | null | undefined; - id: string; - last?: number | null | undefined; - orderBy?: AssetOrder | null | undefined; - snapshotId?: string | null | undefined; -}; -export type AssetsListQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"AssetsPageFragment">; - }; -}; -export type AssetsListQuery = { - response: AssetsListQuery$data; - variables: AssetsListQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" -}, -v2 = { - "defaultValue": 10, - "kind": "LocalArgument", - "name": "first" -}, -v3 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v4 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" -}, -v5 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "orderBy" -}, -v6 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" -}, -v7 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v8 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v9 = { - "kind": "Variable", - "name": "before", - "variableName": "before" -}, -v10 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v11 = { - "kind": "Variable", - "name": "last", - "variableName": "last" -}, -v12 = { - "kind": "Variable", - "name": "orderBy", - "variableName": "orderBy" -}, -v13 = { - "kind": "Variable", - "name": "snapshotId", - "variableName": "snapshotId" -}, -v14 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v15 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v16 = [ - (v8/*: any*/), - (v9/*: any*/), - { - "fields": [ - (v13/*: any*/) - ], - "kind": "ObjectValue", - "name": "filter" - }, - (v10/*: any*/), - (v11/*: any*/), - (v12/*: any*/) -], -v17 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "AssetsListQuery", - "selections": [ - { - "alias": null, - "args": (v7/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v12/*: any*/), - (v13/*: any*/) - ], - "kind": "FragmentSpread", - "name": "AssetsPageFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v3/*: any*/) - ], - "kind": "Operation", - "name": "AssetsListQuery", - "selections": [ - { - "alias": null, - "args": (v7/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v14/*: any*/), - (v15/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v16/*: any*/), - "concreteType": "AssetConnection", - "kind": "LinkedField", - "name": "assets", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "AssetEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Asset", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v15/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null - }, - (v17/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "amount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "assetType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataTypesStored", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v15/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 50 - } - ], - "concreteType": "VendorConnection", - "kind": "LinkedField", - "name": "vendors", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Vendor", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v15/*: any*/), - (v17/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "vendors(first:50)" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:asset:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:asset:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:asset:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:asset:delete\")" - }, - (v14/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v16/*: any*/), - "filters": [ - "filter" - ], - "handle": "connection", - "key": "AssetsPage_assets", - "kind": "LinkedHandle", - "name": "assets" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "350938b31ac1c7f7a28849123995da3a", - "id": null, - "metadata": {}, - "name": "AssetsListQuery", - "operationKind": "query", - "text": "query AssetsListQuery(\n $after: CursorKey = null\n $before: CursorKey = null\n $first: Int = 10\n $last: Int = null\n $orderBy: AssetOrder = null\n $snapshotId: ID = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...AssetsPageFragment_38J9tm\n id\n }\n}\n\nfragment AssetsPageFragment_38J9tm on Organization {\n assets(first: $first, after: $after, last: $last, before: $before, orderBy: $orderBy, filter: {snapshotId: $snapshotId}) {\n edges {\n node {\n id\n snapshotId\n name\n amount\n assetType\n dataTypesStored\n owner {\n id\n fullName\n }\n vendors(first: 50) {\n edges {\n node {\n id\n name\n websiteUrl\n }\n }\n }\n createdAt\n canUpdate: permission(action: \"core:asset:update\")\n canDelete: permission(action: \"core:asset:delete\")\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n" - } -}; -})(); - -(node as any).hash = "4e870b93c801e9f0b6e26ab6069863fe"; - -export default node; diff --git a/apps/console/src/__generated__/core/AssetsPageFragment.graphql.ts b/apps/console/src/__generated__/core/AssetsPageFragment.graphql.ts deleted file mode 100644 index 29d316617..000000000 --- a/apps/console/src/__generated__/core/AssetsPageFragment.graphql.ts +++ /dev/null @@ -1,388 +0,0 @@ -/** - * @generated SignedSource<<764aed3f20dfa64736dc42751e17de65>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type AssetType = "PHYSICAL" | "VIRTUAL"; -import { FragmentRefs } from "relay-runtime"; -export type AssetsPageFragment$data = { - readonly assets: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly amount: number; - readonly assetType: AssetType; - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly createdAt: string; - readonly dataTypesStored: string; - readonly id: string; - readonly name: string; - readonly owner: { - readonly fullName: string; - readonly id: string; - }; - readonly snapshotId: string | null | undefined; - readonly vendors: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly name: string; - readonly websiteUrl: string | null | undefined; - }; - }>; - }; - }; - }>; - }; - readonly id: string; - readonly " $fragmentType": "AssetsPageFragment"; -}; -export type AssetsPageFragment$key = { - readonly " $data"?: AssetsPageFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"AssetsPageFragment">; -}; - -import AssetsListQuery_graphql from './AssetsListQuery.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "assets" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" - }, - { - "defaultValue": 10, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "orderBy" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "bidirectional", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": { - "count": "last", - "cursor": "before" - }, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": AssetsListQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "AssetsPageFragment", - "selections": [ - { - "alias": "assets", - "args": [ - { - "fields": [ - { - "kind": "Variable", - "name": "snapshotId", - "variableName": "snapshotId" - } - ], - "kind": "ObjectValue", - "name": "filter" - } - ], - "concreteType": "AssetConnection", - "kind": "LinkedField", - "name": "__AssetsPage_assets_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "AssetEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Asset", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null - }, - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "amount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "assetType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataTypesStored", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 50 - } - ], - "concreteType": "VendorConnection", - "kind": "LinkedField", - "name": "vendors", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Vendor", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "vendors(first:50)" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:asset:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:asset:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:asset:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:asset:delete\")" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - (v1/*: any*/) - ], - "type": "Organization", - "abstractKey": null -}; -})(); - -(node as any).hash = "4e870b93c801e9f0b6e26ab6069863fe"; - -export default node; diff --git a/apps/console/src/__generated__/core/AuditGraphCreateMutation.graphql.ts b/apps/console/src/__generated__/core/AuditGraphCreateMutation.graphql.ts deleted file mode 100644 index 05c63bf28..000000000 --- a/apps/console/src/__generated__/core/AuditGraphCreateMutation.graphql.ts +++ /dev/null @@ -1,276 +0,0 @@ -/** - * @generated SignedSource<<5da72785f4532d069a59c8bb5f12101d>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type AuditState = "COMPLETED" | "IN_PROGRESS" | "NOT_STARTED" | "OUTDATED" | "REJECTED"; -export type TrustCenterVisibility = "NONE" | "PRIVATE" | "PUBLIC"; -export type CreateAuditInput = { - frameworkId: string; - name?: string | null | undefined; - organizationId: string; - state?: AuditState | null | undefined; - trustCenterVisibility?: TrustCenterVisibility | null | undefined; - validFrom?: string | null | undefined; - validUntil?: string | null | undefined; -}; -export type AuditGraphCreateMutation$variables = { - connections: ReadonlyArray; - input: CreateAuditInput; -}; -export type AuditGraphCreateMutation$data = { - readonly createAudit: { - readonly auditEdge: { - readonly node: { - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly createdAt: string; - readonly framework: { - readonly id: string; - readonly name: string; - }; - readonly id: string; - readonly name: string | null | undefined; - readonly report: { - readonly filename: string; - readonly id: string; - } | null | undefined; - readonly state: AuditState; - readonly validFrom: string | null | undefined; - readonly validUntil: string | null | undefined; - }; - }; - }; -}; -export type AuditGraphCreateMutation = { - response: AuditGraphCreateMutation$data; - variables: AuditGraphCreateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -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, - "concreteType": "AuditEdge", - "kind": "LinkedField", - "name": "auditEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validFrom", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validUntil", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Report", - "kind": "LinkedField", - "name": "report", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "filename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:audit:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:audit:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:audit:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:audit:delete\")" - } - ], - "storageKey": null - } - ], - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "AuditGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateAuditPayload", - "kind": "LinkedField", - "name": "createAudit", - "plural": false, - "selections": [ - (v5/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "AuditGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateAuditPayload", - "kind": "LinkedField", - "name": "createAudit", - "plural": false, - "selections": [ - (v5/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "auditEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "d5155df01b8fe2fb74b49b953d49aed7", - "id": null, - "metadata": {}, - "name": "AuditGraphCreateMutation", - "operationKind": "mutation", - "text": "mutation AuditGraphCreateMutation(\n $input: CreateAuditInput!\n) {\n createAudit(input: $input) {\n auditEdge {\n node {\n id\n name\n validFrom\n validUntil\n report {\n id\n filename\n }\n state\n framework {\n id\n name\n }\n createdAt\n canUpdate: permission(action: \"core:audit:update\")\n canDelete: permission(action: \"core:audit:delete\")\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "dcca4ebf33522ad6ef45456612fad03f"; - -export default node; diff --git a/apps/console/src/__generated__/core/AuditGraphDeleteMutation.graphql.ts b/apps/console/src/__generated__/core/AuditGraphDeleteMutation.graphql.ts deleted file mode 100644 index ffeae3355..000000000 --- a/apps/console/src/__generated__/core/AuditGraphDeleteMutation.graphql.ts +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteAuditInput = { - auditId: string; -}; -export type AuditGraphDeleteMutation$variables = { - connections: ReadonlyArray; - input: DeleteAuditInput; -}; -export type AuditGraphDeleteMutation$data = { - readonly deleteAudit: { - readonly deletedAuditId: string; - }; -}; -export type AuditGraphDeleteMutation = { - response: AuditGraphDeleteMutation$data; - variables: AuditGraphDeleteMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedAuditId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "AuditGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteAuditPayload", - "kind": "LinkedField", - "name": "deleteAudit", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "AuditGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteAuditPayload", - "kind": "LinkedField", - "name": "deleteAudit", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedAuditId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "48906b2f55360bea9a8fc7f0daea34be", - "id": null, - "metadata": {}, - "name": "AuditGraphDeleteMutation", - "operationKind": "mutation", - "text": "mutation AuditGraphDeleteMutation(\n $input: DeleteAuditInput!\n) {\n deleteAudit(input: $input) {\n deletedAuditId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "e0f3771289e512982adc900199820821"; - -export default node; diff --git a/apps/console/src/__generated__/core/AuditGraphDeleteReportMutation.graphql.ts b/apps/console/src/__generated__/core/AuditGraphDeleteReportMutation.graphql.ts deleted file mode 100644 index 91278b791..000000000 --- a/apps/console/src/__generated__/core/AuditGraphDeleteReportMutation.graphql.ts +++ /dev/null @@ -1,153 +0,0 @@ -/** - * @generated SignedSource<<39afab5f5f832b28f00e6bd7469fa4f3>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteAuditReportInput = { - auditId: string; -}; -export type AuditGraphDeleteReportMutation$variables = { - input: DeleteAuditReportInput; -}; -export type AuditGraphDeleteReportMutation$data = { - readonly deleteAuditReport: { - readonly audit: { - readonly id: string; - readonly report: { - readonly createdAt: string; - readonly downloadUrl: string | null | undefined; - readonly filename: string; - readonly id: string; - } | null | undefined; - readonly updatedAt: string; - }; - }; -}; -export type AuditGraphDeleteReportMutation = { - response: AuditGraphDeleteReportMutation$data; - variables: AuditGraphDeleteReportMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v2 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "DeleteAuditReportPayload", - "kind": "LinkedField", - "name": "deleteAuditReport", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "audit", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Report", - "kind": "LinkedField", - "name": "report", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "filename", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "downloadUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "AuditGraphDeleteReportMutation", - "selections": (v2/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "AuditGraphDeleteReportMutation", - "selections": (v2/*: any*/) - }, - "params": { - "cacheID": "ebceb2fd2a2ffae09bc1578e37dde7e0", - "id": null, - "metadata": {}, - "name": "AuditGraphDeleteReportMutation", - "operationKind": "mutation", - "text": "mutation AuditGraphDeleteReportMutation(\n $input: DeleteAuditReportInput!\n) {\n deleteAuditReport(input: $input) {\n audit {\n id\n report {\n id\n filename\n downloadUrl\n createdAt\n }\n updatedAt\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "4b5e9537b35458eb3daa313ead9ba655"; - -export default node; diff --git a/apps/console/src/__generated__/core/AuditGraphListQuery.graphql.ts b/apps/console/src/__generated__/core/AuditGraphListQuery.graphql.ts deleted file mode 100644 index 0be7a07d0..000000000 --- a/apps/console/src/__generated__/core/AuditGraphListQuery.graphql.ts +++ /dev/null @@ -1,351 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type AuditGraphListQuery$variables = { - organizationId: string; -}; -export type AuditGraphListQuery$data = { - readonly node: { - readonly canCreateAudit?: boolean; - readonly " $fragmentSpreads": FragmentRefs<"AuditsPageFragment">; - }; -}; -export type AuditGraphListQuery = { - response: AuditGraphListQuery$data; - variables: AuditGraphListQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": "canCreateAudit", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:audit:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:audit:create\")" -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v5 = [ - { - "kind": "Literal", - "name": "first", - "value": 10 - } -], -v6 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "AuditGraphListQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "AuditsPageFragment" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "AuditGraphListQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": (v5/*: any*/), - "concreteType": "AuditConnection", - "kind": "LinkedField", - "name": "audits", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "AuditEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v4/*: any*/), - (v6/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validFrom", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validUntil", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Report", - "kind": "LinkedField", - "name": "report", - "plural": false, - "selections": [ - (v4/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "filename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v4/*: any*/), - (v6/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:audit:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:audit:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:audit:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:audit:delete\")" - }, - (v3/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": "audits(first:10)" - }, - { - "alias": null, - "args": (v5/*: any*/), - "filters": [ - "orderBy" - ], - "handle": "connection", - "key": "AuditsPage_audits", - "kind": "LinkedHandle", - "name": "audits" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "441524ada7aa614fb611f3d64812314f", - "id": null, - "metadata": {}, - "name": "AuditGraphListQuery", - "operationKind": "query", - "text": "query AuditGraphListQuery(\n $organizationId: ID!\n) {\n node(id: $organizationId) {\n __typename\n ... on Organization {\n canCreateAudit: permission(action: \"core:audit:create\")\n ...AuditsPageFragment\n }\n id\n }\n}\n\nfragment AuditsPageFragment on Organization {\n audits(first: 10) {\n edges {\n node {\n id\n name\n validFrom\n validUntil\n report {\n id\n filename\n }\n state\n framework {\n id\n name\n }\n createdAt\n canUpdate: permission(action: \"core:audit:update\")\n canDelete: permission(action: \"core:audit:delete\")\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n" - } -}; -})(); - -(node as any).hash = "fc989e08b0d6411aac7ca6b1a0125edc"; - -export default node; diff --git a/apps/console/src/__generated__/core/AuditGraphNodeQuery.graphql.ts b/apps/console/src/__generated__/core/AuditGraphNodeQuery.graphql.ts deleted file mode 100644 index 8db68b70b..000000000 --- a/apps/console/src/__generated__/core/AuditGraphNodeQuery.graphql.ts +++ /dev/null @@ -1,332 +0,0 @@ -/** - * @generated SignedSource<<8ce0dfdad4c98f5fa9fbbd2162a28778>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type AuditState = "COMPLETED" | "IN_PROGRESS" | "NOT_STARTED" | "OUTDATED" | "REJECTED"; -export type AuditGraphNodeQuery$variables = { - auditId: string; -}; -export type AuditGraphNodeQuery$data = { - readonly node: { - readonly canDelete?: boolean; - readonly canUpdate?: boolean; - readonly createdAt?: string; - readonly framework?: { - readonly darkLogoURL: string | null | undefined; - readonly id: string; - readonly lightLogoURL: string | null | undefined; - readonly name: string; - }; - readonly id?: string; - readonly name?: string | null | undefined; - readonly organization?: { - readonly id: string; - readonly name: string; - }; - readonly report?: { - readonly createdAt: string; - readonly downloadUrl: string | null | undefined; - readonly filename: string; - readonly id: string; - readonly mimeType: string; - readonly size: number; - } | null | undefined; - readonly reportUrl?: string | null | undefined; - readonly state?: AuditState; - readonly updatedAt?: string; - readonly validFrom?: string | null | undefined; - readonly validUntil?: string | null | undefined; - }; -}; -export type AuditGraphNodeQuery = { - response: AuditGraphNodeQuery$data; - variables: AuditGraphNodeQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "auditId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "auditId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validFrom", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validUntil", - "storageKey": null -}, -v6 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null -}, -v7 = { - "alias": null, - "args": null, - "concreteType": "Report", - "kind": "LinkedField", - "name": "report", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "filename", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "mimeType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "size", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "downloadUrl", - "storageKey": null - }, - (v6/*: any*/) - ], - "storageKey": null -}, -v8 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "reportUrl", - "storageKey": null -}, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null -}, -v10 = { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lightLogoURL", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "darkLogoURL", - "storageKey": null - } - ], - "storageKey": null -}, -v11 = { - "alias": null, - "args": null, - "concreteType": "Organization", - "kind": "LinkedField", - "name": "organization", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/) - ], - "storageKey": null -}, -v12 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null -}, -v13 = { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:audit:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:audit:update\")" -}, -v14 = { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:audit:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:audit:delete\")" -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "AuditGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v6/*: any*/), - (v12/*: any*/), - (v13/*: any*/), - (v14/*: any*/) - ], - "type": "Audit", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "AuditGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v6/*: any*/), - (v12/*: any*/), - (v13/*: any*/), - (v14/*: any*/) - ], - "type": "Audit", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "c9d41c45b625f17ccf291ae2c027a027", - "id": null, - "metadata": {}, - "name": "AuditGraphNodeQuery", - "operationKind": "query", - "text": "query AuditGraphNodeQuery(\n $auditId: ID!\n) {\n node(id: $auditId) {\n __typename\n ... on Audit {\n id\n name\n validFrom\n validUntil\n report {\n id\n filename\n mimeType\n size\n downloadUrl\n createdAt\n }\n reportUrl\n state\n framework {\n id\n name\n lightLogoURL\n darkLogoURL\n }\n organization {\n id\n name\n }\n createdAt\n updatedAt\n canUpdate: permission(action: \"core:audit:update\")\n canDelete: permission(action: \"core:audit:delete\")\n }\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "3195b5564b2cf8a21536ebf89f0f5c82"; - -export default node; diff --git a/apps/console/src/__generated__/core/AuditGraphUpdateMutation.graphql.ts b/apps/console/src/__generated__/core/AuditGraphUpdateMutation.graphql.ts deleted file mode 100644 index d7c95285f..000000000 --- a/apps/console/src/__generated__/core/AuditGraphUpdateMutation.graphql.ts +++ /dev/null @@ -1,194 +0,0 @@ -/** - * @generated SignedSource<<1b9fd2fad98545d0e1ca4440a6a8936a>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type AuditState = "COMPLETED" | "IN_PROGRESS" | "NOT_STARTED" | "OUTDATED" | "REJECTED"; -export type TrustCenterVisibility = "NONE" | "PRIVATE" | "PUBLIC"; -export type UpdateAuditInput = { - id: string; - name?: string | null | undefined; - state?: AuditState | null | undefined; - trustCenterVisibility?: TrustCenterVisibility | null | undefined; - validFrom?: string | null | undefined; - validUntil?: string | null | undefined; -}; -export type AuditGraphUpdateMutation$variables = { - input: UpdateAuditInput; -}; -export type AuditGraphUpdateMutation$data = { - readonly updateAudit: { - readonly audit: { - readonly framework: { - readonly id: string; - readonly name: string; - }; - readonly id: string; - readonly name: string | null | undefined; - readonly report: { - readonly filename: string; - readonly id: string; - } | null | undefined; - readonly state: AuditState; - readonly updatedAt: string; - readonly validFrom: string | null | undefined; - readonly validUntil: string | null | undefined; - }; - }; -}; -export type AuditGraphUpdateMutation = { - response: AuditGraphUpdateMutation$data; - variables: AuditGraphUpdateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v3 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UpdateAuditPayload", - "kind": "LinkedField", - "name": "updateAudit", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "audit", - "plural": false, - "selections": [ - (v1/*: any*/), - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validFrom", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validUntil", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Report", - "kind": "LinkedField", - "name": "report", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "filename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v1/*: any*/), - (v2/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "AuditGraphUpdateMutation", - "selections": (v3/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "AuditGraphUpdateMutation", - "selections": (v3/*: any*/) - }, - "params": { - "cacheID": "7257cd170b7441f3ce85966556e00ac3", - "id": null, - "metadata": {}, - "name": "AuditGraphUpdateMutation", - "operationKind": "mutation", - "text": "mutation AuditGraphUpdateMutation(\n $input: UpdateAuditInput!\n) {\n updateAudit(input: $input) {\n audit {\n id\n name\n validFrom\n validUntil\n report {\n id\n filename\n }\n state\n framework {\n id\n name\n }\n updatedAt\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "7fb5d28c8c5fdffddb1c8926e66965ec"; - -export default node; diff --git a/apps/console/src/__generated__/core/AuditGraphUploadReportMutation.graphql.ts b/apps/console/src/__generated__/core/AuditGraphUploadReportMutation.graphql.ts deleted file mode 100644 index 3a9cd1955..000000000 --- a/apps/console/src/__generated__/core/AuditGraphUploadReportMutation.graphql.ts +++ /dev/null @@ -1,154 +0,0 @@ -/** - * @generated SignedSource<<497a7821f6c5e32068e495ccb8489075>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type UploadAuditReportInput = { - auditId: string; - file: any; -}; -export type AuditGraphUploadReportMutation$variables = { - input: UploadAuditReportInput; -}; -export type AuditGraphUploadReportMutation$data = { - readonly uploadAuditReport: { - readonly audit: { - readonly id: string; - readonly report: { - readonly createdAt: string; - readonly downloadUrl: string | null | undefined; - readonly filename: string; - readonly id: string; - } | null | undefined; - readonly updatedAt: string; - }; - }; -}; -export type AuditGraphUploadReportMutation = { - response: AuditGraphUploadReportMutation$data; - variables: AuditGraphUploadReportMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v2 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UploadAuditReportPayload", - "kind": "LinkedField", - "name": "uploadAuditReport", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "audit", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Report", - "kind": "LinkedField", - "name": "report", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "filename", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "downloadUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "AuditGraphUploadReportMutation", - "selections": (v2/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "AuditGraphUploadReportMutation", - "selections": (v2/*: any*/) - }, - "params": { - "cacheID": "05229f6e6fb7e64ceaf93c4bb8f144e6", - "id": null, - "metadata": {}, - "name": "AuditGraphUploadReportMutation", - "operationKind": "mutation", - "text": "mutation AuditGraphUploadReportMutation(\n $input: UploadAuditReportInput!\n) {\n uploadAuditReport(input: $input) {\n audit {\n id\n report {\n id\n filename\n downloadUrl\n createdAt\n }\n updatedAt\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "1acff19bbb4a2e0eeca934cc90040eda"; - -export default node; diff --git a/apps/console/src/__generated__/core/AuditSelectFieldQuery.graphql.ts b/apps/console/src/__generated__/core/AuditSelectFieldQuery.graphql.ts deleted file mode 100644 index 13037a6d3..000000000 --- a/apps/console/src/__generated__/core/AuditSelectFieldQuery.graphql.ts +++ /dev/null @@ -1,215 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type AuditState = "COMPLETED" | "IN_PROGRESS" | "NOT_STARTED" | "OUTDATED" | "REJECTED"; -export type AuditSelectFieldQuery$variables = { - organizationId: string; -}; -export type AuditSelectFieldQuery$data = { - readonly organization: { - readonly audits?: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly framework: { - readonly id: string; - readonly name: string; - }; - readonly id: string; - readonly name: string | null | undefined; - readonly state: AuditState; - readonly validFrom: string | null | undefined; - readonly validUntil: string | null | undefined; - }; - }>; - }; - }; -}; -export type AuditSelectFieldQuery = { - response: AuditSelectFieldQuery$data; - variables: AuditSelectFieldQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v4 = { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 100 - } - ], - "concreteType": "AuditConnection", - "kind": "LinkedField", - "name": "audits", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "AuditEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validFrom", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validUntil", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "audits(first:100)" - } - ], - "type": "Organization", - "abstractKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "AuditSelectFieldQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v4/*: any*/) - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "AuditSelectFieldQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - (v4/*: any*/), - (v2/*: any*/) - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "339c5438bb684c44887cc9cb53fb2c6a", - "id": null, - "metadata": {}, - "name": "AuditSelectFieldQuery", - "operationKind": "query", - "text": "query AuditSelectFieldQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n ... on Organization {\n audits(first: 100) {\n edges {\n node {\n id\n name\n framework {\n id\n name\n }\n state\n validFrom\n validUntil\n }\n }\n }\n }\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "2bde1a04326144fe1b133672870807eb"; - -export default node; diff --git a/apps/console/src/__generated__/core/AuditsListQuery.graphql.ts b/apps/console/src/__generated__/core/AuditsListQuery.graphql.ts deleted file mode 100644 index c99f3d42f..000000000 --- a/apps/console/src/__generated__/core/AuditsListQuery.graphql.ts +++ /dev/null @@ -1,396 +0,0 @@ -/** - * @generated SignedSource<<4cd493e5c45c274b8d7aabdac8c62f95>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type AuditOrderField = "CREATED_AT" | "STATE" | "VALID_FROM" | "VALID_UNTIL"; -export type OrderDirection = "ASC" | "DESC"; -export type AuditOrder = { - direction: OrderDirection; - field: AuditOrderField; -}; -export type AuditsListQuery$variables = { - after?: string | null | undefined; - before?: string | null | undefined; - first?: number | null | undefined; - id: string; - last?: number | null | undefined; - orderBy?: AuditOrder | null | undefined; -}; -export type AuditsListQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"AuditsPageFragment">; - }; -}; -export type AuditsListQuery = { - response: AuditsListQuery$data; - variables: AuditsListQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" -}, -v2 = { - "defaultValue": 10, - "kind": "LocalArgument", - "name": "first" -}, -v3 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v4 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" -}, -v5 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "orderBy" -}, -v6 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v7 = [ - { - "kind": "Variable", - "name": "after", - "variableName": "after" - }, - { - "kind": "Variable", - "name": "before", - "variableName": "before" - }, - { - "kind": "Variable", - "name": "first", - "variableName": "first" - }, - { - "kind": "Variable", - "name": "last", - "variableName": "last" - }, - { - "kind": "Variable", - "name": "orderBy", - "variableName": "orderBy" - } -], -v8 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v10 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "AuditsListQuery", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": (v7/*: any*/), - "kind": "FragmentSpread", - "name": "AuditsPageFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v3/*: any*/) - ], - "kind": "Operation", - "name": "AuditsListQuery", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v8/*: any*/), - (v9/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v7/*: any*/), - "concreteType": "AuditConnection", - "kind": "LinkedField", - "name": "audits", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "AuditEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v9/*: any*/), - (v10/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validFrom", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validUntil", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Report", - "kind": "LinkedField", - "name": "report", - "plural": false, - "selections": [ - (v9/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "filename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v9/*: any*/), - (v10/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:audit:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:audit:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:audit:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:audit:delete\")" - }, - (v8/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v7/*: any*/), - "filters": [ - "orderBy" - ], - "handle": "connection", - "key": "AuditsPage_audits", - "kind": "LinkedHandle", - "name": "audits" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "7804de168f5c2484d6beb2f4d19287b0", - "id": null, - "metadata": {}, - "name": "AuditsListQuery", - "operationKind": "query", - "text": "query AuditsListQuery(\n $after: CursorKey = null\n $before: CursorKey = null\n $first: Int = 10\n $last: Int = null\n $orderBy: AuditOrder = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...AuditsPageFragment_sdb03\n id\n }\n}\n\nfragment AuditsPageFragment_sdb03 on Organization {\n audits(first: $first, after: $after, last: $last, before: $before, orderBy: $orderBy) {\n edges {\n node {\n id\n name\n validFrom\n validUntil\n report {\n id\n filename\n }\n state\n framework {\n id\n name\n }\n createdAt\n canUpdate: permission(action: \"core:audit:update\")\n canDelete: permission(action: \"core:audit:delete\")\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n" - } -}; -})(); - -(node as any).hash = "4013ec4e657ef7fb9d13afbd572ea9e5"; - -export default node; diff --git a/apps/console/src/__generated__/core/AuditsPageFragment.graphql.ts b/apps/console/src/__generated__/core/AuditsPageFragment.graphql.ts deleted file mode 100644 index 019548561..000000000 --- a/apps/console/src/__generated__/core/AuditsPageFragment.graphql.ts +++ /dev/null @@ -1,329 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type AuditState = "COMPLETED" | "IN_PROGRESS" | "NOT_STARTED" | "OUTDATED" | "REJECTED"; -import { FragmentRefs } from "relay-runtime"; -export type AuditsPageFragment$data = { - readonly audits: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly createdAt: string; - readonly framework: { - readonly id: string; - readonly name: string; - }; - readonly id: string; - readonly name: string | null | undefined; - readonly report: { - readonly filename: string; - readonly id: string; - } | null | undefined; - readonly state: AuditState; - readonly validFrom: string | null | undefined; - readonly validUntil: string | null | undefined; - }; - }>; - }; - readonly id: string; - readonly " $fragmentType": "AuditsPageFragment"; -}; -export type AuditsPageFragment$key = { - readonly " $data"?: AuditsPageFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"AuditsPageFragment">; -}; - -import AuditsListQuery_graphql from './AuditsListQuery.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "audits" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" - }, - { - "defaultValue": 10, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "orderBy" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "bidirectional", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": { - "count": "last", - "cursor": "before" - }, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": AuditsListQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "AuditsPageFragment", - "selections": [ - { - "alias": "audits", - "args": [ - { - "kind": "Variable", - "name": "orderBy", - "variableName": "orderBy" - } - ], - "concreteType": "AuditConnection", - "kind": "LinkedField", - "name": "__AuditsPage_audits_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "AuditEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validFrom", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validUntil", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Report", - "kind": "LinkedField", - "name": "report", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "filename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v1/*: any*/), - (v2/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:audit:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:audit:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:audit:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:audit:delete\")" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - (v1/*: any*/) - ], - "type": "Organization", - "abstractKey": null -}; -})(); - -(node as any).hash = "4013ec4e657ef7fb9d13afbd572ea9e5"; - -export default node; diff --git a/apps/console/src/__generated__/core/ComplianceReportListQuery.graphql.ts b/apps/console/src/__generated__/core/ComplianceReportListQuery.graphql.ts deleted file mode 100644 index 4c146746a..000000000 --- a/apps/console/src/__generated__/core/ComplianceReportListQuery.graphql.ts +++ /dev/null @@ -1,383 +0,0 @@ -/** - * @generated SignedSource<<8f9e37a76c35d572a81006be1c54b685>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type OrderDirection = "ASC" | "DESC"; -export type VendorComplianceReportOrderField = "CREATED_AT" | "REPORT_DATE"; -export type VendorComplianceReportOrder = { - direction: OrderDirection; - field: VendorComplianceReportOrderField; -}; -export type ComplianceReportListQuery$variables = { - after?: string | null | undefined; - before?: string | null | undefined; - first?: number | null | undefined; - id: string; - last?: number | null | undefined; - order?: VendorComplianceReportOrder | null | undefined; -}; -export type ComplianceReportListQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"VendorComplianceTabFragment">; - }; -}; -export type ComplianceReportListQuery = { - response: ComplianceReportListQuery$data; - variables: ComplianceReportListQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" -}, -v2 = { - "defaultValue": 50, - "kind": "LocalArgument", - "name": "first" -}, -v3 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v4 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" -}, -v5 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" -}, -v6 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v7 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v8 = { - "kind": "Variable", - "name": "before", - "variableName": "before" -}, -v9 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v10 = { - "kind": "Variable", - "name": "last", - "variableName": "last" -}, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v12 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v13 = [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "ComplianceReportListQuery", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "order", - "variableName": "order" - } - ], - "kind": "FragmentSpread", - "name": "VendorComplianceTabFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v3/*: any*/) - ], - "kind": "Operation", - "name": "ComplianceReportListQuery", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v11/*: any*/), - (v12/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v13/*: any*/), - "concreteType": "VendorComplianceReportConnection", - "kind": "LinkedField", - "name": "complianceReports", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorComplianceReportEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorComplianceReport", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v12/*: any*/), - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-compliance-report:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-compliance-report:delete\")" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "reportDate", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validUntil", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "reportName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "File", - "kind": "LinkedField", - "name": "file", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fileName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "mimeType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "size", - "storageKey": null - }, - (v12/*: any*/) - ], - "storageKey": null - }, - (v11/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v13/*: any*/), - "filters": [ - "orderBy" - ], - "handle": "connection", - "key": "VendorComplianceTabFragment_complianceReports", - "kind": "LinkedHandle", - "name": "complianceReports" - } - ], - "type": "Vendor", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "0301f89298e5a1d39beac8f822095c6d", - "id": null, - "metadata": {}, - "name": "ComplianceReportListQuery", - "operationKind": "query", - "text": "query ComplianceReportListQuery(\n $after: CursorKey = null\n $before: CursorKey = null\n $first: Int = 50\n $last: Int = null\n $order: VendorComplianceReportOrder = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...VendorComplianceTabFragment_16fISc\n id\n }\n}\n\nfragment VendorComplianceTabFragment_16fISc on Vendor {\n complianceReports(first: $first, after: $after, last: $last, before: $before, orderBy: $order) {\n edges {\n node {\n id\n canDelete: permission(action: \"core:vendor-compliance-report:delete\")\n ...VendorComplianceTabFragment_report\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n\nfragment VendorComplianceTabFragment_report on VendorComplianceReport {\n id\n reportDate\n validUntil\n reportName\n file {\n fileName\n mimeType\n size\n id\n }\n canDelete: permission(action: \"core:vendor-compliance-report:delete\")\n}\n" - } -}; -})(); - -(node as any).hash = "078c14e9b989c435abf83ec5b4396f6c"; - -export default node; diff --git a/apps/console/src/__generated__/core/ContinualImprovementGraphCreateMutation.graphql.ts b/apps/console/src/__generated__/core/ContinualImprovementGraphCreateMutation.graphql.ts deleted file mode 100644 index 5927d8c3e..000000000 --- a/apps/console/src/__generated__/core/ContinualImprovementGraphCreateMutation.graphql.ts +++ /dev/null @@ -1,275 +0,0 @@ -/** - * @generated SignedSource<<26fe2860690fb0293c685dbc139eed04>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type ContinualImprovementPriority = "HIGH" | "LOW" | "MEDIUM"; -export type ContinualImprovementStatus = "CLOSED" | "IN_PROGRESS" | "OPEN"; -export type CreateContinualImprovementInput = { - description?: string | null | undefined; - organizationId: string; - ownerId: string; - priority: ContinualImprovementPriority; - referenceId: string; - source?: string | null | undefined; - status: ContinualImprovementStatus; - targetDate?: string | null | undefined; -}; -export type ContinualImprovementGraphCreateMutation$variables = { - connections: ReadonlyArray; - input: CreateContinualImprovementInput; -}; -export type ContinualImprovementGraphCreateMutation$data = { - readonly createContinualImprovement: { - readonly continualImprovementEdge: { - readonly node: { - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly createdAt: string; - readonly description: string | null | undefined; - readonly id: string; - readonly owner: { - readonly fullName: string; - readonly id: string; - }; - readonly priority: ContinualImprovementPriority; - readonly referenceId: string; - readonly source: string | null | undefined; - readonly status: ContinualImprovementStatus; - readonly targetDate: string | null | undefined; - }; - }; - }; -}; -export type ContinualImprovementGraphCreateMutation = { - response: ContinualImprovementGraphCreateMutation$data; - variables: ContinualImprovementGraphCreateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "concreteType": "ContinualImprovementEdge", - "kind": "LinkedField", - "name": "continualImprovementEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ContinualImprovement", - "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 - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:continual-improvement:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:continual-improvement:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:continual-improvement:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:continual-improvement:delete\")" - } - ], - "storageKey": null - } - ], - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "ContinualImprovementGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateContinualImprovementPayload", - "kind": "LinkedField", - "name": "createContinualImprovement", - "plural": false, - "selections": [ - (v4/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "ContinualImprovementGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateContinualImprovementPayload", - "kind": "LinkedField", - "name": "createContinualImprovement", - "plural": false, - "selections": [ - (v4/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "continualImprovementEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "5894da3b2ddc1c4a16c030770fae53bb", - "id": null, - "metadata": {}, - "name": "ContinualImprovementGraphCreateMutation", - "operationKind": "mutation", - "text": "mutation ContinualImprovementGraphCreateMutation(\n $input: CreateContinualImprovementInput!\n) {\n createContinualImprovement(input: $input) {\n continualImprovementEdge {\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 canUpdate: permission(action: \"core:continual-improvement:update\")\n canDelete: permission(action: \"core:continual-improvement:delete\")\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "bcf5a1e0b02b6530c327741d4d744917"; - -export default node; diff --git a/apps/console/src/__generated__/core/ContinualImprovementGraphDeleteMutation.graphql.ts b/apps/console/src/__generated__/core/ContinualImprovementGraphDeleteMutation.graphql.ts deleted file mode 100644 index 964b5b0f3..000000000 --- a/apps/console/src/__generated__/core/ContinualImprovementGraphDeleteMutation.graphql.ts +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @generated SignedSource<<7e00cc82c493f1f051c9673fb95c6217>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteContinualImprovementInput = { - continualImprovementId: string; -}; -export type ContinualImprovementGraphDeleteMutation$variables = { - connections: ReadonlyArray; - input: DeleteContinualImprovementInput; -}; -export type ContinualImprovementGraphDeleteMutation$data = { - readonly deleteContinualImprovement: { - readonly deletedContinualImprovementId: string; - }; -}; -export type ContinualImprovementGraphDeleteMutation = { - response: ContinualImprovementGraphDeleteMutation$data; - variables: ContinualImprovementGraphDeleteMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedContinualImprovementId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "ContinualImprovementGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteContinualImprovementPayload", - "kind": "LinkedField", - "name": "deleteContinualImprovement", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "ContinualImprovementGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteContinualImprovementPayload", - "kind": "LinkedField", - "name": "deleteContinualImprovement", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedContinualImprovementId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "aaa3d35494c0b1bcaca143cdbc6b7143", - "id": null, - "metadata": {}, - "name": "ContinualImprovementGraphDeleteMutation", - "operationKind": "mutation", - "text": "mutation ContinualImprovementGraphDeleteMutation(\n $input: DeleteContinualImprovementInput!\n) {\n deleteContinualImprovement(input: $input) {\n deletedContinualImprovementId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "5474ad4a9bdc5ee4bd70f7289944079e"; - -export default node; diff --git a/apps/console/src/__generated__/core/ContinualImprovementGraphListQuery.graphql.ts b/apps/console/src/__generated__/core/ContinualImprovementGraphListQuery.graphql.ts deleted file mode 100644 index cfbf7798e..000000000 --- a/apps/console/src/__generated__/core/ContinualImprovementGraphListQuery.graphql.ts +++ /dev/null @@ -1,383 +0,0 @@ -/** - * @generated SignedSource<<4e8617c8aeee3cf066e40053ba260a61>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type ContinualImprovementGraphListQuery$variables = { - organizationId: string; - snapshotId?: string | null | undefined; -}; -export type ContinualImprovementGraphListQuery$data = { - readonly node: { - readonly canCreateContinualImprovement?: boolean; - readonly " $fragmentSpreads": FragmentRefs<"ContinualImprovementsPageFragment">; - }; -}; -export type ContinualImprovementGraphListQuery = { - response: ContinualImprovementGraphListQuery$data; - variables: ContinualImprovementGraphListQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": "canCreateContinualImprovement", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:continual-improvement:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:continual-improvement:create\")" -}, -v3 = [ - { - "kind": "Variable", - "name": "snapshotId", - "variableName": "snapshotId" - } -], -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v6 = [ - { - "fields": (v3/*: any*/), - "kind": "ObjectValue", - "name": "filter" - }, - { - "kind": "Literal", - "name": "first", - "value": 10 - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "ContinualImprovementGraphListQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - { - "args": (v3/*: any*/), - "kind": "FragmentSpread", - "name": "ContinualImprovementsPageFragment" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "ContinualImprovementGraphListQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v4/*: any*/), - (v5/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": "ContinualImprovementConnection", - "kind": "LinkedField", - "name": "continualImprovements", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "ContinualImprovementEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ContinualImprovement", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v5/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sourceId", - "storageKey": null - }, - { - "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": [ - (v5/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:continual-improvement:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:continual-improvement:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:continual-improvement:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:continual-improvement:delete\")" - }, - (v4/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v6/*: any*/), - "filters": [ - "filter" - ], - "handle": "connection", - "key": "ContinualImprovementsPage_continualImprovements", - "kind": "LinkedHandle", - "name": "continualImprovements" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "5f5124da6649b145ef6fddcf1009e95c", - "id": null, - "metadata": {}, - "name": "ContinualImprovementGraphListQuery", - "operationKind": "query", - "text": "query ContinualImprovementGraphListQuery(\n $organizationId: ID!\n $snapshotId: ID\n) {\n node(id: $organizationId) {\n __typename\n ... on Organization {\n canCreateContinualImprovement: permission(action: \"core:continual-improvement:create\")\n ...ContinualImprovementsPageFragment_3iomuz\n }\n id\n }\n}\n\nfragment ContinualImprovementsPageFragment_3iomuz on Organization {\n id\n continualImprovements(first: 10, filter: {snapshotId: $snapshotId}) {\n totalCount\n edges {\n node {\n id\n snapshotId\n sourceId\n referenceId\n description\n source\n targetDate\n status\n priority\n owner {\n id\n fullName\n }\n createdAt\n updatedAt\n canUpdate: permission(action: \"core:continual-improvement:update\")\n canDelete: permission(action: \"core:continual-improvement:delete\")\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "36a306074f56f6dc2c80987a670f18c3"; - -export default node; diff --git a/apps/console/src/__generated__/core/ContinualImprovementGraphNodeQuery.graphql.ts b/apps/console/src/__generated__/core/ContinualImprovementGraphNodeQuery.graphql.ts deleted file mode 100644 index a40d2d028..000000000 --- a/apps/console/src/__generated__/core/ContinualImprovementGraphNodeQuery.graphql.ts +++ /dev/null @@ -1,308 +0,0 @@ -/** - * @generated SignedSource<<7b00b5b2a993258ddb345ad0ee9bbe35>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type ContinualImprovementPriority = "HIGH" | "LOW" | "MEDIUM"; -export type ContinualImprovementStatus = "CLOSED" | "IN_PROGRESS" | "OPEN"; -export type ContinualImprovementGraphNodeQuery$variables = { - continualImprovementId: string; -}; -export type ContinualImprovementGraphNodeQuery$data = { - readonly node: { - readonly canDelete?: boolean; - readonly canUpdate?: boolean; - readonly createdAt?: string; - readonly description?: string | null | undefined; - readonly id?: string; - readonly organization?: { - readonly id: string; - readonly name: string; - }; - readonly owner?: { - readonly fullName: string; - readonly id: string; - }; - readonly priority?: ContinualImprovementPriority; - readonly referenceId?: string; - readonly snapshotId?: string | null | undefined; - readonly source?: string | null | undefined; - readonly sourceId?: string | null | undefined; - readonly status?: ContinualImprovementStatus; - readonly targetDate?: string | null | undefined; - readonly updatedAt?: string; - }; -}; -export type ContinualImprovementGraphNodeQuery = { - response: ContinualImprovementGraphNodeQuery$data; - variables: ContinualImprovementGraphNodeQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "continualImprovementId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "continualImprovementId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sourceId", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "referenceId", - "storageKey": null -}, -v6 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null -}, -v7 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "source", - "storageKey": null -}, -v8 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "targetDate", - "storageKey": null -}, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null -}, -v10 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "priority", - "storageKey": null -}, -v11 = { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null -}, -v12 = { - "alias": null, - "args": null, - "concreteType": "Organization", - "kind": "LinkedField", - "name": "organization", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - } - ], - "storageKey": null -}, -v13 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null -}, -v14 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null -}, -v15 = { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:continual-improvement:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:continual-improvement:update\")" -}, -v16 = { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:continual-improvement:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:continual-improvement:delete\")" -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "ContinualImprovementGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - (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*/) - ], - "type": "ContinualImprovement", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "ContinualImprovementGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - (v2/*: any*/), - { - "kind": "InlineFragment", - "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*/) - ], - "type": "ContinualImprovement", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "c5fa96253fe8c3e8e8307936ca76704d", - "id": null, - "metadata": {}, - "name": "ContinualImprovementGraphNodeQuery", - "operationKind": "query", - "text": "query ContinualImprovementGraphNodeQuery(\n $continualImprovementId: ID!\n) {\n node(id: $continualImprovementId) {\n __typename\n ... on ContinualImprovement {\n id\n snapshotId\n sourceId\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 canUpdate: permission(action: \"core:continual-improvement:update\")\n canDelete: permission(action: \"core:continual-improvement:delete\")\n }\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "66511af35ced4978629980d5339fc850"; - -export default node; diff --git a/apps/console/src/__generated__/core/ContinualImprovementGraphUpdateMutation.graphql.ts b/apps/console/src/__generated__/core/ContinualImprovementGraphUpdateMutation.graphql.ts deleted file mode 100644 index 327720bcb..000000000 --- a/apps/console/src/__generated__/core/ContinualImprovementGraphUpdateMutation.graphql.ts +++ /dev/null @@ -1,194 +0,0 @@ -/** - * @generated SignedSource<<8f25fa0f640847e45cf45de0028f51fe>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type ContinualImprovementPriority = "HIGH" | "LOW" | "MEDIUM"; -export type ContinualImprovementStatus = "CLOSED" | "IN_PROGRESS" | "OPEN"; -export type UpdateContinualImprovementInput = { - description?: string | null | undefined; - id: string; - ownerId?: string | null | undefined; - priority?: ContinualImprovementPriority | null | undefined; - referenceId?: string | null | undefined; - source?: string | null | undefined; - status?: ContinualImprovementStatus | null | undefined; - targetDate?: string | null | undefined; -}; -export type ContinualImprovementGraphUpdateMutation$variables = { - input: UpdateContinualImprovementInput; -}; -export type ContinualImprovementGraphUpdateMutation$data = { - readonly updateContinualImprovement: { - readonly continualImprovement: { - readonly description: string | null | undefined; - readonly id: string; - readonly owner: { - readonly fullName: string; - readonly id: string; - }; - readonly priority: ContinualImprovementPriority; - readonly referenceId: string; - readonly source: string | null | undefined; - readonly status: ContinualImprovementStatus; - readonly targetDate: string | null | undefined; - readonly updatedAt: string; - }; - }; -}; -export type ContinualImprovementGraphUpdateMutation = { - response: ContinualImprovementGraphUpdateMutation$data; - variables: ContinualImprovementGraphUpdateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v2 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UpdateContinualImprovementPayload", - "kind": "LinkedField", - "name": "updateContinualImprovement", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ContinualImprovement", - "kind": "LinkedField", - "name": "continualImprovement", - "plural": false, - "selections": [ - (v1/*: 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": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "ContinualImprovementGraphUpdateMutation", - "selections": (v2/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "ContinualImprovementGraphUpdateMutation", - "selections": (v2/*: any*/) - }, - "params": { - "cacheID": "437d2ec2228356103e851f53d9edb577", - "id": null, - "metadata": {}, - "name": "ContinualImprovementGraphUpdateMutation", - "operationKind": "mutation", - "text": "mutation ContinualImprovementGraphUpdateMutation(\n $input: UpdateContinualImprovementInput!\n) {\n updateContinualImprovement(input: $input) {\n continualImprovement {\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 = "75ef82d455a038a7c60852b7e849284d"; - -export default node; diff --git a/apps/console/src/__generated__/core/ContinualImprovementsPageFragment.graphql.ts b/apps/console/src/__generated__/core/ContinualImprovementsPageFragment.graphql.ts deleted file mode 100644 index 7b89a5ee2..000000000 --- a/apps/console/src/__generated__/core/ContinualImprovementsPageFragment.graphql.ts +++ /dev/null @@ -1,343 +0,0 @@ -/** - * @generated SignedSource<<96a4e00e0e084578f763cf56aa89de2e>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type ContinualImprovementPriority = "HIGH" | "LOW" | "MEDIUM"; -export type ContinualImprovementStatus = "CLOSED" | "IN_PROGRESS" | "OPEN"; -import { FragmentRefs } from "relay-runtime"; -export type ContinualImprovementsPageFragment$data = { - readonly continualImprovements: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly createdAt: string; - readonly description: string | null | undefined; - readonly id: string; - readonly owner: { - readonly fullName: string; - readonly id: string; - }; - readonly priority: ContinualImprovementPriority; - readonly referenceId: string; - readonly snapshotId: string | null | undefined; - readonly source: string | null | undefined; - readonly sourceId: string | null | undefined; - readonly status: ContinualImprovementStatus; - readonly targetDate: string | null | undefined; - readonly updatedAt: string; - }; - }>; - readonly pageInfo: { - readonly endCursor: string | null | undefined; - readonly hasNextPage: boolean; - }; - readonly totalCount: number; - }; - readonly id: string; - readonly " $fragmentType": "ContinualImprovementsPageFragment"; -}; -export type ContinualImprovementsPageFragment$key = { - readonly " $data"?: ContinualImprovementsPageFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"ContinualImprovementsPageFragment">; -}; - -import ContinualImprovementsPageRefetchQuery_graphql from './ContinualImprovementsPageRefetchQuery.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "continualImprovements" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": 10, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": "first", - "cursor": "after", - "direction": "forward", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": null, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": ContinualImprovementsPageRefetchQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "ContinualImprovementsPageFragment", - "selections": [ - (v1/*: any*/), - { - "alias": "continualImprovements", - "args": [ - { - "fields": [ - { - "kind": "Variable", - "name": "snapshotId", - "variableName": "snapshotId" - } - ], - "kind": "ObjectValue", - "name": "filter" - } - ], - "concreteType": "ContinualImprovementConnection", - "kind": "LinkedField", - "name": "__ContinualImprovementsPage_continualImprovements_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "ContinualImprovementEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ContinualImprovement", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sourceId", - "storageKey": null - }, - { - "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": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:continual-improvement:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:continual-improvement:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:continual-improvement:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:continual-improvement:delete\")" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - } - ], - "type": "Organization", - "abstractKey": null -}; -})(); - -(node as any).hash = "ec045ffacd206a4854cb864eadf3ef50"; - -export default node; diff --git a/apps/console/src/__generated__/core/ContinualImprovementsPageRefetchQuery.graphql.ts b/apps/console/src/__generated__/core/ContinualImprovementsPageRefetchQuery.graphql.ts deleted file mode 100644 index 55149c578..000000000 --- a/apps/console/src/__generated__/core/ContinualImprovementsPageRefetchQuery.graphql.ts +++ /dev/null @@ -1,391 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type ContinualImprovementsPageRefetchQuery$variables = { - after?: string | null | undefined; - first?: number | null | undefined; - id: string; - snapshotId?: string | null | undefined; -}; -export type ContinualImprovementsPageRefetchQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"ContinualImprovementsPageFragment">; - }; -}; -export type ContinualImprovementsPageRefetchQuery = { - response: ContinualImprovementsPageRefetchQuery$data; - variables: ContinualImprovementsPageRefetchQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": 10, - "kind": "LocalArgument", - "name": "first" -}, -v2 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v3 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" -}, -v4 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v5 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v6 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v7 = { - "kind": "Variable", - "name": "snapshotId", - "variableName": "snapshotId" -}, -v8 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v10 = [ - (v5/*: any*/), - { - "fields": [ - (v7/*: any*/) - ], - "kind": "ObjectValue", - "name": "filter" - }, - (v6/*: any*/) -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "ContinualImprovementsPageRefetchQuery", - "selections": [ - { - "alias": null, - "args": (v4/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/) - ], - "kind": "FragmentSpread", - "name": "ContinualImprovementsPageFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v3/*: any*/), - (v2/*: any*/) - ], - "kind": "Operation", - "name": "ContinualImprovementsPageRefetchQuery", - "selections": [ - { - "alias": null, - "args": (v4/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v8/*: any*/), - (v9/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v10/*: any*/), - "concreteType": "ContinualImprovementConnection", - "kind": "LinkedField", - "name": "continualImprovements", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "ContinualImprovementEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ContinualImprovement", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v9/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sourceId", - "storageKey": null - }, - { - "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": [ - (v9/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:continual-improvement:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:continual-improvement:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:continual-improvement:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:continual-improvement:delete\")" - }, - (v8/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v10/*: any*/), - "filters": [ - "filter" - ], - "handle": "connection", - "key": "ContinualImprovementsPage_continualImprovements", - "kind": "LinkedHandle", - "name": "continualImprovements" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "a0a9ad9d08da13436195a49ac3fce89c", - "id": null, - "metadata": {}, - "name": "ContinualImprovementsPageRefetchQuery", - "operationKind": "query", - "text": "query ContinualImprovementsPageRefetchQuery(\n $after: CursorKey\n $first: Int = 10\n $snapshotId: ID = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...ContinualImprovementsPageFragment_35e0S5\n id\n }\n}\n\nfragment ContinualImprovementsPageFragment_35e0S5 on Organization {\n id\n continualImprovements(first: $first, after: $after, filter: {snapshotId: $snapshotId}) {\n totalCount\n edges {\n node {\n id\n snapshotId\n sourceId\n referenceId\n description\n source\n targetDate\n status\n priority\n owner {\n id\n fullName\n }\n createdAt\n updatedAt\n canUpdate: permission(action: \"core:continual-improvement:update\")\n canDelete: permission(action: \"core:continual-improvement:delete\")\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "ec045ffacd206a4854cb864eadf3ef50"; - -export default node; diff --git a/apps/console/src/__generated__/core/CreateAuditDialogFrameworksQuery.graphql.ts b/apps/console/src/__generated__/core/CreateAuditDialogFrameworksQuery.graphql.ts deleted file mode 100644 index 858d35e3e..000000000 --- a/apps/console/src/__generated__/core/CreateAuditDialogFrameworksQuery.graphql.ts +++ /dev/null @@ -1,172 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type CreateAuditDialogFrameworksQuery$variables = { - organizationId: string; -}; -export type CreateAuditDialogFrameworksQuery$data = { - readonly organization: { - readonly frameworks?: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly name: string; - }; - }>; - }; - }; -}; -export type CreateAuditDialogFrameworksQuery = { - response: CreateAuditDialogFrameworksQuery$data; - variables: CreateAuditDialogFrameworksQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 100 - } - ], - "concreteType": "FrameworkConnection", - "kind": "LinkedField", - "name": "frameworks", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "FrameworkEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "frameworks(first:100)" - } - ], - "type": "Organization", - "abstractKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "CreateAuditDialogFrameworksQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "CreateAuditDialogFrameworksQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - (v3/*: any*/), - (v2/*: any*/) - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "3b61e88adc92ac47ea6b5810a8d13f18", - "id": null, - "metadata": {}, - "name": "CreateAuditDialogFrameworksQuery", - "operationKind": "query", - "text": "query CreateAuditDialogFrameworksQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n ... on Organization {\n frameworks(first: 100) {\n edges {\n node {\n id\n name\n }\n }\n }\n }\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "ce9f84bb4e6e1e657cdf54bf8a3b4faa"; - -export default node; diff --git a/apps/console/src/__generated__/core/CreateContactDialogMutation.graphql.ts b/apps/console/src/__generated__/core/CreateContactDialogMutation.graphql.ts deleted file mode 100644 index 6330e7ca8..000000000 --- a/apps/console/src/__generated__/core/CreateContactDialogMutation.graphql.ts +++ /dev/null @@ -1,262 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type CreateVendorContactInput = { - email?: string | null | undefined; - fullName?: string | null | undefined; - phone?: string | null | undefined; - role?: string | null | undefined; - vendorId: string; -}; -export type CreateContactDialogMutation$variables = { - connections: ReadonlyArray; - input: CreateVendorContactInput; -}; -export type CreateContactDialogMutation$data = { - readonly createVendorContact: { - readonly vendorContactEdge: { - readonly node: { - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly " $fragmentSpreads": FragmentRefs<"VendorContactsTabFragment_contact">; - }; - }; - }; -}; -export type CreateContactDialogMutation = { - response: CreateContactDialogMutation$data; - variables: CreateContactDialogMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-contact:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-contact:update\")" -}, -v4 = { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-contact:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-contact:delete\")" -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "CreateContactDialogMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateVendorContactPayload", - "kind": "LinkedField", - "name": "createVendorContact", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorContactEdge", - "kind": "LinkedField", - "name": "vendorContactEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorContact", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "VendorContactsTabFragment_contact" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "CreateContactDialogMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateVendorContactPayload", - "kind": "LinkedField", - "name": "createVendorContact", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorContactEdge", - "kind": "LinkedField", - "name": "vendorContactEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorContact", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "email", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "phone", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "role", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "vendorContactEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "ec71338bbc4d5591606e752bdcc0eeaf", - "id": null, - "metadata": {}, - "name": "CreateContactDialogMutation", - "operationKind": "mutation", - "text": "mutation CreateContactDialogMutation(\n $input: CreateVendorContactInput!\n) {\n createVendorContact(input: $input) {\n vendorContactEdge {\n node {\n canUpdate: permission(action: \"core:vendor-contact:update\")\n canDelete: permission(action: \"core:vendor-contact:delete\")\n ...VendorContactsTabFragment_contact\n id\n }\n }\n }\n}\n\nfragment VendorContactsTabFragment_contact on VendorContact {\n id\n fullName\n email\n phone\n role\n createdAt\n updatedAt\n canUpdate: permission(action: \"core:vendor-contact:update\")\n canDelete: permission(action: \"core:vendor-contact:delete\")\n}\n" - } -}; -})(); - -(node as any).hash = "5e50a35ba78497790a49461f684d0541"; - -export default node; diff --git a/apps/console/src/__generated__/core/CreateDocumentDialogMutation.graphql.ts b/apps/console/src/__generated__/core/CreateDocumentDialogMutation.graphql.ts deleted file mode 100644 index 9244ad5e8..000000000 --- a/apps/console/src/__generated__/core/CreateDocumentDialogMutation.graphql.ts +++ /dev/null @@ -1,364 +0,0 @@ -/** - * @generated SignedSource<<8a75dcc06cfe213df84407b8855d73c9>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type DocumentClassification = "CONFIDENTIAL" | "INTERNAL" | "PUBLIC" | "SECRET"; -export type DocumentType = "ISMS" | "OTHER" | "POLICY" | "PROCEDURE"; -export type TrustCenterVisibility = "NONE" | "PRIVATE" | "PUBLIC"; -export type CreateDocumentInput = { - classification: DocumentClassification; - content: string; - documentType: DocumentType; - organizationId: string; - ownerId: string; - title: string; - trustCenterVisibility?: TrustCenterVisibility | null | undefined; -}; -export type CreateDocumentDialogMutation$variables = { - connections: ReadonlyArray; - input: CreateDocumentInput; -}; -export type CreateDocumentDialogMutation$data = { - readonly createDocument: { - readonly documentEdge: { - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"DocumentsPageRowFragment">; - }; - }; - }; -}; -export type CreateDocumentDialogMutation = { - response: CreateDocumentDialogMutation$data; - variables: CreateDocumentDialogMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "CreateDocumentDialogMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateDocumentPayload", - "kind": "LinkedField", - "name": "createDocument", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentEdge", - "kind": "LinkedField", - "name": "documentEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Document", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "DocumentsPageRowFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "CreateDocumentDialogMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateDocumentPayload", - "kind": "LinkedField", - "name": "createDocument", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentEdge", - "kind": "LinkedField", - "name": "documentEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Document", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "title", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "documentType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "classification", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document:delete\")" - }, - { - "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": [ - { - "kind": "Literal", - "name": "first", - "value": 1 - } - ], - "concreteType": "DocumentVersionConnection", - "kind": "LinkedField", - "name": "versions", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersion", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "version", - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 1000 - } - ], - "concreteType": "DocumentVersionSignatureConnection", - "kind": "LinkedField", - "name": "signatures", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionSignatureEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionSignature", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "signatures(first:1000)" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "versions(first:1)" - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "documentEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "8f0e8730a2b85c51592d45cbf4ad8b1e", - "id": null, - "metadata": {}, - "name": "CreateDocumentDialogMutation", - "operationKind": "mutation", - "text": "mutation CreateDocumentDialogMutation(\n $input: CreateDocumentInput!\n) {\n createDocument(input: $input) {\n documentEdge {\n node {\n id\n ...DocumentsPageRowFragment\n }\n }\n }\n}\n\nfragment DocumentsPageRowFragment on Document {\n id\n title\n description\n documentType\n classification\n updatedAt\n canDelete: permission(action: \"core:document:delete\")\n owner {\n id\n fullName\n }\n versions(first: 1) {\n edges {\n node {\n id\n status\n version\n signatures(first: 1000) {\n edges {\n node {\n id\n state\n }\n }\n }\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "19d6bd18594154b918c529d15f7ee8d7"; - -export default node; diff --git a/apps/console/src/__generated__/core/CreateEvidenceDialogUploadMutation.graphql.ts b/apps/console/src/__generated__/core/CreateEvidenceDialogUploadMutation.graphql.ts deleted file mode 100644 index 1f797b2bc..000000000 --- a/apps/console/src/__generated__/core/CreateEvidenceDialogUploadMutation.graphql.ts +++ /dev/null @@ -1,248 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type UploadMeasureEvidenceInput = { - file: any; - measureId: string; -}; -export type CreateEvidenceDialogUploadMutation$variables = { - connections: ReadonlyArray; - input: UploadMeasureEvidenceInput; -}; -export type CreateEvidenceDialogUploadMutation$data = { - readonly uploadMeasureEvidence: { - readonly evidenceEdge: { - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"MeasureEvidencesTabFragment_evidence">; - }; - }; - }; -}; -export type CreateEvidenceDialogUploadMutation = { - response: CreateEvidenceDialogUploadMutation$data; - variables: CreateEvidenceDialogUploadMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "CreateEvidenceDialogUploadMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "UploadMeasureEvidencePayload", - "kind": "LinkedField", - "name": "uploadMeasureEvidence", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "EvidenceEdge", - "kind": "LinkedField", - "name": "evidenceEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Evidence", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "MeasureEvidencesTabFragment_evidence" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "CreateEvidenceDialogUploadMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "UploadMeasureEvidencePayload", - "kind": "LinkedField", - "name": "uploadMeasureEvidence", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "EvidenceEdge", - "kind": "LinkedField", - "name": "evidenceEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Evidence", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "File", - "kind": "LinkedField", - "name": "file", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fileName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "mimeType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "size", - "storageKey": null - }, - (v3/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "type", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:evidence:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:evidence:delete\")" - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "filters": null, - "handle": "appendEdge", - "key": "", - "kind": "LinkedHandle", - "name": "evidenceEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "2fb329c16bcc54a40b95c0204469975c", - "id": null, - "metadata": {}, - "name": "CreateEvidenceDialogUploadMutation", - "operationKind": "mutation", - "text": "mutation CreateEvidenceDialogUploadMutation(\n $input: UploadMeasureEvidenceInput!\n) {\n uploadMeasureEvidence(input: $input) {\n evidenceEdge {\n node {\n id\n ...MeasureEvidencesTabFragment_evidence\n }\n }\n }\n}\n\nfragment MeasureEvidencesTabFragment_evidence on Evidence {\n id\n file {\n fileName\n mimeType\n size\n id\n }\n type\n createdAt\n canDelete: permission(action: \"core:evidence:delete\")\n}\n" - } -}; -})(); - -(node as any).hash = "719cce21cdff705c55dda3de31997a53"; - -export default node; diff --git a/apps/console/src/__generated__/core/CreateMeetingDialogCreateMutation.graphql.ts b/apps/console/src/__generated__/core/CreateMeetingDialogCreateMutation.graphql.ts deleted file mode 100644 index 0d832413d..000000000 --- a/apps/console/src/__generated__/core/CreateMeetingDialogCreateMutation.graphql.ts +++ /dev/null @@ -1,224 +0,0 @@ -/** - * @generated SignedSource<<69b7a1ed2ab1c03ffa4c42638851e3bd>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type CreateMeetingInput = { - attendeeIds?: ReadonlyArray | null | undefined; - date: string; - minutes?: string | null | undefined; - name: string; - organizationId: string; -}; -export type CreateMeetingDialogCreateMutation$variables = { - connections: ReadonlyArray; - input: CreateMeetingInput; -}; -export type CreateMeetingDialogCreateMutation$data = { - readonly createMeeting: { - readonly meetingEdge: { - readonly node: { - readonly attendees: ReadonlyArray<{ - readonly fullName: string; - readonly id: string; - }>; - readonly canDelete: boolean; - readonly date: string; - readonly id: string; - readonly minutes: string | null | undefined; - readonly name: string; - }; - }; - }; -}; -export type CreateMeetingDialogCreateMutation = { - response: CreateMeetingDialogCreateMutation$data; - variables: CreateMeetingDialogCreateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "concreteType": "MeetingEdge", - "kind": "LinkedField", - "name": "meetingEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Meeting", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "date", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "minutes", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "attendees", - "plural": true, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:meeting:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:meeting:delete\")" - } - ], - "storageKey": null - } - ], - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "CreateMeetingDialogCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateMeetingPayload", - "kind": "LinkedField", - "name": "createMeeting", - "plural": false, - "selections": [ - (v4/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "CreateMeetingDialogCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateMeetingPayload", - "kind": "LinkedField", - "name": "createMeeting", - "plural": false, - "selections": [ - (v4/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "meetingEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "6b9dce0e1a88fdf272b516cf59bb4137", - "id": null, - "metadata": {}, - "name": "CreateMeetingDialogCreateMutation", - "operationKind": "mutation", - "text": "mutation CreateMeetingDialogCreateMutation(\n $input: CreateMeetingInput!\n) {\n createMeeting(input: $input) {\n meetingEdge {\n node {\n id\n name\n date\n minutes\n attendees {\n id\n fullName\n }\n canDelete: permission(action: \"core:meeting:delete\")\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "b69925d4ec72b17467f8f50158d02f6f"; - -export default node; diff --git a/apps/console/src/__generated__/core/CreatePeopleDialogMutation.graphql.ts b/apps/console/src/__generated__/core/CreatePeopleDialogMutation.graphql.ts deleted file mode 100644 index e60785e7a..000000000 --- a/apps/console/src/__generated__/core/CreatePeopleDialogMutation.graphql.ts +++ /dev/null @@ -1,234 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type PeopleKind = "CONTRACTOR" | "EMPLOYEE" | "SERVICE_ACCOUNT"; -export type CreatePeopleInput = { - additionalEmailAddresses: ReadonlyArray; - contractEndDate?: string | null | undefined; - contractStartDate?: string | null | undefined; - fullName: string; - kind: PeopleKind; - organizationId: string; - position?: string | null | undefined; - primaryEmailAddress: string; -}; -export type CreatePeopleDialogMutation$variables = { - connections: ReadonlyArray; - input: CreatePeopleInput; -}; -export type CreatePeopleDialogMutation$data = { - readonly createPeople: { - readonly peopleEdge: { - readonly node: { - readonly additionalEmailAddresses: ReadonlyArray; - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly fullName: string; - readonly id: string; - readonly kind: PeopleKind; - readonly position: string | null | undefined; - readonly primaryEmailAddress: string; - }; - }; - }; -}; -export type CreatePeopleDialogMutation = { - response: CreatePeopleDialogMutation$data; - variables: CreatePeopleDialogMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "concreteType": "PeopleEdge", - "kind": "LinkedField", - "name": "peopleEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "primaryEmailAddress", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "position", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "kind", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "additionalEmailAddresses", - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:people:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:people:delete\")" - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:people:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:people:update\")" - } - ], - "storageKey": null - } - ], - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "CreatePeopleDialogMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreatePeoplePayload", - "kind": "LinkedField", - "name": "createPeople", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "CreatePeopleDialogMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreatePeoplePayload", - "kind": "LinkedField", - "name": "createPeople", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "peopleEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "a37ebdda62d99a7583f4082b1fe19c96", - "id": null, - "metadata": {}, - "name": "CreatePeopleDialogMutation", - "operationKind": "mutation", - "text": "mutation CreatePeopleDialogMutation(\n $input: CreatePeopleInput!\n) {\n createPeople(input: $input) {\n peopleEdge {\n node {\n id\n fullName\n primaryEmailAddress\n position\n kind\n additionalEmailAddresses\n canDelete: permission(action: \"core:people:delete\")\n canUpdate: permission(action: \"core:people:update\")\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "d0ba45c21175b69c272a4bf9ff3c4039"; - -export default node; diff --git a/apps/console/src/__generated__/core/CreateRiskAssessmentDialogMutation.graphql.ts b/apps/console/src/__generated__/core/CreateRiskAssessmentDialogMutation.graphql.ts deleted file mode 100644 index a80f7d74a..000000000 --- a/apps/console/src/__generated__/core/CreateRiskAssessmentDialogMutation.graphql.ts +++ /dev/null @@ -1,225 +0,0 @@ -/** - * @generated SignedSource<<2271889b21f5a1f41c2e285a7a9ee1ca>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type BusinessImpact = "CRITICAL" | "HIGH" | "LOW" | "MEDIUM"; -export type DataSensitivity = "CRITICAL" | "HIGH" | "LOW" | "MEDIUM" | "NONE"; -export type CreateVendorRiskAssessmentInput = { - businessImpact: BusinessImpact; - dataSensitivity: DataSensitivity; - expiresAt: string; - notes?: string | null | undefined; - vendorId: string; -}; -export type CreateRiskAssessmentDialogMutation$variables = { - connections: ReadonlyArray; - input: CreateVendorRiskAssessmentInput; -}; -export type CreateRiskAssessmentDialogMutation$data = { - readonly createVendorRiskAssessment: { - readonly vendorRiskAssessmentEdge: { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"VendorRiskAssessmentTabFragment_assessment">; - }; - }; - }; -}; -export type CreateRiskAssessmentDialogMutation = { - response: CreateRiskAssessmentDialogMutation$data; - variables: CreateRiskAssessmentDialogMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "CreateRiskAssessmentDialogMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateVendorRiskAssessmentPayload", - "kind": "LinkedField", - "name": "createVendorRiskAssessment", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorRiskAssessmentEdge", - "kind": "LinkedField", - "name": "vendorRiskAssessmentEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorRiskAssessment", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": null, - "kind": "FragmentSpread", - "name": "VendorRiskAssessmentTabFragment_assessment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "CreateRiskAssessmentDialogMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateVendorRiskAssessmentPayload", - "kind": "LinkedField", - "name": "createVendorRiskAssessment", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorRiskAssessmentEdge", - "kind": "LinkedField", - "name": "vendorRiskAssessmentEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorRiskAssessment", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "expiresAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataSensitivity", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "businessImpact", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "notes", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "vendorRiskAssessmentEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "1bd928ac46edc24d7b7cda3e5d7e2cb2", - "id": null, - "metadata": {}, - "name": "CreateRiskAssessmentDialogMutation", - "operationKind": "mutation", - "text": "mutation CreateRiskAssessmentDialogMutation(\n $input: CreateVendorRiskAssessmentInput!\n) {\n createVendorRiskAssessment(input: $input) {\n vendorRiskAssessmentEdge {\n node {\n ...VendorRiskAssessmentTabFragment_assessment\n id\n }\n }\n }\n}\n\nfragment VendorRiskAssessmentTabFragment_assessment on VendorRiskAssessment {\n id\n createdAt\n expiresAt\n dataSensitivity\n businessImpact\n notes\n}\n" - } -}; -})(); - -(node as any).hash = "1e6753dbe2856b5a1809c15a81eb9861"; - -export default node; diff --git a/apps/console/src/__generated__/core/CreateServiceDialogMutation.graphql.ts b/apps/console/src/__generated__/core/CreateServiceDialogMutation.graphql.ts deleted file mode 100644 index 489dcf5e3..000000000 --- a/apps/console/src/__generated__/core/CreateServiceDialogMutation.graphql.ts +++ /dev/null @@ -1,242 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type CreateVendorServiceInput = { - description?: string | null | undefined; - name: string; - type?: string | null | undefined; - url?: string | null | undefined; - vendorId: string; -}; -export type CreateServiceDialogMutation$variables = { - connections: ReadonlyArray; - input: CreateVendorServiceInput; -}; -export type CreateServiceDialogMutation$data = { - readonly createVendorService: { - readonly vendorServiceEdge: { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"VendorServicesTabFragment_service">; - }; - }; - }; -}; -export type CreateServiceDialogMutation = { - response: CreateServiceDialogMutation$data; - variables: CreateServiceDialogMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "CreateServiceDialogMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateVendorServicePayload", - "kind": "LinkedField", - "name": "createVendorService", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorServiceEdge", - "kind": "LinkedField", - "name": "vendorServiceEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorService", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": null, - "kind": "FragmentSpread", - "name": "VendorServicesTabFragment_service" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "CreateServiceDialogMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateVendorServicePayload", - "kind": "LinkedField", - "name": "createVendorService", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorServiceEdge", - "kind": "LinkedField", - "name": "vendorServiceEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorService", - "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": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-service:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-service:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-service:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-service:delete\")" - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "vendorServiceEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "05250ac44a987544335a9e97eed9d66b", - "id": null, - "metadata": {}, - "name": "CreateServiceDialogMutation", - "operationKind": "mutation", - "text": "mutation CreateServiceDialogMutation(\n $input: CreateVendorServiceInput!\n) {\n createVendorService(input: $input) {\n vendorServiceEdge {\n node {\n ...VendorServicesTabFragment_service\n id\n }\n }\n }\n}\n\nfragment VendorServicesTabFragment_service on VendorService {\n id\n name\n description\n createdAt\n updatedAt\n canUpdate: permission(action: \"core:vendor-service:update\")\n canDelete: permission(action: \"core:vendor-service:delete\")\n}\n" - } -}; -})(); - -(node as any).hash = "8dd0e535bfa15e8ac78b630139b57177"; - -export default node; diff --git a/apps/console/src/__generated__/core/DataListQuery.graphql.ts b/apps/console/src/__generated__/core/DataListQuery.graphql.ts deleted file mode 100644 index 46a2d6758..000000000 --- a/apps/console/src/__generated__/core/DataListQuery.graphql.ts +++ /dev/null @@ -1,452 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type DatumOrderField = "CREATED_AT" | "DATA_CLASSIFICATION" | "NAME"; -export type OrderDirection = "ASC" | "DESC"; -export type DatumOrder = { - direction: OrderDirection; - field: DatumOrderField; -}; -export type DataListQuery$variables = { - after?: string | null | undefined; - before?: string | null | undefined; - first?: number | null | undefined; - id: string; - last?: number | null | undefined; - order?: DatumOrder | null | undefined; - snapshotId?: string | null | undefined; -}; -export type DataListQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"DataPageFragment">; - }; -}; -export type DataListQuery = { - response: DataListQuery$data; - variables: DataListQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" -}, -v2 = { - "defaultValue": 10, - "kind": "LocalArgument", - "name": "first" -}, -v3 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v4 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" -}, -v5 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" -}, -v6 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" -}, -v7 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v8 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v9 = { - "kind": "Variable", - "name": "before", - "variableName": "before" -}, -v10 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v11 = { - "kind": "Variable", - "name": "last", - "variableName": "last" -}, -v12 = { - "kind": "Variable", - "name": "snapshotId", - "variableName": "snapshotId" -}, -v13 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v14 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v15 = [ - (v8/*: any*/), - (v9/*: any*/), - { - "fields": [ - (v12/*: any*/) - ], - "kind": "ObjectValue", - "name": "filter" - }, - (v10/*: any*/), - (v11/*: any*/), - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } -], -v16 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "DataListQuery", - "selections": [ - { - "alias": null, - "args": (v7/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - { - "kind": "Variable", - "name": "order", - "variableName": "order" - }, - (v12/*: any*/) - ], - "kind": "FragmentSpread", - "name": "DataPageFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v3/*: any*/) - ], - "kind": "Operation", - "name": "DataListQuery", - "selections": [ - { - "alias": null, - "args": (v7/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v13/*: any*/), - (v14/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v15/*: any*/), - "concreteType": "DatumConnection", - "kind": "LinkedField", - "name": "data", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DatumEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Datum", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v14/*: any*/), - (v16/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataClassification", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - }, - (v14/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 50 - } - ], - "concreteType": "VendorConnection", - "kind": "LinkedField", - "name": "vendors", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Vendor", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v14/*: any*/), - (v16/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "vendors(first:50)" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:datum:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:datum:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:datum:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:datum:delete\")" - }, - (v13/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v15/*: any*/), - "filters": [ - "filter" - ], - "handle": "connection", - "key": "DataPage_data", - "kind": "LinkedHandle", - "name": "data" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "c022cb17d3ede74899755b606ce95ba9", - "id": null, - "metadata": {}, - "name": "DataListQuery", - "operationKind": "query", - "text": "query DataListQuery(\n $after: CursorKey = null\n $before: CursorKey = null\n $first: Int = 10\n $last: Int = null\n $order: DatumOrder = null\n $snapshotId: ID = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...DataPageFragment_25MC8O\n id\n }\n}\n\nfragment DataPageFragment_25MC8O on Organization {\n data(first: $first, after: $after, last: $last, before: $before, orderBy: $order, filter: {snapshotId: $snapshotId}) {\n edges {\n node {\n id\n name\n dataClassification\n owner {\n fullName\n id\n }\n vendors(first: 50) {\n edges {\n node {\n id\n name\n websiteUrl\n }\n }\n }\n createdAt\n canUpdate: permission(action: \"core:datum:update\")\n canDelete: permission(action: \"core:datum:delete\")\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n" - } -}; -})(); - -(node as any).hash = "9a4453365a733d298ab9f5237fc4153b"; - -export default node; diff --git a/apps/console/src/__generated__/core/DataPageFragment.graphql.ts b/apps/console/src/__generated__/core/DataPageFragment.graphql.ts deleted file mode 100644 index 63e452f29..000000000 --- a/apps/console/src/__generated__/core/DataPageFragment.graphql.ts +++ /dev/null @@ -1,362 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type DataClassification = "CONFIDENTIAL" | "INTERNAL" | "PUBLIC" | "SECRET"; -import { FragmentRefs } from "relay-runtime"; -export type DataPageFragment$data = { - readonly data: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly createdAt: string; - readonly dataClassification: DataClassification; - readonly id: string; - readonly name: string; - readonly owner: { - readonly fullName: string; - }; - readonly vendors: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly name: string; - readonly websiteUrl: string | null | undefined; - }; - }>; - }; - }; - }>; - }; - readonly id: string; - readonly " $fragmentType": "DataPageFragment"; -}; -export type DataPageFragment$key = { - readonly " $data"?: DataPageFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"DataPageFragment">; -}; - -import DataListQuery_graphql from './DataListQuery.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "data" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" - }, - { - "defaultValue": 10, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "bidirectional", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": { - "count": "last", - "cursor": "before" - }, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": DataListQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "DataPageFragment", - "selections": [ - { - "alias": "data", - "args": [ - { - "fields": [ - { - "kind": "Variable", - "name": "snapshotId", - "variableName": "snapshotId" - } - ], - "kind": "ObjectValue", - "name": "filter" - } - ], - "concreteType": "DatumConnection", - "kind": "LinkedField", - "name": "__DataPage_data_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DatumEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Datum", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataClassification", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 50 - } - ], - "concreteType": "VendorConnection", - "kind": "LinkedField", - "name": "vendors", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Vendor", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "vendors(first:50)" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:datum:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:datum:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:datum:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:datum:delete\")" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - (v1/*: any*/) - ], - "type": "Organization", - "abstractKey": null -}; -})(); - -(node as any).hash = "9a4453365a733d298ab9f5237fc4153b"; - -export default node; diff --git a/apps/console/src/__generated__/core/DatumGraphCreateMutation.graphql.ts b/apps/console/src/__generated__/core/DatumGraphCreateMutation.graphql.ts deleted file mode 100644 index 4f4281e76..000000000 --- a/apps/console/src/__generated__/core/DatumGraphCreateMutation.graphql.ts +++ /dev/null @@ -1,297 +0,0 @@ -/** - * @generated SignedSource<<1ca264e989f4edf7a41ac69c09e014d6>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DataClassification = "CONFIDENTIAL" | "INTERNAL" | "PUBLIC" | "SECRET"; -export type CreateDatumInput = { - dataClassification: DataClassification; - name: string; - organizationId: string; - ownerId: string; - vendorIds?: ReadonlyArray | null | undefined; -}; -export type DatumGraphCreateMutation$variables = { - connections: ReadonlyArray; - input: CreateDatumInput; -}; -export type DatumGraphCreateMutation$data = { - readonly createDatum: { - readonly datumEdge: { - readonly node: { - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly createdAt: string; - readonly dataClassification: DataClassification; - readonly id: string; - readonly name: string; - readonly owner: { - readonly fullName: string; - readonly id: string; - }; - readonly vendors: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly name: string; - readonly websiteUrl: string | null | undefined; - }; - }>; - }; - }; - }; - }; -}; -export type DatumGraphCreateMutation = { - response: DatumGraphCreateMutation$data; - variables: DatumGraphCreateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -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, - "concreteType": "DatumEdge", - "kind": "LinkedField", - "name": "datumEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Datum", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataClassification", - "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": [ - { - "kind": "Literal", - "name": "first", - "value": 50 - } - ], - "concreteType": "VendorConnection", - "kind": "LinkedField", - "name": "vendors", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Vendor", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "vendors(first:50)" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:datum:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:datum:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:datum:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:datum:delete\")" - } - ], - "storageKey": null - } - ], - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "DatumGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateDatumPayload", - "kind": "LinkedField", - "name": "createDatum", - "plural": false, - "selections": [ - (v5/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "DatumGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateDatumPayload", - "kind": "LinkedField", - "name": "createDatum", - "plural": false, - "selections": [ - (v5/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "datumEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "37d345acfe37d5edf653d021f8aad43c", - "id": null, - "metadata": {}, - "name": "DatumGraphCreateMutation", - "operationKind": "mutation", - "text": "mutation DatumGraphCreateMutation(\n $input: CreateDatumInput!\n) {\n createDatum(input: $input) {\n datumEdge {\n node {\n id\n name\n dataClassification\n owner {\n id\n fullName\n }\n vendors(first: 50) {\n edges {\n node {\n id\n name\n websiteUrl\n }\n }\n }\n createdAt\n canUpdate: permission(action: \"core:datum:update\")\n canDelete: permission(action: \"core:datum:delete\")\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "db4781176e1b58224619f8237af92716"; - -export default node; diff --git a/apps/console/src/__generated__/core/DatumGraphDeleteMutation.graphql.ts b/apps/console/src/__generated__/core/DatumGraphDeleteMutation.graphql.ts deleted file mode 100644 index f288f8b8a..000000000 --- a/apps/console/src/__generated__/core/DatumGraphDeleteMutation.graphql.ts +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @generated SignedSource<<50c6ee9ebfd56ffeac153d8613118345>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteDatumInput = { - datumId: string; -}; -export type DatumGraphDeleteMutation$variables = { - connections: ReadonlyArray; - input: DeleteDatumInput; -}; -export type DatumGraphDeleteMutation$data = { - readonly deleteDatum: { - readonly deletedDatumId: string; - }; -}; -export type DatumGraphDeleteMutation = { - response: DatumGraphDeleteMutation$data; - variables: DatumGraphDeleteMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedDatumId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "DatumGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteDatumPayload", - "kind": "LinkedField", - "name": "deleteDatum", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "DatumGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteDatumPayload", - "kind": "LinkedField", - "name": "deleteDatum", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedDatumId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "c8ac1dfe4d44edfa33008bfc92dee99d", - "id": null, - "metadata": {}, - "name": "DatumGraphDeleteMutation", - "operationKind": "mutation", - "text": "mutation DatumGraphDeleteMutation(\n $input: DeleteDatumInput!\n) {\n deleteDatum(input: $input) {\n deletedDatumId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "1d6ffd466ce547e7377669b6ba567b9d"; - -export default node; diff --git a/apps/console/src/__generated__/core/DatumGraphListQuery.graphql.ts b/apps/console/src/__generated__/core/DatumGraphListQuery.graphql.ts deleted file mode 100644 index 001cc6d57..000000000 --- a/apps/console/src/__generated__/core/DatumGraphListQuery.graphql.ts +++ /dev/null @@ -1,390 +0,0 @@ -/** - * @generated SignedSource<<034a68d54259fb22cf2d563699ad4257>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type DatumGraphListQuery$variables = { - organizationId: string; - snapshotId?: string | null | undefined; -}; -export type DatumGraphListQuery$data = { - readonly node: { - readonly canCreateDatum?: boolean; - readonly " $fragmentSpreads": FragmentRefs<"DataPageFragment">; - }; -}; -export type DatumGraphListQuery = { - response: DatumGraphListQuery$data; - variables: DatumGraphListQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": "canCreateDatum", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:datum:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:datum:create\")" -}, -v3 = [ - { - "kind": "Variable", - "name": "snapshotId", - "variableName": "snapshotId" - } -], -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v6 = [ - { - "fields": (v3/*: any*/), - "kind": "ObjectValue", - "name": "filter" - }, - { - "kind": "Literal", - "name": "first", - "value": 10 - } -], -v7 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "DatumGraphListQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - { - "args": (v3/*: any*/), - "kind": "FragmentSpread", - "name": "DataPageFragment" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "DatumGraphListQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v4/*: any*/), - (v5/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": "DatumConnection", - "kind": "LinkedField", - "name": "data", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DatumEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Datum", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v5/*: any*/), - (v7/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataClassification", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - }, - (v5/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 50 - } - ], - "concreteType": "VendorConnection", - "kind": "LinkedField", - "name": "vendors", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Vendor", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v5/*: any*/), - (v7/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "vendors(first:50)" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:datum:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:datum:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:datum:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:datum:delete\")" - }, - (v4/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v6/*: any*/), - "filters": [ - "filter" - ], - "handle": "connection", - "key": "DataPage_data", - "kind": "LinkedHandle", - "name": "data" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "203f6661d76c730336cffaa96b631ab8", - "id": null, - "metadata": {}, - "name": "DatumGraphListQuery", - "operationKind": "query", - "text": "query DatumGraphListQuery(\n $organizationId: ID!\n $snapshotId: ID = null\n) {\n node(id: $organizationId) {\n __typename\n ... on Organization {\n canCreateDatum: permission(action: \"core:datum:create\")\n ...DataPageFragment_3iomuz\n }\n id\n }\n}\n\nfragment DataPageFragment_3iomuz on Organization {\n data(first: 10, filter: {snapshotId: $snapshotId}) {\n edges {\n node {\n id\n name\n dataClassification\n owner {\n fullName\n id\n }\n vendors(first: 50) {\n edges {\n node {\n id\n name\n websiteUrl\n }\n }\n }\n createdAt\n canUpdate: permission(action: \"core:datum:update\")\n canDelete: permission(action: \"core:datum:delete\")\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n" - } -}; -})(); - -(node as any).hash = "e071e19eda0d4c105668ffd9671399bd"; - -export default node; diff --git a/apps/console/src/__generated__/core/DatumGraphNodeQuery.graphql.ts b/apps/console/src/__generated__/core/DatumGraphNodeQuery.graphql.ts deleted file mode 100644 index f518947a9..000000000 --- a/apps/console/src/__generated__/core/DatumGraphNodeQuery.graphql.ts +++ /dev/null @@ -1,317 +0,0 @@ -/** - * @generated SignedSource<<8d632b2e4ce8734fd47c3b2251cd61b9>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DataClassification = "CONFIDENTIAL" | "INTERNAL" | "PUBLIC" | "SECRET"; -export type VendorCategory = "ANALYTICS" | "CLOUD_MONITORING" | "CLOUD_PROVIDER" | "COLLABORATION" | "CUSTOMER_SUPPORT" | "DATA_STORAGE_AND_PROCESSING" | "DOCUMENT_MANAGEMENT" | "EMPLOYEE_MANAGEMENT" | "ENGINEERING" | "FINANCE" | "IDENTITY_PROVIDER" | "IT" | "MARKETING" | "OFFICE_OPERATIONS" | "OTHER" | "PASSWORD_MANAGEMENT" | "PRODUCT_AND_DESIGN" | "PROFESSIONAL_SERVICES" | "RECRUITING" | "SALES" | "SECURITY" | "VERSION_CONTROL"; -export type DatumGraphNodeQuery$variables = { - dataId: string; -}; -export type DatumGraphNodeQuery$data = { - readonly node: { - readonly canDelete?: boolean; - readonly canUpdate?: boolean; - readonly createdAt?: string; - readonly dataClassification?: DataClassification; - readonly id?: string; - readonly name?: string; - readonly organization?: { - readonly id: string; - }; - readonly owner?: { - readonly fullName: string; - readonly id: string; - }; - readonly snapshotId?: string | null | undefined; - readonly updatedAt?: string; - readonly vendors?: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly category: VendorCategory; - readonly id: string; - readonly name: string; - readonly websiteUrl: string | null | undefined; - }; - }>; - }; - }; -}; -export type DatumGraphNodeQuery = { - response: DatumGraphNodeQuery$data; - variables: DatumGraphNodeQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "dataId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "dataId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataClassification", - "storageKey": null -}, -v6 = { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null -}, -v7 = { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 50 - } - ], - "concreteType": "VendorConnection", - "kind": "LinkedField", - "name": "vendors", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Vendor", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v4/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "category", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "vendors(first:50)" -}, -v8 = { - "alias": null, - "args": null, - "concreteType": "Organization", - "kind": "LinkedField", - "name": "organization", - "plural": false, - "selections": [ - (v2/*: any*/) - ], - "storageKey": null -}, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null -}, -v10 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null -}, -v11 = { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:datum:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:datum:update\")" -}, -v12 = { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:datum:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:datum:delete\")" -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "DatumGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v12/*: any*/) - ], - "type": "Datum", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "DatumGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v12/*: any*/) - ], - "type": "Datum", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "036588bb9b3daffb20c9d01a708976ac", - "id": null, - "metadata": {}, - "name": "DatumGraphNodeQuery", - "operationKind": "query", - "text": "query DatumGraphNodeQuery(\n $dataId: ID!\n) {\n node(id: $dataId) {\n __typename\n ... on Datum {\n id\n snapshotId\n name\n dataClassification\n owner {\n id\n fullName\n }\n vendors(first: 50) {\n edges {\n node {\n id\n name\n websiteUrl\n category\n }\n }\n }\n organization {\n id\n }\n createdAt\n updatedAt\n canUpdate: permission(action: \"core:datum:update\")\n canDelete: permission(action: \"core:datum:delete\")\n }\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "2b2e220e0bdd98bbee7ea72a00db7a61"; - -export default node; diff --git a/apps/console/src/__generated__/core/DatumGraphUpdateMutation.graphql.ts b/apps/console/src/__generated__/core/DatumGraphUpdateMutation.graphql.ts deleted file mode 100644 index 4a9287afb..000000000 --- a/apps/console/src/__generated__/core/DatumGraphUpdateMutation.graphql.ts +++ /dev/null @@ -1,216 +0,0 @@ -/** - * @generated SignedSource<<34155e0367247c7503956fc623839d7f>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DataClassification = "CONFIDENTIAL" | "INTERNAL" | "PUBLIC" | "SECRET"; -export type UpdateDatumInput = { - dataClassification?: DataClassification | null | undefined; - id: string; - name?: string | null | undefined; - ownerId?: string | null | undefined; - vendorIds?: ReadonlyArray | null | undefined; -}; -export type DatumGraphUpdateMutation$variables = { - input: UpdateDatumInput; -}; -export type DatumGraphUpdateMutation$data = { - readonly updateDatum: { - readonly datum: { - readonly dataClassification: DataClassification; - readonly id: string; - readonly name: string; - readonly owner: { - readonly fullName: string; - readonly id: string; - }; - readonly updatedAt: string; - readonly vendors: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly name: string; - readonly websiteUrl: string | null | undefined; - }; - }>; - }; - }; - }; -}; -export type DatumGraphUpdateMutation = { - response: DatumGraphUpdateMutation$data; - variables: DatumGraphUpdateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v3 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UpdateDatumPayload", - "kind": "LinkedField", - "name": "updateDatum", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Datum", - "kind": "LinkedField", - "name": "datum", - "plural": false, - "selections": [ - (v1/*: any*/), - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataClassification", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 50 - } - ], - "concreteType": "VendorConnection", - "kind": "LinkedField", - "name": "vendors", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Vendor", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "vendors(first:50)" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "DatumGraphUpdateMutation", - "selections": (v3/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "DatumGraphUpdateMutation", - "selections": (v3/*: any*/) - }, - "params": { - "cacheID": "0dbe0c32132e627730510b4bdddf5e84", - "id": null, - "metadata": {}, - "name": "DatumGraphUpdateMutation", - "operationKind": "mutation", - "text": "mutation DatumGraphUpdateMutation(\n $input: UpdateDatumInput!\n) {\n updateDatum(input: $input) {\n datum {\n id\n name\n dataClassification\n owner {\n id\n fullName\n }\n vendors(first: 50) {\n edges {\n node {\n id\n name\n websiteUrl\n }\n }\n }\n updatedAt\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "682e71be938af8024fed4dcfb65e2ff3"; - -export default node; diff --git a/apps/console/src/__generated__/core/DeleteBusinessAssociateAgreementDialogMutation.graphql.ts b/apps/console/src/__generated__/core/DeleteBusinessAssociateAgreementDialogMutation.graphql.ts deleted file mode 100644 index 974664c2d..000000000 --- a/apps/console/src/__generated__/core/DeleteBusinessAssociateAgreementDialogMutation.graphql.ts +++ /dev/null @@ -1,92 +0,0 @@ -/** - * @generated SignedSource<<26343418dbdd4baf63f2846470e2d3ab>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteVendorBusinessAssociateAgreementInput = { - vendorId: string; -}; -export type DeleteBusinessAssociateAgreementDialogMutation$variables = { - input: DeleteVendorBusinessAssociateAgreementInput; -}; -export type DeleteBusinessAssociateAgreementDialogMutation$data = { - readonly deleteVendorBusinessAssociateAgreement: { - readonly deletedVendorId: string; - }; -}; -export type DeleteBusinessAssociateAgreementDialogMutation = { - response: DeleteBusinessAssociateAgreementDialogMutation$data; - variables: DeleteBusinessAssociateAgreementDialogMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "DeleteVendorBusinessAssociateAgreementPayload", - "kind": "LinkedField", - "name": "deleteVendorBusinessAssociateAgreement", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedVendorId", - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "DeleteBusinessAssociateAgreementDialogMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "DeleteBusinessAssociateAgreementDialogMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "c8aa903ee410ee9e591c82f7f75e044c", - "id": null, - "metadata": {}, - "name": "DeleteBusinessAssociateAgreementDialogMutation", - "operationKind": "mutation", - "text": "mutation DeleteBusinessAssociateAgreementDialogMutation(\n $input: DeleteVendorBusinessAssociateAgreementInput!\n) {\n deleteVendorBusinessAssociateAgreement(input: $input) {\n deletedVendorId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "39106d060e4e1da4eaa78a8205fe7cf8"; - -export default node; diff --git a/apps/console/src/__generated__/core/DeleteDataPrivacyAgreementDialogMutation.graphql.ts b/apps/console/src/__generated__/core/DeleteDataPrivacyAgreementDialogMutation.graphql.ts deleted file mode 100644 index a4a21e0a7..000000000 --- a/apps/console/src/__generated__/core/DeleteDataPrivacyAgreementDialogMutation.graphql.ts +++ /dev/null @@ -1,92 +0,0 @@ -/** - * @generated SignedSource<<4d1711d74f82bc8952b162a37dd8931e>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteVendorDataPrivacyAgreementInput = { - vendorId: string; -}; -export type DeleteDataPrivacyAgreementDialogMutation$variables = { - input: DeleteVendorDataPrivacyAgreementInput; -}; -export type DeleteDataPrivacyAgreementDialogMutation$data = { - readonly deleteVendorDataPrivacyAgreement: { - readonly deletedVendorId: string; - }; -}; -export type DeleteDataPrivacyAgreementDialogMutation = { - response: DeleteDataPrivacyAgreementDialogMutation$data; - variables: DeleteDataPrivacyAgreementDialogMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "DeleteVendorDataPrivacyAgreementPayload", - "kind": "LinkedField", - "name": "deleteVendorDataPrivacyAgreement", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedVendorId", - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "DeleteDataPrivacyAgreementDialogMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "DeleteDataPrivacyAgreementDialogMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "683fac4979ff59534ce2acaa05d82063", - "id": null, - "metadata": {}, - "name": "DeleteDataPrivacyAgreementDialogMutation", - "operationKind": "mutation", - "text": "mutation DeleteDataPrivacyAgreementDialogMutation(\n $input: DeleteVendorDataPrivacyAgreementInput!\n) {\n deleteVendorDataPrivacyAgreement(input: $input) {\n deletedVendorId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "38cb9bcb710db551eda7ed8cff9fca5a"; - -export default node; diff --git a/apps/console/src/__generated__/core/DeleteDomainDialogMutation.graphql.ts b/apps/console/src/__generated__/core/DeleteDomainDialogMutation.graphql.ts deleted file mode 100644 index 4309d09f2..000000000 --- a/apps/console/src/__generated__/core/DeleteDomainDialogMutation.graphql.ts +++ /dev/null @@ -1,92 +0,0 @@ -/** - * @generated SignedSource<<4f27f16c09a86fda0f17b4d33866fcb2>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteCustomDomainInput = { - organizationId: string; -}; -export type DeleteDomainDialogMutation$variables = { - input: DeleteCustomDomainInput; -}; -export type DeleteDomainDialogMutation$data = { - readonly deleteCustomDomain: { - readonly deletedCustomDomainId: string; - }; -}; -export type DeleteDomainDialogMutation = { - response: DeleteDomainDialogMutation$data; - variables: DeleteDomainDialogMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "DeleteCustomDomainPayload", - "kind": "LinkedField", - "name": "deleteCustomDomain", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedCustomDomainId", - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "DeleteDomainDialogMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "DeleteDomainDialogMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "68e7fb0109af8d99c9947e5ef2314ad2", - "id": null, - "metadata": {}, - "name": "DeleteDomainDialogMutation", - "operationKind": "mutation", - "text": "mutation DeleteDomainDialogMutation(\n $input: DeleteCustomDomainInput!\n) {\n deleteCustomDomain(input: $input) {\n deletedCustomDomainId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "4ff39445b000bd5416e04e1460f11571"; - -export default node; diff --git a/apps/console/src/__generated__/core/DocumentControlsTabControlsQuery.graphql.ts b/apps/console/src/__generated__/core/DocumentControlsTabControlsQuery.graphql.ts deleted file mode 100644 index b1468e986..000000000 --- a/apps/console/src/__generated__/core/DocumentControlsTabControlsQuery.graphql.ts +++ /dev/null @@ -1,363 +0,0 @@ -/** - * @generated SignedSource<<9b0874e62bfe3cc79cbf2853e7571ae2>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type ControlOrderField = "CREATED_AT" | "SECTION_TITLE"; -export type OrderDirection = "ASC" | "DESC"; -export type ControlFilter = { - query?: string | null | undefined; -}; -export type ControlOrder = { - direction: OrderDirection; - field: ControlOrderField; -}; -export type DocumentControlsTabControlsQuery$variables = { - after?: string | null | undefined; - before?: string | null | undefined; - filter?: ControlFilter | null | undefined; - first?: number | null | undefined; - id: string; - last?: number | null | undefined; - order?: ControlOrder | null | undefined; -}; -export type DocumentControlsTabControlsQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"DocumentControlsTabFragment">; - }; -}; -export type DocumentControlsTabControlsQuery = { - response: DocumentControlsTabControlsQuery$data; - variables: DocumentControlsTabControlsQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" -}, -v2 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "filter" -}, -v3 = { - "defaultValue": 20, - "kind": "LocalArgument", - "name": "first" -}, -v4 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v5 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" -}, -v6 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" -}, -v7 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v8 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v9 = { - "kind": "Variable", - "name": "before", - "variableName": "before" -}, -v10 = { - "kind": "Variable", - "name": "filter", - "variableName": "filter" -}, -v11 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v12 = { - "kind": "Variable", - "name": "last", - "variableName": "last" -}, -v13 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v14 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v15 = [ - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v12/*: any*/), - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } -], -v16 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "DocumentControlsTabControlsQuery", - "selections": [ - { - "alias": null, - "args": (v7/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v12/*: any*/), - { - "kind": "Variable", - "name": "order", - "variableName": "order" - } - ], - "kind": "FragmentSpread", - "name": "DocumentControlsTabFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v4/*: any*/) - ], - "kind": "Operation", - "name": "DocumentControlsTabControlsQuery", - "selections": [ - { - "alias": null, - "args": (v7/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v13/*: any*/), - (v14/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v15/*: any*/), - "concreteType": "ControlConnection", - "kind": "LinkedField", - "name": "controls", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ControlEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Control", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v14/*: any*/), - (v16/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sectionTitle", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v14/*: any*/), - (v16/*: any*/) - ], - "storageKey": null - }, - (v13/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v15/*: any*/), - "filters": [ - "orderBy", - "filter" - ], - "handle": "connection", - "key": "DocumentControlsTab_controls", - "kind": "LinkedHandle", - "name": "controls" - } - ], - "type": "Document", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "3640a2f9f03d965c268474fdfb4aa5e0", - "id": null, - "metadata": {}, - "name": "DocumentControlsTabControlsQuery", - "operationKind": "query", - "text": "query DocumentControlsTabControlsQuery(\n $after: CursorKey\n $before: CursorKey = null\n $filter: ControlFilter = null\n $first: Int = 20\n $last: Int = null\n $order: ControlOrder = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...DocumentControlsTabFragment_4cFWzS\n id\n }\n}\n\nfragment DocumentControlsTabFragment_4cFWzS on Document {\n id\n controls(first: $first, after: $after, last: $last, before: $before, orderBy: $order, filter: $filter) {\n edges {\n node {\n id\n ...LinkedControlsCardFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n}\n\nfragment LinkedControlsCardFragment on Control {\n id\n name\n sectionTitle\n framework {\n id\n name\n }\n}\n" - } -}; -})(); - -(node as any).hash = "c1b6d5212b3fa33f60c02ddee32d5cea"; - -export default node; diff --git a/apps/console/src/__generated__/core/DocumentControlsTabFragment.graphql.ts b/apps/console/src/__generated__/core/DocumentControlsTabFragment.graphql.ts deleted file mode 100644 index a551f40b2..000000000 --- a/apps/console/src/__generated__/core/DocumentControlsTabFragment.graphql.ts +++ /dev/null @@ -1,235 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type DocumentControlsTabFragment$data = { - readonly controls: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"LinkedControlsCardFragment">; - }; - }>; - }; - readonly id: string; - readonly " $fragmentType": "DocumentControlsTabFragment"; -}; -export type DocumentControlsTabFragment$key = { - readonly " $data"?: DocumentControlsTabFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"DocumentControlsTabFragment">; -}; - -import DocumentControlsTabControlsQuery_graphql from './DocumentControlsTabControlsQuery.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "controls" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "filter" - }, - { - "defaultValue": 20, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "bidirectional", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": { - "count": "last", - "cursor": "before" - }, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": DocumentControlsTabControlsQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "DocumentControlsTabFragment", - "selections": [ - (v1/*: any*/), - { - "alias": "controls", - "args": [ - { - "kind": "Variable", - "name": "filter", - "variableName": "filter" - }, - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } - ], - "concreteType": "ControlConnection", - "kind": "LinkedField", - "name": "__DocumentControlsTab_controls_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ControlEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Control", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "LinkedControlsCardFragment" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - } - ], - "type": "Document", - "abstractKey": null -}; -})(); - -(node as any).hash = "c1b6d5212b3fa33f60c02ddee32d5cea"; - -export default node; diff --git a/apps/console/src/__generated__/core/DocumentControlsTab_attachControlMutation.graphql.ts b/apps/console/src/__generated__/core/DocumentControlsTab_attachControlMutation.graphql.ts deleted file mode 100644 index 245f852ad..000000000 --- a/apps/console/src/__generated__/core/DocumentControlsTab_attachControlMutation.graphql.ts +++ /dev/null @@ -1,216 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type CreateControlDocumentMappingInput = { - controlId: string; - documentId: string; -}; -export type DocumentControlsTab_attachControlMutation$variables = { - connections: ReadonlyArray; - input: CreateControlDocumentMappingInput; -}; -export type DocumentControlsTab_attachControlMutation$data = { - readonly createControlDocumentMapping: { - readonly controlEdge: { - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"LinkedControlsCardFragment">; - }; - }; - }; -}; -export type DocumentControlsTab_attachControlMutation = { - response: DocumentControlsTab_attachControlMutation$data; - variables: DocumentControlsTab_attachControlMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "DocumentControlsTab_attachControlMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateControlDocumentMappingPayload", - "kind": "LinkedField", - "name": "createControlDocumentMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ControlEdge", - "kind": "LinkedField", - "name": "controlEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Control", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "LinkedControlsCardFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "DocumentControlsTab_attachControlMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateControlDocumentMappingPayload", - "kind": "LinkedField", - "name": "createControlDocumentMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ControlEdge", - "kind": "LinkedField", - "name": "controlEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Control", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sectionTitle", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "controlEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "5506b27c88242f338e0d004c27f644de", - "id": null, - "metadata": {}, - "name": "DocumentControlsTab_attachControlMutation", - "operationKind": "mutation", - "text": "mutation DocumentControlsTab_attachControlMutation(\n $input: CreateControlDocumentMappingInput!\n) {\n createControlDocumentMapping(input: $input) {\n controlEdge {\n node {\n id\n ...LinkedControlsCardFragment\n }\n }\n }\n}\n\nfragment LinkedControlsCardFragment on Control {\n id\n name\n sectionTitle\n framework {\n id\n name\n }\n}\n" - } -}; -})(); - -(node as any).hash = "273f0d619a2be7df7451e7354c53315a"; - -export default node; diff --git a/apps/console/src/__generated__/core/DocumentControlsTab_detachControlMutation.graphql.ts b/apps/console/src/__generated__/core/DocumentControlsTab_detachControlMutation.graphql.ts deleted file mode 100644 index 0ab2dc982..000000000 --- a/apps/console/src/__generated__/core/DocumentControlsTab_detachControlMutation.graphql.ts +++ /dev/null @@ -1,133 +0,0 @@ -/** - * @generated SignedSource<<5c230fb025256fb7a5281ee5ecd3ccf4>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteControlDocumentMappingInput = { - controlId: string; - documentId: string; -}; -export type DocumentControlsTab_detachControlMutation$variables = { - connections: ReadonlyArray; - input: DeleteControlDocumentMappingInput; -}; -export type DocumentControlsTab_detachControlMutation$data = { - readonly deleteControlDocumentMapping: { - readonly deletedControlId: string; - }; -}; -export type DocumentControlsTab_detachControlMutation = { - response: DocumentControlsTab_detachControlMutation$data; - variables: DocumentControlsTab_detachControlMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedControlId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "DocumentControlsTab_detachControlMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteControlDocumentMappingPayload", - "kind": "LinkedField", - "name": "deleteControlDocumentMapping", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "DocumentControlsTab_detachControlMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteControlDocumentMappingPayload", - "kind": "LinkedField", - "name": "deleteControlDocumentMapping", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedControlId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "fce801689ab578a47c33a50c60fc4cd7", - "id": null, - "metadata": {}, - "name": "DocumentControlsTab_detachControlMutation", - "operationKind": "mutation", - "text": "mutation DocumentControlsTab_detachControlMutation(\n $input: DeleteControlDocumentMappingInput!\n) {\n deleteControlDocumentMapping(input: $input) {\n deletedControlId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "39c5b39c08ba37d06f5e0cfedc707a25"; - -export default node; diff --git a/apps/console/src/__generated__/core/DocumentDetailPageDocumentFragment.graphql.ts b/apps/console/src/__generated__/core/DocumentDetailPageDocumentFragment.graphql.ts deleted file mode 100644 index 67d727c60..000000000 --- a/apps/console/src/__generated__/core/DocumentDetailPageDocumentFragment.graphql.ts +++ /dev/null @@ -1,429 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type DocumentClassification = "CONFIDENTIAL" | "INTERNAL" | "PUBLIC" | "SECRET"; -export type DocumentStatus = "DRAFT" | "PUBLISHED"; -export type DocumentType = "ISMS" | "OTHER" | "POLICY" | "PROCEDURE"; -export type DocumentVersionSignatureState = "REQUESTED" | "SIGNED"; -import { FragmentRefs } from "relay-runtime"; -export type DocumentDetailPageDocumentFragment$data = { - readonly canDelete: boolean; - readonly canPublish: boolean; - readonly canUpdate: boolean; - readonly classification: DocumentClassification; - readonly controlsInfo: { - readonly totalCount: number; - }; - readonly documentType: DocumentType; - readonly id: string; - readonly owner: { - readonly fullName: string; - readonly id: string; - }; - readonly title: string; - readonly versions: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly canDeleteDraft: boolean; - readonly classification: DocumentClassification; - readonly content: string; - readonly id: string; - readonly owner: { - readonly fullName: string; - readonly id: string; - }; - readonly publishedAt: string | null | undefined; - readonly signatures: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly signedBy: { - readonly id: string; - }; - readonly state: DocumentVersionSignatureState; - readonly " $fragmentSpreads": FragmentRefs<"DocumentSignaturesTab_signature">; - }; - }>; - }; - readonly status: DocumentStatus; - readonly updatedAt: string; - readonly version: number; - readonly " $fragmentSpreads": FragmentRefs<"DocumentSignaturesTab_version">; - }; - }>; - }; - readonly " $fragmentSpreads": FragmentRefs<"DocumentControlsTabFragment">; - readonly " $fragmentType": "DocumentDetailPageDocumentFragment"; -}; -export type DocumentDetailPageDocumentFragment$key = { - readonly " $data"?: DocumentDetailPageDocumentFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"DocumentDetailPageDocumentFragment">; -}; - -const node: ReaderFragment = (function(){ -var v0 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "classification", - "storageKey": null -}, -v2 = { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - } - ], - "storageKey": null -}, -v6 = { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] -}; -return { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "forward", - "path": null - }, - { - "count": null, - "cursor": null, - "direction": "forward", - "path": [ - "versions" - ] - } - ] - }, - "name": "DocumentDetailPageDocumentFragment", - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "title", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "documentType", - "storageKey": null - }, - (v1/*: any*/), - (v2/*: any*/), - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document:delete\")" - }, - { - "alias": "canPublish", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document-version:publish" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document-version:publish\")" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "DocumentControlsTabFragment" - }, - { - "alias": "controlsInfo", - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 0 - } - ], - "concreteType": "ControlConnection", - "kind": "LinkedField", - "name": "controls", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - } - ], - "storageKey": "controls(first:0)" - }, - { - "alias": "versions", - "args": null, - "concreteType": "DocumentVersionConnection", - "kind": "LinkedField", - "name": "__DocumentDetailPage_versions_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersion", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "content", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "publishedAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "version", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - (v1/*: any*/), - (v2/*: any*/), - { - "alias": "canDeleteDraft", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document-version:delete-draft" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document-version:delete-draft\")" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "DocumentSignaturesTab_version" - }, - { - "alias": "signatures", - "args": null, - "concreteType": "DocumentVersionSignatureConnection", - "kind": "LinkedField", - "name": "__DocumentDetailPage_signatures_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionSignatureEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionSignature", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "signedBy", - "plural": false, - "selections": [ - (v0/*: any*/) - ], - "storageKey": null - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "DocumentSignaturesTab_signature" - }, - (v3/*: any*/) - ], - "storageKey": null - }, - (v4/*: any*/) - ], - "storageKey": null - }, - (v5/*: any*/), - (v6/*: any*/) - ], - "storageKey": null - }, - (v3/*: any*/) - ], - "storageKey": null - }, - (v4/*: any*/) - ], - "storageKey": null - }, - (v5/*: any*/), - (v6/*: any*/) - ], - "storageKey": null - } - ], - "type": "Document", - "abstractKey": null -}; -})(); - -(node as any).hash = "5ed2f764b1587dd945b0a10c33cee729"; - -export default node; diff --git a/apps/console/src/__generated__/core/DocumentDetailPageExportPDFMutation.graphql.ts b/apps/console/src/__generated__/core/DocumentDetailPageExportPDFMutation.graphql.ts deleted file mode 100644 index 2797db967..000000000 --- a/apps/console/src/__generated__/core/DocumentDetailPageExportPDFMutation.graphql.ts +++ /dev/null @@ -1,95 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type ExportDocumentVersionPDFInput = { - documentVersionId: string; - watermarkEmail?: string | null | undefined; - withSignatures: boolean; - withWatermark: boolean; -}; -export type DocumentDetailPageExportPDFMutation$variables = { - input: ExportDocumentVersionPDFInput; -}; -export type DocumentDetailPageExportPDFMutation$data = { - readonly exportDocumentVersionPDF: { - readonly data: string; - }; -}; -export type DocumentDetailPageExportPDFMutation = { - response: DocumentDetailPageExportPDFMutation$data; - variables: DocumentDetailPageExportPDFMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "ExportDocumentVersionPDFPayload", - "kind": "LinkedField", - "name": "exportDocumentVersionPDF", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "data", - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "DocumentDetailPageExportPDFMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "DocumentDetailPageExportPDFMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "4c17d48a790ff5f1617c7db604766b83", - "id": null, - "metadata": {}, - "name": "DocumentDetailPageExportPDFMutation", - "operationKind": "mutation", - "text": "mutation DocumentDetailPageExportPDFMutation(\n $input: ExportDocumentVersionPDFInput!\n) {\n exportDocumentVersionPDF(input: $input) {\n data\n }\n}\n" - } -}; -})(); - -(node as any).hash = "e8854650389c3ebd1020ec278d8be831"; - -export default node; diff --git a/apps/console/src/__generated__/core/DocumentDetailPagePublishMutation.graphql.ts b/apps/console/src/__generated__/core/DocumentDetailPagePublishMutation.graphql.ts deleted file mode 100644 index 90073e5e1..000000000 --- a/apps/console/src/__generated__/core/DocumentDetailPagePublishMutation.graphql.ts +++ /dev/null @@ -1,630 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type PublishDocumentVersionInput = { - changelog?: string | null | undefined; - documentId: string; -}; -export type DocumentDetailPagePublishMutation$variables = { - input: PublishDocumentVersionInput; -}; -export type DocumentDetailPagePublishMutation$data = { - readonly publishDocumentVersion: { - readonly document: { - readonly " $fragmentSpreads": FragmentRefs<"DocumentDetailPageDocumentFragment">; - }; - }; -}; -export type DocumentDetailPagePublishMutation = { - response: DocumentDetailPagePublishMutation$data; - variables: DocumentDetailPagePublishMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "classification", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v2/*: any*/), - (v4/*: any*/) - ], - "storageKey": null -}, -v6 = [ - { - "kind": "Literal", - "name": "first", - "value": 20 - } -], -v7 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v8 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null -}, -v10 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null -}, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null -}, -v12 = { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] -}, -v13 = [ - { - "kind": "Literal", - "name": "action", - "value": "core:document-version:request-signature" - } -], -v14 = [ - { - "kind": "Literal", - "name": "first", - "value": 1000 - } -], -v15 = { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - (v10/*: any*/), - (v11/*: any*/) - ], - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "DocumentDetailPagePublishMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "PublishDocumentVersionPayload", - "kind": "LinkedField", - "name": "publishDocumentVersion", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Document", - "kind": "LinkedField", - "name": "document", - "plural": false, - "selections": [ - { - "args": null, - "kind": "FragmentSpread", - "name": "DocumentDetailPageDocumentFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "DocumentDetailPagePublishMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "PublishDocumentVersionPayload", - "kind": "LinkedField", - "name": "publishDocumentVersion", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Document", - "kind": "LinkedField", - "name": "document", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "title", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "documentType", - "storageKey": null - }, - (v3/*: any*/), - (v5/*: any*/), - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document:delete\")" - }, - { - "alias": "canPublish", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document-version:publish" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document-version:publish\")" - }, - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": "ControlConnection", - "kind": "LinkedField", - "name": "controls", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ControlEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Control", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v7/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sectionTitle", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v2/*: any*/), - (v7/*: any*/) - ], - "storageKey": null - }, - (v8/*: any*/) - ], - "storageKey": null - }, - (v9/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - (v10/*: any*/), - (v11/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - (v12/*: any*/) - ], - "storageKey": "controls(first:20)" - }, - { - "alias": null, - "args": (v6/*: any*/), - "filters": [ - "orderBy", - "filter" - ], - "handle": "connection", - "key": "DocumentControlsTab_controls", - "kind": "LinkedHandle", - "name": "controls" - }, - { - "alias": "controlsInfo", - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 0 - } - ], - "concreteType": "ControlConnection", - "kind": "LinkedField", - "name": "controls", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - } - ], - "storageKey": "controls(first:0)" - }, - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": "DocumentVersionConnection", - "kind": "LinkedField", - "name": "versions", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersion", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "content", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "publishedAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "version", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - (v3/*: any*/), - (v5/*: any*/), - { - "alias": "canDeleteDraft", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document-version:delete-draft" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document-version:delete-draft\")" - }, - { - "alias": "canRequestSignature", - "args": (v13/*: any*/), - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document-version:request-signature\")" - }, - { - "alias": null, - "args": (v14/*: any*/), - "concreteType": "DocumentVersionSignatureConnection", - "kind": "LinkedField", - "name": "signatures", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionSignatureEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionSignature", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "signedBy", - "plural": false, - "selections": [ - (v2/*: any*/), - (v4/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "primaryEmailAddress", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "signedAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "requestedAt", - "storageKey": null - }, - { - "alias": "canCancel", - "args": (v13/*: any*/), - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document-version:request-signature\")" - }, - (v8/*: any*/) - ], - "storageKey": null - }, - (v9/*: any*/) - ], - "storageKey": null - }, - (v15/*: any*/), - (v12/*: any*/) - ], - "storageKey": "signatures(first:1000)" - }, - { - "alias": null, - "args": (v14/*: any*/), - "filters": [ - "filter" - ], - "handle": "connection", - "key": "DocumentSignaturesTab_signatures", - "kind": "LinkedHandle", - "name": "signatures" - }, - { - "alias": null, - "args": (v14/*: any*/), - "filters": [], - "handle": "connection", - "key": "DocumentDetailPage_signatures", - "kind": "LinkedHandle", - "name": "signatures" - }, - (v8/*: any*/) - ], - "storageKey": null - }, - (v9/*: any*/) - ], - "storageKey": null - }, - (v15/*: any*/), - (v12/*: any*/) - ], - "storageKey": "versions(first:20)" - }, - { - "alias": null, - "args": (v6/*: any*/), - "filters": null, - "handle": "connection", - "key": "DocumentDetailPage_versions", - "kind": "LinkedHandle", - "name": "versions" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "91d0c14af00c2a67732d781e41770a81", - "id": null, - "metadata": {}, - "name": "DocumentDetailPagePublishMutation", - "operationKind": "mutation", - "text": "mutation DocumentDetailPagePublishMutation(\n $input: PublishDocumentVersionInput!\n) {\n publishDocumentVersion(input: $input) {\n document {\n ...DocumentDetailPageDocumentFragment\n id\n }\n }\n}\n\nfragment DocumentControlsTabFragment on Document {\n id\n controls(first: 20) {\n edges {\n node {\n id\n ...LinkedControlsCardFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n}\n\nfragment DocumentDetailPageDocumentFragment on Document {\n id\n title\n documentType\n classification\n owner {\n id\n fullName\n }\n canUpdate: permission(action: \"core:document:update\")\n canDelete: permission(action: \"core:document:delete\")\n canPublish: permission(action: \"core:document-version:publish\")\n ...DocumentControlsTabFragment\n controlsInfo: controls(first: 0) {\n totalCount\n }\n versions(first: 20) {\n edges {\n node {\n id\n content\n status\n publishedAt\n version\n updatedAt\n classification\n owner {\n id\n fullName\n }\n canDeleteDraft: permission(action: \"core:document-version:delete-draft\")\n ...DocumentSignaturesTab_version\n signatures(first: 1000) {\n edges {\n node {\n id\n state\n signedBy {\n id\n }\n ...DocumentSignaturesTab_signature\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment DocumentSignaturesTab_signature on DocumentVersionSignature {\n id\n state\n signedAt\n requestedAt\n signedBy {\n fullName\n primaryEmailAddress\n id\n }\n canCancel: permission(action: \"core:document-version:request-signature\")\n}\n\nfragment DocumentSignaturesTab_version on DocumentVersion {\n id\n status\n canRequestSignature: permission(action: \"core:document-version:request-signature\")\n signatures(first: 1000) {\n edges {\n node {\n id\n state\n signedBy {\n id\n fullName\n primaryEmailAddress\n }\n ...DocumentSignaturesTab_signature\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment LinkedControlsCardFragment on Control {\n id\n name\n sectionTitle\n framework {\n id\n name\n }\n}\n" - } -}; -})(); - -(node as any).hash = "d2b29d8c6e8508e24b0d39ea21069e4a"; - -export default node; diff --git a/apps/console/src/__generated__/core/DocumentDetailPageUpdateMutation.graphql.ts b/apps/console/src/__generated__/core/DocumentDetailPageUpdateMutation.graphql.ts deleted file mode 100644 index b64d514d4..000000000 --- a/apps/console/src/__generated__/core/DocumentDetailPageUpdateMutation.graphql.ts +++ /dev/null @@ -1,162 +0,0 @@ -/** - * @generated SignedSource<<7c1bfb7a8cc7cc0f426348c57a17f7c9>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DocumentClassification = "CONFIDENTIAL" | "INTERNAL" | "PUBLIC" | "SECRET"; -export type DocumentType = "ISMS" | "OTHER" | "POLICY" | "PROCEDURE"; -export type TrustCenterVisibility = "NONE" | "PRIVATE" | "PUBLIC"; -export type UpdateDocumentInput = { - classification?: DocumentClassification | null | undefined; - content?: string | null | undefined; - documentType?: DocumentType | null | undefined; - id: string; - ownerId?: string | null | undefined; - title?: string | null | undefined; - trustCenterVisibility?: TrustCenterVisibility | null | undefined; -}; -export type DocumentDetailPageUpdateMutation$variables = { - input: UpdateDocumentInput; -}; -export type DocumentDetailPageUpdateMutation$data = { - readonly updateDocument: { - readonly document: { - readonly classification: DocumentClassification; - readonly documentType: DocumentType; - readonly id: string; - readonly owner: { - readonly fullName: string; - readonly id: string; - }; - readonly title: string; - }; - }; -}; -export type DocumentDetailPageUpdateMutation = { - response: DocumentDetailPageUpdateMutation$data; - variables: DocumentDetailPageUpdateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v2 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UpdateDocumentPayload", - "kind": "LinkedField", - "name": "updateDocument", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Document", - "kind": "LinkedField", - "name": "document", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "title", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "documentType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "classification", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "DocumentDetailPageUpdateMutation", - "selections": (v2/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "DocumentDetailPageUpdateMutation", - "selections": (v2/*: any*/) - }, - "params": { - "cacheID": "865056a65394e413822f798f31351341", - "id": null, - "metadata": {}, - "name": "DocumentDetailPageUpdateMutation", - "operationKind": "mutation", - "text": "mutation DocumentDetailPageUpdateMutation(\n $input: UpdateDocumentInput!\n) {\n updateDocument(input: $input) {\n document {\n id\n title\n documentType\n classification\n owner {\n id\n fullName\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "bd6acddfc137a6bdce42628d05dc9ff6"; - -export default node; diff --git a/apps/console/src/__generated__/core/DocumentGraphBulkDeleteDocumentsMutation.graphql.ts b/apps/console/src/__generated__/core/DocumentGraphBulkDeleteDocumentsMutation.graphql.ts deleted file mode 100644 index d3e975227..000000000 --- a/apps/console/src/__generated__/core/DocumentGraphBulkDeleteDocumentsMutation.graphql.ts +++ /dev/null @@ -1,115 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type BulkDeleteDocumentsInput = { - documentIds: ReadonlyArray; -}; -export type DocumentGraphBulkDeleteDocumentsMutation$variables = { - input: BulkDeleteDocumentsInput; -}; -export type DocumentGraphBulkDeleteDocumentsMutation$data = { - readonly bulkDeleteDocuments: { - readonly deletedDocumentIds: ReadonlyArray; - }; -}; -export type DocumentGraphBulkDeleteDocumentsMutation = { - response: DocumentGraphBulkDeleteDocumentsMutation$data; - variables: DocumentGraphBulkDeleteDocumentsMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedDocumentIds", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "DocumentGraphBulkDeleteDocumentsMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "BulkDeleteDocumentsPayload", - "kind": "LinkedField", - "name": "bulkDeleteDocuments", - "plural": false, - "selections": [ - (v2/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "DocumentGraphBulkDeleteDocumentsMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "BulkDeleteDocumentsPayload", - "kind": "LinkedField", - "name": "bulkDeleteDocuments", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteRecord", - "key": "", - "kind": "ScalarHandle", - "name": "deletedDocumentIds" - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "655f43d282b8e0007f3b93e381e7ff84", - "id": null, - "metadata": {}, - "name": "DocumentGraphBulkDeleteDocumentsMutation", - "operationKind": "mutation", - "text": "mutation DocumentGraphBulkDeleteDocumentsMutation(\n $input: BulkDeleteDocumentsInput!\n) {\n bulkDeleteDocuments(input: $input) {\n deletedDocumentIds\n }\n}\n" - } -}; -})(); - -(node as any).hash = "919857a24f366b8ebe004fcadf503c3d"; - -export default node; diff --git a/apps/console/src/__generated__/core/DocumentGraphBulkExportDocumentsMutation.graphql.ts b/apps/console/src/__generated__/core/DocumentGraphBulkExportDocumentsMutation.graphql.ts deleted file mode 100644 index 896544b28..000000000 --- a/apps/console/src/__generated__/core/DocumentGraphBulkExportDocumentsMutation.graphql.ts +++ /dev/null @@ -1,95 +0,0 @@ -/** - * @generated SignedSource<<9b84adc0253186c6f0a5f47837d83d7f>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type BulkExportDocumentsInput = { - documentIds: ReadonlyArray; - watermarkEmail?: string | null | undefined; - withSignatures: boolean; - withWatermark: boolean; -}; -export type DocumentGraphBulkExportDocumentsMutation$variables = { - input: BulkExportDocumentsInput; -}; -export type DocumentGraphBulkExportDocumentsMutation$data = { - readonly bulkExportDocuments: { - readonly exportJobId: string; - }; -}; -export type DocumentGraphBulkExportDocumentsMutation = { - response: DocumentGraphBulkExportDocumentsMutation$data; - variables: DocumentGraphBulkExportDocumentsMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "BulkExportDocumentsPayload", - "kind": "LinkedField", - "name": "bulkExportDocuments", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "exportJobId", - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "DocumentGraphBulkExportDocumentsMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "DocumentGraphBulkExportDocumentsMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "2f4eb206613f8fba307aeee5bad27b93", - "id": null, - "metadata": {}, - "name": "DocumentGraphBulkExportDocumentsMutation", - "operationKind": "mutation", - "text": "mutation DocumentGraphBulkExportDocumentsMutation(\n $input: BulkExportDocumentsInput!\n) {\n bulkExportDocuments(input: $input) {\n exportJobId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "0a7bae4b58713bcc824a774c31bd6dca"; - -export default node; diff --git a/apps/console/src/__generated__/core/DocumentGraphDeleteDraftMutation.graphql.ts b/apps/console/src/__generated__/core/DocumentGraphDeleteDraftMutation.graphql.ts deleted file mode 100644 index 543ae10df..000000000 --- a/apps/console/src/__generated__/core/DocumentGraphDeleteDraftMutation.graphql.ts +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteDraftDocumentVersionInput = { - documentVersionId: string; -}; -export type DocumentGraphDeleteDraftMutation$variables = { - connections: ReadonlyArray; - input: DeleteDraftDocumentVersionInput; -}; -export type DocumentGraphDeleteDraftMutation$data = { - readonly deleteDraftDocumentVersion: { - readonly deletedDocumentVersionId: string; - }; -}; -export type DocumentGraphDeleteDraftMutation = { - response: DocumentGraphDeleteDraftMutation$data; - variables: DocumentGraphDeleteDraftMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedDocumentVersionId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "DocumentGraphDeleteDraftMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteDraftDocumentVersionPayload", - "kind": "LinkedField", - "name": "deleteDraftDocumentVersion", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "DocumentGraphDeleteDraftMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteDraftDocumentVersionPayload", - "kind": "LinkedField", - "name": "deleteDraftDocumentVersion", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedDocumentVersionId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "cd7e8253362e1d7e719e4ae2c206756e", - "id": null, - "metadata": {}, - "name": "DocumentGraphDeleteDraftMutation", - "operationKind": "mutation", - "text": "mutation DocumentGraphDeleteDraftMutation(\n $input: DeleteDraftDocumentVersionInput!\n) {\n deleteDraftDocumentVersion(input: $input) {\n deletedDocumentVersionId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "d43940b41e3838fd03c3341c13b4c5c5"; - -export default node; diff --git a/apps/console/src/__generated__/core/DocumentGraphDeleteMutation.graphql.ts b/apps/console/src/__generated__/core/DocumentGraphDeleteMutation.graphql.ts deleted file mode 100644 index cf7b24994..000000000 --- a/apps/console/src/__generated__/core/DocumentGraphDeleteMutation.graphql.ts +++ /dev/null @@ -1,115 +0,0 @@ -/** - * @generated SignedSource<<6b7916e6ff46a629bf97a7b072db2d8b>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteDocumentInput = { - documentId: string; -}; -export type DocumentGraphDeleteMutation$variables = { - input: DeleteDocumentInput; -}; -export type DocumentGraphDeleteMutation$data = { - readonly deleteDocument: { - readonly deletedDocumentId: string; - }; -}; -export type DocumentGraphDeleteMutation = { - response: DocumentGraphDeleteMutation$data; - variables: DocumentGraphDeleteMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedDocumentId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "DocumentGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "DeleteDocumentPayload", - "kind": "LinkedField", - "name": "deleteDocument", - "plural": false, - "selections": [ - (v2/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "DocumentGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "DeleteDocumentPayload", - "kind": "LinkedField", - "name": "deleteDocument", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteRecord", - "key": "", - "kind": "ScalarHandle", - "name": "deletedDocumentId" - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "84c747138470346796393f93a85b7127", - "id": null, - "metadata": {}, - "name": "DocumentGraphDeleteMutation", - "operationKind": "mutation", - "text": "mutation DocumentGraphDeleteMutation(\n $input: DeleteDocumentInput!\n) {\n deleteDocument(input: $input) {\n deletedDocumentId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "471020248ed9d398ab80655e04cb823d"; - -export default node; diff --git a/apps/console/src/__generated__/core/DocumentGraphListQuery.graphql.ts b/apps/console/src/__generated__/core/DocumentGraphListQuery.graphql.ts deleted file mode 100644 index 618e2a361..000000000 --- a/apps/console/src/__generated__/core/DocumentGraphListQuery.graphql.ts +++ /dev/null @@ -1,474 +0,0 @@ -/** - * @generated SignedSource<<8982230c048c28cb211d5368b1ab43a0>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type DocumentGraphListQuery$variables = { - organizationId: string; -}; -export type DocumentGraphListQuery$data = { - readonly organization: { - readonly canCreateDocument?: boolean; - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"DocumentsPageListFragment">; - }; -}; -export type DocumentGraphListQuery = { - response: DocumentGraphListQuery$data; - variables: DocumentGraphListQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": "canCreateDocument", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document:create\")" -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v5 = [ - { - "kind": "Literal", - "name": "first", - "value": 50 - }, - { - "kind": "Literal", - "name": "orderBy", - "value": { - "direction": "ASC", - "field": "TITLE" - } - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "DocumentGraphListQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "DocumentsPageListFragment" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "DocumentGraphListQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v4/*: any*/), - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": (v5/*: any*/), - "concreteType": "DocumentConnection", - "kind": "LinkedField", - "name": "documents", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Document", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document:delete\")" - }, - { - "alias": "canSendSigningNotifications", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document:send-signing-notifications" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document:send-signing-notifications\")" - }, - { - "alias": "canRequestSignatures", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document-version:request-signature" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document-version:request-signature\")" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "title", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "documentType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "classification", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 1 - } - ], - "concreteType": "DocumentVersionConnection", - "kind": "LinkedField", - "name": "versions", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersion", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "version", - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 1000 - } - ], - "concreteType": "DocumentVersionSignatureConnection", - "kind": "LinkedField", - "name": "signatures", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionSignatureEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionSignature", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "signatures(first:1000)" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "versions(first:1)" - }, - (v4/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": "documents(first:50,orderBy:{\"direction\":\"ASC\",\"field\":\"TITLE\"})" - }, - { - "alias": null, - "args": (v5/*: any*/), - "filters": [ - "orderBy" - ], - "handle": "connection", - "key": "DocumentsListQuery_documents", - "kind": "LinkedHandle", - "name": "documents" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "7c027bc02697b43718813a5bd024985a", - "id": null, - "metadata": {}, - "name": "DocumentGraphListQuery", - "operationKind": "query", - "text": "query DocumentGraphListQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n id\n ... on Organization {\n canCreateDocument: permission(action: \"core:document:create\")\n ...DocumentsPageListFragment\n }\n }\n}\n\nfragment DocumentsPageListFragment on Organization {\n documents(first: 50, orderBy: {field: TITLE, direction: ASC}) {\n edges {\n node {\n id\n canUpdate: permission(action: \"core:document:update\")\n canDelete: permission(action: \"core:document:delete\")\n canSendSigningNotifications: permission(action: \"core:document:send-signing-notifications\")\n canRequestSignatures: permission(action: \"core:document-version:request-signature\")\n ...DocumentsPageRowFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n\nfragment DocumentsPageRowFragment on Document {\n id\n title\n description\n documentType\n classification\n updatedAt\n canDelete: permission(action: \"core:document:delete\")\n owner {\n id\n fullName\n }\n versions(first: 1) {\n edges {\n node {\n id\n status\n version\n signatures(first: 1000) {\n edges {\n node {\n id\n state\n }\n }\n }\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "26c7d375cb354649741ce4794612b3e1"; - -export default node; diff --git a/apps/console/src/__generated__/core/DocumentGraphNodeQuery.graphql.ts b/apps/console/src/__generated__/core/DocumentGraphNodeQuery.graphql.ts deleted file mode 100644 index 95f8705b1..000000000 --- a/apps/console/src/__generated__/core/DocumentGraphNodeQuery.graphql.ts +++ /dev/null @@ -1,617 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type DocumentGraphNodeQuery$variables = { - documentId: string; -}; -export type DocumentGraphNodeQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"DocumentDetailPageDocumentFragment">; - }; -}; -export type DocumentGraphNodeQuery = { - response: DocumentGraphNodeQuery$data; - variables: DocumentGraphNodeQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "documentId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "documentId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "classification", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null -}, -v6 = { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v3/*: any*/), - (v5/*: any*/) - ], - "storageKey": null -}, -v7 = [ - { - "kind": "Literal", - "name": "first", - "value": 20 - } -], -v8 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null -}, -v10 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null -}, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null -}, -v12 = { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] -}, -v13 = [ - { - "kind": "Literal", - "name": "action", - "value": "core:document-version:request-signature" - } -], -v14 = [ - { - "kind": "Literal", - "name": "first", - "value": 1000 - } -], -v15 = { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - (v10/*: any*/), - (v11/*: any*/) - ], - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "DocumentGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - { - "args": null, - "kind": "FragmentSpread", - "name": "DocumentDetailPageDocumentFragment" - } - ], - "type": "Document", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "DocumentGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "title", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "documentType", - "storageKey": null - }, - (v4/*: any*/), - (v6/*: any*/), - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document:delete\")" - }, - { - "alias": "canPublish", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document-version:publish" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document-version:publish\")" - }, - { - "alias": null, - "args": (v7/*: any*/), - "concreteType": "ControlConnection", - "kind": "LinkedField", - "name": "controls", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ControlEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Control", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v8/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sectionTitle", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v3/*: any*/), - (v8/*: any*/) - ], - "storageKey": null - }, - (v2/*: any*/) - ], - "storageKey": null - }, - (v9/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - (v10/*: any*/), - (v11/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - (v12/*: any*/) - ], - "storageKey": "controls(first:20)" - }, - { - "alias": null, - "args": (v7/*: any*/), - "filters": [ - "orderBy", - "filter" - ], - "handle": "connection", - "key": "DocumentControlsTab_controls", - "kind": "LinkedHandle", - "name": "controls" - }, - { - "alias": "controlsInfo", - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 0 - } - ], - "concreteType": "ControlConnection", - "kind": "LinkedField", - "name": "controls", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - } - ], - "storageKey": "controls(first:0)" - }, - { - "alias": null, - "args": (v7/*: any*/), - "concreteType": "DocumentVersionConnection", - "kind": "LinkedField", - "name": "versions", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersion", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "content", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "publishedAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "version", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - (v4/*: any*/), - (v6/*: any*/), - { - "alias": "canDeleteDraft", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document-version:delete-draft" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document-version:delete-draft\")" - }, - { - "alias": "canRequestSignature", - "args": (v13/*: any*/), - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document-version:request-signature\")" - }, - { - "alias": null, - "args": (v14/*: any*/), - "concreteType": "DocumentVersionSignatureConnection", - "kind": "LinkedField", - "name": "signatures", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionSignatureEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionSignature", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "signedBy", - "plural": false, - "selections": [ - (v3/*: any*/), - (v5/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "primaryEmailAddress", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "signedAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "requestedAt", - "storageKey": null - }, - { - "alias": "canCancel", - "args": (v13/*: any*/), - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document-version:request-signature\")" - }, - (v2/*: any*/) - ], - "storageKey": null - }, - (v9/*: any*/) - ], - "storageKey": null - }, - (v15/*: any*/), - (v12/*: any*/) - ], - "storageKey": "signatures(first:1000)" - }, - { - "alias": null, - "args": (v14/*: any*/), - "filters": [ - "filter" - ], - "handle": "connection", - "key": "DocumentSignaturesTab_signatures", - "kind": "LinkedHandle", - "name": "signatures" - }, - { - "alias": null, - "args": (v14/*: any*/), - "filters": [], - "handle": "connection", - "key": "DocumentDetailPage_signatures", - "kind": "LinkedHandle", - "name": "signatures" - }, - (v2/*: any*/) - ], - "storageKey": null - }, - (v9/*: any*/) - ], - "storageKey": null - }, - (v15/*: any*/), - (v12/*: any*/) - ], - "storageKey": "versions(first:20)" - }, - { - "alias": null, - "args": (v7/*: any*/), - "filters": null, - "handle": "connection", - "key": "DocumentDetailPage_versions", - "kind": "LinkedHandle", - "name": "versions" - } - ], - "type": "Document", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "1fe5b5e75ab7a7aa4b5859ec1c5560c7", - "id": null, - "metadata": {}, - "name": "DocumentGraphNodeQuery", - "operationKind": "query", - "text": "query DocumentGraphNodeQuery(\n $documentId: ID!\n) {\n node(id: $documentId) {\n __typename\n ... on Document {\n ...DocumentDetailPageDocumentFragment\n }\n id\n }\n}\n\nfragment DocumentControlsTabFragment on Document {\n id\n controls(first: 20) {\n edges {\n node {\n id\n ...LinkedControlsCardFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n}\n\nfragment DocumentDetailPageDocumentFragment on Document {\n id\n title\n documentType\n classification\n owner {\n id\n fullName\n }\n canUpdate: permission(action: \"core:document:update\")\n canDelete: permission(action: \"core:document:delete\")\n canPublish: permission(action: \"core:document-version:publish\")\n ...DocumentControlsTabFragment\n controlsInfo: controls(first: 0) {\n totalCount\n }\n versions(first: 20) {\n edges {\n node {\n id\n content\n status\n publishedAt\n version\n updatedAt\n classification\n owner {\n id\n fullName\n }\n canDeleteDraft: permission(action: \"core:document-version:delete-draft\")\n ...DocumentSignaturesTab_version\n signatures(first: 1000) {\n edges {\n node {\n id\n state\n signedBy {\n id\n }\n ...DocumentSignaturesTab_signature\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment DocumentSignaturesTab_signature on DocumentVersionSignature {\n id\n state\n signedAt\n requestedAt\n signedBy {\n fullName\n primaryEmailAddress\n id\n }\n canCancel: permission(action: \"core:document-version:request-signature\")\n}\n\nfragment DocumentSignaturesTab_version on DocumentVersion {\n id\n status\n canRequestSignature: permission(action: \"core:document-version:request-signature\")\n signatures(first: 1000) {\n edges {\n node {\n id\n state\n signedBy {\n id\n fullName\n primaryEmailAddress\n }\n ...DocumentSignaturesTab_signature\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment LinkedControlsCardFragment on Control {\n id\n name\n sectionTitle\n framework {\n id\n name\n }\n}\n" - } -}; -})(); - -(node as any).hash = "f7e5a8ebb67a7668627c01ca1c4c6b19"; - -export default node; diff --git a/apps/console/src/__generated__/core/DocumentGraphSendSigningNotificationsMutation.graphql.ts b/apps/console/src/__generated__/core/DocumentGraphSendSigningNotificationsMutation.graphql.ts deleted file mode 100644 index b5547743b..000000000 --- a/apps/console/src/__generated__/core/DocumentGraphSendSigningNotificationsMutation.graphql.ts +++ /dev/null @@ -1,92 +0,0 @@ -/** - * @generated SignedSource<<242a8628b9203b02dccea5e311141ec4>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type SendSigningNotificationsInput = { - organizationId: string; -}; -export type DocumentGraphSendSigningNotificationsMutation$variables = { - input: SendSigningNotificationsInput; -}; -export type DocumentGraphSendSigningNotificationsMutation$data = { - readonly sendSigningNotifications: { - readonly success: boolean; - }; -}; -export type DocumentGraphSendSigningNotificationsMutation = { - response: DocumentGraphSendSigningNotificationsMutation$data; - variables: DocumentGraphSendSigningNotificationsMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "SendSigningNotificationsPayload", - "kind": "LinkedField", - "name": "sendSigningNotifications", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "success", - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "DocumentGraphSendSigningNotificationsMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "DocumentGraphSendSigningNotificationsMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "111167f828fa6eaad3beb44c43e43f06", - "id": null, - "metadata": {}, - "name": "DocumentGraphSendSigningNotificationsMutation", - "operationKind": "mutation", - "text": "mutation DocumentGraphSendSigningNotificationsMutation(\n $input: SendSigningNotificationsInput!\n) {\n sendSigningNotifications(input: $input) {\n success\n }\n}\n" - } -}; -})(); - -(node as any).hash = "eaf2fba7629e202537cfc7bd9b5c9586"; - -export default node; diff --git a/apps/console/src/__generated__/core/DocumentRowFragment.graphql.ts b/apps/console/src/__generated__/core/DocumentRowFragment.graphql.ts deleted file mode 100644 index 29bc26b84..000000000 --- a/apps/console/src/__generated__/core/DocumentRowFragment.graphql.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type DocumentClassification = "CONFIDENTIAL" | "INTERNAL" | "PUBLIC" | "SECRET"; -export type DocumentType = "ISMS" | "OTHER" | "POLICY" | "PROCEDURE"; -import { FragmentRefs } from "relay-runtime"; -export type DocumentRowFragment$data = { - readonly classification: DocumentClassification; - readonly documentType: DocumentType; - readonly id: string; - readonly signed: boolean; - readonly title: string; - readonly updatedAt: string; - readonly " $fragmentType": "DocumentRowFragment"; -}; -export type DocumentRowFragment$key = { - readonly " $data"?: DocumentRowFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"DocumentRowFragment">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "DocumentRowFragment", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "title", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "documentType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "classification", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "signed", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - } - ], - "type": "SignableDocument", - "abstractKey": null -}; - -(node as any).hash = "43959adf3e4545cce78ba06f34c82cd2"; - -export default node; diff --git a/apps/console/src/__generated__/core/DocumentSignaturesTabRefetchQuery.graphql.ts b/apps/console/src/__generated__/core/DocumentSignaturesTabRefetchQuery.graphql.ts deleted file mode 100644 index 884ba5925..000000000 --- a/apps/console/src/__generated__/core/DocumentSignaturesTabRefetchQuery.graphql.ts +++ /dev/null @@ -1,351 +0,0 @@ -/** - * @generated SignedSource<<568018897f0db254b4d8c43c05abb7c6>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type DocumentVersionSignatureState = "REQUESTED" | "SIGNED"; -export type DocumentVersionSignatureFilter = { - states?: ReadonlyArray | null | undefined; -}; -export type DocumentSignaturesTabRefetchQuery$variables = { - count?: number | null | undefined; - cursor?: string | null | undefined; - id: string; - signatureFilter?: DocumentVersionSignatureFilter | null | undefined; -}; -export type DocumentSignaturesTabRefetchQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"DocumentSignaturesTab_version">; - }; -}; -export type DocumentSignaturesTabRefetchQuery = { - response: DocumentSignaturesTabRefetchQuery$data; - variables: DocumentSignaturesTabRefetchQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": 1000, - "kind": "LocalArgument", - "name": "count" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "cursor" -}, -v2 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v3 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "signatureFilter" -}, -v4 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v6 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v7 = [ - { - "kind": "Literal", - "name": "action", - "value": "core:document-version:request-signature" - } -], -v8 = [ - { - "kind": "Variable", - "name": "after", - "variableName": "cursor" - }, - { - "kind": "Variable", - "name": "filter", - "variableName": "signatureFilter" - }, - { - "kind": "Variable", - "name": "first", - "variableName": "count" - } -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "DocumentSignaturesTabRefetchQuery", - "selections": [ - { - "alias": null, - "args": (v4/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - { - "kind": "Variable", - "name": "count", - "variableName": "count" - }, - { - "kind": "Variable", - "name": "cursor", - "variableName": "cursor" - }, - { - "kind": "Variable", - "name": "signatureFilter", - "variableName": "signatureFilter" - } - ], - "kind": "FragmentSpread", - "name": "DocumentSignaturesTab_version" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v3/*: any*/), - (v2/*: any*/) - ], - "kind": "Operation", - "name": "DocumentSignaturesTabRefetchQuery", - "selections": [ - { - "alias": null, - "args": (v4/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v5/*: any*/), - (v6/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - }, - { - "alias": "canRequestSignature", - "args": (v7/*: any*/), - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document-version:request-signature\")" - }, - { - "alias": null, - "args": (v8/*: any*/), - "concreteType": "DocumentVersionSignatureConnection", - "kind": "LinkedField", - "name": "signatures", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionSignatureEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionSignature", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v6/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "signedBy", - "plural": false, - "selections": [ - (v6/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "primaryEmailAddress", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "signedAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "requestedAt", - "storageKey": null - }, - { - "alias": "canCancel", - "args": (v7/*: any*/), - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document-version:request-signature\")" - }, - (v5/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v8/*: any*/), - "filters": [ - "filter" - ], - "handle": "connection", - "key": "DocumentSignaturesTab_signatures", - "kind": "LinkedHandle", - "name": "signatures" - } - ], - "type": "DocumentVersion", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "5f4d3d9043d744d2e35c7c5b3e209a37", - "id": null, - "metadata": {}, - "name": "DocumentSignaturesTabRefetchQuery", - "operationKind": "query", - "text": "query DocumentSignaturesTabRefetchQuery(\n $count: Int = 1000\n $cursor: CursorKey\n $signatureFilter: DocumentVersionSignatureFilter\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...DocumentSignaturesTab_version_1vp7QE\n id\n }\n}\n\nfragment DocumentSignaturesTab_signature on DocumentVersionSignature {\n id\n state\n signedAt\n requestedAt\n signedBy {\n fullName\n primaryEmailAddress\n id\n }\n canCancel: permission(action: \"core:document-version:request-signature\")\n}\n\nfragment DocumentSignaturesTab_version_1vp7QE on DocumentVersion {\n id\n status\n canRequestSignature: permission(action: \"core:document-version:request-signature\")\n signatures(first: $count, after: $cursor, filter: $signatureFilter) {\n edges {\n node {\n id\n state\n signedBy {\n id\n fullName\n primaryEmailAddress\n }\n ...DocumentSignaturesTab_signature\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "9282fd9e9a1aa10a36535863b896283c"; - -export default node; diff --git a/apps/console/src/__generated__/core/DocumentSignaturesTab_cancelSignatureMutation.graphql.ts b/apps/console/src/__generated__/core/DocumentSignaturesTab_cancelSignatureMutation.graphql.ts deleted file mode 100644 index d2767601c..000000000 --- a/apps/console/src/__generated__/core/DocumentSignaturesTab_cancelSignatureMutation.graphql.ts +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @generated SignedSource<<0a17c03011fe74b75a90dbeae02ab2ef>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type CancelSignatureRequestInput = { - documentVersionSignatureId: string; -}; -export type DocumentSignaturesTab_cancelSignatureMutation$variables = { - connections: ReadonlyArray; - input: CancelSignatureRequestInput; -}; -export type DocumentSignaturesTab_cancelSignatureMutation$data = { - readonly cancelSignatureRequest: { - readonly deletedDocumentVersionSignatureId: string; - }; -}; -export type DocumentSignaturesTab_cancelSignatureMutation = { - response: DocumentSignaturesTab_cancelSignatureMutation$data; - variables: DocumentSignaturesTab_cancelSignatureMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedDocumentVersionSignatureId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "DocumentSignaturesTab_cancelSignatureMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CancelSignatureRequestPayload", - "kind": "LinkedField", - "name": "cancelSignatureRequest", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "DocumentSignaturesTab_cancelSignatureMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CancelSignatureRequestPayload", - "kind": "LinkedField", - "name": "cancelSignatureRequest", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedDocumentVersionSignatureId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "c57722e2b57faca64eea4950864e034d", - "id": null, - "metadata": {}, - "name": "DocumentSignaturesTab_cancelSignatureMutation", - "operationKind": "mutation", - "text": "mutation DocumentSignaturesTab_cancelSignatureMutation(\n $input: CancelSignatureRequestInput!\n) {\n cancelSignatureRequest(input: $input) {\n deletedDocumentVersionSignatureId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "9f5d3ff869ec6f91285140285248e824"; - -export default node; diff --git a/apps/console/src/__generated__/core/DocumentSignaturesTab_requestSignatureMutation.graphql.ts b/apps/console/src/__generated__/core/DocumentSignaturesTab_requestSignatureMutation.graphql.ts deleted file mode 100644 index 27e3e057e..000000000 --- a/apps/console/src/__generated__/core/DocumentSignaturesTab_requestSignatureMutation.graphql.ts +++ /dev/null @@ -1,267 +0,0 @@ -/** - * @generated SignedSource<<2988f1319b1ad6110c328a00f644f26d>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type DocumentVersionSignatureState = "REQUESTED" | "SIGNED"; -export type RequestSignatureInput = { - documentVersionId: string; - signatoryId: string; -}; -export type DocumentSignaturesTab_requestSignatureMutation$variables = { - connections: ReadonlyArray; - input: RequestSignatureInput; -}; -export type DocumentSignaturesTab_requestSignatureMutation$data = { - readonly requestSignature: { - readonly documentVersionSignatureEdge: { - readonly node: { - readonly id: string; - readonly signedBy: { - readonly id: string; - }; - readonly state: DocumentVersionSignatureState; - readonly " $fragmentSpreads": FragmentRefs<"DocumentSignaturesTab_signature">; - }; - }; - }; -}; -export type DocumentSignaturesTab_requestSignatureMutation = { - response: DocumentSignaturesTab_requestSignatureMutation$data; - variables: DocumentSignaturesTab_requestSignatureMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "DocumentSignaturesTab_requestSignatureMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "RequestSignaturePayload", - "kind": "LinkedField", - "name": "requestSignature", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionSignatureEdge", - "kind": "LinkedField", - "name": "documentVersionSignatureEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionSignature", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "signedBy", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "DocumentSignaturesTab_signature" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "DocumentSignaturesTab_requestSignatureMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "RequestSignaturePayload", - "kind": "LinkedField", - "name": "requestSignature", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionSignatureEdge", - "kind": "LinkedField", - "name": "documentVersionSignatureEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionSignature", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "signedBy", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "primaryEmailAddress", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "signedAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "requestedAt", - "storageKey": null - }, - { - "alias": "canCancel", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document-version:request-signature" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document-version:request-signature\")" - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "documentVersionSignatureEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "5a9c28a2a8a3234f953f7a609da7d02e", - "id": null, - "metadata": {}, - "name": "DocumentSignaturesTab_requestSignatureMutation", - "operationKind": "mutation", - "text": "mutation DocumentSignaturesTab_requestSignatureMutation(\n $input: RequestSignatureInput!\n) {\n requestSignature(input: $input) {\n documentVersionSignatureEdge {\n node {\n id\n state\n signedBy {\n id\n }\n ...DocumentSignaturesTab_signature\n }\n }\n }\n}\n\nfragment DocumentSignaturesTab_signature on DocumentVersionSignature {\n id\n state\n signedAt\n requestedAt\n signedBy {\n fullName\n primaryEmailAddress\n id\n }\n canCancel: permission(action: \"core:document-version:request-signature\")\n}\n" - } -}; -})(); - -(node as any).hash = "f0b9fc6ff9db455e9079bf7e45fcd603"; - -export default node; diff --git a/apps/console/src/__generated__/core/DocumentSignaturesTab_signature.graphql.ts b/apps/console/src/__generated__/core/DocumentSignaturesTab_signature.graphql.ts deleted file mode 100644 index 7c7563dae..000000000 --- a/apps/console/src/__generated__/core/DocumentSignaturesTab_signature.graphql.ts +++ /dev/null @@ -1,110 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type DocumentVersionSignatureState = "REQUESTED" | "SIGNED"; -import { FragmentRefs } from "relay-runtime"; -export type DocumentSignaturesTab_signature$data = { - readonly canCancel: boolean; - readonly id: string; - readonly requestedAt: string; - readonly signedAt: string | null | undefined; - readonly signedBy: { - readonly fullName: string; - readonly primaryEmailAddress: string; - }; - readonly state: DocumentVersionSignatureState; - readonly " $fragmentType": "DocumentSignaturesTab_signature"; -}; -export type DocumentSignaturesTab_signature$key = { - readonly " $data"?: DocumentSignaturesTab_signature$data; - readonly " $fragmentSpreads": FragmentRefs<"DocumentSignaturesTab_signature">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "DocumentSignaturesTab_signature", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "signedAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "requestedAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "signedBy", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "primaryEmailAddress", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": "canCancel", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document-version:request-signature" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document-version:request-signature\")" - } - ], - "type": "DocumentVersionSignature", - "abstractKey": null -}; - -(node as any).hash = "bbfdd78015e97032862da41aad6beeae"; - -export default node; diff --git a/apps/console/src/__generated__/core/DocumentSignaturesTab_version.graphql.ts b/apps/console/src/__generated__/core/DocumentSignaturesTab_version.graphql.ts deleted file mode 100644 index 19a8bf1c8..000000000 --- a/apps/console/src/__generated__/core/DocumentSignaturesTab_version.graphql.ts +++ /dev/null @@ -1,261 +0,0 @@ -/** - * @generated SignedSource<<51a0ef23951497b2d074fafbda0ea04b>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type DocumentStatus = "DRAFT" | "PUBLISHED"; -export type DocumentVersionSignatureState = "REQUESTED" | "SIGNED"; -import { FragmentRefs } from "relay-runtime"; -export type DocumentSignaturesTab_version$data = { - readonly canRequestSignature: boolean; - readonly id: string; - readonly signatures: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly signedBy: { - readonly fullName: string; - readonly id: string; - readonly primaryEmailAddress: string; - }; - readonly state: DocumentVersionSignatureState; - readonly " $fragmentSpreads": FragmentRefs<"DocumentSignaturesTab_signature">; - }; - }>; - }; - readonly status: DocumentStatus; - readonly " $fragmentType": "DocumentSignaturesTab_version"; -}; -export type DocumentSignaturesTab_version$key = { - readonly " $data"?: DocumentSignaturesTab_version$data; - readonly " $fragmentSpreads": FragmentRefs<"DocumentSignaturesTab_version">; -}; - -import DocumentSignaturesTabRefetchQuery_graphql from './DocumentSignaturesTabRefetchQuery.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "signatures" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": 1000, - "kind": "LocalArgument", - "name": "count" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "cursor" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "signatureFilter" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": "count", - "cursor": "cursor", - "direction": "forward", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "count", - "cursor": "cursor" - }, - "backward": null, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": DocumentSignaturesTabRefetchQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "DocumentSignaturesTab_version", - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - }, - { - "alias": "canRequestSignature", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document-version:request-signature" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document-version:request-signature\")" - }, - { - "alias": "signatures", - "args": [ - { - "kind": "Variable", - "name": "filter", - "variableName": "signatureFilter" - } - ], - "concreteType": "DocumentVersionSignatureConnection", - "kind": "LinkedField", - "name": "__DocumentSignaturesTab_signatures_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionSignatureEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionSignature", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "signedBy", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "primaryEmailAddress", - "storageKey": null - } - ], - "storageKey": null - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "DocumentSignaturesTab_signature" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - } - ], - "type": "DocumentVersion", - "abstractKey": null -}; -})(); - -(node as any).hash = "9282fd9e9a1aa10a36535863b896283c"; - -export default node; diff --git a/apps/console/src/__generated__/core/DocumentsListQuery.graphql.ts b/apps/console/src/__generated__/core/DocumentsListQuery.graphql.ts deleted file mode 100644 index babcba337..000000000 --- a/apps/console/src/__generated__/core/DocumentsListQuery.graphql.ts +++ /dev/null @@ -1,526 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type DocumentOrderField = "CREATED_AT" | "DOCUMENT_TYPE" | "TITLE"; -export type OrderDirection = "ASC" | "DESC"; -export type DocumentOrder = { - direction: OrderDirection; - field: DocumentOrderField; -}; -export type DocumentsListQuery$variables = { - after?: string | null | undefined; - before?: string | null | undefined; - first?: number | null | undefined; - id: string; - last?: number | null | undefined; - order?: DocumentOrder | null | undefined; -}; -export type DocumentsListQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"DocumentsPageListFragment">; - }; -}; -export type DocumentsListQuery = { - response: DocumentsListQuery$data; - variables: DocumentsListQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" -}, -v2 = { - "defaultValue": 50, - "kind": "LocalArgument", - "name": "first" -}, -v3 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v4 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" -}, -v5 = { - "defaultValue": { - "direction": "ASC", - "field": "TITLE" - }, - "kind": "LocalArgument", - "name": "order" -}, -v6 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v7 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v8 = { - "kind": "Variable", - "name": "before", - "variableName": "before" -}, -v9 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v10 = { - "kind": "Variable", - "name": "last", - "variableName": "last" -}, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v12 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v13 = [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "DocumentsListQuery", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "order", - "variableName": "order" - } - ], - "kind": "FragmentSpread", - "name": "DocumentsPageListFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v3/*: any*/) - ], - "kind": "Operation", - "name": "DocumentsListQuery", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v11/*: any*/), - (v12/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v13/*: any*/), - "concreteType": "DocumentConnection", - "kind": "LinkedField", - "name": "documents", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Document", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v12/*: any*/), - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document:delete\")" - }, - { - "alias": "canSendSigningNotifications", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document:send-signing-notifications" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document:send-signing-notifications\")" - }, - { - "alias": "canRequestSignatures", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document-version:request-signature" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document-version:request-signature\")" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "title", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "documentType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "classification", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v12/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 1 - } - ], - "concreteType": "DocumentVersionConnection", - "kind": "LinkedField", - "name": "versions", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersion", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v12/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "version", - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 1000 - } - ], - "concreteType": "DocumentVersionSignatureConnection", - "kind": "LinkedField", - "name": "signatures", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionSignatureEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionSignature", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v12/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "signatures(first:1000)" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "versions(first:1)" - }, - (v11/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v13/*: any*/), - "filters": [ - "orderBy" - ], - "handle": "connection", - "key": "DocumentsListQuery_documents", - "kind": "LinkedHandle", - "name": "documents" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "c7b8d86af8a704ba0a6451bd3877746f", - "id": null, - "metadata": {}, - "name": "DocumentsListQuery", - "operationKind": "query", - "text": "query DocumentsListQuery(\n $after: CursorKey = null\n $before: CursorKey = null\n $first: Int = 50\n $last: Int = null\n $order: DocumentOrder = {field: TITLE, direction: ASC}\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...DocumentsPageListFragment_16fISc\n id\n }\n}\n\nfragment DocumentsPageListFragment_16fISc on Organization {\n documents(first: $first, after: $after, last: $last, before: $before, orderBy: $order) {\n edges {\n node {\n id\n canUpdate: permission(action: \"core:document:update\")\n canDelete: permission(action: \"core:document:delete\")\n canSendSigningNotifications: permission(action: \"core:document:send-signing-notifications\")\n canRequestSignatures: permission(action: \"core:document-version:request-signature\")\n ...DocumentsPageRowFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n\nfragment DocumentsPageRowFragment on Document {\n id\n title\n description\n documentType\n classification\n updatedAt\n canDelete: permission(action: \"core:document:delete\")\n owner {\n id\n fullName\n }\n versions(first: 1) {\n edges {\n node {\n id\n status\n version\n signatures(first: 1000) {\n edges {\n node {\n id\n state\n }\n }\n }\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "0f00d125fc711db9e65d54dcc884a72e"; - -export default node; diff --git a/apps/console/src/__generated__/core/DocumentsPageListFragment.graphql.ts b/apps/console/src/__generated__/core/DocumentsPageListFragment.graphql.ts deleted file mode 100644 index f5dad56e2..000000000 --- a/apps/console/src/__generated__/core/DocumentsPageListFragment.graphql.ts +++ /dev/null @@ -1,284 +0,0 @@ -/** - * @generated SignedSource<<4531c90194c8da0c1cbd00e5e169ff00>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type DocumentsPageListFragment$data = { - readonly documents: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly canDelete: boolean; - readonly canRequestSignatures: boolean; - readonly canSendSigningNotifications: boolean; - readonly canUpdate: boolean; - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"DocumentsPageRowFragment">; - }; - }>; - }; - readonly id: string; - readonly " $fragmentType": "DocumentsPageListFragment"; -}; -export type DocumentsPageListFragment$key = { - readonly " $data"?: DocumentsPageListFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"DocumentsPageListFragment">; -}; - -import DocumentsListQuery_graphql from './DocumentsListQuery.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "documents" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" - }, - { - "defaultValue": 50, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" - }, - { - "defaultValue": { - "direction": "ASC", - "field": "TITLE" - }, - "kind": "LocalArgument", - "name": "order" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "bidirectional", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": { - "count": "last", - "cursor": "before" - }, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": DocumentsListQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "DocumentsPageListFragment", - "selections": [ - { - "alias": "documents", - "args": [ - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } - ], - "concreteType": "DocumentConnection", - "kind": "LinkedField", - "name": "__DocumentsListQuery_documents_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Document", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document:delete\")" - }, - { - "alias": "canSendSigningNotifications", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document:send-signing-notifications" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document:send-signing-notifications\")" - }, - { - "alias": "canRequestSignatures", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document-version:request-signature" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document-version:request-signature\")" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "DocumentsPageRowFragment" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - (v1/*: any*/) - ], - "type": "Organization", - "abstractKey": null -}; -})(); - -(node as any).hash = "0f00d125fc711db9e65d54dcc884a72e"; - -export default node; diff --git a/apps/console/src/__generated__/core/DocumentsPageRowFragment.graphql.ts b/apps/console/src/__generated__/core/DocumentsPageRowFragment.graphql.ts deleted file mode 100644 index d8ffc5594..000000000 --- a/apps/console/src/__generated__/core/DocumentsPageRowFragment.graphql.ts +++ /dev/null @@ -1,244 +0,0 @@ -/** - * @generated SignedSource<<9d93eb8b8aedef57b8a20e267b61bc08>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type DocumentClassification = "CONFIDENTIAL" | "INTERNAL" | "PUBLIC" | "SECRET"; -export type DocumentStatus = "DRAFT" | "PUBLISHED"; -export type DocumentType = "ISMS" | "OTHER" | "POLICY" | "PROCEDURE"; -export type DocumentVersionSignatureState = "REQUESTED" | "SIGNED"; -import { FragmentRefs } from "relay-runtime"; -export type DocumentsPageRowFragment$data = { - readonly canDelete: boolean; - readonly classification: DocumentClassification; - readonly description: string | null | undefined; - readonly documentType: DocumentType; - readonly id: string; - readonly owner: { - readonly fullName: string; - readonly id: string; - }; - readonly title: string; - readonly updatedAt: string; - readonly versions: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly signatures: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly state: DocumentVersionSignatureState; - }; - }>; - }; - readonly status: DocumentStatus; - readonly version: number; - }; - }>; - }; - readonly " $fragmentType": "DocumentsPageRowFragment"; -}; -export type DocumentsPageRowFragment$key = { - readonly " $data"?: DocumentsPageRowFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"DocumentsPageRowFragment">; -}; - -const node: ReaderFragment = (function(){ -var v0 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "DocumentsPageRowFragment", - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "title", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "documentType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "classification", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document:delete\")" - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 1 - } - ], - "concreteType": "DocumentVersionConnection", - "kind": "LinkedField", - "name": "versions", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersion", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "version", - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 1000 - } - ], - "concreteType": "DocumentVersionSignatureConnection", - "kind": "LinkedField", - "name": "signatures", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionSignatureEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionSignature", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "signatures(first:1000)" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "versions(first:1)" - } - ], - "type": "Document", - "abstractKey": null -}; -})(); - -(node as any).hash = "4164f76edc42d40eef1efc54194116ec"; - -export default node; diff --git a/apps/console/src/__generated__/core/DomainCardFragment.graphql.ts b/apps/console/src/__generated__/core/DomainCardFragment.graphql.ts deleted file mode 100644 index 939004dbb..000000000 --- a/apps/console/src/__generated__/core/DomainCardFragment.graphql.ts +++ /dev/null @@ -1,71 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type SSLStatus = "ACTIVE" | "EXPIRED" | "FAILED" | "PENDING" | "PROVISIONING" | "RENEWING"; -import { FragmentRefs } from "relay-runtime"; -export type DomainCardFragment$data = { - readonly canDelete: boolean; - readonly domain: string; - readonly sslStatus: SSLStatus; - readonly " $fragmentSpreads": FragmentRefs<"DomainDialogFragment">; - readonly " $fragmentType": "DomainCardFragment"; -}; -export type DomainCardFragment$key = { - readonly " $data"?: DomainCardFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"DomainCardFragment">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "DomainCardFragment", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "domain", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sslStatus", - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:custom-domain:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:custom-domain:delete\")" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "DomainDialogFragment" - } - ], - "type": "CustomDomain", - "abstractKey": null -}; - -(node as any).hash = "91cc7871d5ac257f2540568a9a10ce0f"; - -export default node; diff --git a/apps/console/src/__generated__/core/DomainDialogFragment.graphql.ts b/apps/console/src/__generated__/core/DomainDialogFragment.graphql.ts deleted file mode 100644 index 036636dbb..000000000 --- a/apps/console/src/__generated__/core/DomainDialogFragment.graphql.ts +++ /dev/null @@ -1,128 +0,0 @@ -/** - * @generated SignedSource<<1d007308b8b70962ddfe217cf3534dab>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type SSLStatus = "ACTIVE" | "EXPIRED" | "FAILED" | "PENDING" | "PROVISIONING" | "RENEWING"; -import { FragmentRefs } from "relay-runtime"; -export type DomainDialogFragment$data = { - readonly createdAt: string; - readonly dnsRecords: ReadonlyArray<{ - readonly name: string; - readonly purpose: string; - readonly ttl: number; - readonly type: string; - readonly value: string; - }>; - readonly domain: string; - readonly sslExpiresAt: string | null | undefined; - readonly sslStatus: SSLStatus; - readonly updatedAt: string; - readonly " $fragmentType": "DomainDialogFragment"; -}; -export type DomainDialogFragment$key = { - readonly " $data"?: DomainDialogFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"DomainDialogFragment">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "DomainDialogFragment", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sslStatus", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "domain", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "DNSRecordInstruction", - "kind": "LinkedField", - "name": "dnsRecords", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "type", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "value", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "ttl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "purpose", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sslExpiresAt", - "storageKey": null - } - ], - "type": "CustomDomain", - "abstractKey": null -}; - -(node as any).hash = "0aec5615023dde2d23901fec9e43ed9b"; - -export default node; diff --git a/apps/console/src/__generated__/core/DomainSettingsPageQuery.graphql.ts b/apps/console/src/__generated__/core/DomainSettingsPageQuery.graphql.ts deleted file mode 100644 index 6d04c53f3..000000000 --- a/apps/console/src/__generated__/core/DomainSettingsPageQuery.graphql.ts +++ /dev/null @@ -1,276 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type DomainSettingsPageQuery$variables = { - organizationId: string; -}; -export type DomainSettingsPageQuery$data = { - readonly organization: { - readonly __typename: "Organization"; - readonly canCreateCustomDomain: boolean; - readonly customDomain: { - readonly domain: string; - readonly " $fragmentSpreads": FragmentRefs<"DomainCardFragment">; - } | null | undefined; - readonly id: string; - } | { - // This will never be '%other', but we need some - // value in case none of the concrete values match. - readonly __typename: "%other"; - }; -}; -export type DomainSettingsPageQuery = { - response: DomainSettingsPageQuery$data; - variables: DomainSettingsPageQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v4 = { - "alias": "canCreateCustomDomain", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:custom-domain:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:custom-domain:create\")" -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "domain", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "DomainSettingsPageQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "CustomDomain", - "kind": "LinkedField", - "name": "customDomain", - "plural": false, - "selections": [ - (v5/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "DomainCardFragment" - } - ], - "storageKey": null - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "DomainSettingsPageQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v4/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "CustomDomain", - "kind": "LinkedField", - "name": "customDomain", - "plural": false, - "selections": [ - (v5/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sslStatus", - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:custom-domain:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:custom-domain:delete\")" - }, - { - "alias": null, - "args": null, - "concreteType": "DNSRecordInstruction", - "kind": "LinkedField", - "name": "dnsRecords", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "type", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "value", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "ttl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "purpose", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sslExpiresAt", - "storageKey": null - }, - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "36529612fbe4366a7344b405031da1d1", - "id": null, - "metadata": {}, - "name": "DomainSettingsPageQuery", - "operationKind": "query", - "text": "query DomainSettingsPageQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n ... on Organization {\n id\n canCreateCustomDomain: permission(action: \"core:custom-domain:create\")\n customDomain {\n domain\n ...DomainCardFragment\n id\n }\n }\n id\n }\n}\n\nfragment DomainCardFragment on CustomDomain {\n domain\n sslStatus\n canDelete: permission(action: \"core:custom-domain:delete\")\n ...DomainDialogFragment\n}\n\nfragment DomainDialogFragment on CustomDomain {\n sslStatus\n domain\n dnsRecords {\n type\n name\n value\n ttl\n purpose\n }\n createdAt\n updatedAt\n sslExpiresAt\n}\n" - } -}; -})(); - -(node as any).hash = "75275e2fc7e7156cdf3059b8f0d4f60d"; - -export default node; diff --git a/apps/console/src/__generated__/core/EditBusinessAssociateAgreementDialogMutation.graphql.ts b/apps/console/src/__generated__/core/EditBusinessAssociateAgreementDialogMutation.graphql.ts deleted file mode 100644 index e5495ba71..000000000 --- a/apps/console/src/__generated__/core/EditBusinessAssociateAgreementDialogMutation.graphql.ts +++ /dev/null @@ -1,139 +0,0 @@ -/** - * @generated SignedSource<<803ae28abdfda756e8e4cdfba1e580c0>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type UpdateVendorBusinessAssociateAgreementInput = { - validFrom?: string | null | undefined; - validUntil?: string | null | undefined; - vendorId: string; -}; -export type EditBusinessAssociateAgreementDialogMutation$variables = { - input: UpdateVendorBusinessAssociateAgreementInput; -}; -export type EditBusinessAssociateAgreementDialogMutation$data = { - readonly updateVendorBusinessAssociateAgreement: { - readonly vendorBusinessAssociateAgreement: { - readonly createdAt: string; - readonly fileUrl: string; - readonly id: string; - readonly validFrom: string | null | undefined; - readonly validUntil: string | null | undefined; - }; - }; -}; -export type EditBusinessAssociateAgreementDialogMutation = { - response: EditBusinessAssociateAgreementDialogMutation$data; - variables: EditBusinessAssociateAgreementDialogMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UpdateVendorBusinessAssociateAgreementPayload", - "kind": "LinkedField", - "name": "updateVendorBusinessAssociateAgreement", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorBusinessAssociateAgreement", - "kind": "LinkedField", - "name": "vendorBusinessAssociateAgreement", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fileUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validFrom", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validUntil", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "EditBusinessAssociateAgreementDialogMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "EditBusinessAssociateAgreementDialogMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "2e50e54d255a9bea661d82188913ed9c", - "id": null, - "metadata": {}, - "name": "EditBusinessAssociateAgreementDialogMutation", - "operationKind": "mutation", - "text": "mutation EditBusinessAssociateAgreementDialogMutation(\n $input: UpdateVendorBusinessAssociateAgreementInput!\n) {\n updateVendorBusinessAssociateAgreement(input: $input) {\n vendorBusinessAssociateAgreement {\n id\n fileUrl\n validFrom\n validUntil\n createdAt\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "10b614dbbdee430ed650b94051be4bbc"; - -export default node; diff --git a/apps/console/src/__generated__/core/EditContactDialogUpdateMutation.graphql.ts b/apps/console/src/__generated__/core/EditContactDialogUpdateMutation.graphql.ts deleted file mode 100644 index 4416d3601..000000000 --- a/apps/console/src/__generated__/core/EditContactDialogUpdateMutation.graphql.ts +++ /dev/null @@ -1,206 +0,0 @@ -/** - * @generated SignedSource<<460e6a454050ccc3c06a50b1c3cd95d4>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type UpdateVendorContactInput = { - email?: string | null | undefined; - fullName?: string | null | undefined; - id: string; - phone?: string | null | undefined; - role?: string | null | undefined; -}; -export type EditContactDialogUpdateMutation$variables = { - input: UpdateVendorContactInput; -}; -export type EditContactDialogUpdateMutation$data = { - readonly updateVendorContact: { - readonly vendorContact: { - readonly " $fragmentSpreads": FragmentRefs<"VendorContactsTabFragment_contact">; - }; - }; -}; -export type EditContactDialogUpdateMutation = { - response: EditContactDialogUpdateMutation$data; - variables: EditContactDialogUpdateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "EditContactDialogUpdateMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "UpdateVendorContactPayload", - "kind": "LinkedField", - "name": "updateVendorContact", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorContact", - "kind": "LinkedField", - "name": "vendorContact", - "plural": false, - "selections": [ - { - "args": null, - "kind": "FragmentSpread", - "name": "VendorContactsTabFragment_contact" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "EditContactDialogUpdateMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "UpdateVendorContactPayload", - "kind": "LinkedField", - "name": "updateVendorContact", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorContact", - "kind": "LinkedField", - "name": "vendorContact", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "email", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "phone", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "role", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-contact:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-contact:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-contact:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-contact:delete\")" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "c07a9743c2296880b73a838d774b4bbd", - "id": null, - "metadata": {}, - "name": "EditContactDialogUpdateMutation", - "operationKind": "mutation", - "text": "mutation EditContactDialogUpdateMutation(\n $input: UpdateVendorContactInput!\n) {\n updateVendorContact(input: $input) {\n vendorContact {\n ...VendorContactsTabFragment_contact\n id\n }\n }\n}\n\nfragment VendorContactsTabFragment_contact on VendorContact {\n id\n fullName\n email\n phone\n role\n createdAt\n updatedAt\n canUpdate: permission(action: \"core:vendor-contact:update\")\n canDelete: permission(action: \"core:vendor-contact:delete\")\n}\n" - } -}; -})(); - -(node as any).hash = "845750bb920bd01ed91bbae1531aaaf0"; - -export default node; diff --git a/apps/console/src/__generated__/core/EditControlDialogLinkMutation.graphql.ts b/apps/console/src/__generated__/core/EditControlDialogLinkMutation.graphql.ts deleted file mode 100644 index 4cab21a6a..000000000 --- a/apps/console/src/__generated__/core/EditControlDialogLinkMutation.graphql.ts +++ /dev/null @@ -1,194 +0,0 @@ -/** - * @generated SignedSource<<100330ea65f9914591271a9a1f78fd2e>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type CreateStateOfApplicabilityControlMappingInput = { - applicability: boolean; - controlId: string; - justification?: string | null | undefined; - stateOfApplicabilityId: string; -}; -export type EditControlDialogLinkMutation$variables = { - input: CreateStateOfApplicabilityControlMappingInput; -}; -export type EditControlDialogLinkMutation$data = { - readonly createStateOfApplicabilityControlMapping: { - readonly stateOfApplicabilityControlEdge: { - readonly node: { - readonly applicability: boolean; - readonly controlId: string; - readonly justification: string | null | undefined; - readonly stateOfApplicabilityId: string; - }; - }; - }; -}; -export type EditControlDialogLinkMutation = { - response: EditControlDialogLinkMutation$data; - variables: EditControlDialogLinkMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "stateOfApplicabilityId", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "controlId", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "applicability", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "justification", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "EditControlDialogLinkMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "CreateStateOfApplicabilityControlMappingPayload", - "kind": "LinkedField", - "name": "createStateOfApplicabilityControlMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "StateOfApplicabilityControlEdge", - "kind": "LinkedField", - "name": "stateOfApplicabilityControlEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "StateOfApplicabilityControl", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "EditControlDialogLinkMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "CreateStateOfApplicabilityControlMappingPayload", - "kind": "LinkedField", - "name": "createStateOfApplicabilityControlMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "StateOfApplicabilityControlEdge", - "kind": "LinkedField", - "name": "stateOfApplicabilityControlEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "StateOfApplicabilityControl", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "e15d97ea6b798532fb82fc577cbccd64", - "id": null, - "metadata": {}, - "name": "EditControlDialogLinkMutation", - "operationKind": "mutation", - "text": "mutation EditControlDialogLinkMutation(\n $input: CreateStateOfApplicabilityControlMappingInput!\n) {\n createStateOfApplicabilityControlMapping(input: $input) {\n stateOfApplicabilityControlEdge {\n node {\n stateOfApplicabilityId\n controlId\n applicability\n justification\n id\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "e7a83ce3daa0051a0b2bb03b0429f2c4"; - -export default node; diff --git a/apps/console/src/__generated__/core/EditDataPrivacyAgreementDialogMutation.graphql.ts b/apps/console/src/__generated__/core/EditDataPrivacyAgreementDialogMutation.graphql.ts deleted file mode 100644 index 4854e8686..000000000 --- a/apps/console/src/__generated__/core/EditDataPrivacyAgreementDialogMutation.graphql.ts +++ /dev/null @@ -1,139 +0,0 @@ -/** - * @generated SignedSource<<12863d17356b3d0f16a9c377cd95eb5b>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type UpdateVendorDataPrivacyAgreementInput = { - validFrom?: string | null | undefined; - validUntil?: string | null | undefined; - vendorId: string; -}; -export type EditDataPrivacyAgreementDialogMutation$variables = { - input: UpdateVendorDataPrivacyAgreementInput; -}; -export type EditDataPrivacyAgreementDialogMutation$data = { - readonly updateVendorDataPrivacyAgreement: { - readonly vendorDataPrivacyAgreement: { - readonly createdAt: string; - readonly fileUrl: string; - readonly id: string; - readonly validFrom: string | null | undefined; - readonly validUntil: string | null | undefined; - }; - }; -}; -export type EditDataPrivacyAgreementDialogMutation = { - response: EditDataPrivacyAgreementDialogMutation$data; - variables: EditDataPrivacyAgreementDialogMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UpdateVendorDataPrivacyAgreementPayload", - "kind": "LinkedField", - "name": "updateVendorDataPrivacyAgreement", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorDataPrivacyAgreement", - "kind": "LinkedField", - "name": "vendorDataPrivacyAgreement", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fileUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validFrom", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validUntil", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "EditDataPrivacyAgreementDialogMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "EditDataPrivacyAgreementDialogMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "e84e9f9457d6e4dc295578e540aa3e64", - "id": null, - "metadata": {}, - "name": "EditDataPrivacyAgreementDialogMutation", - "operationKind": "mutation", - "text": "mutation EditDataPrivacyAgreementDialogMutation(\n $input: UpdateVendorDataPrivacyAgreementInput!\n) {\n updateVendorDataPrivacyAgreement(input: $input) {\n vendorDataPrivacyAgreement {\n id\n fileUrl\n validFrom\n validUntil\n createdAt\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "b2caa3bc89953896a848ee77fd96a767"; - -export default node; diff --git a/apps/console/src/__generated__/core/EditServiceDialogUpdateMutation.graphql.ts b/apps/console/src/__generated__/core/EditServiceDialogUpdateMutation.graphql.ts deleted file mode 100644 index c271d1282..000000000 --- a/apps/console/src/__generated__/core/EditServiceDialogUpdateMutation.graphql.ts +++ /dev/null @@ -1,192 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type UpdateVendorServiceInput = { - description?: string | null | undefined; - id: string; - name?: string | null | undefined; - type?: string | null | undefined; - url?: string | null | undefined; -}; -export type EditServiceDialogUpdateMutation$variables = { - input: UpdateVendorServiceInput; -}; -export type EditServiceDialogUpdateMutation$data = { - readonly updateVendorService: { - readonly vendorService: { - readonly " $fragmentSpreads": FragmentRefs<"VendorServicesTabFragment_service">; - }; - }; -}; -export type EditServiceDialogUpdateMutation = { - response: EditServiceDialogUpdateMutation$data; - variables: EditServiceDialogUpdateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "EditServiceDialogUpdateMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "UpdateVendorServicePayload", - "kind": "LinkedField", - "name": "updateVendorService", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorService", - "kind": "LinkedField", - "name": "vendorService", - "plural": false, - "selections": [ - { - "args": null, - "kind": "FragmentSpread", - "name": "VendorServicesTabFragment_service" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "EditServiceDialogUpdateMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "UpdateVendorServicePayload", - "kind": "LinkedField", - "name": "updateVendorService", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorService", - "kind": "LinkedField", - "name": "vendorService", - "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": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-service:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-service:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-service:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-service:delete\")" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "5944b8aa370dff2ef78b2690dd4b3f35", - "id": null, - "metadata": {}, - "name": "EditServiceDialogUpdateMutation", - "operationKind": "mutation", - "text": "mutation EditServiceDialogUpdateMutation(\n $input: UpdateVendorServiceInput!\n) {\n updateVendorService(input: $input) {\n vendorService {\n ...VendorServicesTabFragment_service\n id\n }\n }\n}\n\nfragment VendorServicesTabFragment_service on VendorService {\n id\n name\n description\n createdAt\n updatedAt\n canUpdate: permission(action: \"core:vendor-service:update\")\n canDelete: permission(action: \"core:vendor-service:delete\")\n}\n" - } -}; -})(); - -(node as any).hash = "8a34720f5ae7e1f5c619518d4e0db460"; - -export default node; diff --git a/apps/console/src/__generated__/core/EmployeeDocumentSignaturePageDocumentFragment.graphql.ts b/apps/console/src/__generated__/core/EmployeeDocumentSignaturePageDocumentFragment.graphql.ts deleted file mode 100644 index 6202b5a5d..000000000 --- a/apps/console/src/__generated__/core/EmployeeDocumentSignaturePageDocumentFragment.graphql.ts +++ /dev/null @@ -1,139 +0,0 @@ -/** - * @generated SignedSource<<30cf9ee1e00a276d2719e8d7d5ea0949>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type EmployeeDocumentSignaturePageDocumentFragment$data = { - readonly id: string; - readonly signed: boolean; - readonly title: string; - readonly versions: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"VersionActionsFragment" | "VersionRowFragment">; - }; - }>; - }; - readonly " $fragmentType": "EmployeeDocumentSignaturePageDocumentFragment"; -}; -export type EmployeeDocumentSignaturePageDocumentFragment$key = { - readonly " $data"?: EmployeeDocumentSignaturePageDocumentFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"EmployeeDocumentSignaturePageDocumentFragment">; -}; - -const node: ReaderFragment = (function(){ -var v0 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "EmployeeDocumentSignaturePageDocumentFragment", - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "title", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "signed", - "storageKey": null - }, - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 100 - }, - { - "kind": "Literal", - "name": "orderBy", - "value": { - "direction": "DESC", - "field": "CREATED_AT" - } - } - ], - "concreteType": "DocumentVersionConnection", - "kind": "LinkedField", - "name": "versions", - "plural": false, - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "DocumentVersionEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "DocumentVersion", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v0/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "VersionActionsFragment" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "VersionRowFragment" - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "storageKey": "versions(first:100,orderBy:{\"direction\":\"DESC\",\"field\":\"CREATED_AT\"})" - }, - "action": "THROW" - } - ], - "type": "SignableDocument", - "abstractKey": null -}; -})(); - -(node as any).hash = "aaa20cc1293a2b1ce5d760631c30804c"; - -export default node; diff --git a/apps/console/src/__generated__/core/EmployeeDocumentSignaturePageExportSignablePDFMutation.graphql.ts b/apps/console/src/__generated__/core/EmployeeDocumentSignaturePageExportSignablePDFMutation.graphql.ts deleted file mode 100644 index 214d581bb..000000000 --- a/apps/console/src/__generated__/core/EmployeeDocumentSignaturePageExportSignablePDFMutation.graphql.ts +++ /dev/null @@ -1,92 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type ExportSignableDocumentVersionPDFInput = { - documentVersionId: string; -}; -export type EmployeeDocumentSignaturePageExportSignablePDFMutation$variables = { - input: ExportSignableDocumentVersionPDFInput; -}; -export type EmployeeDocumentSignaturePageExportSignablePDFMutation$data = { - readonly exportSignableVersionDocumentPDF: { - readonly data: string; - }; -}; -export type EmployeeDocumentSignaturePageExportSignablePDFMutation = { - response: EmployeeDocumentSignaturePageExportSignablePDFMutation$data; - variables: EmployeeDocumentSignaturePageExportSignablePDFMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "ExportSignableDocumentVersionPDFPayload", - "kind": "LinkedField", - "name": "exportSignableVersionDocumentPDF", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "data", - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "EmployeeDocumentSignaturePageExportSignablePDFMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "EmployeeDocumentSignaturePageExportSignablePDFMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "1bbeaaac843ecd06e9f7ee662aa11fc2", - "id": null, - "metadata": {}, - "name": "EmployeeDocumentSignaturePageExportSignablePDFMutation", - "operationKind": "mutation", - "text": "mutation EmployeeDocumentSignaturePageExportSignablePDFMutation(\n $input: ExportSignableDocumentVersionPDFInput!\n) {\n exportSignableVersionDocumentPDF(input: $input) {\n data\n }\n}\n" - } -}; -})(); - -(node as any).hash = "39a1e34d4b4f8c98d262dd3a737ebb7c"; - -export default node; diff --git a/apps/console/src/__generated__/core/EmployeeDocumentSignaturePageQuery.graphql.ts b/apps/console/src/__generated__/core/EmployeeDocumentSignaturePageQuery.graphql.ts deleted file mode 100644 index d4c4adf8a..000000000 --- a/apps/console/src/__generated__/core/EmployeeDocumentSignaturePageQuery.graphql.ts +++ /dev/null @@ -1,217 +0,0 @@ -/** - * @generated SignedSource<<92e104374ca160bd4ce96fe2c60aecc6>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type EmployeeDocumentSignaturePageQuery$variables = { - documentId: string; -}; -export type EmployeeDocumentSignaturePageQuery$data = { - readonly viewer: { - readonly signableDocument: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"EmployeeDocumentSignaturePageDocumentFragment">; - } | null | undefined; - }; -}; -export type EmployeeDocumentSignaturePageQuery = { - response: EmployeeDocumentSignaturePageQuery$data; - variables: EmployeeDocumentSignaturePageQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "documentId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "documentId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "signed", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "EmployeeDocumentSignaturePageQuery", - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "Viewer", - "kind": "LinkedField", - "name": "viewer", - "plural": false, - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "SignableDocument", - "kind": "LinkedField", - "name": "signableDocument", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "EmployeeDocumentSignaturePageDocumentFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "EmployeeDocumentSignaturePageQuery", - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Viewer", - "kind": "LinkedField", - "name": "viewer", - "plural": false, - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "SignableDocument", - "kind": "LinkedField", - "name": "signableDocument", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "title", - "storageKey": null - }, - (v3/*: any*/), - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 100 - }, - { - "kind": "Literal", - "name": "orderBy", - "value": { - "direction": "DESC", - "field": "CREATED_AT" - } - } - ], - "concreteType": "DocumentVersionConnection", - "kind": "LinkedField", - "name": "versions", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersion", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "version", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "publishedAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "versions(first:100,orderBy:{\"direction\":\"DESC\",\"field\":\"CREATED_AT\"})" - } - ], - "storageKey": null - }, - (v2/*: any*/) - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "6ae29e4a10d7e0eb4afa03eef60d6762", - "id": null, - "metadata": {}, - "name": "EmployeeDocumentSignaturePageQuery", - "operationKind": "query", - "text": "query EmployeeDocumentSignaturePageQuery(\n $documentId: ID!\n) {\n viewer {\n signableDocument(id: $documentId) {\n id\n ...EmployeeDocumentSignaturePageDocumentFragment\n }\n id\n }\n}\n\nfragment EmployeeDocumentSignaturePageDocumentFragment on SignableDocument {\n id\n title\n signed\n versions(first: 100, orderBy: {field: CREATED_AT, direction: DESC}) {\n edges {\n node {\n id\n ...VersionActionsFragment\n ...VersionRowFragment\n }\n }\n }\n}\n\nfragment VersionActionsFragment on DocumentVersion {\n id\n signed\n}\n\nfragment VersionRowFragment on DocumentVersion {\n id\n version\n signed\n publishedAt\n}\n" - } -}; -})(); - -(node as any).hash = "4b2db4d00f02f0826166b729e61e4e5d"; - -export default node; diff --git a/apps/console/src/__generated__/core/EmployeeDocumentSignaturePageSignMutation.graphql.ts b/apps/console/src/__generated__/core/EmployeeDocumentSignaturePageSignMutation.graphql.ts deleted file mode 100644 index 84f2d8090..000000000 --- a/apps/console/src/__generated__/core/EmployeeDocumentSignaturePageSignMutation.graphql.ts +++ /dev/null @@ -1,114 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DocumentVersionSignatureState = "REQUESTED" | "SIGNED"; -export type SignDocumentInput = { - documentVersionId: string; -}; -export type EmployeeDocumentSignaturePageSignMutation$variables = { - input: SignDocumentInput; -}; -export type EmployeeDocumentSignaturePageSignMutation$data = { - readonly signDocument: { - readonly documentVersionSignature: { - readonly id: string; - readonly state: DocumentVersionSignatureState; - }; - }; -}; -export type EmployeeDocumentSignaturePageSignMutation = { - response: EmployeeDocumentSignaturePageSignMutation$data; - variables: EmployeeDocumentSignaturePageSignMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "SignDocumentPayload", - "kind": "LinkedField", - "name": "signDocument", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionSignature", - "kind": "LinkedField", - "name": "documentVersionSignature", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "EmployeeDocumentSignaturePageSignMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "EmployeeDocumentSignaturePageSignMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "dfdd778fc4b0cfc9c007e4c29258ea96", - "id": null, - "metadata": {}, - "name": "EmployeeDocumentSignaturePageSignMutation", - "operationKind": "mutation", - "text": "mutation EmployeeDocumentSignaturePageSignMutation(\n $input: SignDocumentInput!\n) {\n signDocument(input: $input) {\n documentVersionSignature {\n id\n state\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "b91674332a1914e270e4fb811ccfd479"; - -export default node; diff --git a/apps/console/src/__generated__/core/EmployeeDocumentsPageQuery.graphql.ts b/apps/console/src/__generated__/core/EmployeeDocumentsPageQuery.graphql.ts deleted file mode 100644 index 4784bde55..000000000 --- a/apps/console/src/__generated__/core/EmployeeDocumentsPageQuery.graphql.ts +++ /dev/null @@ -1,247 +0,0 @@ -/** - * @generated SignedSource<<7bf19a133f9a98ea87492298d98312fa>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type EmployeeDocumentsPageQuery$variables = { - organizationId: string; -}; -export type EmployeeDocumentsPageQuery$data = { - readonly viewer: { - readonly signableDocuments: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"DocumentRowFragment">; - }; - }>; - }; - }; -}; -export type EmployeeDocumentsPageQuery = { - response: EmployeeDocumentsPageQuery$data; - variables: EmployeeDocumentsPageQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - } -], -v1 = [ - { - "kind": "Literal", - "name": "first", - "value": 1000 - }, - { - "kind": "Literal", - "name": "orderBy", - "value": { - "direction": "DESC", - "field": "CREATED_AT" - } - }, - { - "kind": "Variable", - "name": "organizationId", - "variableName": "organizationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "EmployeeDocumentsPageQuery", - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "Viewer", - "kind": "LinkedField", - "name": "viewer", - "plural": false, - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "SignableDocumentConnection", - "kind": "LinkedField", - "name": "signableDocuments", - "plural": false, - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "SignableDocumentEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "SignableDocument", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "DocumentRowFragment" - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "EmployeeDocumentsPageQuery", - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Viewer", - "kind": "LinkedField", - "name": "viewer", - "plural": false, - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "SignableDocumentConnection", - "kind": "LinkedField", - "name": "signableDocuments", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "SignableDocumentEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "SignableDocument", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "title", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "documentType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "classification", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "signed", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - (v2/*: any*/) - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "6b86b68f881b9cce5eb16c3d02efba06", - "id": null, - "metadata": {}, - "name": "EmployeeDocumentsPageQuery", - "operationKind": "query", - "text": "query EmployeeDocumentsPageQuery(\n $organizationId: ID!\n) {\n viewer {\n signableDocuments(organizationId: $organizationId, first: 1000, orderBy: {field: CREATED_AT, direction: DESC}) {\n edges {\n node {\n id\n ...DocumentRowFragment\n }\n }\n }\n id\n }\n}\n\nfragment DocumentRowFragment on SignableDocument {\n id\n title\n documentType\n classification\n signed\n updatedAt\n}\n" - } -}; -})(); - -(node as any).hash = "df39499ecf83f117576ac2456aeb094a"; - -export default node; diff --git a/apps/console/src/__generated__/core/EvidenceGraphFileQuery.graphql.ts b/apps/console/src/__generated__/core/EvidenceGraphFileQuery.graphql.ts deleted file mode 100644 index 336d3a1f8..000000000 --- a/apps/console/src/__generated__/core/EvidenceGraphFileQuery.graphql.ts +++ /dev/null @@ -1,189 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type EvidenceGraphFileQuery$variables = { - evidenceId: string; -}; -export type EvidenceGraphFileQuery$data = { - readonly node: { - readonly file?: { - readonly downloadUrl: string; - readonly fileName: string; - readonly mimeType: string; - readonly size: number; - } | null | undefined; - readonly id?: string; - }; -}; -export type EvidenceGraphFileQuery = { - response: EvidenceGraphFileQuery$data; - variables: EvidenceGraphFileQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "evidenceId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "evidenceId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "mimeType", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fileName", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "size", - "storageKey": null -}, -v6 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "downloadUrl", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "EvidenceGraphFileQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "File", - "kind": "LinkedField", - "name": "file", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/) - ], - "storageKey": null - } - ], - "type": "Evidence", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "EvidenceGraphFileQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "File", - "kind": "LinkedField", - "name": "file", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v2/*: any*/) - ], - "storageKey": null - } - ], - "type": "Evidence", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "780e108a52d2fcbde6653de5d2ee058b", - "id": null, - "metadata": {}, - "name": "EvidenceGraphFileQuery", - "operationKind": "query", - "text": "query EvidenceGraphFileQuery(\n $evidenceId: ID!\n) {\n node(id: $evidenceId) {\n __typename\n ... on Evidence {\n id\n file {\n mimeType\n fileName\n size\n downloadUrl\n id\n }\n }\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "186386e82f82feb9c5b5a54f9d937903"; - -export default node; diff --git a/apps/console/src/__generated__/core/FormRiskDialogMutation.graphql.ts b/apps/console/src/__generated__/core/FormRiskDialogMutation.graphql.ts deleted file mode 100644 index 73dcc3042..000000000 --- a/apps/console/src/__generated__/core/FormRiskDialogMutation.graphql.ts +++ /dev/null @@ -1,285 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type RiskTreatment = "ACCEPTED" | "AVOIDED" | "MITIGATED" | "TRANSFERRED"; -export type CreateRiskInput = { - category: string; - description?: string | null | undefined; - inherentImpact: number; - inherentLikelihood: number; - name: string; - note?: string | null | undefined; - organizationId: string; - ownerId?: string | null | undefined; - residualImpact?: number | null | undefined; - residualLikelihood?: number | null | undefined; - treatment: RiskTreatment; -}; -export type FormRiskDialogMutation$variables = { - connections: ReadonlyArray; - input: CreateRiskInput; -}; -export type FormRiskDialogMutation$data = { - readonly createRisk: { - readonly riskEdge: { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"useRiskFormFragment">; - }; - }; - }; -}; -export type FormRiskDialogMutation = { - response: FormRiskDialogMutation$data; - variables: FormRiskDialogMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "FormRiskDialogMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateRiskPayload", - "kind": "LinkedField", - "name": "createRisk", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "RiskEdge", - "kind": "LinkedField", - "name": "riskEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Risk", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": null, - "kind": "FragmentSpread", - "name": "useRiskFormFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "FormRiskDialogMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateRiskPayload", - "kind": "LinkedField", - "name": "createRisk", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "RiskEdge", - "kind": "LinkedField", - "name": "riskEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Risk", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "category", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "treatment", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "inherentLikelihood", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "inherentImpact", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualLikelihood", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualImpact", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "inherentRiskScore", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualRiskScore", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "note", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "riskEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "a6ca4767b2443f6b4d02d6fdd1358600", - "id": null, - "metadata": {}, - "name": "FormRiskDialogMutation", - "operationKind": "mutation", - "text": "mutation FormRiskDialogMutation(\n $input: CreateRiskInput!\n) {\n createRisk(input: $input) {\n riskEdge {\n node {\n ...useRiskFormFragment\n id\n }\n }\n }\n}\n\nfragment useRiskFormFragment on Risk {\n id\n name\n category\n description\n treatment\n inherentLikelihood\n inherentImpact\n residualLikelihood\n residualImpact\n inherentRiskScore\n residualRiskScore\n note\n owner {\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "0429ad2b3af194de47f4b5af4231e22b"; - -export default node; diff --git a/apps/console/src/__generated__/core/FormRiskDialogUpdateRiskMutation.graphql.ts b/apps/console/src/__generated__/core/FormRiskDialogUpdateRiskMutation.graphql.ts deleted file mode 100644 index d3f376e23..000000000 --- a/apps/console/src/__generated__/core/FormRiskDialogUpdateRiskMutation.graphql.ts +++ /dev/null @@ -1,235 +0,0 @@ -/** - * @generated SignedSource<<4122b3e15107bc0f2c5f8b842b882603>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type RiskTreatment = "ACCEPTED" | "AVOIDED" | "MITIGATED" | "TRANSFERRED"; -export type UpdateRiskInput = { - category?: string | null | undefined; - description?: string | null | undefined; - id: string; - inherentImpact?: number | null | undefined; - inherentLikelihood?: number | null | undefined; - name?: string | null | undefined; - note?: string | null | undefined; - ownerId?: string | null | undefined; - residualImpact?: number | null | undefined; - residualLikelihood?: number | null | undefined; - treatment?: RiskTreatment | null | undefined; -}; -export type FormRiskDialogUpdateRiskMutation$variables = { - input: UpdateRiskInput; -}; -export type FormRiskDialogUpdateRiskMutation$data = { - readonly updateRisk: { - readonly risk: { - readonly " $fragmentSpreads": FragmentRefs<"useRiskFormFragment">; - }; - }; -}; -export type FormRiskDialogUpdateRiskMutation = { - response: FormRiskDialogUpdateRiskMutation$data; - variables: FormRiskDialogUpdateRiskMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "FormRiskDialogUpdateRiskMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "UpdateRiskPayload", - "kind": "LinkedField", - "name": "updateRisk", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Risk", - "kind": "LinkedField", - "name": "risk", - "plural": false, - "selections": [ - { - "args": null, - "kind": "FragmentSpread", - "name": "useRiskFormFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "FormRiskDialogUpdateRiskMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "UpdateRiskPayload", - "kind": "LinkedField", - "name": "updateRisk", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Risk", - "kind": "LinkedField", - "name": "risk", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "category", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "treatment", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "inherentLikelihood", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "inherentImpact", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualLikelihood", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualImpact", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "inherentRiskScore", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualRiskScore", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "note", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v2/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "59f586a59973ca023df027fdfb0d4bed", - "id": null, - "metadata": {}, - "name": "FormRiskDialogUpdateRiskMutation", - "operationKind": "mutation", - "text": "mutation FormRiskDialogUpdateRiskMutation(\n $input: UpdateRiskInput!\n) {\n updateRisk(input: $input) {\n risk {\n ...useRiskFormFragment\n id\n }\n }\n}\n\nfragment useRiskFormFragment on Risk {\n id\n name\n category\n description\n treatment\n inherentLikelihood\n inherentImpact\n residualLikelihood\n residualImpact\n inherentRiskScore\n residualRiskScore\n note\n owner {\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "0299493042b2b5e7e464c991bab94375"; - -export default node; diff --git a/apps/console/src/__generated__/core/FrameworkControlDialogCreateMutation.graphql.ts b/apps/console/src/__generated__/core/FrameworkControlDialogCreateMutation.graphql.ts deleted file mode 100644 index 9845a1459..000000000 --- a/apps/console/src/__generated__/core/FrameworkControlDialogCreateMutation.graphql.ts +++ /dev/null @@ -1,233 +0,0 @@ -/** - * @generated SignedSource<<35c2c66dca0c895c7abca2b0f4917a68>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type ControlStatus = "EXCLUDED" | "INCLUDED"; -export type CreateControlInput = { - bestPractice: boolean; - description?: string | null | undefined; - exclusionJustification?: string | null | undefined; - frameworkId: string; - name: string; - sectionTitle: string; - status: ControlStatus; -}; -export type FrameworkControlDialogCreateMutation$variables = { - connections: ReadonlyArray; - input: CreateControlInput; -}; -export type FrameworkControlDialogCreateMutation$data = { - readonly createControl: { - readonly controlEdge: { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"FrameworkControlDialogFragment">; - }; - }; - }; -}; -export type FrameworkControlDialogCreateMutation = { - response: FrameworkControlDialogCreateMutation$data; - variables: FrameworkControlDialogCreateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "FrameworkControlDialogCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateControlPayload", - "kind": "LinkedField", - "name": "createControl", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ControlEdge", - "kind": "LinkedField", - "name": "controlEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Control", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": null, - "kind": "FragmentSpread", - "name": "FrameworkControlDialogFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "FrameworkControlDialogCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateControlPayload", - "kind": "LinkedField", - "name": "createControl", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ControlEdge", - "kind": "LinkedField", - "name": "controlEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Control", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sectionTitle", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "exclusionJustification", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "bestPractice", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "controlEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "81df1f9c65937d3e387edffc6e9a28ac", - "id": null, - "metadata": {}, - "name": "FrameworkControlDialogCreateMutation", - "operationKind": "mutation", - "text": "mutation FrameworkControlDialogCreateMutation(\n $input: CreateControlInput!\n) {\n createControl(input: $input) {\n controlEdge {\n node {\n ...FrameworkControlDialogFragment\n id\n }\n }\n }\n}\n\nfragment FrameworkControlDialogFragment on Control {\n id\n name\n description\n sectionTitle\n status\n exclusionJustification\n bestPractice\n}\n" - } -}; -})(); - -(node as any).hash = "a64e6fd936555c0dd2cb4148cde736b6"; - -export default node; diff --git a/apps/console/src/__generated__/core/FrameworkControlDialogFragment.graphql.ts b/apps/console/src/__generated__/core/FrameworkControlDialogFragment.graphql.ts deleted file mode 100644 index 3d5f36c10..000000000 --- a/apps/console/src/__generated__/core/FrameworkControlDialogFragment.graphql.ts +++ /dev/null @@ -1,91 +0,0 @@ -/** - * @generated SignedSource<<3a62e5f931a990d83caca02ab629b0c0>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type ControlStatus = "EXCLUDED" | "INCLUDED"; -import { FragmentRefs } from "relay-runtime"; -export type FrameworkControlDialogFragment$data = { - readonly bestPractice: boolean; - readonly description: string | null | undefined; - readonly exclusionJustification: string | null | undefined; - readonly id: string; - readonly name: string; - readonly sectionTitle: string; - readonly status: ControlStatus; - readonly " $fragmentType": "FrameworkControlDialogFragment"; -}; -export type FrameworkControlDialogFragment$key = { - readonly " $data"?: FrameworkControlDialogFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"FrameworkControlDialogFragment">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "FrameworkControlDialogFragment", - "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": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sectionTitle", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "exclusionJustification", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "bestPractice", - "storageKey": null - } - ], - "type": "Control", - "abstractKey": null -}; - -(node as any).hash = "481f75ce8c525c1fa12517ef173ad868"; - -export default node; diff --git a/apps/console/src/__generated__/core/FrameworkControlDialogUpdateMutation.graphql.ts b/apps/console/src/__generated__/core/FrameworkControlDialogUpdateMutation.graphql.ts deleted file mode 100644 index d8d19fde7..000000000 --- a/apps/console/src/__generated__/core/FrameworkControlDialogUpdateMutation.graphql.ts +++ /dev/null @@ -1,183 +0,0 @@ -/** - * @generated SignedSource<<7ee3c72e16fa86d6c006c004e4f93c95>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type ControlStatus = "EXCLUDED" | "INCLUDED"; -export type UpdateControlInput = { - bestPractice?: boolean | null | undefined; - description?: string | null | undefined; - exclusionJustification?: string | null | undefined; - id: string; - name?: string | null | undefined; - sectionTitle?: string | null | undefined; - status?: ControlStatus | null | undefined; -}; -export type FrameworkControlDialogUpdateMutation$variables = { - input: UpdateControlInput; -}; -export type FrameworkControlDialogUpdateMutation$data = { - readonly updateControl: { - readonly control: { - readonly " $fragmentSpreads": FragmentRefs<"FrameworkControlDialogFragment">; - }; - }; -}; -export type FrameworkControlDialogUpdateMutation = { - response: FrameworkControlDialogUpdateMutation$data; - variables: FrameworkControlDialogUpdateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "FrameworkControlDialogUpdateMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "UpdateControlPayload", - "kind": "LinkedField", - "name": "updateControl", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Control", - "kind": "LinkedField", - "name": "control", - "plural": false, - "selections": [ - { - "args": null, - "kind": "FragmentSpread", - "name": "FrameworkControlDialogFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "FrameworkControlDialogUpdateMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "UpdateControlPayload", - "kind": "LinkedField", - "name": "updateControl", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Control", - "kind": "LinkedField", - "name": "control", - "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": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sectionTitle", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "exclusionJustification", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "bestPractice", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "374c69b33dd6e94dec75829fe0777f58", - "id": null, - "metadata": {}, - "name": "FrameworkControlDialogUpdateMutation", - "operationKind": "mutation", - "text": "mutation FrameworkControlDialogUpdateMutation(\n $input: UpdateControlInput!\n) {\n updateControl(input: $input) {\n control {\n ...FrameworkControlDialogFragment\n id\n }\n }\n}\n\nfragment FrameworkControlDialogFragment on Control {\n id\n name\n description\n sectionTitle\n status\n exclusionJustification\n bestPractice\n}\n" - } -}; -})(); - -(node as any).hash = "0f070ad6868861c25e409d3777c247dd"; - -export default node; diff --git a/apps/console/src/__generated__/core/FrameworkControlPageAttachAuditMutation.graphql.ts b/apps/console/src/__generated__/core/FrameworkControlPageAttachAuditMutation.graphql.ts deleted file mode 100644 index 5cbb66d45..000000000 --- a/apps/console/src/__generated__/core/FrameworkControlPageAttachAuditMutation.graphql.ts +++ /dev/null @@ -1,237 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type CreateControlAuditMappingInput = { - auditId: string; - controlId: string; -}; -export type FrameworkControlPageAttachAuditMutation$variables = { - connections: ReadonlyArray; - input: CreateControlAuditMappingInput; -}; -export type FrameworkControlPageAttachAuditMutation$data = { - readonly createControlAuditMapping: { - readonly auditEdge: { - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"LinkedAuditsCardFragment">; - }; - }; - }; -}; -export type FrameworkControlPageAttachAuditMutation = { - response: FrameworkControlPageAttachAuditMutation$data; - variables: FrameworkControlPageAttachAuditMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "FrameworkControlPageAttachAuditMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateControlAuditMappingPayload", - "kind": "LinkedField", - "name": "createControlAuditMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "AuditEdge", - "kind": "LinkedField", - "name": "auditEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "LinkedAuditsCardFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "FrameworkControlPageAttachAuditMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateControlAuditMappingPayload", - "kind": "LinkedField", - "name": "createControlAuditMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "AuditEdge", - "kind": "LinkedField", - "name": "auditEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validFrom", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validUntil", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "auditEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "23afa68a91d9ae6630123a4ff693a0ec", - "id": null, - "metadata": {}, - "name": "FrameworkControlPageAttachAuditMutation", - "operationKind": "mutation", - "text": "mutation FrameworkControlPageAttachAuditMutation(\n $input: CreateControlAuditMappingInput!\n) {\n createControlAuditMapping(input: $input) {\n auditEdge {\n node {\n id\n ...LinkedAuditsCardFragment\n }\n }\n }\n}\n\nfragment LinkedAuditsCardFragment on Audit {\n id\n name\n createdAt\n state\n validFrom\n validUntil\n framework {\n id\n name\n }\n}\n" - } -}; -})(); - -(node as any).hash = "0a9f52be5fb551ec55667b7d777391de"; - -export default node; diff --git a/apps/console/src/__generated__/core/FrameworkControlPageAttachDocumentMutation.graphql.ts b/apps/console/src/__generated__/core/FrameworkControlPageAttachDocumentMutation.graphql.ts deleted file mode 100644 index 8fad6cfbe..000000000 --- a/apps/console/src/__generated__/core/FrameworkControlPageAttachDocumentMutation.graphql.ts +++ /dev/null @@ -1,256 +0,0 @@ -/** - * @generated SignedSource<<47d493f6b225797004c11ba908c1e7d2>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type CreateControlDocumentMappingInput = { - controlId: string; - documentId: string; -}; -export type FrameworkControlPageAttachDocumentMutation$variables = { - connections: ReadonlyArray; - input: CreateControlDocumentMappingInput; -}; -export type FrameworkControlPageAttachDocumentMutation$data = { - readonly createControlDocumentMapping: { - readonly documentEdge: { - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"LinkedDocumentsCardFragment">; - }; - }; - }; -}; -export type FrameworkControlPageAttachDocumentMutation = { - response: FrameworkControlPageAttachDocumentMutation$data; - variables: FrameworkControlPageAttachDocumentMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "FrameworkControlPageAttachDocumentMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateControlDocumentMappingPayload", - "kind": "LinkedField", - "name": "createControlDocumentMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentEdge", - "kind": "LinkedField", - "name": "documentEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Document", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "LinkedDocumentsCardFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "FrameworkControlPageAttachDocumentMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateControlDocumentMappingPayload", - "kind": "LinkedField", - "name": "createControlDocumentMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentEdge", - "kind": "LinkedField", - "name": "documentEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Document", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "title", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "documentType", - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 1 - } - ], - "concreteType": "DocumentVersionConnection", - "kind": "LinkedField", - "name": "versions", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersion", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "versions(first:1)" - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "documentEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "857c472a56bba83b8249bb6f3b97eea2", - "id": null, - "metadata": {}, - "name": "FrameworkControlPageAttachDocumentMutation", - "operationKind": "mutation", - "text": "mutation FrameworkControlPageAttachDocumentMutation(\n $input: CreateControlDocumentMappingInput!\n) {\n createControlDocumentMapping(input: $input) {\n documentEdge {\n node {\n id\n ...LinkedDocumentsCardFragment\n }\n }\n }\n}\n\nfragment LinkedDocumentsCardFragment on Document {\n id\n title\n createdAt\n documentType\n versions(first: 1) {\n edges {\n node {\n id\n status\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "6f019fa6bdfccc4cddd80f0de770440f"; - -export default node; diff --git a/apps/console/src/__generated__/core/FrameworkControlPageAttachMutation.graphql.ts b/apps/console/src/__generated__/core/FrameworkControlPageAttachMutation.graphql.ts deleted file mode 100644 index c11a2064a..000000000 --- a/apps/console/src/__generated__/core/FrameworkControlPageAttachMutation.graphql.ts +++ /dev/null @@ -1,202 +0,0 @@ -/** - * @generated SignedSource<<1d23c8e1a8e16a9811d75d208ade0889>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type CreateControlMeasureMappingInput = { - controlId: string; - measureId: string; -}; -export type FrameworkControlPageAttachMutation$variables = { - connections: ReadonlyArray; - input: CreateControlMeasureMappingInput; -}; -export type FrameworkControlPageAttachMutation$data = { - readonly createControlMeasureMapping: { - readonly measureEdge: { - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"LinkedMeasuresCardFragment">; - }; - }; - }; -}; -export type FrameworkControlPageAttachMutation = { - response: FrameworkControlPageAttachMutation$data; - variables: FrameworkControlPageAttachMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "FrameworkControlPageAttachMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateControlMeasureMappingPayload", - "kind": "LinkedField", - "name": "createControlMeasureMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "MeasureEdge", - "kind": "LinkedField", - "name": "measureEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Measure", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "LinkedMeasuresCardFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "FrameworkControlPageAttachMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateControlMeasureMappingPayload", - "kind": "LinkedField", - "name": "createControlMeasureMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "MeasureEdge", - "kind": "LinkedField", - "name": "measureEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Measure", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "measureEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "85f870b18745fcd28bac3a52c404e98f", - "id": null, - "metadata": {}, - "name": "FrameworkControlPageAttachMutation", - "operationKind": "mutation", - "text": "mutation FrameworkControlPageAttachMutation(\n $input: CreateControlMeasureMappingInput!\n) {\n createControlMeasureMapping(input: $input) {\n measureEdge {\n node {\n id\n ...LinkedMeasuresCardFragment\n }\n }\n }\n}\n\nfragment LinkedMeasuresCardFragment on Measure {\n id\n name\n state\n}\n" - } -}; -})(); - -(node as any).hash = "e52f26e6906aa014ad020bd6f23a75d6"; - -export default node; diff --git a/apps/console/src/__generated__/core/FrameworkControlPageAttachObligationMutation.graphql.ts b/apps/console/src/__generated__/core/FrameworkControlPageAttachObligationMutation.graphql.ts deleted file mode 100644 index edca3c994..000000000 --- a/apps/console/src/__generated__/core/FrameworkControlPageAttachObligationMutation.graphql.ts +++ /dev/null @@ -1,235 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type CreateControlObligationMappingInput = { - controlId: string; - obligationId: string; -}; -export type FrameworkControlPageAttachObligationMutation$variables = { - connections: ReadonlyArray; - input: CreateControlObligationMappingInput; -}; -export type FrameworkControlPageAttachObligationMutation$data = { - readonly createControlObligationMapping: { - readonly obligationEdge: { - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"LinkedObligationsCardFragment">; - }; - }; - }; -}; -export type FrameworkControlPageAttachObligationMutation = { - response: FrameworkControlPageAttachObligationMutation$data; - variables: FrameworkControlPageAttachObligationMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "FrameworkControlPageAttachObligationMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateControlObligationMappingPayload", - "kind": "LinkedField", - "name": "createControlObligationMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ObligationEdge", - "kind": "LinkedField", - "name": "obligationEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Obligation", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "LinkedObligationsCardFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "FrameworkControlPageAttachObligationMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateControlObligationMappingPayload", - "kind": "LinkedField", - "name": "createControlObligationMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ObligationEdge", - "kind": "LinkedField", - "name": "obligationEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Obligation", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "requirement", - "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": "status", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - }, - (v3/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "obligationEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "e5dce8dc0bc03faa0e4d42696c76b59d", - "id": null, - "metadata": {}, - "name": "FrameworkControlPageAttachObligationMutation", - "operationKind": "mutation", - "text": "mutation FrameworkControlPageAttachObligationMutation(\n $input: CreateControlObligationMappingInput!\n) {\n createControlObligationMapping(input: $input) {\n obligationEdge {\n node {\n id\n ...LinkedObligationsCardFragment\n }\n }\n }\n}\n\nfragment LinkedObligationsCardFragment on Obligation {\n id\n requirement\n area\n source\n status\n owner {\n fullName\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "3c4bfe48fd9db37ce70cecd890d7248a"; - -export default node; diff --git a/apps/console/src/__generated__/core/FrameworkControlPageAttachSnapshotMutation.graphql.ts b/apps/console/src/__generated__/core/FrameworkControlPageAttachSnapshotMutation.graphql.ts deleted file mode 100644 index 2cb72b588..000000000 --- a/apps/console/src/__generated__/core/FrameworkControlPageAttachSnapshotMutation.graphql.ts +++ /dev/null @@ -1,216 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type CreateControlSnapshotMappingInput = { - controlId: string; - snapshotId: string; -}; -export type FrameworkControlPageAttachSnapshotMutation$variables = { - connections: ReadonlyArray; - input: CreateControlSnapshotMappingInput; -}; -export type FrameworkControlPageAttachSnapshotMutation$data = { - readonly createControlSnapshotMapping: { - readonly snapshotEdge: { - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"LinkedSnapshotsCardFragment">; - }; - }; - }; -}; -export type FrameworkControlPageAttachSnapshotMutation = { - response: FrameworkControlPageAttachSnapshotMutation$data; - variables: FrameworkControlPageAttachSnapshotMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "FrameworkControlPageAttachSnapshotMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateControlSnapshotMappingPayload", - "kind": "LinkedField", - "name": "createControlSnapshotMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "SnapshotEdge", - "kind": "LinkedField", - "name": "snapshotEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Snapshot", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "LinkedSnapshotsCardFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "FrameworkControlPageAttachSnapshotMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateControlSnapshotMappingPayload", - "kind": "LinkedField", - "name": "createControlSnapshotMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "SnapshotEdge", - "kind": "LinkedField", - "name": "snapshotEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Snapshot", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "type", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "snapshotEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "52c76e336bb7f38dc2d2f6620817100a", - "id": null, - "metadata": {}, - "name": "FrameworkControlPageAttachSnapshotMutation", - "operationKind": "mutation", - "text": "mutation FrameworkControlPageAttachSnapshotMutation(\n $input: CreateControlSnapshotMappingInput!\n) {\n createControlSnapshotMapping(input: $input) {\n snapshotEdge {\n node {\n id\n ...LinkedSnapshotsCardFragment\n }\n }\n }\n}\n\nfragment LinkedSnapshotsCardFragment on Snapshot {\n id\n name\n description\n type\n createdAt\n}\n" - } -}; -})(); - -(node as any).hash = "9e8ad62cc8d9f3672e1f785c31a91624"; - -export default node; diff --git a/apps/console/src/__generated__/core/FrameworkControlPageAttachStateOfApplicabilityMutation.graphql.ts b/apps/console/src/__generated__/core/FrameworkControlPageAttachStateOfApplicabilityMutation.graphql.ts deleted file mode 100644 index 6d42c4798..000000000 --- a/apps/console/src/__generated__/core/FrameworkControlPageAttachStateOfApplicabilityMutation.graphql.ts +++ /dev/null @@ -1,237 +0,0 @@ -/** - * @generated SignedSource<<6798ad28a0faeedef40b1b0a89f7563e>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type CreateStateOfApplicabilityControlMappingInput = { - applicability: boolean; - controlId: string; - justification?: string | null | undefined; - stateOfApplicabilityId: string; -}; -export type FrameworkControlPageAttachStateOfApplicabilityMutation$variables = { - connections: ReadonlyArray; - input: CreateStateOfApplicabilityControlMappingInput; -}; -export type FrameworkControlPageAttachStateOfApplicabilityMutation$data = { - readonly createStateOfApplicabilityControlMapping: { - readonly stateOfApplicabilityControlEdge: { - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"LinkedStatesOfApplicabilityCardFragment">; - }; - }; - }; -}; -export type FrameworkControlPageAttachStateOfApplicabilityMutation = { - response: FrameworkControlPageAttachStateOfApplicabilityMutation$data; - variables: FrameworkControlPageAttachStateOfApplicabilityMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "FrameworkControlPageAttachStateOfApplicabilityMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateStateOfApplicabilityControlMappingPayload", - "kind": "LinkedField", - "name": "createStateOfApplicabilityControlMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "StateOfApplicabilityControlEdge", - "kind": "LinkedField", - "name": "stateOfApplicabilityControlEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "StateOfApplicabilityControl", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "LinkedStatesOfApplicabilityCardFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "FrameworkControlPageAttachStateOfApplicabilityMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateStateOfApplicabilityControlMappingPayload", - "kind": "LinkedField", - "name": "createStateOfApplicabilityControlMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "StateOfApplicabilityControlEdge", - "kind": "LinkedField", - "name": "stateOfApplicabilityControlEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "StateOfApplicabilityControl", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "stateOfApplicabilityId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "controlId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "StateOfApplicability", - "kind": "LinkedField", - "name": "stateOfApplicability", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "applicability", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "justification", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "stateOfApplicabilityControlEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "205bc4f133e268c943ef9df9881350f0", - "id": null, - "metadata": {}, - "name": "FrameworkControlPageAttachStateOfApplicabilityMutation", - "operationKind": "mutation", - "text": "mutation FrameworkControlPageAttachStateOfApplicabilityMutation(\n $input: CreateStateOfApplicabilityControlMappingInput!\n) {\n createStateOfApplicabilityControlMapping(input: $input) {\n stateOfApplicabilityControlEdge {\n node {\n id\n ...LinkedStatesOfApplicabilityCardFragment\n }\n }\n }\n}\n\nfragment LinkedStatesOfApplicabilityCardFragment on StateOfApplicabilityControl {\n id\n stateOfApplicabilityId\n controlId\n stateOfApplicability {\n id\n name\n }\n applicability\n justification\n}\n" - } -}; -})(); - -(node as any).hash = "8da7bd1e22eb2eaf857a4e97cea47e90"; - -export default node; diff --git a/apps/console/src/__generated__/core/FrameworkControlPageDeleteControlMutation.graphql.ts b/apps/console/src/__generated__/core/FrameworkControlPageDeleteControlMutation.graphql.ts deleted file mode 100644 index c549c68c1..000000000 --- a/apps/console/src/__generated__/core/FrameworkControlPageDeleteControlMutation.graphql.ts +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @generated SignedSource<<87a74ac3a3c2523bd65512703dc2246e>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteControlInput = { - controlId: string; -}; -export type FrameworkControlPageDeleteControlMutation$variables = { - connections: ReadonlyArray; - input: DeleteControlInput; -}; -export type FrameworkControlPageDeleteControlMutation$data = { - readonly deleteControl: { - readonly deletedControlId: string; - }; -}; -export type FrameworkControlPageDeleteControlMutation = { - response: FrameworkControlPageDeleteControlMutation$data; - variables: FrameworkControlPageDeleteControlMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedControlId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "FrameworkControlPageDeleteControlMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteControlPayload", - "kind": "LinkedField", - "name": "deleteControl", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "FrameworkControlPageDeleteControlMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteControlPayload", - "kind": "LinkedField", - "name": "deleteControl", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedControlId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "f5559c3bf33da22ba6cb83fc408426e0", - "id": null, - "metadata": {}, - "name": "FrameworkControlPageDeleteControlMutation", - "operationKind": "mutation", - "text": "mutation FrameworkControlPageDeleteControlMutation(\n $input: DeleteControlInput!\n) {\n deleteControl(input: $input) {\n deletedControlId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "c92c75d0666d2a60d3a2fcfb2959b2e9"; - -export default node; diff --git a/apps/console/src/__generated__/core/FrameworkControlPageDetachAuditMutation.graphql.ts b/apps/console/src/__generated__/core/FrameworkControlPageDetachAuditMutation.graphql.ts deleted file mode 100644 index 7c49bb0f7..000000000 --- a/apps/console/src/__generated__/core/FrameworkControlPageDetachAuditMutation.graphql.ts +++ /dev/null @@ -1,133 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteControlAuditMappingInput = { - auditId: string; - controlId: string; -}; -export type FrameworkControlPageDetachAuditMutation$variables = { - connections: ReadonlyArray; - input: DeleteControlAuditMappingInput; -}; -export type FrameworkControlPageDetachAuditMutation$data = { - readonly deleteControlAuditMapping: { - readonly deletedAuditId: string; - }; -}; -export type FrameworkControlPageDetachAuditMutation = { - response: FrameworkControlPageDetachAuditMutation$data; - variables: FrameworkControlPageDetachAuditMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedAuditId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "FrameworkControlPageDetachAuditMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteControlAuditMappingPayload", - "kind": "LinkedField", - "name": "deleteControlAuditMapping", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "FrameworkControlPageDetachAuditMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteControlAuditMappingPayload", - "kind": "LinkedField", - "name": "deleteControlAuditMapping", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedAuditId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "0ec6a285e6ffd0057602e30ef8411e16", - "id": null, - "metadata": {}, - "name": "FrameworkControlPageDetachAuditMutation", - "operationKind": "mutation", - "text": "mutation FrameworkControlPageDetachAuditMutation(\n $input: DeleteControlAuditMappingInput!\n) {\n deleteControlAuditMapping(input: $input) {\n deletedAuditId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "3c800764c7d5801bd228e8a61625bd75"; - -export default node; diff --git a/apps/console/src/__generated__/core/FrameworkControlPageDetachDocumentMutation.graphql.ts b/apps/console/src/__generated__/core/FrameworkControlPageDetachDocumentMutation.graphql.ts deleted file mode 100644 index 14d1fe584..000000000 --- a/apps/console/src/__generated__/core/FrameworkControlPageDetachDocumentMutation.graphql.ts +++ /dev/null @@ -1,133 +0,0 @@ -/** - * @generated SignedSource<<61b6714faa71bf0afe54a1984b719a55>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteControlDocumentMappingInput = { - controlId: string; - documentId: string; -}; -export type FrameworkControlPageDetachDocumentMutation$variables = { - connections: ReadonlyArray; - input: DeleteControlDocumentMappingInput; -}; -export type FrameworkControlPageDetachDocumentMutation$data = { - readonly deleteControlDocumentMapping: { - readonly deletedDocumentId: string; - }; -}; -export type FrameworkControlPageDetachDocumentMutation = { - response: FrameworkControlPageDetachDocumentMutation$data; - variables: FrameworkControlPageDetachDocumentMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedDocumentId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "FrameworkControlPageDetachDocumentMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteControlDocumentMappingPayload", - "kind": "LinkedField", - "name": "deleteControlDocumentMapping", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "FrameworkControlPageDetachDocumentMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteControlDocumentMappingPayload", - "kind": "LinkedField", - "name": "deleteControlDocumentMapping", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedDocumentId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "f442693991b055c11609fb7bc326f1da", - "id": null, - "metadata": {}, - "name": "FrameworkControlPageDetachDocumentMutation", - "operationKind": "mutation", - "text": "mutation FrameworkControlPageDetachDocumentMutation(\n $input: DeleteControlDocumentMappingInput!\n) {\n deleteControlDocumentMapping(input: $input) {\n deletedDocumentId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "8c20b51090f69e932bc4801d88a6eaa6"; - -export default node; diff --git a/apps/console/src/__generated__/core/FrameworkControlPageDetachMutation.graphql.ts b/apps/console/src/__generated__/core/FrameworkControlPageDetachMutation.graphql.ts deleted file mode 100644 index 632e7040b..000000000 --- a/apps/console/src/__generated__/core/FrameworkControlPageDetachMutation.graphql.ts +++ /dev/null @@ -1,133 +0,0 @@ -/** - * @generated SignedSource<<40a72ad7f2eb9fc26bf12c7f4ce731d7>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteControlMeasureMappingInput = { - controlId: string; - measureId: string; -}; -export type FrameworkControlPageDetachMutation$variables = { - connections: ReadonlyArray; - input: DeleteControlMeasureMappingInput; -}; -export type FrameworkControlPageDetachMutation$data = { - readonly deleteControlMeasureMapping: { - readonly deletedMeasureId: string; - }; -}; -export type FrameworkControlPageDetachMutation = { - response: FrameworkControlPageDetachMutation$data; - variables: FrameworkControlPageDetachMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedMeasureId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "FrameworkControlPageDetachMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteControlMeasureMappingPayload", - "kind": "LinkedField", - "name": "deleteControlMeasureMapping", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "FrameworkControlPageDetachMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteControlMeasureMappingPayload", - "kind": "LinkedField", - "name": "deleteControlMeasureMapping", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedMeasureId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "ce39a8bbb51cd7437dbc08612b60a214", - "id": null, - "metadata": {}, - "name": "FrameworkControlPageDetachMutation", - "operationKind": "mutation", - "text": "mutation FrameworkControlPageDetachMutation(\n $input: DeleteControlMeasureMappingInput!\n) {\n deleteControlMeasureMapping(input: $input) {\n deletedMeasureId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "c62748aaf06f0050732be91ae341ae73"; - -export default node; diff --git a/apps/console/src/__generated__/core/FrameworkControlPageDetachObligationMutation.graphql.ts b/apps/console/src/__generated__/core/FrameworkControlPageDetachObligationMutation.graphql.ts deleted file mode 100644 index c6a8fca24..000000000 --- a/apps/console/src/__generated__/core/FrameworkControlPageDetachObligationMutation.graphql.ts +++ /dev/null @@ -1,133 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteControlObligationMappingInput = { - controlId: string; - obligationId: string; -}; -export type FrameworkControlPageDetachObligationMutation$variables = { - connections: ReadonlyArray; - input: DeleteControlObligationMappingInput; -}; -export type FrameworkControlPageDetachObligationMutation$data = { - readonly deleteControlObligationMapping: { - readonly deletedObligationId: string; - }; -}; -export type FrameworkControlPageDetachObligationMutation = { - response: FrameworkControlPageDetachObligationMutation$data; - variables: FrameworkControlPageDetachObligationMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedObligationId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "FrameworkControlPageDetachObligationMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteControlObligationMappingPayload", - "kind": "LinkedField", - "name": "deleteControlObligationMapping", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "FrameworkControlPageDetachObligationMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteControlObligationMappingPayload", - "kind": "LinkedField", - "name": "deleteControlObligationMapping", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedObligationId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "90f4a67d3a22217cc62841266c5a0450", - "id": null, - "metadata": {}, - "name": "FrameworkControlPageDetachObligationMutation", - "operationKind": "mutation", - "text": "mutation FrameworkControlPageDetachObligationMutation(\n $input: DeleteControlObligationMappingInput!\n) {\n deleteControlObligationMapping(input: $input) {\n deletedObligationId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "92da0169c3d421a658aa560b4e5ba1c8"; - -export default node; diff --git a/apps/console/src/__generated__/core/FrameworkControlPageDetachSnapshotMutation.graphql.ts b/apps/console/src/__generated__/core/FrameworkControlPageDetachSnapshotMutation.graphql.ts deleted file mode 100644 index 5ea859a02..000000000 --- a/apps/console/src/__generated__/core/FrameworkControlPageDetachSnapshotMutation.graphql.ts +++ /dev/null @@ -1,133 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteControlSnapshotMappingInput = { - controlId: string; - snapshotId: string; -}; -export type FrameworkControlPageDetachSnapshotMutation$variables = { - connections: ReadonlyArray; - input: DeleteControlSnapshotMappingInput; -}; -export type FrameworkControlPageDetachSnapshotMutation$data = { - readonly deleteControlSnapshotMapping: { - readonly deletedSnapshotId: string; - }; -}; -export type FrameworkControlPageDetachSnapshotMutation = { - response: FrameworkControlPageDetachSnapshotMutation$data; - variables: FrameworkControlPageDetachSnapshotMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedSnapshotId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "FrameworkControlPageDetachSnapshotMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteControlSnapshotMappingPayload", - "kind": "LinkedField", - "name": "deleteControlSnapshotMapping", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "FrameworkControlPageDetachSnapshotMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteControlSnapshotMappingPayload", - "kind": "LinkedField", - "name": "deleteControlSnapshotMapping", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedSnapshotId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "610636745f2c0441c54bd0028fc52cf0", - "id": null, - "metadata": {}, - "name": "FrameworkControlPageDetachSnapshotMutation", - "operationKind": "mutation", - "text": "mutation FrameworkControlPageDetachSnapshotMutation(\n $input: DeleteControlSnapshotMappingInput!\n) {\n deleteControlSnapshotMapping(input: $input) {\n deletedSnapshotId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "be8d40beadabe60d8c9bee4d99b885b7"; - -export default node; diff --git a/apps/console/src/__generated__/core/FrameworkControlPageDetachStateOfApplicabilityMutation.graphql.ts b/apps/console/src/__generated__/core/FrameworkControlPageDetachStateOfApplicabilityMutation.graphql.ts deleted file mode 100644 index 0a647fe72..000000000 --- a/apps/console/src/__generated__/core/FrameworkControlPageDetachStateOfApplicabilityMutation.graphql.ts +++ /dev/null @@ -1,153 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteStateOfApplicabilityControlMappingInput = { - controlId: string; - stateOfApplicabilityId: string; -}; -export type FrameworkControlPageDetachStateOfApplicabilityMutation$variables = { - connections: ReadonlyArray; - input: DeleteStateOfApplicabilityControlMappingInput; -}; -export type FrameworkControlPageDetachStateOfApplicabilityMutation$data = { - readonly deleteStateOfApplicabilityControlMapping: { - readonly deletedControlId: string; - readonly deletedStateOfApplicabilityControlId: string; - readonly deletedStateOfApplicabilityId: string; - }; -}; -export type FrameworkControlPageDetachStateOfApplicabilityMutation = { - response: FrameworkControlPageDetachStateOfApplicabilityMutation$data; - variables: FrameworkControlPageDetachStateOfApplicabilityMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedStateOfApplicabilityId", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedControlId", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedStateOfApplicabilityControlId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "FrameworkControlPageDetachStateOfApplicabilityMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteStateOfApplicabilityControlMappingPayload", - "kind": "LinkedField", - "name": "deleteStateOfApplicabilityControlMapping", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "FrameworkControlPageDetachStateOfApplicabilityMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteStateOfApplicabilityControlMappingPayload", - "kind": "LinkedField", - "name": "deleteStateOfApplicabilityControlMapping", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedStateOfApplicabilityControlId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "f0ec8162516546b2cdd221c0c9832908", - "id": null, - "metadata": {}, - "name": "FrameworkControlPageDetachStateOfApplicabilityMutation", - "operationKind": "mutation", - "text": "mutation FrameworkControlPageDetachStateOfApplicabilityMutation(\n $input: DeleteStateOfApplicabilityControlMappingInput!\n) {\n deleteStateOfApplicabilityControlMapping(input: $input) {\n deletedStateOfApplicabilityId\n deletedControlId\n deletedStateOfApplicabilityControlId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "f1a4efbd039ed9f457905903df50a160"; - -export default node; diff --git a/apps/console/src/__generated__/core/FrameworkDetailPageExportFrameworkMutation.graphql.ts b/apps/console/src/__generated__/core/FrameworkDetailPageExportFrameworkMutation.graphql.ts deleted file mode 100644 index 1399513b2..000000000 --- a/apps/console/src/__generated__/core/FrameworkDetailPageExportFrameworkMutation.graphql.ts +++ /dev/null @@ -1,95 +0,0 @@ -/** - * @generated SignedSource<<05766c7969f5e78f91ca5121d2c30db8>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type FrameworkDetailPageExportFrameworkMutation$variables = { - frameworkId: string; -}; -export type FrameworkDetailPageExportFrameworkMutation$data = { - readonly exportFramework: { - readonly exportJobId: string; - }; -}; -export type FrameworkDetailPageExportFrameworkMutation = { - response: FrameworkDetailPageExportFrameworkMutation$data; - variables: FrameworkDetailPageExportFrameworkMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "frameworkId" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "fields": [ - { - "kind": "Variable", - "name": "frameworkId", - "variableName": "frameworkId" - } - ], - "kind": "ObjectValue", - "name": "input" - } - ], - "concreteType": "ExportFrameworkPayload", - "kind": "LinkedField", - "name": "exportFramework", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "exportJobId", - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "FrameworkDetailPageExportFrameworkMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "FrameworkDetailPageExportFrameworkMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "d6fdd2bb2dacfc88248ccfc6f671eb4a", - "id": null, - "metadata": {}, - "name": "FrameworkDetailPageExportFrameworkMutation", - "operationKind": "mutation", - "text": "mutation FrameworkDetailPageExportFrameworkMutation(\n $frameworkId: ID!\n) {\n exportFramework(input: {frameworkId: $frameworkId}) {\n exportJobId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "3866a75fb0aeaaa6cdf97934508116c1"; - -export default node; diff --git a/apps/console/src/__generated__/core/FrameworkDetailPageFragment.graphql.ts b/apps/console/src/__generated__/core/FrameworkDetailPageFragment.graphql.ts deleted file mode 100644 index 40b549ae8..000000000 --- a/apps/console/src/__generated__/core/FrameworkDetailPageFragment.graphql.ts +++ /dev/null @@ -1,252 +0,0 @@ -/** - * @generated SignedSource<<7f57391fcdf09c326854f1cc2e0008c2>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type ControlStatus = "EXCLUDED" | "INCLUDED"; -import { FragmentRefs } from "relay-runtime"; -export type FrameworkDetailPageFragment$data = { - readonly canCreateControl: boolean; - readonly canDelete: boolean; - readonly canExport: boolean; - readonly canUpdate: boolean; - readonly controls: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly bestPractice: boolean; - readonly exclusionJustification: string | null | undefined; - readonly id: string; - readonly name: string; - readonly sectionTitle: string; - readonly status: ControlStatus; - }; - }>; - }; - readonly darkLogoURL: string | null | undefined; - readonly description: string | null | undefined; - readonly id: string; - readonly lightLogoURL: string | null | undefined; - readonly name: string; - readonly organization: { - readonly name: string; - }; - readonly " $fragmentType": "FrameworkDetailPageFragment"; -}; -export type FrameworkDetailPageFragment$key = { - readonly " $data"?: FrameworkDetailPageFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"FrameworkDetailPageFragment">; -}; - -const node: ReaderFragment = (function(){ -var v0 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "FrameworkDetailPageFragment", - "selections": [ - (v0/*: any*/), - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lightLogoURL", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "darkLogoURL", - "storageKey": null - }, - { - "alias": "canExport", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:franework:export" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:franework:export\")" - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:framework:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:framework:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:framework:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:framework:delete\")" - }, - { - "alias": "canCreateControl", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:control:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:control:create\")" - }, - { - "alias": null, - "args": null, - "concreteType": "Organization", - "kind": "LinkedField", - "name": "organization", - "plural": false, - "selections": [ - (v1/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 250 - }, - { - "kind": "Literal", - "name": "orderBy", - "value": { - "direction": "ASC", - "field": "SECTION_TITLE" - } - } - ], - "concreteType": "ControlConnection", - "kind": "LinkedField", - "name": "controls", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ControlEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Control", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sectionTitle", - "storageKey": null - }, - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "exclusionJustification", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "bestPractice", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": "controls(first:250,orderBy:{\"direction\":\"ASC\",\"field\":\"SECTION_TITLE\"})" - } - ], - "type": "Framework", - "abstractKey": null -}; -})(); - -(node as any).hash = "c88994d5f1872bfe21cfe65e1911b76a"; - -export default node; diff --git a/apps/console/src/__generated__/core/FrameworkDetailPageGenerateFrameworkStateOfApplicabilityMutation.graphql.ts b/apps/console/src/__generated__/core/FrameworkDetailPageGenerateFrameworkStateOfApplicabilityMutation.graphql.ts deleted file mode 100644 index 08f37ee16..000000000 --- a/apps/console/src/__generated__/core/FrameworkDetailPageGenerateFrameworkStateOfApplicabilityMutation.graphql.ts +++ /dev/null @@ -1,95 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type FrameworkDetailPageGenerateFrameworkStateOfApplicabilityMutation$variables = { - frameworkId: string; -}; -export type FrameworkDetailPageGenerateFrameworkStateOfApplicabilityMutation$data = { - readonly generateFrameworkStateOfApplicability: { - readonly data: string; - }; -}; -export type FrameworkDetailPageGenerateFrameworkStateOfApplicabilityMutation = { - response: FrameworkDetailPageGenerateFrameworkStateOfApplicabilityMutation$data; - variables: FrameworkDetailPageGenerateFrameworkStateOfApplicabilityMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "frameworkId" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "fields": [ - { - "kind": "Variable", - "name": "frameworkId", - "variableName": "frameworkId" - } - ], - "kind": "ObjectValue", - "name": "input" - } - ], - "concreteType": "GenerateFrameworkStateOfApplicabilityPayload", - "kind": "LinkedField", - "name": "generateFrameworkStateOfApplicability", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "data", - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "FrameworkDetailPageGenerateFrameworkStateOfApplicabilityMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "FrameworkDetailPageGenerateFrameworkStateOfApplicabilityMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "80185d474f3a9c5d20f97a387b219511", - "id": null, - "metadata": {}, - "name": "FrameworkDetailPageGenerateFrameworkStateOfApplicabilityMutation", - "operationKind": "mutation", - "text": "mutation FrameworkDetailPageGenerateFrameworkStateOfApplicabilityMutation(\n $frameworkId: ID!\n) {\n generateFrameworkStateOfApplicability(input: {frameworkId: $frameworkId}) {\n data\n }\n}\n" - } -}; -})(); - -(node as any).hash = "eac70164d676cb8e19d7fe7f06b2b817"; - -export default node; diff --git a/apps/console/src/__generated__/core/FrameworkFormDialogMutation.graphql.ts b/apps/console/src/__generated__/core/FrameworkFormDialogMutation.graphql.ts deleted file mode 100644 index 710a7b805..000000000 --- a/apps/console/src/__generated__/core/FrameworkFormDialogMutation.graphql.ts +++ /dev/null @@ -1,243 +0,0 @@ -/** - * @generated SignedSource<<3e99dde71cf9c37ef1ec401a9e76bb6c>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type CreateFrameworkInput = { - description?: string | null | undefined; - name: string; - organizationId: string; -}; -export type FrameworkFormDialogMutation$variables = { - connections: ReadonlyArray; - input: CreateFrameworkInput; -}; -export type FrameworkFormDialogMutation$data = { - readonly createFramework: { - readonly frameworkEdge: { - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"FrameworksPageCardFragment">; - }; - }; - }; -}; -export type FrameworkFormDialogMutation = { - response: FrameworkFormDialogMutation$data; - variables: FrameworkFormDialogMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "FrameworkFormDialogMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateFrameworkPayload", - "kind": "LinkedField", - "name": "createFramework", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "FrameworkEdge", - "kind": "LinkedField", - "name": "frameworkEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "FrameworksPageCardFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "FrameworkFormDialogMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateFrameworkPayload", - "kind": "LinkedField", - "name": "createFramework", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "FrameworkEdge", - "kind": "LinkedField", - "name": "frameworkEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lightLogoURL", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "darkLogoURL", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:framework:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:framework:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:framework:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:framework:delete\")" - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "frameworkEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "a26c4f5b9c310055da331176905fc712", - "id": null, - "metadata": {}, - "name": "FrameworkFormDialogMutation", - "operationKind": "mutation", - "text": "mutation FrameworkFormDialogMutation(\n $input: CreateFrameworkInput!\n) {\n createFramework(input: $input) {\n frameworkEdge {\n node {\n id\n ...FrameworksPageCardFragment\n }\n }\n }\n}\n\nfragment FrameworksPageCardFragment on Framework {\n id\n name\n description\n lightLogoURL\n darkLogoURL\n canUpdate: permission(action: \"core:framework:update\")\n canDelete: permission(action: \"core:framework:delete\")\n}\n" - } -}; -})(); - -(node as any).hash = "efed7b4ef49eea43e0bf9c0a8839c4ee"; - -export default node; diff --git a/apps/console/src/__generated__/core/FrameworkFormDialogUpdateMutation.graphql.ts b/apps/console/src/__generated__/core/FrameworkFormDialogUpdateMutation.graphql.ts deleted file mode 100644 index 0280bccc8..000000000 --- a/apps/console/src/__generated__/core/FrameworkFormDialogUpdateMutation.graphql.ts +++ /dev/null @@ -1,123 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type UpdateFrameworkInput = { - description?: string | null | undefined; - id: string; - name?: string | null | undefined; -}; -export type FrameworkFormDialogUpdateMutation$variables = { - input: UpdateFrameworkInput; -}; -export type FrameworkFormDialogUpdateMutation$data = { - readonly updateFramework: { - readonly framework: { - readonly description: string | null | undefined; - readonly id: string; - readonly name: string; - }; - }; -}; -export type FrameworkFormDialogUpdateMutation = { - response: FrameworkFormDialogUpdateMutation$data; - variables: FrameworkFormDialogUpdateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UpdateFrameworkPayload", - "kind": "LinkedField", - "name": "updateFramework", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "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": "description", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "FrameworkFormDialogUpdateMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "FrameworkFormDialogUpdateMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "54eaea672c9f7a7ddc3c6ba2b0655fc7", - "id": null, - "metadata": {}, - "name": "FrameworkFormDialogUpdateMutation", - "operationKind": "mutation", - "text": "mutation FrameworkFormDialogUpdateMutation(\n $input: UpdateFrameworkInput!\n) {\n updateFramework(input: $input) {\n framework {\n id\n name\n description\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "b8e9b44f6fa1cb437d7fae09133d97f0"; - -export default node; diff --git a/apps/console/src/__generated__/core/FrameworkGraphControlNodeQuery.graphql.ts b/apps/console/src/__generated__/core/FrameworkGraphControlNodeQuery.graphql.ts deleted file mode 100644 index 363fc2dd8..000000000 --- a/apps/console/src/__generated__/core/FrameworkGraphControlNodeQuery.graphql.ts +++ /dev/null @@ -1,1308 +0,0 @@ -/** - * @generated SignedSource<<194328b415c68a01a447d4646639b3c0>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type ControlStatus = "EXCLUDED" | "INCLUDED"; -export type FrameworkGraphControlNodeQuery$variables = { - controlId: string; -}; -export type FrameworkGraphControlNodeQuery$data = { - readonly node: { - readonly audits?: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"LinkedAuditsCardFragment">; - }; - }>; - }; - readonly canCreateAuditMapping?: boolean; - readonly canCreateDocumentMapping?: boolean; - readonly canCreateMeasureMapping?: boolean; - readonly canCreateObligationMapping?: boolean; - readonly canCreateSnapshotMapping?: boolean; - readonly canCreateStateOfApplicabilityMapping?: boolean; - readonly canDelete?: boolean; - readonly canDeleteAuditMapping?: boolean; - readonly canDeleteDocumentMapping?: boolean; - readonly canDeleteMeasureMapping?: boolean; - readonly canDeleteObligationMapping?: boolean; - readonly canDeleteSnapshotMapping?: boolean; - readonly canDeleteStateOfApplicabilityMapping?: boolean; - readonly canUpdate?: boolean; - readonly description?: string | null | undefined; - readonly documents?: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"LinkedDocumentsCardFragment">; - }; - }>; - }; - readonly exclusionJustification?: string | null | undefined; - readonly id?: string; - readonly measures?: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"LinkedMeasuresCardFragment">; - }; - }>; - }; - readonly name?: string; - readonly obligations?: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"LinkedObligationsCardFragment">; - }; - }>; - }; - readonly sectionTitle?: string; - readonly snapshots?: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"LinkedSnapshotsCardFragment">; - }; - }>; - }; - readonly stateOfApplicabilityControls?: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"LinkedStatesOfApplicabilityCardFragment">; - }; - }>; - }; - readonly status?: ControlStatus; - readonly " $fragmentSpreads": FragmentRefs<"FrameworkControlDialogFragment">; - }; -}; -export type FrameworkGraphControlNodeQuery = { - response: FrameworkGraphControlNodeQuery$data; - variables: FrameworkGraphControlNodeQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "controlId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "controlId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sectionTitle", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null -}, -v6 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null -}, -v7 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "exclusionJustification", - "storageKey": null -}, -v8 = { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:control:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:control:update\")" -}, -v9 = { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:control:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:control:delete\")" -}, -v10 = { - "alias": "canCreateMeasureMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:control:create-measure-mapping" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:control:create-measure-mapping\")" -}, -v11 = { - "alias": "canDeleteMeasureMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:control:delete-measure-mapping" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:control:delete-measure-mapping\")" -}, -v12 = { - "alias": "canCreateDocumentMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:control:create-document-mapping" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:control:create-document-mapping\")" -}, -v13 = { - "alias": "canDeleteDocumentMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:control:delete-document-mapping" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:control:delete-document-mapping\")" -}, -v14 = { - "alias": "canCreateAuditMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:control:create-audit-mapping" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:control:create-audit-mapping\")" -}, -v15 = { - "alias": "canDeleteAuditMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:control:delete-audit-mapping" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:control:delete-audit-mapping\")" -}, -v16 = { - "alias": "canCreateSnapshotMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:control:create-snapshot-mapping" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:control:create-snapshot-mapping\")" -}, -v17 = { - "alias": "canDeleteSnapshotMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:control:delete-snapshot-mapping" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:control:delete-snapshot-mapping\")" -}, -v18 = { - "alias": "canCreateStateOfApplicabilityMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:control:state-of-applicability-control-mapping:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:control:state-of-applicability-control-mapping:create\")" -}, -v19 = { - "alias": "canDeleteStateOfApplicabilityMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:control:state-of-applicability-control-mapping:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:control:state-of-applicability-control-mapping:delete\")" -}, -v20 = { - "alias": "canCreateObligationMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:control:obligation-control-mapping:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:control:obligation-control-mapping:create\")" -}, -v21 = { - "alias": "canDeleteObligationMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:control:obligation-control-mapping:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:control:obligation-control-mapping:delete\")" -}, -v22 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v23 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null -}, -v24 = { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - } - ], - "storageKey": null -}, -v25 = { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] -}, -v26 = [ - { - "kind": "Literal", - "name": "first", - "value": 100 - } -], -v27 = [ - (v2/*: any*/), - (v3/*: any*/) -], -v28 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null -}, -v29 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "FrameworkGraphControlNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - (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*/), - (v19/*: any*/), - (v20/*: any*/), - (v21/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "FrameworkControlDialogFragment" - }, - { - "alias": "stateOfApplicabilityControls", - "args": null, - "concreteType": "StateOfApplicabilityControlConnection", - "kind": "LinkedField", - "name": "__FrameworkGraphControl_stateOfApplicabilityControls_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "StateOfApplicabilityControlEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "StateOfApplicabilityControl", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "LinkedStatesOfApplicabilityCardFragment" - }, - (v22/*: any*/) - ], - "storageKey": null - }, - (v23/*: any*/) - ], - "storageKey": null - }, - (v24/*: any*/), - (v25/*: any*/) - ], - "storageKey": null - }, - { - "alias": "measures", - "args": null, - "concreteType": "MeasureConnection", - "kind": "LinkedField", - "name": "__FrameworkGraphControl_measures_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "MeasureEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Measure", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "LinkedMeasuresCardFragment" - }, - (v22/*: any*/) - ], - "storageKey": null - }, - (v23/*: any*/) - ], - "storageKey": null - }, - (v24/*: any*/), - (v25/*: any*/) - ], - "storageKey": null - }, - { - "alias": "documents", - "args": null, - "concreteType": "DocumentConnection", - "kind": "LinkedField", - "name": "__FrameworkGraphControl_documents_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Document", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "LinkedDocumentsCardFragment" - }, - (v22/*: any*/) - ], - "storageKey": null - }, - (v23/*: any*/) - ], - "storageKey": null - }, - (v24/*: any*/), - (v25/*: any*/) - ], - "storageKey": null - }, - { - "alias": "audits", - "args": null, - "concreteType": "AuditConnection", - "kind": "LinkedField", - "name": "__FrameworkGraphControl_audits_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "AuditEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "LinkedAuditsCardFragment" - }, - (v22/*: any*/) - ], - "storageKey": null - }, - (v23/*: any*/) - ], - "storageKey": null - }, - (v24/*: any*/), - (v25/*: any*/) - ], - "storageKey": null - }, - { - "alias": "obligations", - "args": null, - "concreteType": "ObligationConnection", - "kind": "LinkedField", - "name": "__FrameworkGraphControl_obligations_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ObligationEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Obligation", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "LinkedObligationsCardFragment" - }, - (v22/*: any*/) - ], - "storageKey": null - }, - (v23/*: any*/) - ], - "storageKey": null - }, - (v24/*: any*/), - (v25/*: any*/) - ], - "storageKey": null - }, - { - "alias": "snapshots", - "args": null, - "concreteType": "SnapshotConnection", - "kind": "LinkedField", - "name": "__FrameworkGraphControl_snapshots_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "SnapshotEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Snapshot", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "LinkedSnapshotsCardFragment" - }, - (v22/*: any*/) - ], - "storageKey": null - }, - (v23/*: any*/) - ], - "storageKey": null - }, - (v24/*: any*/), - (v25/*: any*/) - ], - "storageKey": null - } - ], - "type": "Control", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "FrameworkGraphControlNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v22/*: any*/), - (v2/*: any*/), - { - "kind": "InlineFragment", - "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*/), - (v19/*: any*/), - (v20/*: any*/), - (v21/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "bestPractice", - "storageKey": null - }, - { - "alias": null, - "args": (v26/*: any*/), - "concreteType": "StateOfApplicabilityControlConnection", - "kind": "LinkedField", - "name": "stateOfApplicabilityControls", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "StateOfApplicabilityControlEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "StateOfApplicabilityControl", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "stateOfApplicabilityId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "controlId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "StateOfApplicability", - "kind": "LinkedField", - "name": "stateOfApplicability", - "plural": false, - "selections": (v27/*: any*/), - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "applicability", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "justification", - "storageKey": null - }, - (v22/*: any*/) - ], - "storageKey": null - }, - (v23/*: any*/) - ], - "storageKey": null - }, - (v24/*: any*/), - (v25/*: any*/) - ], - "storageKey": "stateOfApplicabilityControls(first:100)" - }, - { - "alias": null, - "args": (v26/*: any*/), - "filters": null, - "handle": "connection", - "key": "FrameworkGraphControl_stateOfApplicabilityControls", - "kind": "LinkedHandle", - "name": "stateOfApplicabilityControls" - }, - { - "alias": null, - "args": (v26/*: any*/), - "concreteType": "MeasureConnection", - "kind": "LinkedField", - "name": "measures", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "MeasureEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Measure", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - (v28/*: any*/), - (v22/*: any*/) - ], - "storageKey": null - }, - (v23/*: any*/) - ], - "storageKey": null - }, - (v24/*: any*/), - (v25/*: any*/) - ], - "storageKey": "measures(first:100)" - }, - { - "alias": null, - "args": (v26/*: any*/), - "filters": null, - "handle": "connection", - "key": "FrameworkGraphControl_measures", - "kind": "LinkedHandle", - "name": "measures" - }, - { - "alias": null, - "args": (v26/*: any*/), - "concreteType": "DocumentConnection", - "kind": "LinkedField", - "name": "documents", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Document", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "title", - "storageKey": null - }, - (v29/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "documentType", - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 1 - } - ], - "concreteType": "DocumentVersionConnection", - "kind": "LinkedField", - "name": "versions", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersion", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v6/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "versions(first:1)" - }, - (v22/*: any*/) - ], - "storageKey": null - }, - (v23/*: any*/) - ], - "storageKey": null - }, - (v24/*: any*/), - (v25/*: any*/) - ], - "storageKey": "documents(first:100)" - }, - { - "alias": null, - "args": (v26/*: any*/), - "filters": null, - "handle": "connection", - "key": "FrameworkGraphControl_documents", - "kind": "LinkedHandle", - "name": "documents" - }, - { - "alias": null, - "args": (v26/*: any*/), - "concreteType": "AuditConnection", - "kind": "LinkedField", - "name": "audits", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "AuditEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - (v29/*: any*/), - (v28/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validFrom", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validUntil", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": (v27/*: any*/), - "storageKey": null - }, - (v22/*: any*/) - ], - "storageKey": null - }, - (v23/*: any*/) - ], - "storageKey": null - }, - (v24/*: any*/), - (v25/*: any*/) - ], - "storageKey": "audits(first:100)" - }, - { - "alias": null, - "args": (v26/*: any*/), - "filters": null, - "handle": "connection", - "key": "FrameworkGraphControl_audits", - "kind": "LinkedHandle", - "name": "audits" - }, - { - "alias": null, - "args": (v26/*: any*/), - "concreteType": "ObligationConnection", - "kind": "LinkedField", - "name": "obligations", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ObligationEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Obligation", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "requirement", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "area", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "source", - "storageKey": null - }, - (v6/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - }, - (v2/*: any*/) - ], - "storageKey": null - }, - (v22/*: any*/) - ], - "storageKey": null - }, - (v23/*: any*/) - ], - "storageKey": null - }, - (v24/*: any*/), - (v25/*: any*/) - ], - "storageKey": "obligations(first:100)" - }, - { - "alias": null, - "args": (v26/*: any*/), - "filters": null, - "handle": "connection", - "key": "FrameworkGraphControl_obligations", - "kind": "LinkedHandle", - "name": "obligations" - }, - { - "alias": null, - "args": (v26/*: any*/), - "concreteType": "SnapshotConnection", - "kind": "LinkedField", - "name": "snapshots", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "SnapshotEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Snapshot", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - (v5/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "type", - "storageKey": null - }, - (v29/*: any*/), - (v22/*: any*/) - ], - "storageKey": null - }, - (v23/*: any*/) - ], - "storageKey": null - }, - (v24/*: any*/), - (v25/*: any*/) - ], - "storageKey": "snapshots(first:100)" - }, - { - "alias": null, - "args": (v26/*: any*/), - "filters": null, - "handle": "connection", - "key": "FrameworkGraphControl_snapshots", - "kind": "LinkedHandle", - "name": "snapshots" - } - ], - "type": "Control", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "83f936f5dced0f50c645aa6ef30efedc", - "id": null, - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "forward", - "path": [ - "node", - "stateOfApplicabilityControls" - ] - }, - { - "count": null, - "cursor": null, - "direction": "forward", - "path": [ - "node", - "measures" - ] - }, - { - "count": null, - "cursor": null, - "direction": "forward", - "path": [ - "node", - "documents" - ] - }, - { - "count": null, - "cursor": null, - "direction": "forward", - "path": [ - "node", - "audits" - ] - }, - { - "count": null, - "cursor": null, - "direction": "forward", - "path": [ - "node", - "obligations" - ] - }, - { - "count": null, - "cursor": null, - "direction": "forward", - "path": [ - "node", - "snapshots" - ] - } - ] - }, - "name": "FrameworkGraphControlNodeQuery", - "operationKind": "query", - "text": "query FrameworkGraphControlNodeQuery(\n $controlId: ID!\n) {\n node(id: $controlId) {\n __typename\n ... on Control {\n id\n name\n sectionTitle\n description\n status\n exclusionJustification\n canUpdate: permission(action: \"core:control:update\")\n canDelete: permission(action: \"core:control:delete\")\n canCreateMeasureMapping: permission(action: \"core:control:create-measure-mapping\")\n canDeleteMeasureMapping: permission(action: \"core:control:delete-measure-mapping\")\n canCreateDocumentMapping: permission(action: \"core:control:create-document-mapping\")\n canDeleteDocumentMapping: permission(action: \"core:control:delete-document-mapping\")\n canCreateAuditMapping: permission(action: \"core:control:create-audit-mapping\")\n canDeleteAuditMapping: permission(action: \"core:control:delete-audit-mapping\")\n canCreateSnapshotMapping: permission(action: \"core:control:create-snapshot-mapping\")\n canDeleteSnapshotMapping: permission(action: \"core:control:delete-snapshot-mapping\")\n canCreateStateOfApplicabilityMapping: permission(action: \"core:control:state-of-applicability-control-mapping:create\")\n canDeleteStateOfApplicabilityMapping: permission(action: \"core:control:state-of-applicability-control-mapping:delete\")\n canCreateObligationMapping: permission(action: \"core:control:obligation-control-mapping:create\")\n canDeleteObligationMapping: permission(action: \"core:control:obligation-control-mapping:delete\")\n ...FrameworkControlDialogFragment\n stateOfApplicabilityControls(first: 100) {\n edges {\n node {\n id\n ...LinkedStatesOfApplicabilityCardFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n measures(first: 100) {\n edges {\n node {\n id\n ...LinkedMeasuresCardFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n documents(first: 100) {\n edges {\n node {\n id\n ...LinkedDocumentsCardFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n audits(first: 100) {\n edges {\n node {\n id\n ...LinkedAuditsCardFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n obligations(first: 100) {\n edges {\n node {\n id\n ...LinkedObligationsCardFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n snapshots(first: 100) {\n edges {\n node {\n id\n ...LinkedSnapshotsCardFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n }\n id\n }\n}\n\nfragment FrameworkControlDialogFragment on Control {\n id\n name\n description\n sectionTitle\n status\n exclusionJustification\n bestPractice\n}\n\nfragment LinkedAuditsCardFragment on Audit {\n id\n name\n createdAt\n state\n validFrom\n validUntil\n framework {\n id\n name\n }\n}\n\nfragment LinkedDocumentsCardFragment on Document {\n id\n title\n createdAt\n documentType\n versions(first: 1) {\n edges {\n node {\n id\n status\n }\n }\n }\n}\n\nfragment LinkedMeasuresCardFragment on Measure {\n id\n name\n state\n}\n\nfragment LinkedObligationsCardFragment on Obligation {\n id\n requirement\n area\n source\n status\n owner {\n fullName\n id\n }\n}\n\nfragment LinkedSnapshotsCardFragment on Snapshot {\n id\n name\n description\n type\n createdAt\n}\n\nfragment LinkedStatesOfApplicabilityCardFragment on StateOfApplicabilityControl {\n id\n stateOfApplicabilityId\n controlId\n stateOfApplicability {\n id\n name\n }\n applicability\n justification\n}\n" - } -}; -})(); - -(node as any).hash = "755f62f220b1a05bf44dd770974691a9"; - -export default node; diff --git a/apps/console/src/__generated__/core/FrameworkGraphDeleteMutation.graphql.ts b/apps/console/src/__generated__/core/FrameworkGraphDeleteMutation.graphql.ts deleted file mode 100644 index 040bd7711..000000000 --- a/apps/console/src/__generated__/core/FrameworkGraphDeleteMutation.graphql.ts +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @generated SignedSource<<05d197ce59adad67cfb89dff4c502c58>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteFrameworkInput = { - frameworkId: string; -}; -export type FrameworkGraphDeleteMutation$variables = { - connections: ReadonlyArray; - input: DeleteFrameworkInput; -}; -export type FrameworkGraphDeleteMutation$data = { - readonly deleteFramework: { - readonly deletedFrameworkId: string; - }; -}; -export type FrameworkGraphDeleteMutation = { - response: FrameworkGraphDeleteMutation$data; - variables: FrameworkGraphDeleteMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedFrameworkId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "FrameworkGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteFrameworkPayload", - "kind": "LinkedField", - "name": "deleteFramework", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "FrameworkGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteFrameworkPayload", - "kind": "LinkedField", - "name": "deleteFramework", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedFrameworkId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "761a391f497aa0e2e03d0db958089712", - "id": null, - "metadata": {}, - "name": "FrameworkGraphDeleteMutation", - "operationKind": "mutation", - "text": "mutation FrameworkGraphDeleteMutation(\n $input: DeleteFrameworkInput!\n) {\n deleteFramework(input: $input) {\n deletedFrameworkId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "6ebefeb003ce3a27bd134651e1b5c94b"; - -export default node; diff --git a/apps/console/src/__generated__/core/FrameworkGraphListQuery.graphql.ts b/apps/console/src/__generated__/core/FrameworkGraphListQuery.graphql.ts deleted file mode 100644 index 4fa9695f2..000000000 --- a/apps/console/src/__generated__/core/FrameworkGraphListQuery.graphql.ts +++ /dev/null @@ -1,364 +0,0 @@ -/** - * @generated SignedSource<<063d92802621a02aff6b40a9cb2266c2>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type FrameworkGraphListQuery$variables = { - organizationId: string; -}; -export type FrameworkGraphListQuery$data = { - readonly organization: { - readonly canCreateFramework?: boolean; - readonly frameworks?: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"FrameworksPageCardFragment">; - }; - }>; - }; - readonly id?: string; - }; -}; -export type FrameworkGraphListQuery = { - response: FrameworkGraphListQuery$data; - variables: FrameworkGraphListQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": "canCreateFramework", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:framework:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:framework:create\")" -}, -v4 = { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:framework:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:framework:update\")" -}, -v5 = { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:framework:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:framework:delete\")" -}, -v6 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v7 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null -}, -v8 = { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - } - ], - "storageKey": null -}, -v9 = { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] -}, -v10 = [ - { - "kind": "Literal", - "name": "first", - "value": 100 - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "FrameworkGraphListQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - { - "alias": "frameworks", - "args": null, - "concreteType": "FrameworkConnection", - "kind": "LinkedField", - "name": "__FrameworksListQuery_frameworks_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "FrameworkEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "FrameworksPageCardFragment" - }, - (v6/*: any*/) - ], - "storageKey": null - }, - (v7/*: any*/) - ], - "storageKey": null - }, - (v8/*: any*/), - (v9/*: any*/) - ], - "storageKey": null - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "FrameworkGraphListQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v6/*: any*/), - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": (v10/*: any*/), - "concreteType": "FrameworkConnection", - "kind": "LinkedField", - "name": "frameworks", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "FrameworkEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lightLogoURL", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "darkLogoURL", - "storageKey": null - }, - (v6/*: any*/) - ], - "storageKey": null - }, - (v7/*: any*/) - ], - "storageKey": null - }, - (v8/*: any*/), - (v9/*: any*/) - ], - "storageKey": "frameworks(first:100)" - }, - { - "alias": null, - "args": (v10/*: any*/), - "filters": null, - "handle": "connection", - "key": "FrameworksListQuery_frameworks", - "kind": "LinkedHandle", - "name": "frameworks" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "2d16147e68885223a69b3597e96d694b", - "id": null, - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "forward", - "path": [ - "organization", - "frameworks" - ] - } - ] - }, - "name": "FrameworkGraphListQuery", - "operationKind": "query", - "text": "query FrameworkGraphListQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n ... on Organization {\n id\n canCreateFramework: permission(action: \"core:framework:create\")\n frameworks(first: 100) {\n edges {\n node {\n id\n canUpdate: permission(action: \"core:framework:update\")\n canDelete: permission(action: \"core:framework:delete\")\n ...FrameworksPageCardFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n }\n id\n }\n}\n\nfragment FrameworksPageCardFragment on Framework {\n id\n name\n description\n lightLogoURL\n darkLogoURL\n canUpdate: permission(action: \"core:framework:update\")\n canDelete: permission(action: \"core:framework:delete\")\n}\n" - } -}; -})(); - -(node as any).hash = "f8d3a38faddf4285b8f495f54f3d988e"; - -export default node; diff --git a/apps/console/src/__generated__/core/FrameworkGraphNodeQuery.graphql.ts b/apps/console/src/__generated__/core/FrameworkGraphNodeQuery.graphql.ts deleted file mode 100644 index 1a33095dc..000000000 --- a/apps/console/src/__generated__/core/FrameworkGraphNodeQuery.graphql.ts +++ /dev/null @@ -1,316 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type FrameworkGraphNodeQuery$variables = { - frameworkId: string; -}; -export type FrameworkGraphNodeQuery$data = { - readonly node: { - readonly id?: string; - readonly name?: string; - readonly " $fragmentSpreads": FragmentRefs<"FrameworkDetailPageFragment">; - }; -}; -export type FrameworkGraphNodeQuery = { - response: FrameworkGraphNodeQuery$data; - variables: FrameworkGraphNodeQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "frameworkId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "frameworkId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "FrameworkGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "FrameworkDetailPageFragment" - } - ], - "type": "Framework", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "FrameworkGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lightLogoURL", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "darkLogoURL", - "storageKey": null - }, - { - "alias": "canExport", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:franework:export" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:franework:export\")" - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:framework:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:framework:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:framework:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:framework:delete\")" - }, - { - "alias": "canCreateControl", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:control:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:control:create\")" - }, - { - "alias": null, - "args": null, - "concreteType": "Organization", - "kind": "LinkedField", - "name": "organization", - "plural": false, - "selections": [ - (v3/*: any*/), - (v2/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 250 - }, - { - "kind": "Literal", - "name": "orderBy", - "value": { - "direction": "ASC", - "field": "SECTION_TITLE" - } - } - ], - "concreteType": "ControlConnection", - "kind": "LinkedField", - "name": "controls", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ControlEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Control", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sectionTitle", - "storageKey": null - }, - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "exclusionJustification", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "bestPractice", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": "controls(first:250,orderBy:{\"direction\":\"ASC\",\"field\":\"SECTION_TITLE\"})" - } - ], - "type": "Framework", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "2a82ae6447b93b0fa6b570571694052b", - "id": null, - "metadata": {}, - "name": "FrameworkGraphNodeQuery", - "operationKind": "query", - "text": "query FrameworkGraphNodeQuery(\n $frameworkId: ID!\n) {\n node(id: $frameworkId) {\n __typename\n ... on Framework {\n id\n name\n ...FrameworkDetailPageFragment\n }\n id\n }\n}\n\nfragment FrameworkDetailPageFragment on Framework {\n id\n name\n description\n lightLogoURL\n darkLogoURL\n canExport: permission(action: \"core:franework:export\")\n canUpdate: permission(action: \"core:framework:update\")\n canDelete: permission(action: \"core:framework:delete\")\n canCreateControl: permission(action: \"core:control:create\")\n organization {\n name\n id\n }\n controls(first: 250, orderBy: {field: SECTION_TITLE, direction: ASC}) {\n edges {\n node {\n id\n sectionTitle\n name\n status\n exclusionJustification\n bestPractice\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "69a32dc8fbcaefbbaeb02dd2b89752c4"; - -export default node; diff --git a/apps/console/src/__generated__/core/FrameworksPageCardFragment.graphql.ts b/apps/console/src/__generated__/core/FrameworksPageCardFragment.graphql.ts deleted file mode 100644 index 7198defb9..000000000 --- a/apps/console/src/__generated__/core/FrameworksPageCardFragment.graphql.ts +++ /dev/null @@ -1,102 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type FrameworksPageCardFragment$data = { - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly darkLogoURL: string | null | undefined; - readonly description: string | null | undefined; - readonly id: string; - readonly lightLogoURL: string | null | undefined; - readonly name: string; - readonly " $fragmentType": "FrameworksPageCardFragment"; -}; -export type FrameworksPageCardFragment$key = { - readonly " $data"?: FrameworksPageCardFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"FrameworksPageCardFragment">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "FrameworksPageCardFragment", - "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": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lightLogoURL", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "darkLogoURL", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:framework:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:framework:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:framework:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:framework:delete\")" - } - ], - "type": "Framework", - "abstractKey": null -}; - -(node as any).hash = "dfb64192cedec377c8df8a6d8251e815"; - -export default node; diff --git a/apps/console/src/__generated__/core/FrameworksPageImportMutation.graphql.ts b/apps/console/src/__generated__/core/FrameworksPageImportMutation.graphql.ts deleted file mode 100644 index 6919d5b2d..000000000 --- a/apps/console/src/__generated__/core/FrameworksPageImportMutation.graphql.ts +++ /dev/null @@ -1,242 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type ImportFrameworkInput = { - file: any; - organizationId: string; -}; -export type FrameworksPageImportMutation$variables = { - connections: ReadonlyArray; - input: ImportFrameworkInput; -}; -export type FrameworksPageImportMutation$data = { - readonly importFramework: { - readonly frameworkEdge: { - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"FrameworksPageCardFragment">; - }; - }; - }; -}; -export type FrameworksPageImportMutation = { - response: FrameworksPageImportMutation$data; - variables: FrameworksPageImportMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "FrameworksPageImportMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "ImportFrameworkPayload", - "kind": "LinkedField", - "name": "importFramework", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "FrameworkEdge", - "kind": "LinkedField", - "name": "frameworkEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "FrameworksPageCardFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "FrameworksPageImportMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "ImportFrameworkPayload", - "kind": "LinkedField", - "name": "importFramework", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "FrameworkEdge", - "kind": "LinkedField", - "name": "frameworkEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lightLogoURL", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "darkLogoURL", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:framework:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:framework:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:framework:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:framework:delete\")" - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "frameworkEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "6521d91ba0bd6d9d59567cd2a05d0f35", - "id": null, - "metadata": {}, - "name": "FrameworksPageImportMutation", - "operationKind": "mutation", - "text": "mutation FrameworksPageImportMutation(\n $input: ImportFrameworkInput!\n) {\n importFramework(input: $input) {\n frameworkEdge {\n node {\n id\n ...FrameworksPageCardFragment\n }\n }\n }\n}\n\nfragment FrameworksPageCardFragment on Framework {\n id\n name\n description\n lightLogoURL\n darkLogoURL\n canUpdate: permission(action: \"core:framework:update\")\n canDelete: permission(action: \"core:framework:delete\")\n}\n" - } -}; -})(); - -(node as any).hash = "e2ff0f6d6780cf967a021a093542dab9"; - -export default node; diff --git a/apps/console/src/__generated__/core/ImportAssessmentDialogMutation.graphql.ts b/apps/console/src/__generated__/core/ImportAssessmentDialogMutation.graphql.ts deleted file mode 100644 index 298e13cd2..000000000 --- a/apps/console/src/__generated__/core/ImportAssessmentDialogMutation.graphql.ts +++ /dev/null @@ -1,570 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type AssessVendorInput = { - id: string; - websiteUrl: string; -}; -export type ImportAssessmentDialogMutation$variables = { - input: AssessVendorInput; -}; -export type ImportAssessmentDialogMutation$data = { - readonly assessVendor: { - readonly vendor: { - readonly id: string; - readonly name: string; - readonly websiteUrl: string | null | undefined; - readonly " $fragmentSpreads": FragmentRefs<"VendorComplianceTabFragment" | "VendorRiskAssessmentTabFragment" | "useVendorFormFragment">; - }; - }; -}; -export type ImportAssessmentDialogMutation = { - response: ImportAssessmentDialogMutation$data; - variables: ImportAssessmentDialogMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null -}, -v5 = [ - (v2/*: any*/) -], -v6 = [ - { - "kind": "Literal", - "name": "first", - "value": 50 - } -], -v7 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v8 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null -}, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null -}, -v10 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null -}, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null -}, -v12 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null -}, -v13 = { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] -}, -v14 = [ - "orderBy" -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "ImportAssessmentDialogMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "AssessVendorPayload", - "kind": "LinkedField", - "name": "assessVendor", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Vendor", - "kind": "LinkedField", - "name": "vendor", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "useVendorFormFragment" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "VendorComplianceTabFragment" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "VendorRiskAssessmentTabFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "ImportAssessmentDialogMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "AssessVendorPayload", - "kind": "LinkedField", - "name": "assessVendor", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Vendor", - "kind": "LinkedField", - "name": "vendor", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "category", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "statusPageUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "termsOfServiceUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "privacyPolicyUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "serviceLevelAgreementUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataProcessingAgreementUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "legalName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "headquarterAddress", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "certifications", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "countries", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "securityPageUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "trustPageUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "businessOwner", - "plural": false, - "selections": (v5/*: any*/), - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "securityOwner", - "plural": false, - "selections": (v5/*: any*/), - "storageKey": null - }, - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": "VendorComplianceReportConnection", - "kind": "LinkedField", - "name": "complianceReports", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorComplianceReportEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorComplianceReport", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-compliance-report:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-compliance-report:delete\")" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "reportDate", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validUntil", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "reportName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "File", - "kind": "LinkedField", - "name": "file", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fileName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "mimeType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "size", - "storageKey": null - }, - (v2/*: any*/) - ], - "storageKey": null - }, - (v7/*: any*/) - ], - "storageKey": null - }, - (v8/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v12/*: any*/) - ], - "storageKey": null - }, - (v13/*: any*/) - ], - "storageKey": "complianceReports(first:50)" - }, - { - "alias": null, - "args": (v6/*: any*/), - "filters": (v14/*: any*/), - "handle": "connection", - "key": "VendorComplianceTabFragment_complianceReports", - "kind": "LinkedHandle", - "name": "complianceReports" - }, - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": "VendorRiskAssessmentConnection", - "kind": "LinkedField", - "name": "riskAssessments", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorRiskAssessmentEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorRiskAssessment", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "expiresAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataSensitivity", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "businessImpact", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "notes", - "storageKey": null - }, - (v7/*: any*/) - ], - "storageKey": null - }, - (v8/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - (v10/*: any*/), - (v9/*: any*/), - (v11/*: any*/), - (v12/*: any*/) - ], - "storageKey": null - }, - (v13/*: any*/) - ], - "storageKey": "riskAssessments(first:50)" - }, - { - "alias": null, - "args": (v6/*: any*/), - "filters": (v14/*: any*/), - "handle": "connection", - "key": "VendorRiskAssessmentTabFragment_riskAssessments", - "kind": "LinkedHandle", - "name": "riskAssessments" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "b5d6ce081b43c94793be27d4fc87e39d", - "id": null, - "metadata": {}, - "name": "ImportAssessmentDialogMutation", - "operationKind": "mutation", - "text": "mutation ImportAssessmentDialogMutation(\n $input: AssessVendorInput!\n) {\n assessVendor(input: $input) {\n vendor {\n id\n name\n websiteUrl\n ...useVendorFormFragment\n ...VendorComplianceTabFragment\n ...VendorRiskAssessmentTabFragment\n }\n }\n}\n\nfragment VendorComplianceTabFragment on Vendor {\n complianceReports(first: 50) {\n edges {\n node {\n id\n canDelete: permission(action: \"core:vendor-compliance-report:delete\")\n ...VendorComplianceTabFragment_report\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n\nfragment VendorComplianceTabFragment_report on VendorComplianceReport {\n id\n reportDate\n validUntil\n reportName\n file {\n fileName\n mimeType\n size\n id\n }\n canDelete: permission(action: \"core:vendor-compliance-report:delete\")\n}\n\nfragment VendorRiskAssessmentTabFragment on Vendor {\n id\n riskAssessments(first: 50) {\n edges {\n node {\n id\n ...VendorRiskAssessmentTabFragment_assessment\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n hasPreviousPage\n startCursor\n }\n }\n}\n\nfragment VendorRiskAssessmentTabFragment_assessment on VendorRiskAssessment {\n id\n createdAt\n expiresAt\n dataSensitivity\n businessImpact\n notes\n}\n\nfragment useVendorFormFragment on Vendor {\n id\n name\n description\n category\n statusPageUrl\n termsOfServiceUrl\n privacyPolicyUrl\n serviceLevelAgreementUrl\n dataProcessingAgreementUrl\n websiteUrl\n legalName\n headquarterAddress\n certifications\n countries\n securityPageUrl\n trustPageUrl\n businessOwner {\n id\n }\n securityOwner {\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "d740639450b37e427fad42d04c4aef70"; - -export default node; diff --git a/apps/console/src/__generated__/core/LinkControlDialogLinkMutation.graphql.ts b/apps/console/src/__generated__/core/LinkControlDialogLinkMutation.graphql.ts deleted file mode 100644 index f812abd12..000000000 --- a/apps/console/src/__generated__/core/LinkControlDialogLinkMutation.graphql.ts +++ /dev/null @@ -1,194 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type CreateStateOfApplicabilityControlMappingInput = { - applicability: boolean; - controlId: string; - justification?: string | null | undefined; - stateOfApplicabilityId: string; -}; -export type LinkControlDialogLinkMutation$variables = { - input: CreateStateOfApplicabilityControlMappingInput; -}; -export type LinkControlDialogLinkMutation$data = { - readonly createStateOfApplicabilityControlMapping: { - readonly stateOfApplicabilityControlEdge: { - readonly node: { - readonly applicability: boolean; - readonly controlId: string; - readonly justification: string | null | undefined; - readonly stateOfApplicabilityId: string; - }; - }; - }; -}; -export type LinkControlDialogLinkMutation = { - response: LinkControlDialogLinkMutation$data; - variables: LinkControlDialogLinkMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "stateOfApplicabilityId", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "controlId", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "applicability", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "justification", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "LinkControlDialogLinkMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "CreateStateOfApplicabilityControlMappingPayload", - "kind": "LinkedField", - "name": "createStateOfApplicabilityControlMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "StateOfApplicabilityControlEdge", - "kind": "LinkedField", - "name": "stateOfApplicabilityControlEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "StateOfApplicabilityControl", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "LinkControlDialogLinkMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "CreateStateOfApplicabilityControlMappingPayload", - "kind": "LinkedField", - "name": "createStateOfApplicabilityControlMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "StateOfApplicabilityControlEdge", - "kind": "LinkedField", - "name": "stateOfApplicabilityControlEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "StateOfApplicabilityControl", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "59e215d4f18e0429cbf813aae4db8c94", - "id": null, - "metadata": {}, - "name": "LinkControlDialogLinkMutation", - "operationKind": "mutation", - "text": "mutation LinkControlDialogLinkMutation(\n $input: CreateStateOfApplicabilityControlMappingInput!\n) {\n createStateOfApplicabilityControlMapping(input: $input) {\n stateOfApplicabilityControlEdge {\n node {\n stateOfApplicabilityId\n controlId\n applicability\n justification\n id\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "47757e096c6beeba6be6290a2154f841"; - -export default node; diff --git a/apps/console/src/__generated__/core/LinkControlDialogQuery.graphql.ts b/apps/console/src/__generated__/core/LinkControlDialogQuery.graphql.ts deleted file mode 100644 index 993856949..000000000 --- a/apps/console/src/__generated__/core/LinkControlDialogQuery.graphql.ts +++ /dev/null @@ -1,211 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type LinkControlDialogQuery$variables = { - stateOfApplicabilityId: string; -}; -export type LinkControlDialogQuery$data = { - readonly node: { - readonly availableControls?: ReadonlyArray<{ - readonly applicability: boolean | null | undefined; - readonly controlId: string; - readonly frameworkId: string; - readonly frameworkName: string; - readonly justification: string | null | undefined; - readonly name: string; - readonly organizationId: string; - readonly sectionTitle: string; - readonly stateOfApplicabilityId: string | null | undefined; - }>; - readonly id?: string; - }; -}; -export type LinkControlDialogQuery = { - response: LinkControlDialogQuery$data; - variables: LinkControlDialogQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "stateOfApplicabilityId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "stateOfApplicabilityId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "concreteType": "AvailableStateOfApplicabilityControl", - "kind": "LinkedField", - "name": "availableControls", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "controlId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sectionTitle", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "frameworkId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "frameworkName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "organizationId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "stateOfApplicabilityId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "applicability", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "justification", - "storageKey": null - } - ], - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "LinkControlDialogQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - (v3/*: any*/) - ], - "type": "StateOfApplicability", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "LinkControlDialogQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/) - ], - "type": "StateOfApplicability", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "a0d70e15a1236fe0e8626e685ea16a15", - "id": null, - "metadata": {}, - "name": "LinkControlDialogQuery", - "operationKind": "query", - "text": "query LinkControlDialogQuery(\n $stateOfApplicabilityId: ID!\n) {\n node(id: $stateOfApplicabilityId) {\n __typename\n ... on StateOfApplicability {\n id\n availableControls {\n controlId\n sectionTitle\n name\n frameworkId\n frameworkName\n organizationId\n stateOfApplicabilityId\n applicability\n justification\n }\n }\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "26daf3c064517bdbbf025da7ce5fc30f"; - -export default node; diff --git a/apps/console/src/__generated__/core/LinkControlDialogUnlinkMutation.graphql.ts b/apps/console/src/__generated__/core/LinkControlDialogUnlinkMutation.graphql.ts deleted file mode 100644 index 5beb60c97..000000000 --- a/apps/console/src/__generated__/core/LinkControlDialogUnlinkMutation.graphql.ts +++ /dev/null @@ -1,109 +0,0 @@ -/** - * @generated SignedSource<<3bb4d04e228ac7dbda8ebfb8b7c2567f>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteStateOfApplicabilityControlMappingInput = { - controlId: string; - stateOfApplicabilityId: string; -}; -export type LinkControlDialogUnlinkMutation$variables = { - input: DeleteStateOfApplicabilityControlMappingInput; -}; -export type LinkControlDialogUnlinkMutation$data = { - readonly deleteStateOfApplicabilityControlMapping: { - readonly deletedControlId: string; - readonly deletedStateOfApplicabilityControlId: string; - readonly deletedStateOfApplicabilityId: string; - }; -}; -export type LinkControlDialogUnlinkMutation = { - response: LinkControlDialogUnlinkMutation$data; - variables: LinkControlDialogUnlinkMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "DeleteStateOfApplicabilityControlMappingPayload", - "kind": "LinkedField", - "name": "deleteStateOfApplicabilityControlMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedStateOfApplicabilityId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedControlId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedStateOfApplicabilityControlId", - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "LinkControlDialogUnlinkMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "LinkControlDialogUnlinkMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "766d15d5071197ed2907d876caf37995", - "id": null, - "metadata": {}, - "name": "LinkControlDialogUnlinkMutation", - "operationKind": "mutation", - "text": "mutation LinkControlDialogUnlinkMutation(\n $input: DeleteStateOfApplicabilityControlMappingInput!\n) {\n deleteStateOfApplicabilityControlMapping(input: $input) {\n deletedStateOfApplicabilityId\n deletedControlId\n deletedStateOfApplicabilityControlId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "a184d521b495bf3ff76796530e9eb0e1"; - -export default node; diff --git a/apps/console/src/__generated__/core/LinkedAuditsCardFragment.graphql.ts b/apps/console/src/__generated__/core/LinkedAuditsCardFragment.graphql.ts deleted file mode 100644 index 8953e7509..000000000 --- a/apps/console/src/__generated__/core/LinkedAuditsCardFragment.graphql.ts +++ /dev/null @@ -1,104 +0,0 @@ -/** - * @generated SignedSource<<903698144cc9c26d698f573b64544e17>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type AuditState = "COMPLETED" | "IN_PROGRESS" | "NOT_STARTED" | "OUTDATED" | "REJECTED"; -import { FragmentRefs } from "relay-runtime"; -export type LinkedAuditsCardFragment$data = { - readonly createdAt: string; - readonly framework: { - readonly id: string; - readonly name: string; - }; - readonly id: string; - readonly name: string | null | undefined; - readonly state: AuditState; - readonly validFrom: string | null | undefined; - readonly validUntil: string | null | undefined; - readonly " $fragmentType": "LinkedAuditsCardFragment"; -}; -export type LinkedAuditsCardFragment$key = { - readonly " $data"?: LinkedAuditsCardFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"LinkedAuditsCardFragment">; -}; - -const node: ReaderFragment = (function(){ -var v0 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "LinkedAuditsCardFragment", - "selections": [ - (v0/*: any*/), - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validFrom", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validUntil", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "storageKey": null - } - ], - "type": "Audit", - "abstractKey": null -}; -})(); - -(node as any).hash = "9ff9367a1f0668a8537bdd5bf5c7233d"; - -export default node; diff --git a/apps/console/src/__generated__/core/LinkedAuditsDialogFragment.graphql.ts b/apps/console/src/__generated__/core/LinkedAuditsDialogFragment.graphql.ts deleted file mode 100644 index 3db52b8bc..000000000 --- a/apps/console/src/__generated__/core/LinkedAuditsDialogFragment.graphql.ts +++ /dev/null @@ -1,257 +0,0 @@ -/** - * @generated SignedSource<<0ba30b05b62bf6a4b76a17fb1a6db467>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type AuditState = "COMPLETED" | "IN_PROGRESS" | "NOT_STARTED" | "OUTDATED" | "REJECTED"; -import { FragmentRefs } from "relay-runtime"; -export type LinkedAuditsDialogFragment$data = { - readonly audits: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly framework: { - readonly id: string; - readonly name: string; - }; - readonly id: string; - readonly name: string | null | undefined; - readonly state: AuditState; - readonly validFrom: string | null | undefined; - readonly validUntil: string | null | undefined; - }; - }>; - }; - readonly id: string; - readonly " $fragmentType": "LinkedAuditsDialogFragment"; -}; -export type LinkedAuditsDialogFragment$key = { - readonly " $data"?: LinkedAuditsDialogFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"LinkedAuditsDialogFragment">; -}; - -import LinkedAuditsDialogQuery_fragment_graphql from './LinkedAuditsDialogQuery_fragment.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "audits" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" - }, - { - "defaultValue": 20, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "bidirectional", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": { - "count": "last", - "cursor": "before" - }, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": LinkedAuditsDialogQuery_fragment_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "LinkedAuditsDialogFragment", - "selections": [ - { - "alias": "audits", - "args": [ - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } - ], - "concreteType": "AuditConnection", - "kind": "LinkedField", - "name": "__LinkedAuditsDialogQuery_audits_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "AuditEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validFrom", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validUntil", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v1/*: any*/), - (v2/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - (v1/*: any*/) - ], - "type": "Organization", - "abstractKey": null -}; -})(); - -(node as any).hash = "d58fca9b4fb36a24ded1858b632f5acf"; - -export default node; diff --git a/apps/console/src/__generated__/core/LinkedAuditsDialogQuery.graphql.ts b/apps/console/src/__generated__/core/LinkedAuditsDialogQuery.graphql.ts deleted file mode 100644 index ee21a096d..000000000 --- a/apps/console/src/__generated__/core/LinkedAuditsDialogQuery.graphql.ts +++ /dev/null @@ -1,273 +0,0 @@ -/** - * @generated SignedSource<<1f9d92c4803d49c216fef6447a59c779>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type LinkedAuditsDialogQuery$variables = { - organizationId: string; -}; -export type LinkedAuditsDialogQuery$data = { - readonly organization: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"LinkedAuditsDialogFragment">; - }; -}; -export type LinkedAuditsDialogQuery = { - response: LinkedAuditsDialogQuery$data; - variables: LinkedAuditsDialogQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v4 = [ - { - "kind": "Literal", - "name": "first", - "value": 20 - } -], -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "LinkedAuditsDialogQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "args": null, - "kind": "FragmentSpread", - "name": "LinkedAuditsDialogFragment" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "LinkedAuditsDialogQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v4/*: any*/), - "concreteType": "AuditConnection", - "kind": "LinkedField", - "name": "audits", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "AuditEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v5/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validFrom", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validUntil", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v2/*: any*/), - (v5/*: any*/) - ], - "storageKey": null - }, - (v3/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "audits(first:20)" - }, - { - "alias": null, - "args": (v4/*: any*/), - "filters": [ - "orderBy" - ], - "handle": "connection", - "key": "LinkedAuditsDialogQuery_audits", - "kind": "LinkedHandle", - "name": "audits" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "0daa6dc9bebd2677cc0c36e819631f9c", - "id": null, - "metadata": {}, - "name": "LinkedAuditsDialogQuery", - "operationKind": "query", - "text": "query LinkedAuditsDialogQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n id\n ... on Organization {\n ...LinkedAuditsDialogFragment\n }\n }\n}\n\nfragment LinkedAuditsDialogFragment on Organization {\n audits(first: 20) {\n edges {\n node {\n id\n name\n state\n validFrom\n validUntil\n framework {\n id\n name\n }\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n" - } -}; -})(); - -(node as any).hash = "a6f87b771862cc24fee101cc924a57b2"; - -export default node; diff --git a/apps/console/src/__generated__/core/LinkedAuditsDialogQuery_fragment.graphql.ts b/apps/console/src/__generated__/core/LinkedAuditsDialogQuery_fragment.graphql.ts deleted file mode 100644 index e0f2bad22..000000000 --- a/apps/console/src/__generated__/core/LinkedAuditsDialogQuery_fragment.graphql.ts +++ /dev/null @@ -1,346 +0,0 @@ -/** - * @generated SignedSource<<87ff7faae25faa23e9832a7457605a2e>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type AuditOrderField = "CREATED_AT" | "STATE" | "VALID_FROM" | "VALID_UNTIL"; -export type OrderDirection = "ASC" | "DESC"; -export type AuditOrder = { - direction: OrderDirection; - field: AuditOrderField; -}; -export type LinkedAuditsDialogQuery_fragment$variables = { - after?: string | null | undefined; - before?: string | null | undefined; - first?: number | null | undefined; - id: string; - last?: number | null | undefined; - order?: AuditOrder | null | undefined; -}; -export type LinkedAuditsDialogQuery_fragment$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"LinkedAuditsDialogFragment">; - }; -}; -export type LinkedAuditsDialogQuery_fragment = { - response: LinkedAuditsDialogQuery_fragment$data; - variables: LinkedAuditsDialogQuery_fragment$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" -}, -v2 = { - "defaultValue": 20, - "kind": "LocalArgument", - "name": "first" -}, -v3 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v4 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" -}, -v5 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" -}, -v6 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v7 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v8 = { - "kind": "Variable", - "name": "before", - "variableName": "before" -}, -v9 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v10 = { - "kind": "Variable", - "name": "last", - "variableName": "last" -}, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v12 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v13 = [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } -], -v14 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "LinkedAuditsDialogQuery_fragment", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "order", - "variableName": "order" - } - ], - "kind": "FragmentSpread", - "name": "LinkedAuditsDialogFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v3/*: any*/) - ], - "kind": "Operation", - "name": "LinkedAuditsDialogQuery_fragment", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v11/*: any*/), - (v12/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v13/*: any*/), - "concreteType": "AuditConnection", - "kind": "LinkedField", - "name": "audits", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "AuditEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v12/*: any*/), - (v14/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validFrom", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validUntil", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v12/*: any*/), - (v14/*: any*/) - ], - "storageKey": null - }, - (v11/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v13/*: any*/), - "filters": [ - "orderBy" - ], - "handle": "connection", - "key": "LinkedAuditsDialogQuery_audits", - "kind": "LinkedHandle", - "name": "audits" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "26f1cad4cab5157a2d9e10d4b89114ec", - "id": null, - "metadata": {}, - "name": "LinkedAuditsDialogQuery_fragment", - "operationKind": "query", - "text": "query LinkedAuditsDialogQuery_fragment(\n $after: CursorKey = null\n $before: CursorKey = null\n $first: Int = 20\n $last: Int = null\n $order: AuditOrder = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...LinkedAuditsDialogFragment_16fISc\n id\n }\n}\n\nfragment LinkedAuditsDialogFragment_16fISc on Organization {\n audits(first: $first, after: $after, last: $last, before: $before, orderBy: $order) {\n edges {\n node {\n id\n name\n state\n validFrom\n validUntil\n framework {\n id\n name\n }\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n" - } -}; -})(); - -(node as any).hash = "d58fca9b4fb36a24ded1858b632f5acf"; - -export default node; diff --git a/apps/console/src/__generated__/core/LinkedControlsCardFragment.graphql.ts b/apps/console/src/__generated__/core/LinkedControlsCardFragment.graphql.ts deleted file mode 100644 index e4a620a85..000000000 --- a/apps/console/src/__generated__/core/LinkedControlsCardFragment.graphql.ts +++ /dev/null @@ -1,79 +0,0 @@ -/** - * @generated SignedSource<<780834b432440afd9363100bb20f2529>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type LinkedControlsCardFragment$data = { - readonly framework: { - readonly id: string; - readonly name: string; - }; - readonly id: string; - readonly name: string; - readonly sectionTitle: string; - readonly " $fragmentType": "LinkedControlsCardFragment"; -}; -export type LinkedControlsCardFragment$key = { - readonly " $data"?: LinkedControlsCardFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"LinkedControlsCardFragment">; -}; - -const node: ReaderFragment = (function(){ -var v0 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "LinkedControlsCardFragment", - "selections": [ - (v0/*: any*/), - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sectionTitle", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "storageKey": null - } - ], - "type": "Control", - "abstractKey": null -}; -})(); - -(node as any).hash = "741820c65c4317cac48693023c3f9bcc"; - -export default node; diff --git a/apps/console/src/__generated__/core/LinkedControlsDialogControlsQuery.graphql.ts b/apps/console/src/__generated__/core/LinkedControlsDialogControlsQuery.graphql.ts deleted file mode 100644 index 18b144d97..000000000 --- a/apps/console/src/__generated__/core/LinkedControlsDialogControlsQuery.graphql.ts +++ /dev/null @@ -1,351 +0,0 @@ -/** - * @generated SignedSource<<22d3ddb8ba270ff44f043ccdd8bbdd7d>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type ControlOrderField = "CREATED_AT" | "SECTION_TITLE"; -export type OrderDirection = "ASC" | "DESC"; -export type ControlFilter = { - query?: string | null | undefined; -}; -export type ControlOrder = { - direction: OrderDirection; - field: ControlOrderField; -}; -export type LinkedControlsDialogControlsQuery$variables = { - after?: string | null | undefined; - before?: string | null | undefined; - filter?: ControlFilter | null | undefined; - first?: number | null | undefined; - id: string; - last?: number | null | undefined; - order?: ControlOrder | null | undefined; -}; -export type LinkedControlsDialogControlsQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"LinkedControlsDialogFragment">; - }; -}; -export type LinkedControlsDialogControlsQuery = { - response: LinkedControlsDialogControlsQuery$data; - variables: LinkedControlsDialogControlsQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" -}, -v2 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "filter" -}, -v3 = { - "defaultValue": 1, - "kind": "LocalArgument", - "name": "first" -}, -v4 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v5 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" -}, -v6 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" -}, -v7 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v8 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v9 = { - "kind": "Variable", - "name": "before", - "variableName": "before" -}, -v10 = { - "kind": "Variable", - "name": "filter", - "variableName": "filter" -}, -v11 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v12 = { - "kind": "Variable", - "name": "last", - "variableName": "last" -}, -v13 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v14 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v15 = [ - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v12/*: any*/), - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } -], -v16 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "LinkedControlsDialogControlsQuery", - "selections": [ - { - "alias": null, - "args": (v7/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v12/*: any*/), - { - "kind": "Variable", - "name": "order", - "variableName": "order" - } - ], - "kind": "FragmentSpread", - "name": "LinkedControlsDialogFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v4/*: any*/) - ], - "kind": "Operation", - "name": "LinkedControlsDialogControlsQuery", - "selections": [ - { - "alias": null, - "args": (v7/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v13/*: any*/), - (v14/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v15/*: any*/), - "concreteType": "ControlConnection", - "kind": "LinkedField", - "name": "controls", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ControlEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Control", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v14/*: any*/), - (v16/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sectionTitle", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v16/*: any*/), - (v14/*: any*/) - ], - "storageKey": null - }, - (v13/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v15/*: any*/), - "filters": [ - "orderBy", - "filter" - ], - "handle": "connection", - "key": "LinkedControlsDialogControlsQuery_controls", - "kind": "LinkedHandle", - "name": "controls" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "e9bcdc36129e6a05c59f344433459b66", - "id": null, - "metadata": {}, - "name": "LinkedControlsDialogControlsQuery", - "operationKind": "query", - "text": "query LinkedControlsDialogControlsQuery(\n $after: CursorKey\n $before: CursorKey = null\n $filter: ControlFilter = null\n $first: Int = 1\n $last: Int = null\n $order: ControlOrder = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...LinkedControlsDialogFragment_4cFWzS\n id\n }\n}\n\nfragment LinkedControlsDialogFragment_4cFWzS on Organization {\n controls(first: $first, after: $after, last: $last, before: $before, orderBy: $order, filter: $filter) {\n edges {\n node {\n id\n name\n sectionTitle\n framework {\n name\n id\n }\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n" - } -}; -})(); - -(node as any).hash = "9fc0bfbfc461d56748750b180bc232fc"; - -export default node; diff --git a/apps/console/src/__generated__/core/LinkedControlsDialogFragment.graphql.ts b/apps/console/src/__generated__/core/LinkedControlsDialogFragment.graphql.ts deleted file mode 100644 index da0419ae8..000000000 --- a/apps/console/src/__generated__/core/LinkedControlsDialogFragment.graphql.ts +++ /dev/null @@ -1,248 +0,0 @@ -/** - * @generated SignedSource<<06b39b49e82019064bd42a03c903fd93>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type LinkedControlsDialogFragment$data = { - readonly controls: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly framework: { - readonly name: string; - }; - readonly id: string; - readonly name: string; - readonly sectionTitle: string; - }; - }>; - }; - readonly id: string; - readonly " $fragmentType": "LinkedControlsDialogFragment"; -}; -export type LinkedControlsDialogFragment$key = { - readonly " $data"?: LinkedControlsDialogFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"LinkedControlsDialogFragment">; -}; - -import LinkedControlsDialogControlsQuery_graphql from './LinkedControlsDialogControlsQuery.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "controls" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "filter" - }, - { - "defaultValue": 1, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "bidirectional", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": { - "count": "last", - "cursor": "before" - }, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": LinkedControlsDialogControlsQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "LinkedControlsDialogFragment", - "selections": [ - { - "alias": "controls", - "args": [ - { - "kind": "Variable", - "name": "filter", - "variableName": "filter" - }, - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } - ], - "concreteType": "ControlConnection", - "kind": "LinkedField", - "name": "__LinkedControlsDialogControlsQuery_controls_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ControlEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Control", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sectionTitle", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v2/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - (v1/*: any*/) - ], - "type": "Organization", - "abstractKey": null -}; -})(); - -(node as any).hash = "9fc0bfbfc461d56748750b180bc232fc"; - -export default node; diff --git a/apps/console/src/__generated__/core/LinkedControlsDialogQuery.graphql.ts b/apps/console/src/__generated__/core/LinkedControlsDialogQuery.graphql.ts deleted file mode 100644 index 5d245c2aa..000000000 --- a/apps/console/src/__generated__/core/LinkedControlsDialogQuery.graphql.ts +++ /dev/null @@ -1,253 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type LinkedControlsDialogQuery$variables = { - organizationId: string; -}; -export type LinkedControlsDialogQuery$data = { - readonly organization: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"LinkedControlsDialogFragment">; - }; -}; -export type LinkedControlsDialogQuery = { - response: LinkedControlsDialogQuery$data; - variables: LinkedControlsDialogQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v4 = [ - { - "kind": "Literal", - "name": "first", - "value": 1 - } -], -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "LinkedControlsDialogQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "LinkedControlsDialogFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "LinkedControlsDialogQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v4/*: any*/), - "concreteType": "ControlConnection", - "kind": "LinkedField", - "name": "controls", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ControlEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Control", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v5/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sectionTitle", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v5/*: any*/), - (v2/*: any*/) - ], - "storageKey": null - }, - (v3/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "controls(first:1)" - }, - { - "alias": null, - "args": (v4/*: any*/), - "filters": [ - "orderBy", - "filter" - ], - "handle": "connection", - "key": "LinkedControlsDialogControlsQuery_controls", - "kind": "LinkedHandle", - "name": "controls" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "a36d424a3b8a087dbb40149bdbc2b6a2", - "id": null, - "metadata": {}, - "name": "LinkedControlsDialogQuery", - "operationKind": "query", - "text": "query LinkedControlsDialogQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n id\n ...LinkedControlsDialogFragment\n }\n}\n\nfragment LinkedControlsDialogFragment on Organization {\n controls(first: 1) {\n edges {\n node {\n id\n name\n sectionTitle\n framework {\n name\n id\n }\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n" - } -}; -})(); - -(node as any).hash = "1be60a2dc1efbd8992472862ca32910e"; - -export default node; diff --git a/apps/console/src/__generated__/core/LinkedDocumentsCardFragment.graphql.ts b/apps/console/src/__generated__/core/LinkedDocumentsCardFragment.graphql.ts deleted file mode 100644 index 65cb83f14..000000000 --- a/apps/console/src/__generated__/core/LinkedDocumentsCardFragment.graphql.ts +++ /dev/null @@ -1,126 +0,0 @@ -/** - * @generated SignedSource<<9fd60ce5ad80ada10eafed963ea0adb3>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type DocumentStatus = "DRAFT" | "PUBLISHED"; -export type DocumentType = "ISMS" | "OTHER" | "POLICY" | "PROCEDURE"; -import { FragmentRefs } from "relay-runtime"; -export type LinkedDocumentsCardFragment$data = { - readonly createdAt: string; - readonly documentType: DocumentType; - readonly id: string; - readonly title: string; - readonly versions: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly status: DocumentStatus; - }; - }>; - }; - readonly " $fragmentType": "LinkedDocumentsCardFragment"; -}; -export type LinkedDocumentsCardFragment$key = { - readonly " $data"?: LinkedDocumentsCardFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"LinkedDocumentsCardFragment">; -}; - -const node: ReaderFragment = (function(){ -var v0 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "LinkedDocumentsCardFragment", - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "title", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "documentType", - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 1 - } - ], - "concreteType": "DocumentVersionConnection", - "kind": "LinkedField", - "name": "versions", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersion", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "versions(first:1)" - } - ], - "type": "Document", - "abstractKey": null -}; -})(); - -(node as any).hash = "952e653849ce0b1b693de8d7e3086e3f"; - -export default node; diff --git a/apps/console/src/__generated__/core/LinkedDocumentsDialogFragment.graphql.ts b/apps/console/src/__generated__/core/LinkedDocumentsDialogFragment.graphql.ts deleted file mode 100644 index 1a451f958..000000000 --- a/apps/console/src/__generated__/core/LinkedDocumentsDialogFragment.graphql.ts +++ /dev/null @@ -1,223 +0,0 @@ -/** - * @generated SignedSource<<096eea04ea39ac931b8627aee0ebb26c>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type DocumentType = "ISMS" | "OTHER" | "POLICY" | "PROCEDURE"; -import { FragmentRefs } from "relay-runtime"; -export type LinkedDocumentsDialogFragment$data = { - readonly documents: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly documentType: DocumentType; - readonly id: string; - readonly title: string; - }; - }>; - }; - readonly id: string; - readonly " $fragmentType": "LinkedDocumentsDialogFragment"; -}; -export type LinkedDocumentsDialogFragment$key = { - readonly " $data"?: LinkedDocumentsDialogFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"LinkedDocumentsDialogFragment">; -}; - -import LinkedDocumentsDialogQuery_fragment_graphql from './LinkedDocumentsDialogQuery_fragment.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "documents" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" - }, - { - "defaultValue": 20, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "bidirectional", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": { - "count": "last", - "cursor": "before" - }, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": LinkedDocumentsDialogQuery_fragment_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "LinkedDocumentsDialogFragment", - "selections": [ - { - "alias": "documents", - "args": [ - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } - ], - "concreteType": "DocumentConnection", - "kind": "LinkedField", - "name": "__LinkedDocumentsDialogQuery_documents_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Document", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "title", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "documentType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - (v1/*: any*/) - ], - "type": "Organization", - "abstractKey": null -}; -})(); - -(node as any).hash = "392d33b379a58cb3da08ab783c1cda5d"; - -export default node; diff --git a/apps/console/src/__generated__/core/LinkedDocumentsDialogQuery.graphql.ts b/apps/console/src/__generated__/core/LinkedDocumentsDialogQuery.graphql.ts deleted file mode 100644 index 25b076fc5..000000000 --- a/apps/console/src/__generated__/core/LinkedDocumentsDialogQuery.graphql.ts +++ /dev/null @@ -1,245 +0,0 @@ -/** - * @generated SignedSource<<6316cd819a27efb5989750b5f8de0444>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type LinkedDocumentsDialogQuery$variables = { - organizationId: string; -}; -export type LinkedDocumentsDialogQuery$data = { - readonly organization: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"LinkedDocumentsDialogFragment">; - }; -}; -export type LinkedDocumentsDialogQuery = { - response: LinkedDocumentsDialogQuery$data; - variables: LinkedDocumentsDialogQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v4 = [ - { - "kind": "Literal", - "name": "first", - "value": 20 - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "LinkedDocumentsDialogQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "args": null, - "kind": "FragmentSpread", - "name": "LinkedDocumentsDialogFragment" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "LinkedDocumentsDialogQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v4/*: any*/), - "concreteType": "DocumentConnection", - "kind": "LinkedField", - "name": "documents", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Document", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "title", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "documentType", - "storageKey": null - }, - (v3/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "documents(first:20)" - }, - { - "alias": null, - "args": (v4/*: any*/), - "filters": [ - "orderBy" - ], - "handle": "connection", - "key": "LinkedDocumentsDialogQuery_documents", - "kind": "LinkedHandle", - "name": "documents" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "fd4ab41131ead5f74dceb4610ef3f2c5", - "id": null, - "metadata": {}, - "name": "LinkedDocumentsDialogQuery", - "operationKind": "query", - "text": "query LinkedDocumentsDialogQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n id\n ... on Organization {\n ...LinkedDocumentsDialogFragment\n }\n }\n}\n\nfragment LinkedDocumentsDialogFragment on Organization {\n documents(first: 20) {\n edges {\n node {\n id\n title\n documentType\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n" - } -}; -})(); - -(node as any).hash = "f97a3016285b1a39cc6925ac39d82acc"; - -export default node; diff --git a/apps/console/src/__generated__/core/LinkedDocumentsDialogQuery_fragment.graphql.ts b/apps/console/src/__generated__/core/LinkedDocumentsDialogQuery_fragment.graphql.ts deleted file mode 100644 index 1eb47b4c9..000000000 --- a/apps/console/src/__generated__/core/LinkedDocumentsDialogQuery_fragment.graphql.ts +++ /dev/null @@ -1,318 +0,0 @@ -/** - * @generated SignedSource<<54810545432d02fdcd0b3b02f47bf489>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type DocumentOrderField = "CREATED_AT" | "DOCUMENT_TYPE" | "TITLE"; -export type OrderDirection = "ASC" | "DESC"; -export type DocumentOrder = { - direction: OrderDirection; - field: DocumentOrderField; -}; -export type LinkedDocumentsDialogQuery_fragment$variables = { - after?: string | null | undefined; - before?: string | null | undefined; - first?: number | null | undefined; - id: string; - last?: number | null | undefined; - order?: DocumentOrder | null | undefined; -}; -export type LinkedDocumentsDialogQuery_fragment$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"LinkedDocumentsDialogFragment">; - }; -}; -export type LinkedDocumentsDialogQuery_fragment = { - response: LinkedDocumentsDialogQuery_fragment$data; - variables: LinkedDocumentsDialogQuery_fragment$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" -}, -v2 = { - "defaultValue": 20, - "kind": "LocalArgument", - "name": "first" -}, -v3 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v4 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" -}, -v5 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" -}, -v6 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v7 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v8 = { - "kind": "Variable", - "name": "before", - "variableName": "before" -}, -v9 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v10 = { - "kind": "Variable", - "name": "last", - "variableName": "last" -}, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v12 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v13 = [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "LinkedDocumentsDialogQuery_fragment", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "order", - "variableName": "order" - } - ], - "kind": "FragmentSpread", - "name": "LinkedDocumentsDialogFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v3/*: any*/) - ], - "kind": "Operation", - "name": "LinkedDocumentsDialogQuery_fragment", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v11/*: any*/), - (v12/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v13/*: any*/), - "concreteType": "DocumentConnection", - "kind": "LinkedField", - "name": "documents", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Document", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v12/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "title", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "documentType", - "storageKey": null - }, - (v11/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v13/*: any*/), - "filters": [ - "orderBy" - ], - "handle": "connection", - "key": "LinkedDocumentsDialogQuery_documents", - "kind": "LinkedHandle", - "name": "documents" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "e72639ede26aa4300b69ba3181de482b", - "id": null, - "metadata": {}, - "name": "LinkedDocumentsDialogQuery_fragment", - "operationKind": "query", - "text": "query LinkedDocumentsDialogQuery_fragment(\n $after: CursorKey = null\n $before: CursorKey = null\n $first: Int = 20\n $last: Int = null\n $order: DocumentOrder = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...LinkedDocumentsDialogFragment_16fISc\n id\n }\n}\n\nfragment LinkedDocumentsDialogFragment_16fISc on Organization {\n documents(first: $first, after: $after, last: $last, before: $before, orderBy: $order) {\n edges {\n node {\n id\n title\n documentType\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n" - } -}; -})(); - -(node as any).hash = "392d33b379a58cb3da08ab783c1cda5d"; - -export default node; diff --git a/apps/console/src/__generated__/core/LinkedMeasuresCardFragment.graphql.ts b/apps/console/src/__generated__/core/LinkedMeasuresCardFragment.graphql.ts deleted file mode 100644 index c4fb8097d..000000000 --- a/apps/console/src/__generated__/core/LinkedMeasuresCardFragment.graphql.ts +++ /dev/null @@ -1,59 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type MeasureState = "IMPLEMENTED" | "IN_PROGRESS" | "NOT_APPLICABLE" | "NOT_STARTED"; -import { FragmentRefs } from "relay-runtime"; -export type LinkedMeasuresCardFragment$data = { - readonly id: string; - readonly name: string; - readonly state: MeasureState; - readonly " $fragmentType": "LinkedMeasuresCardFragment"; -}; -export type LinkedMeasuresCardFragment$key = { - readonly " $data"?: LinkedMeasuresCardFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"LinkedMeasuresCardFragment">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "LinkedMeasuresCardFragment", - "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": "state", - "storageKey": null - } - ], - "type": "Measure", - "abstractKey": null -}; - -(node as any).hash = "741a216c02732c1ff97b265ac8dbf39b"; - -export default node; diff --git a/apps/console/src/__generated__/core/LinkedObligationsCardFragment.graphql.ts b/apps/console/src/__generated__/core/LinkedObligationsCardFragment.graphql.ts deleted file mode 100644 index 7adc626fc..000000000 --- a/apps/console/src/__generated__/core/LinkedObligationsCardFragment.graphql.ts +++ /dev/null @@ -1,96 +0,0 @@ -/** - * @generated SignedSource<<1126620dba70ca7a331c00347217eaa8>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type ObligationStatus = "COMPLIANT" | "NON_COMPLIANT" | "PARTIALLY_COMPLIANT"; -import { FragmentRefs } from "relay-runtime"; -export type LinkedObligationsCardFragment$data = { - readonly area: string | null | undefined; - readonly id: string; - readonly owner: { - readonly fullName: string; - }; - readonly requirement: string | null | undefined; - readonly source: string | null | undefined; - readonly status: ObligationStatus; - readonly " $fragmentType": "LinkedObligationsCardFragment"; -}; -export type LinkedObligationsCardFragment$key = { - readonly " $data"?: LinkedObligationsCardFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"LinkedObligationsCardFragment">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "LinkedObligationsCardFragment", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "requirement", - "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": "status", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Obligation", - "abstractKey": null -}; - -(node as any).hash = "67ae0e6b0df090bb5a708bf7e029f4c5"; - -export default node; diff --git a/apps/console/src/__generated__/core/LinkedObligationsDialogFragment.graphql.ts b/apps/console/src/__generated__/core/LinkedObligationsDialogFragment.graphql.ts deleted file mode 100644 index f82aed3f3..000000000 --- a/apps/console/src/__generated__/core/LinkedObligationsDialogFragment.graphql.ts +++ /dev/null @@ -1,260 +0,0 @@ -/** - * @generated SignedSource<<4569a09dbc9fbf80fb787da46d0d058f>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type ObligationStatus = "COMPLIANT" | "NON_COMPLIANT" | "PARTIALLY_COMPLIANT"; -import { FragmentRefs } from "relay-runtime"; -export type LinkedObligationsDialogFragment$data = { - readonly id: string; - readonly obligations: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly area: string | null | undefined; - readonly id: string; - readonly owner: { - readonly fullName: string; - }; - readonly requirement: string | null | undefined; - readonly source: string | null | undefined; - readonly status: ObligationStatus; - }; - }>; - }; - readonly " $fragmentType": "LinkedObligationsDialogFragment"; -}; -export type LinkedObligationsDialogFragment$key = { - readonly " $data"?: LinkedObligationsDialogFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"LinkedObligationsDialogFragment">; -}; - -import LinkedObligationsDialogQuery_fragment_graphql from './LinkedObligationsDialogQuery_fragment.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "obligations" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" - }, - { - "defaultValue": 20, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "bidirectional", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": { - "count": "last", - "cursor": "before" - }, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": LinkedObligationsDialogQuery_fragment_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "LinkedObligationsDialogFragment", - "selections": [ - { - "alias": "obligations", - "args": [ - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } - ], - "concreteType": "ObligationConnection", - "kind": "LinkedField", - "name": "__LinkedObligationsDialogQuery_obligations_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ObligationEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Obligation", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "requirement", - "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": "status", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - (v1/*: any*/) - ], - "type": "Organization", - "abstractKey": null -}; -})(); - -(node as any).hash = "6e686f2a4bce776146b1985df2863e73"; - -export default node; diff --git a/apps/console/src/__generated__/core/LinkedObligationsDialogQuery.graphql.ts b/apps/console/src/__generated__/core/LinkedObligationsDialogQuery.graphql.ts deleted file mode 100644 index ee8f959c9..000000000 --- a/apps/console/src/__generated__/core/LinkedObligationsDialogQuery.graphql.ts +++ /dev/null @@ -1,278 +0,0 @@ -/** - * @generated SignedSource<<44ee1c9c1b8d060d03736d1703d2a68a>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type LinkedObligationsDialogQuery$variables = { - organizationId: string; -}; -export type LinkedObligationsDialogQuery$data = { - readonly organization: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"LinkedObligationsDialogFragment">; - }; -}; -export type LinkedObligationsDialogQuery = { - response: LinkedObligationsDialogQuery$data; - variables: LinkedObligationsDialogQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v4 = [ - { - "kind": "Literal", - "name": "first", - "value": 20 - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "LinkedObligationsDialogQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "args": null, - "kind": "FragmentSpread", - "name": "LinkedObligationsDialogFragment" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "LinkedObligationsDialogQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v4/*: any*/), - "concreteType": "ObligationConnection", - "kind": "LinkedField", - "name": "obligations", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ObligationEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Obligation", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "requirement", - "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": "status", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - }, - (v2/*: any*/) - ], - "storageKey": null - }, - (v3/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "obligations(first:20)" - }, - { - "alias": null, - "args": (v4/*: any*/), - "filters": [ - "orderBy" - ], - "handle": "connection", - "key": "LinkedObligationsDialogQuery_obligations", - "kind": "LinkedHandle", - "name": "obligations" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "8d4a5e57f79ae207dd1e27c436e49bd5", - "id": null, - "metadata": {}, - "name": "LinkedObligationsDialogQuery", - "operationKind": "query", - "text": "query LinkedObligationsDialogQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n id\n ... on Organization {\n ...LinkedObligationsDialogFragment\n }\n }\n}\n\nfragment LinkedObligationsDialogFragment on Organization {\n obligations(first: 20) {\n edges {\n node {\n id\n requirement\n area\n source\n status\n owner {\n fullName\n id\n }\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n" - } -}; -})(); - -(node as any).hash = "afd36a8a7dbe29044d2aefc3e3820fc8"; - -export default node; diff --git a/apps/console/src/__generated__/core/LinkedObligationsDialogQuery_fragment.graphql.ts b/apps/console/src/__generated__/core/LinkedObligationsDialogQuery_fragment.graphql.ts deleted file mode 100644 index bf84cb1fa..000000000 --- a/apps/console/src/__generated__/core/LinkedObligationsDialogQuery_fragment.graphql.ts +++ /dev/null @@ -1,351 +0,0 @@ -/** - * @generated SignedSource<<18d4d04e3149486db39e2376613f845a>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type ObligationOrderField = "CREATED_AT" | "DUE_DATE" | "LAST_REVIEW_DATE" | "STATUS"; -export type OrderDirection = "ASC" | "DESC"; -export type ObligationOrder = { - direction: OrderDirection; - field: ObligationOrderField; -}; -export type LinkedObligationsDialogQuery_fragment$variables = { - after?: string | null | undefined; - before?: string | null | undefined; - first?: number | null | undefined; - id: string; - last?: number | null | undefined; - order?: ObligationOrder | null | undefined; -}; -export type LinkedObligationsDialogQuery_fragment$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"LinkedObligationsDialogFragment">; - }; -}; -export type LinkedObligationsDialogQuery_fragment = { - response: LinkedObligationsDialogQuery_fragment$data; - variables: LinkedObligationsDialogQuery_fragment$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" -}, -v2 = { - "defaultValue": 20, - "kind": "LocalArgument", - "name": "first" -}, -v3 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v4 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" -}, -v5 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" -}, -v6 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v7 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v8 = { - "kind": "Variable", - "name": "before", - "variableName": "before" -}, -v9 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v10 = { - "kind": "Variable", - "name": "last", - "variableName": "last" -}, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v12 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v13 = [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "LinkedObligationsDialogQuery_fragment", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "order", - "variableName": "order" - } - ], - "kind": "FragmentSpread", - "name": "LinkedObligationsDialogFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v3/*: any*/) - ], - "kind": "Operation", - "name": "LinkedObligationsDialogQuery_fragment", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v11/*: any*/), - (v12/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v13/*: any*/), - "concreteType": "ObligationConnection", - "kind": "LinkedField", - "name": "obligations", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ObligationEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Obligation", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v12/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "requirement", - "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": "status", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - }, - (v12/*: any*/) - ], - "storageKey": null - }, - (v11/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v13/*: any*/), - "filters": [ - "orderBy" - ], - "handle": "connection", - "key": "LinkedObligationsDialogQuery_obligations", - "kind": "LinkedHandle", - "name": "obligations" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "a4640b163a373e0420a9fb1108ce7b3a", - "id": null, - "metadata": {}, - "name": "LinkedObligationsDialogQuery_fragment", - "operationKind": "query", - "text": "query LinkedObligationsDialogQuery_fragment(\n $after: CursorKey = null\n $before: CursorKey = null\n $first: Int = 20\n $last: Int = null\n $order: ObligationOrder = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...LinkedObligationsDialogFragment_16fISc\n id\n }\n}\n\nfragment LinkedObligationsDialogFragment_16fISc on Organization {\n obligations(first: $first, after: $after, last: $last, before: $before, orderBy: $order) {\n edges {\n node {\n id\n requirement\n area\n source\n status\n owner {\n fullName\n id\n }\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n" - } -}; -})(); - -(node as any).hash = "6e686f2a4bce776146b1985df2863e73"; - -export default node; diff --git a/apps/console/src/__generated__/core/LinkedRisksCardFragment.graphql.ts b/apps/console/src/__generated__/core/LinkedRisksCardFragment.graphql.ts deleted file mode 100644 index 262289f0b..000000000 --- a/apps/console/src/__generated__/core/LinkedRisksCardFragment.graphql.ts +++ /dev/null @@ -1,66 +0,0 @@ -/** - * @generated SignedSource<<6e092be20526b76ee767836880803c34>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type LinkedRisksCardFragment$data = { - readonly id: string; - readonly inherentRiskScore: number; - readonly name: string; - readonly residualRiskScore: number; - readonly " $fragmentType": "LinkedRisksCardFragment"; -}; -export type LinkedRisksCardFragment$key = { - readonly " $data"?: LinkedRisksCardFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"LinkedRisksCardFragment">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "LinkedRisksCardFragment", - "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": "inherentRiskScore", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualRiskScore", - "storageKey": null - } - ], - "type": "Risk", - "abstractKey": null -}; - -(node as any).hash = "32a84445ae1cc071f56139fa44d67690"; - -export default node; diff --git a/apps/console/src/__generated__/core/LinkedRisksDialogQuery.graphql.ts b/apps/console/src/__generated__/core/LinkedRisksDialogQuery.graphql.ts deleted file mode 100644 index c760b3564..000000000 --- a/apps/console/src/__generated__/core/LinkedRisksDialogQuery.graphql.ts +++ /dev/null @@ -1,206 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type LinkedRisksDialogQuery$variables = { - organizationId: string; -}; -export type LinkedRisksDialogQuery$data = { - readonly organization: { - readonly id: string; - readonly risks?: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly category: string; - readonly description: string | null | undefined; - readonly id: string; - readonly inherentRiskScore: number; - readonly name: string; - readonly residualRiskScore: number; - }; - }>; - }; - }; -}; -export type LinkedRisksDialogQuery = { - response: LinkedRisksDialogQuery$data; - variables: LinkedRisksDialogQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 100 - } - ], - "concreteType": "RiskConnection", - "kind": "LinkedField", - "name": "risks", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "RiskEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Risk", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "category", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "inherentRiskScore", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualRiskScore", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "risks(first:100)" - } - ], - "type": "Organization", - "abstractKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "LinkedRisksDialogQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "LinkedRisksDialogQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - (v2/*: any*/), - (v3/*: any*/) - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "ccac9f72628186de135aeb2ee176207d", - "id": null, - "metadata": {}, - "name": "LinkedRisksDialogQuery", - "operationKind": "query", - "text": "query LinkedRisksDialogQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n id\n ... on Organization {\n risks(first: 100) {\n edges {\n node {\n id\n name\n category\n description\n inherentRiskScore\n residualRiskScore\n }\n }\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "a0a7e39135cc4c1a4a74c4728902f944"; - -export default node; diff --git a/apps/console/src/__generated__/core/LinkedSnapshotsCardFragment.graphql.ts b/apps/console/src/__generated__/core/LinkedSnapshotsCardFragment.graphql.ts deleted file mode 100644 index 71afbe682..000000000 --- a/apps/console/src/__generated__/core/LinkedSnapshotsCardFragment.graphql.ts +++ /dev/null @@ -1,75 +0,0 @@ -/** - * @generated SignedSource<<659b07d2d3bf4c7527c44c7d1e830138>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type SnapshotsType = "ASSETS" | "CONTINUAL_IMPROVEMENTS" | "DATA" | "NONCONFORMITIES" | "OBLIGATIONS" | "PROCESSING_ACTIVITIES" | "RISKS" | "STATES_OF_APPLICABILITY" | "VENDORS"; -import { FragmentRefs } from "relay-runtime"; -export type LinkedSnapshotsCardFragment$data = { - readonly createdAt: string; - readonly description: string | null | undefined; - readonly id: string; - readonly name: string; - readonly type: SnapshotsType; - readonly " $fragmentType": "LinkedSnapshotsCardFragment"; -}; -export type LinkedSnapshotsCardFragment$key = { - readonly " $data"?: LinkedSnapshotsCardFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"LinkedSnapshotsCardFragment">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "LinkedSnapshotsCardFragment", - "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": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "type", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - } - ], - "type": "Snapshot", - "abstractKey": null -}; - -(node as any).hash = "b9b682f8e57082c98d8b0460155757fb"; - -export default node; diff --git a/apps/console/src/__generated__/core/LinkedSnapshotsDialogFragment.graphql.ts b/apps/console/src/__generated__/core/LinkedSnapshotsDialogFragment.graphql.ts deleted file mode 100644 index 23493b874..000000000 --- a/apps/console/src/__generated__/core/LinkedSnapshotsDialogFragment.graphql.ts +++ /dev/null @@ -1,239 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type SnapshotsType = "ASSETS" | "CONTINUAL_IMPROVEMENTS" | "DATA" | "NONCONFORMITIES" | "OBLIGATIONS" | "PROCESSING_ACTIVITIES" | "RISKS" | "STATES_OF_APPLICABILITY" | "VENDORS"; -import { FragmentRefs } from "relay-runtime"; -export type LinkedSnapshotsDialogFragment$data = { - readonly id: string; - readonly snapshots: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly createdAt: string; - readonly description: string | null | undefined; - readonly id: string; - readonly name: string; - readonly type: SnapshotsType; - }; - }>; - }; - readonly " $fragmentType": "LinkedSnapshotsDialogFragment"; -}; -export type LinkedSnapshotsDialogFragment$key = { - readonly " $data"?: LinkedSnapshotsDialogFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"LinkedSnapshotsDialogFragment">; -}; - -import LinkedSnapshotsDialogQuery_fragment_graphql from './LinkedSnapshotsDialogQuery_fragment.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "snapshots" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" - }, - { - "defaultValue": 20, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "bidirectional", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": { - "count": "last", - "cursor": "before" - }, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": LinkedSnapshotsDialogQuery_fragment_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "LinkedSnapshotsDialogFragment", - "selections": [ - { - "alias": "snapshots", - "args": [ - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } - ], - "concreteType": "SnapshotConnection", - "kind": "LinkedField", - "name": "__LinkedSnapshotsDialogQuery_snapshots_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "SnapshotEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Snapshot", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "type", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - (v1/*: any*/) - ], - "type": "Organization", - "abstractKey": null -}; -})(); - -(node as any).hash = "bdc77ee756ac59c099caa8765403cd22"; - -export default node; diff --git a/apps/console/src/__generated__/core/LinkedSnapshotsDialogQuery.graphql.ts b/apps/console/src/__generated__/core/LinkedSnapshotsDialogQuery.graphql.ts deleted file mode 100644 index 2898d4fcc..000000000 --- a/apps/console/src/__generated__/core/LinkedSnapshotsDialogQuery.graphql.ts +++ /dev/null @@ -1,259 +0,0 @@ -/** - * @generated SignedSource<<78d7f0f48f20187e9eef7744a19d8e1e>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type LinkedSnapshotsDialogQuery$variables = { - organizationId: string; -}; -export type LinkedSnapshotsDialogQuery$data = { - readonly organization: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"LinkedSnapshotsDialogFragment">; - }; -}; -export type LinkedSnapshotsDialogQuery = { - response: LinkedSnapshotsDialogQuery$data; - variables: LinkedSnapshotsDialogQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v4 = [ - { - "kind": "Literal", - "name": "first", - "value": 20 - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "LinkedSnapshotsDialogQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "args": null, - "kind": "FragmentSpread", - "name": "LinkedSnapshotsDialogFragment" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "LinkedSnapshotsDialogQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v4/*: any*/), - "concreteType": "SnapshotConnection", - "kind": "LinkedField", - "name": "snapshots", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "SnapshotEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Snapshot", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "type", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - (v3/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "snapshots(first:20)" - }, - { - "alias": null, - "args": (v4/*: any*/), - "filters": [ - "orderBy" - ], - "handle": "connection", - "key": "LinkedSnapshotsDialogQuery_snapshots", - "kind": "LinkedHandle", - "name": "snapshots" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "200a82b795d348f0d8a63a3b2b779d7c", - "id": null, - "metadata": {}, - "name": "LinkedSnapshotsDialogQuery", - "operationKind": "query", - "text": "query LinkedSnapshotsDialogQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n id\n ... on Organization {\n ...LinkedSnapshotsDialogFragment\n }\n }\n}\n\nfragment LinkedSnapshotsDialogFragment on Organization {\n snapshots(first: 20) {\n edges {\n node {\n id\n name\n description\n type\n createdAt\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n" - } -}; -})(); - -(node as any).hash = "b91ff32883e1f6e83d9b43251fc83001"; - -export default node; diff --git a/apps/console/src/__generated__/core/LinkedSnapshotsDialogQuery_fragment.graphql.ts b/apps/console/src/__generated__/core/LinkedSnapshotsDialogQuery_fragment.graphql.ts deleted file mode 100644 index 8b9935048..000000000 --- a/apps/console/src/__generated__/core/LinkedSnapshotsDialogQuery_fragment.graphql.ts +++ /dev/null @@ -1,332 +0,0 @@ -/** - * @generated SignedSource<<23f3f100c0665c79a15c78ddbe5284af>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type OrderDirection = "ASC" | "DESC"; -export type SnapshotOrderField = "CREATED_AT" | "NAME" | "TYPE"; -export type SnapshotOrder = { - direction: OrderDirection; - field: SnapshotOrderField; -}; -export type LinkedSnapshotsDialogQuery_fragment$variables = { - after?: string | null | undefined; - before?: string | null | undefined; - first?: number | null | undefined; - id: string; - last?: number | null | undefined; - order?: SnapshotOrder | null | undefined; -}; -export type LinkedSnapshotsDialogQuery_fragment$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"LinkedSnapshotsDialogFragment">; - }; -}; -export type LinkedSnapshotsDialogQuery_fragment = { - response: LinkedSnapshotsDialogQuery_fragment$data; - variables: LinkedSnapshotsDialogQuery_fragment$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" -}, -v2 = { - "defaultValue": 20, - "kind": "LocalArgument", - "name": "first" -}, -v3 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v4 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" -}, -v5 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" -}, -v6 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v7 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v8 = { - "kind": "Variable", - "name": "before", - "variableName": "before" -}, -v9 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v10 = { - "kind": "Variable", - "name": "last", - "variableName": "last" -}, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v12 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v13 = [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "LinkedSnapshotsDialogQuery_fragment", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "order", - "variableName": "order" - } - ], - "kind": "FragmentSpread", - "name": "LinkedSnapshotsDialogFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v3/*: any*/) - ], - "kind": "Operation", - "name": "LinkedSnapshotsDialogQuery_fragment", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v11/*: any*/), - (v12/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v13/*: any*/), - "concreteType": "SnapshotConnection", - "kind": "LinkedField", - "name": "snapshots", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "SnapshotEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Snapshot", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v12/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "type", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - (v11/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v13/*: any*/), - "filters": [ - "orderBy" - ], - "handle": "connection", - "key": "LinkedSnapshotsDialogQuery_snapshots", - "kind": "LinkedHandle", - "name": "snapshots" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "e4c40c765a5b6ef4ba63a6343c76e6e0", - "id": null, - "metadata": {}, - "name": "LinkedSnapshotsDialogQuery_fragment", - "operationKind": "query", - "text": "query LinkedSnapshotsDialogQuery_fragment(\n $after: CursorKey = null\n $before: CursorKey = null\n $first: Int = 20\n $last: Int = null\n $order: SnapshotOrder = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...LinkedSnapshotsDialogFragment_16fISc\n id\n }\n}\n\nfragment LinkedSnapshotsDialogFragment_16fISc on Organization {\n snapshots(first: $first, after: $after, last: $last, before: $before, orderBy: $order) {\n edges {\n node {\n id\n name\n description\n type\n createdAt\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n" - } -}; -})(); - -(node as any).hash = "bdc77ee756ac59c099caa8765403cd22"; - -export default node; diff --git a/apps/console/src/__generated__/core/LinkedStatesOfApplicabilityCardFragment.graphql.ts b/apps/console/src/__generated__/core/LinkedStatesOfApplicabilityCardFragment.graphql.ts deleted file mode 100644 index fafe0d8cb..000000000 --- a/apps/console/src/__generated__/core/LinkedStatesOfApplicabilityCardFragment.graphql.ts +++ /dev/null @@ -1,100 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type LinkedStatesOfApplicabilityCardFragment$data = { - readonly applicability: boolean; - readonly controlId: string; - readonly id: string; - readonly justification: string | null | undefined; - readonly stateOfApplicability: { - readonly id: string; - readonly name: string; - }; - readonly stateOfApplicabilityId: string; - readonly " $fragmentType": "LinkedStatesOfApplicabilityCardFragment"; -}; -export type LinkedStatesOfApplicabilityCardFragment$key = { - readonly " $data"?: LinkedStatesOfApplicabilityCardFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"LinkedStatesOfApplicabilityCardFragment">; -}; - -const node: ReaderFragment = (function(){ -var v0 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "LinkedStatesOfApplicabilityCardFragment", - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "stateOfApplicabilityId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "controlId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "StateOfApplicability", - "kind": "LinkedField", - "name": "stateOfApplicability", - "plural": false, - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "applicability", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "justification", - "storageKey": null - } - ], - "type": "StateOfApplicabilityControl", - "abstractKey": null -}; -})(); - -(node as any).hash = "b9a9922b27f277a769025f11b0829bdc"; - -export default node; diff --git a/apps/console/src/__generated__/core/LinkedStatesOfApplicabilityDialogQuery.graphql.ts b/apps/console/src/__generated__/core/LinkedStatesOfApplicabilityDialogQuery.graphql.ts deleted file mode 100644 index 766977433..000000000 --- a/apps/console/src/__generated__/core/LinkedStatesOfApplicabilityDialogQuery.graphql.ts +++ /dev/null @@ -1,172 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type LinkedStatesOfApplicabilityDialogQuery$variables = { - organizationId: string; -}; -export type LinkedStatesOfApplicabilityDialogQuery$data = { - readonly organization: { - readonly statesOfApplicability?: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly name: string; - }; - }>; - }; - }; -}; -export type LinkedStatesOfApplicabilityDialogQuery = { - response: LinkedStatesOfApplicabilityDialogQuery$data; - variables: LinkedStatesOfApplicabilityDialogQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 100 - } - ], - "concreteType": "StateOfApplicabilityConnection", - "kind": "LinkedField", - "name": "statesOfApplicability", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "StateOfApplicabilityEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "StateOfApplicability", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "statesOfApplicability(first:100)" - } - ], - "type": "Organization", - "abstractKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "LinkedStatesOfApplicabilityDialogQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "LinkedStatesOfApplicabilityDialogQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - (v3/*: any*/), - (v2/*: any*/) - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "b36c3216f309865885892fce0d52eac9", - "id": null, - "metadata": {}, - "name": "LinkedStatesOfApplicabilityDialogQuery", - "operationKind": "query", - "text": "query LinkedStatesOfApplicabilityDialogQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n ... on Organization {\n statesOfApplicability(first: 100) {\n edges {\n node {\n id\n name\n }\n }\n }\n }\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "a6ed2cd0171d834480319779e11fce99"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeasureControlsTabAttachMutation.graphql.ts b/apps/console/src/__generated__/core/MeasureControlsTabAttachMutation.graphql.ts deleted file mode 100644 index 838040060..000000000 --- a/apps/console/src/__generated__/core/MeasureControlsTabAttachMutation.graphql.ts +++ /dev/null @@ -1,216 +0,0 @@ -/** - * @generated SignedSource<<957f5a27f6ad551be453f1c2b9e6b94d>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type CreateControlMeasureMappingInput = { - controlId: string; - measureId: string; -}; -export type MeasureControlsTabAttachMutation$variables = { - connections: ReadonlyArray; - input: CreateControlMeasureMappingInput; -}; -export type MeasureControlsTabAttachMutation$data = { - readonly createControlMeasureMapping: { - readonly controlEdge: { - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"LinkedControlsCardFragment">; - }; - }; - }; -}; -export type MeasureControlsTabAttachMutation = { - response: MeasureControlsTabAttachMutation$data; - variables: MeasureControlsTabAttachMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "MeasureControlsTabAttachMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateControlMeasureMappingPayload", - "kind": "LinkedField", - "name": "createControlMeasureMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ControlEdge", - "kind": "LinkedField", - "name": "controlEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Control", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "LinkedControlsCardFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "MeasureControlsTabAttachMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateControlMeasureMappingPayload", - "kind": "LinkedField", - "name": "createControlMeasureMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ControlEdge", - "kind": "LinkedField", - "name": "controlEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Control", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sectionTitle", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "controlEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "4cb037f0d6be0338fb838653d7460d59", - "id": null, - "metadata": {}, - "name": "MeasureControlsTabAttachMutation", - "operationKind": "mutation", - "text": "mutation MeasureControlsTabAttachMutation(\n $input: CreateControlMeasureMappingInput!\n) {\n createControlMeasureMapping(input: $input) {\n controlEdge {\n node {\n id\n ...LinkedControlsCardFragment\n }\n }\n }\n}\n\nfragment LinkedControlsCardFragment on Control {\n id\n name\n sectionTitle\n framework {\n id\n name\n }\n}\n" - } -}; -})(); - -(node as any).hash = "010619cccaa46b2e02738bb0148341c0"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeasureControlsTabControlsQuery.graphql.ts b/apps/console/src/__generated__/core/MeasureControlsTabControlsQuery.graphql.ts deleted file mode 100644 index b8556a446..000000000 --- a/apps/console/src/__generated__/core/MeasureControlsTabControlsQuery.graphql.ts +++ /dev/null @@ -1,389 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type ControlOrderField = "CREATED_AT" | "SECTION_TITLE"; -export type OrderDirection = "ASC" | "DESC"; -export type ControlFilter = { - query?: string | null | undefined; -}; -export type ControlOrder = { - direction: OrderDirection; - field: ControlOrderField; -}; -export type MeasureControlsTabControlsQuery$variables = { - after?: string | null | undefined; - before?: string | null | undefined; - filter?: ControlFilter | null | undefined; - first?: number | null | undefined; - id: string; - last?: number | null | undefined; - order?: ControlOrder | null | undefined; -}; -export type MeasureControlsTabControlsQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"MeasureControlsTabFragment">; - }; -}; -export type MeasureControlsTabControlsQuery = { - response: MeasureControlsTabControlsQuery$data; - variables: MeasureControlsTabControlsQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" -}, -v2 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "filter" -}, -v3 = { - "defaultValue": 20, - "kind": "LocalArgument", - "name": "first" -}, -v4 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v5 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" -}, -v6 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" -}, -v7 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v8 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v9 = { - "kind": "Variable", - "name": "before", - "variableName": "before" -}, -v10 = { - "kind": "Variable", - "name": "filter", - "variableName": "filter" -}, -v11 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v12 = { - "kind": "Variable", - "name": "last", - "variableName": "last" -}, -v13 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v14 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v15 = [ - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v12/*: any*/), - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } -], -v16 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "MeasureControlsTabControlsQuery", - "selections": [ - { - "alias": null, - "args": (v7/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v12/*: any*/), - { - "kind": "Variable", - "name": "order", - "variableName": "order" - } - ], - "kind": "FragmentSpread", - "name": "MeasureControlsTabFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v4/*: any*/) - ], - "kind": "Operation", - "name": "MeasureControlsTabControlsQuery", - "selections": [ - { - "alias": null, - "args": (v7/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v13/*: any*/), - (v14/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v15/*: any*/), - "concreteType": "ControlConnection", - "kind": "LinkedField", - "name": "controls", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ControlEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Control", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v14/*: any*/), - { - "alias": "canCreateMeasureMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:control:create-measure-mapping" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:control:create-measure-mapping\")" - }, - { - "alias": "canDeleteMeasureMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:control:delete-measure-mapping" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:control:delete-measure-mapping\")" - }, - (v16/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sectionTitle", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v14/*: any*/), - (v16/*: any*/) - ], - "storageKey": null - }, - (v13/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v15/*: any*/), - "filters": [ - "orderBy", - "filter" - ], - "handle": "connection", - "key": "MeasureControlsTab_controls", - "kind": "LinkedHandle", - "name": "controls" - } - ], - "type": "Measure", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "61b16a84cb9903560d86e0b5ee031abe", - "id": null, - "metadata": {}, - "name": "MeasureControlsTabControlsQuery", - "operationKind": "query", - "text": "query MeasureControlsTabControlsQuery(\n $after: CursorKey\n $before: CursorKey = null\n $filter: ControlFilter = null\n $first: Int = 20\n $last: Int = null\n $order: ControlOrder = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...MeasureControlsTabFragment_4cFWzS\n id\n }\n}\n\nfragment LinkedControlsCardFragment on Control {\n id\n name\n sectionTitle\n framework {\n id\n name\n }\n}\n\nfragment MeasureControlsTabFragment_4cFWzS on Measure {\n id\n controls(first: $first, after: $after, last: $last, before: $before, orderBy: $order, filter: $filter) {\n edges {\n node {\n id\n canCreateMeasureMapping: permission(action: \"core:control:create-measure-mapping\")\n canDeleteMeasureMapping: permission(action: \"core:control:delete-measure-mapping\")\n ...LinkedControlsCardFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "6cd1d286921188abc2a9fdc1c1e0ed08"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeasureControlsTabDetachMutation.graphql.ts b/apps/console/src/__generated__/core/MeasureControlsTabDetachMutation.graphql.ts deleted file mode 100644 index 768848944..000000000 --- a/apps/console/src/__generated__/core/MeasureControlsTabDetachMutation.graphql.ts +++ /dev/null @@ -1,133 +0,0 @@ -/** - * @generated SignedSource<<63367052d20bc149e2d4f86adbf3c735>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteControlMeasureMappingInput = { - controlId: string; - measureId: string; -}; -export type MeasureControlsTabDetachMutation$variables = { - connections: ReadonlyArray; - input: DeleteControlMeasureMappingInput; -}; -export type MeasureControlsTabDetachMutation$data = { - readonly deleteControlMeasureMapping: { - readonly deletedControlId: string; - }; -}; -export type MeasureControlsTabDetachMutation = { - response: MeasureControlsTabDetachMutation$data; - variables: MeasureControlsTabDetachMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedControlId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "MeasureControlsTabDetachMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteControlMeasureMappingPayload", - "kind": "LinkedField", - "name": "deleteControlMeasureMapping", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "MeasureControlsTabDetachMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteControlMeasureMappingPayload", - "kind": "LinkedField", - "name": "deleteControlMeasureMapping", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedControlId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "158225e40cb2e95be134e59a4647ff69", - "id": null, - "metadata": {}, - "name": "MeasureControlsTabDetachMutation", - "operationKind": "mutation", - "text": "mutation MeasureControlsTabDetachMutation(\n $input: DeleteControlMeasureMappingInput!\n) {\n deleteControlMeasureMapping(input: $input) {\n deletedControlId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "d800ddbcf4b4c24ae945447d710be209"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeasureControlsTabFragment.graphql.ts b/apps/console/src/__generated__/core/MeasureControlsTabFragment.graphql.ts deleted file mode 100644 index 75dea0ac5..000000000 --- a/apps/console/src/__generated__/core/MeasureControlsTabFragment.graphql.ts +++ /dev/null @@ -1,263 +0,0 @@ -/** - * @generated SignedSource<<414658fc55873606e711cc4571e9fd9b>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type MeasureControlsTabFragment$data = { - readonly controls: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly canCreateMeasureMapping: boolean; - readonly canDeleteMeasureMapping: boolean; - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"LinkedControlsCardFragment">; - }; - }>; - }; - readonly id: string; - readonly " $fragmentType": "MeasureControlsTabFragment"; -}; -export type MeasureControlsTabFragment$key = { - readonly " $data"?: MeasureControlsTabFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"MeasureControlsTabFragment">; -}; - -import MeasureControlsTabControlsQuery_graphql from './MeasureControlsTabControlsQuery.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "controls" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "filter" - }, - { - "defaultValue": 20, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "bidirectional", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": { - "count": "last", - "cursor": "before" - }, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": MeasureControlsTabControlsQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "MeasureControlsTabFragment", - "selections": [ - (v1/*: any*/), - { - "alias": "controls", - "args": [ - { - "kind": "Variable", - "name": "filter", - "variableName": "filter" - }, - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } - ], - "concreteType": "ControlConnection", - "kind": "LinkedField", - "name": "__MeasureControlsTab_controls_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ControlEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Control", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": "canCreateMeasureMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:control:create-measure-mapping" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:control:create-measure-mapping\")" - }, - { - "alias": "canDeleteMeasureMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:control:delete-measure-mapping" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:control:delete-measure-mapping\")" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "LinkedControlsCardFragment" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - } - ], - "type": "Measure", - "abstractKey": null -}; -})(); - -(node as any).hash = "6cd1d286921188abc2a9fdc1c1e0ed08"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeasureDetailPageTasksCountQuery.graphql.ts b/apps/console/src/__generated__/core/MeasureDetailPageTasksCountQuery.graphql.ts deleted file mode 100644 index 51e021349..000000000 --- a/apps/console/src/__generated__/core/MeasureDetailPageTasksCountQuery.graphql.ts +++ /dev/null @@ -1,143 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type MeasureDetailPageTasksCountQuery$variables = { - measureId: string; -}; -export type MeasureDetailPageTasksCountQuery$data = { - readonly node: { - readonly tasks?: { - readonly totalCount: number; - }; - }; -}; -export type MeasureDetailPageTasksCountQuery = { - response: MeasureDetailPageTasksCountQuery$data; - variables: MeasureDetailPageTasksCountQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "measureId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "measureId" - } -], -v2 = { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 0 - } - ], - "concreteType": "TaskConnection", - "kind": "LinkedField", - "name": "tasks", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - } - ], - "storageKey": "tasks(first:0)" - } - ], - "type": "Measure", - "abstractKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "MeasureDetailPageTasksCountQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/) - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "MeasureDetailPageTasksCountQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "36a1d5cf32d07ed5d76e5e64e7f19005", - "id": null, - "metadata": {}, - "name": "MeasureDetailPageTasksCountQuery", - "operationKind": "query", - "text": "query MeasureDetailPageTasksCountQuery(\n $measureId: ID!\n) {\n node(id: $measureId) {\n __typename\n ... on Measure {\n tasks(first: 0) {\n totalCount\n }\n }\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "f0a8dde53529b525f3fe9aa35dee9e8a"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeasureEvidencesTabDeleteMutation.graphql.ts b/apps/console/src/__generated__/core/MeasureEvidencesTabDeleteMutation.graphql.ts deleted file mode 100644 index 3bfa141bb..000000000 --- a/apps/console/src/__generated__/core/MeasureEvidencesTabDeleteMutation.graphql.ts +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @generated SignedSource<<1123080dba735de72e2440f5dec008b5>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteEvidenceInput = { - evidenceId: string; -}; -export type MeasureEvidencesTabDeleteMutation$variables = { - connections: ReadonlyArray; - input: DeleteEvidenceInput; -}; -export type MeasureEvidencesTabDeleteMutation$data = { - readonly deleteEvidence: { - readonly deletedEvidenceId: string; - }; -}; -export type MeasureEvidencesTabDeleteMutation = { - response: MeasureEvidencesTabDeleteMutation$data; - variables: MeasureEvidencesTabDeleteMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedEvidenceId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "MeasureEvidencesTabDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteEvidencePayload", - "kind": "LinkedField", - "name": "deleteEvidence", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "MeasureEvidencesTabDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteEvidencePayload", - "kind": "LinkedField", - "name": "deleteEvidence", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedEvidenceId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "7c9ea7e14d3a342d9108026da877a854", - "id": null, - "metadata": {}, - "name": "MeasureEvidencesTabDeleteMutation", - "operationKind": "mutation", - "text": "mutation MeasureEvidencesTabDeleteMutation(\n $input: DeleteEvidenceInput!\n) {\n deleteEvidence(input: $input) {\n deletedEvidenceId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "5b78978395d1b8a165a078f60f6aa001"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeasureEvidencesTabFragment.graphql.ts b/apps/console/src/__generated__/core/MeasureEvidencesTabFragment.graphql.ts deleted file mode 100644 index 77a0454d1..000000000 --- a/apps/console/src/__generated__/core/MeasureEvidencesTabFragment.graphql.ts +++ /dev/null @@ -1,276 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type MeasureEvidencesTabFragment$data = { - readonly canUploadEvidence: boolean; - readonly evidences: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly file: { - readonly fileName: string; - readonly mimeType: string; - readonly size: number; - } | null | undefined; - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"MeasureEvidencesTabFragment_evidence">; - }; - }>; - }; - readonly id: string; - readonly " $fragmentType": "MeasureEvidencesTabFragment"; -}; -export type MeasureEvidencesTabFragment$key = { - readonly " $data"?: MeasureEvidencesTabFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"MeasureEvidencesTabFragment">; -}; - -import MeasureEvidencesTabQuery_graphql from './MeasureEvidencesTabQuery.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "evidences" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" - }, - { - "defaultValue": 50, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "bidirectional", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": { - "count": "last", - "cursor": "before" - }, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": MeasureEvidencesTabQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "MeasureEvidencesTabFragment", - "selections": [ - (v1/*: any*/), - { - "alias": "canUploadEvidence", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:measure:upload-evidence" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:measure:upload-evidence\")" - }, - { - "alias": "evidences", - "args": [ - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } - ], - "concreteType": "EvidenceConnection", - "kind": "LinkedField", - "name": "__MeasureEvidencesTabFragment_evidences_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "EvidenceEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Evidence", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "File", - "kind": "LinkedField", - "name": "file", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fileName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "mimeType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "size", - "storageKey": null - } - ], - "storageKey": null - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "MeasureEvidencesTabFragment_evidence" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - } - ], - "type": "Measure", - "abstractKey": null -}; -})(); - -(node as any).hash = "b281a36db45b03e86ec56097b6b9b296"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeasureEvidencesTabFragment_evidence.graphql.ts b/apps/console/src/__generated__/core/MeasureEvidencesTabFragment_evidence.graphql.ts deleted file mode 100644 index 838596c0a..000000000 --- a/apps/console/src/__generated__/core/MeasureEvidencesTabFragment_evidence.graphql.ts +++ /dev/null @@ -1,110 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type EvidenceType = "FILE" | "LINK"; -import { FragmentRefs } from "relay-runtime"; -export type MeasureEvidencesTabFragment_evidence$data = { - readonly canDelete: boolean; - readonly createdAt: string; - readonly file: { - readonly fileName: string; - readonly mimeType: string; - readonly size: number; - } | null | undefined; - readonly id: string; - readonly type: EvidenceType; - readonly " $fragmentType": "MeasureEvidencesTabFragment_evidence"; -}; -export type MeasureEvidencesTabFragment_evidence$key = { - readonly " $data"?: MeasureEvidencesTabFragment_evidence$data; - readonly " $fragmentSpreads": FragmentRefs<"MeasureEvidencesTabFragment_evidence">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "MeasureEvidencesTabFragment_evidence", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "File", - "kind": "LinkedField", - "name": "file", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fileName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "mimeType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "size", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "type", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:evidence:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:evidence:delete\")" - } - ], - "type": "Evidence", - "abstractKey": null -}; - -(node as any).hash = "af214cdfe077ad77326c65f33ce3ca1f"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeasureEvidencesTabQuery.graphql.ts b/apps/console/src/__generated__/core/MeasureEvidencesTabQuery.graphql.ts deleted file mode 100644 index 869a33ab9..000000000 --- a/apps/console/src/__generated__/core/MeasureEvidencesTabQuery.graphql.ts +++ /dev/null @@ -1,389 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type EvidenceOrderField = "CREATED_AT"; -export type OrderDirection = "ASC" | "DESC"; -export type EvidenceOrder = { - direction: OrderDirection; - field: EvidenceOrderField; -}; -export type MeasureEvidencesTabQuery$variables = { - after?: string | null | undefined; - before?: string | null | undefined; - first?: number | null | undefined; - id: string; - last?: number | null | undefined; - order?: EvidenceOrder | null | undefined; -}; -export type MeasureEvidencesTabQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"MeasureEvidencesTabFragment">; - }; -}; -export type MeasureEvidencesTabQuery = { - response: MeasureEvidencesTabQuery$data; - variables: MeasureEvidencesTabQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" -}, -v2 = { - "defaultValue": 50, - "kind": "LocalArgument", - "name": "first" -}, -v3 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v4 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" -}, -v5 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" -}, -v6 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v7 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v8 = { - "kind": "Variable", - "name": "before", - "variableName": "before" -}, -v9 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v10 = { - "kind": "Variable", - "name": "last", - "variableName": "last" -}, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v12 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v13 = [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "MeasureEvidencesTabQuery", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "order", - "variableName": "order" - } - ], - "kind": "FragmentSpread", - "name": "MeasureEvidencesTabFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v3/*: any*/) - ], - "kind": "Operation", - "name": "MeasureEvidencesTabQuery", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v11/*: any*/), - (v12/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": "canUploadEvidence", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:measure:upload-evidence" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:measure:upload-evidence\")" - }, - { - "alias": null, - "args": (v13/*: any*/), - "concreteType": "EvidenceConnection", - "kind": "LinkedField", - "name": "evidences", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "EvidenceEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Evidence", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v12/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "File", - "kind": "LinkedField", - "name": "file", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fileName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "mimeType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "size", - "storageKey": null - }, - (v12/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "type", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:evidence:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:evidence:delete\")" - }, - (v11/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v13/*: any*/), - "filters": [ - "orderBy" - ], - "handle": "connection", - "key": "MeasureEvidencesTabFragment_evidences", - "kind": "LinkedHandle", - "name": "evidences" - } - ], - "type": "Measure", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "61235868d1100317d143c9510c047558", - "id": null, - "metadata": {}, - "name": "MeasureEvidencesTabQuery", - "operationKind": "query", - "text": "query MeasureEvidencesTabQuery(\n $after: CursorKey = null\n $before: CursorKey = null\n $first: Int = 50\n $last: Int = null\n $order: EvidenceOrder = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...MeasureEvidencesTabFragment_16fISc\n id\n }\n}\n\nfragment MeasureEvidencesTabFragment_16fISc on Measure {\n id\n canUploadEvidence: permission(action: \"core:measure:upload-evidence\")\n evidences(first: $first, after: $after, last: $last, before: $before, orderBy: $order) {\n edges {\n node {\n id\n file {\n fileName\n mimeType\n size\n id\n }\n ...MeasureEvidencesTabFragment_evidence\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n}\n\nfragment MeasureEvidencesTabFragment_evidence on Evidence {\n id\n file {\n fileName\n mimeType\n size\n id\n }\n type\n createdAt\n canDelete: permission(action: \"core:evidence:delete\")\n}\n" - } -}; -})(); - -(node as any).hash = "b281a36db45b03e86ec56097b6b9b296"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeasureFormDialogCreateMutation.graphql.ts b/apps/console/src/__generated__/core/MeasureFormDialogCreateMutation.graphql.ts deleted file mode 100644 index 47509bd2c..000000000 --- a/apps/console/src/__generated__/core/MeasureFormDialogCreateMutation.graphql.ts +++ /dev/null @@ -1,215 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type CreateMeasureInput = { - category: string; - description?: string | null | undefined; - name: string; - organizationId: string; -}; -export type MeasureFormDialogCreateMutation$variables = { - connections: ReadonlyArray; - input: CreateMeasureInput; -}; -export type MeasureFormDialogCreateMutation$data = { - readonly createMeasure: { - readonly measureEdge: { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"MeasureFormDialogMeasureFragment">; - }; - }; - }; -}; -export type MeasureFormDialogCreateMutation = { - response: MeasureFormDialogCreateMutation$data; - variables: MeasureFormDialogCreateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "MeasureFormDialogCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateMeasurePayload", - "kind": "LinkedField", - "name": "createMeasure", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "MeasureEdge", - "kind": "LinkedField", - "name": "measureEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Measure", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": null, - "kind": "FragmentSpread", - "name": "MeasureFormDialogMeasureFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "MeasureFormDialogCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateMeasurePayload", - "kind": "LinkedField", - "name": "createMeasure", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "MeasureEdge", - "kind": "LinkedField", - "name": "measureEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Measure", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "category", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "measureEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "6ee48b7249e180aafe2f40c120ec1195", - "id": null, - "metadata": {}, - "name": "MeasureFormDialogCreateMutation", - "operationKind": "mutation", - "text": "mutation MeasureFormDialogCreateMutation(\n $input: CreateMeasureInput!\n) {\n createMeasure(input: $input) {\n measureEdge {\n node {\n ...MeasureFormDialogMeasureFragment\n id\n }\n }\n }\n}\n\nfragment MeasureFormDialogMeasureFragment on Measure {\n id\n description\n name\n category\n state\n}\n" - } -}; -})(); - -(node as any).hash = "242f974b9926705919bf030281363dfc"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeasureFormDialogMeasureFragment.graphql.ts b/apps/console/src/__generated__/core/MeasureFormDialogMeasureFragment.graphql.ts deleted file mode 100644 index 71a1d89d2..000000000 --- a/apps/console/src/__generated__/core/MeasureFormDialogMeasureFragment.graphql.ts +++ /dev/null @@ -1,75 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type MeasureState = "IMPLEMENTED" | "IN_PROGRESS" | "NOT_APPLICABLE" | "NOT_STARTED"; -import { FragmentRefs } from "relay-runtime"; -export type MeasureFormDialogMeasureFragment$data = { - readonly category: string; - readonly description: string | null | undefined; - readonly id: string; - readonly name: string; - readonly state: MeasureState; - readonly " $fragmentType": "MeasureFormDialogMeasureFragment"; -}; -export type MeasureFormDialogMeasureFragment$key = { - readonly " $data"?: MeasureFormDialogMeasureFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"MeasureFormDialogMeasureFragment">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "MeasureFormDialogMeasureFragment", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "category", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - } - ], - "type": "Measure", - "abstractKey": null -}; - -(node as any).hash = "4266d43b90952814d68b5425f65c10be"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeasureGraphDeleteMutation.graphql.ts b/apps/console/src/__generated__/core/MeasureGraphDeleteMutation.graphql.ts deleted file mode 100644 index 869c4fcb3..000000000 --- a/apps/console/src/__generated__/core/MeasureGraphDeleteMutation.graphql.ts +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteMeasureInput = { - measureId: string; -}; -export type MeasureGraphDeleteMutation$variables = { - connections: ReadonlyArray; - input: DeleteMeasureInput; -}; -export type MeasureGraphDeleteMutation$data = { - readonly deleteMeasure: { - readonly deletedMeasureId: string; - }; -}; -export type MeasureGraphDeleteMutation = { - response: MeasureGraphDeleteMutation$data; - variables: MeasureGraphDeleteMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedMeasureId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "MeasureGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteMeasurePayload", - "kind": "LinkedField", - "name": "deleteMeasure", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "MeasureGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteMeasurePayload", - "kind": "LinkedField", - "name": "deleteMeasure", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedMeasureId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "415f19e622fe431330deca8d3d10f121", - "id": null, - "metadata": {}, - "name": "MeasureGraphDeleteMutation", - "operationKind": "mutation", - "text": "mutation MeasureGraphDeleteMutation(\n $input: DeleteMeasureInput!\n) {\n deleteMeasure(input: $input) {\n deletedMeasureId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "867f5fe6142e2900147cb2f7492b22d3"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeasureGraphListQuery.graphql.ts b/apps/console/src/__generated__/core/MeasureGraphListQuery.graphql.ts deleted file mode 100644 index 7a6d99dbe..000000000 --- a/apps/console/src/__generated__/core/MeasureGraphListQuery.graphql.ts +++ /dev/null @@ -1,307 +0,0 @@ -/** - * @generated SignedSource<<587b1edc25e82b42dd300f9fe7424bc3>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type MeasureGraphListQuery$variables = { - organizationId: string; -}; -export type MeasureGraphListQuery$data = { - readonly organization: { - readonly __typename: "Organization"; - readonly canCreateMeasure: boolean; - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"MeasuresPageFragment">; - } | { - // This will never be '%other', but we need some - // value in case none of the concrete values match. - readonly __typename: "%other"; - }; -}; -export type MeasureGraphListQuery = { - response: MeasureGraphListQuery$data; - variables: MeasureGraphListQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v4 = { - "alias": "canCreateMeasure", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:measure:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:measure:create\")" -}, -v5 = [ - { - "kind": "Literal", - "name": "first", - "value": 500 - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "MeasureGraphListQuery", - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "MeasuresPageFragment" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "MeasureGraphListQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v4/*: any*/), - { - "alias": null, - "args": (v5/*: any*/), - "concreteType": "MeasureConnection", - "kind": "LinkedField", - "name": "measures", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "MeasureEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Measure", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "category", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:measure:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:measure:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:measure:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:measure:delete\")" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - (v2/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": "measures(first:500)" - }, - { - "alias": null, - "args": (v5/*: any*/), - "filters": null, - "handle": "connection", - "key": "MeasuresGraphListQuery__measures", - "kind": "LinkedHandle", - "name": "measures" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "28d1efc46af83ac0b77b4bbf254ead9f", - "id": null, - "metadata": {}, - "name": "MeasureGraphListQuery", - "operationKind": "query", - "text": "query MeasureGraphListQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n ... on Organization {\n id\n canCreateMeasure: permission(action: \"core:measure:create\")\n ...MeasuresPageFragment\n }\n id\n }\n}\n\nfragment MeasureFormDialogMeasureFragment on Measure {\n id\n description\n name\n category\n state\n}\n\nfragment MeasuresPageFragment on Organization {\n measures(first: 500) {\n edges {\n node {\n id\n name\n category\n state\n canUpdate: permission(action: \"core:measure:update\")\n canDelete: permission(action: \"core:measure:delete\")\n ...MeasureFormDialogMeasureFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "291184a9b739da290f087db35714ba6b"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeasureGraphNodeQuery.graphql.ts b/apps/console/src/__generated__/core/MeasureGraphNodeQuery.graphql.ts deleted file mode 100644 index 9995b7c88..000000000 --- a/apps/console/src/__generated__/core/MeasureGraphNodeQuery.graphql.ts +++ /dev/null @@ -1,697 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type MeasureState = "IMPLEMENTED" | "IN_PROGRESS" | "NOT_APPLICABLE" | "NOT_STARTED"; -export type MeasureGraphNodeQuery$variables = { - measureId: string; -}; -export type MeasureGraphNodeQuery$data = { - readonly node: { - readonly canDelete?: boolean; - readonly canListTasks?: boolean; - readonly canUpdate?: boolean; - readonly category?: string; - readonly controlsInfos?: { - readonly totalCount: number; - }; - readonly description?: string | null | undefined; - readonly evidencesInfos?: { - readonly totalCount: number; - }; - readonly id?: string; - readonly name?: string; - readonly risksInfos?: { - readonly totalCount: number; - }; - readonly state?: MeasureState; - readonly " $fragmentSpreads": FragmentRefs<"MeasureControlsTabFragment" | "MeasureEvidencesTabFragment" | "MeasureFormDialogMeasureFragment" | "MeasureRisksTabFragment">; - }; -}; -export type MeasureGraphNodeQuery = { - response: MeasureGraphNodeQuery$data; - variables: MeasureGraphNodeQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "measureId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "measureId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null -}, -v6 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "category", - "storageKey": null -}, -v7 = { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:measure:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:measure:update\")" -}, -v8 = { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:measure:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:measure:delete\")" -}, -v9 = { - "alias": "canListTasks", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:task:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:task:list\")" -}, -v10 = [ - { - "kind": "Literal", - "name": "first", - "value": 0 - } -], -v11 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - } -], -v12 = { - "alias": "evidencesInfos", - "args": (v10/*: any*/), - "concreteType": "EvidenceConnection", - "kind": "LinkedField", - "name": "evidences", - "plural": false, - "selections": (v11/*: any*/), - "storageKey": "evidences(first:0)" -}, -v13 = { - "alias": "risksInfos", - "args": (v10/*: any*/), - "concreteType": "RiskConnection", - "kind": "LinkedField", - "name": "risks", - "plural": false, - "selections": (v11/*: any*/), - "storageKey": "risks(first:0)" -}, -v14 = { - "alias": "controlsInfos", - "args": (v10/*: any*/), - "concreteType": "ControlConnection", - "kind": "LinkedField", - "name": "controls", - "plural": false, - "selections": (v11/*: any*/), - "storageKey": "controls(first:0)" -}, -v15 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v16 = [ - { - "kind": "Literal", - "name": "first", - "value": 100 - } -], -v17 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null -}, -v18 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null -}, -v19 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null -}, -v20 = { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] -}, -v21 = [ - { - "kind": "Literal", - "name": "first", - "value": 20 - } -], -v22 = { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - (v18/*: any*/), - (v19/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null -}, -v23 = [ - { - "kind": "Literal", - "name": "first", - "value": 50 - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "MeasureGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v12/*: any*/), - (v13/*: any*/), - (v14/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "MeasureRisksTabFragment" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "MeasureControlsTabFragment" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "MeasureFormDialogMeasureFragment" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "MeasureEvidencesTabFragment" - } - ], - "type": "Measure", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "MeasureGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v15/*: any*/), - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v12/*: any*/), - (v13/*: any*/), - (v14/*: any*/), - { - "alias": null, - "args": (v16/*: any*/), - "concreteType": "RiskConnection", - "kind": "LinkedField", - "name": "risks", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "RiskEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Risk", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": "canCreateMeasureMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:risk:create-measure-mapping" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:risk:create-measure-mapping\")" - }, - { - "alias": "canDeleteMeasureMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:risk:delete-measure-mapping" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:risk:delete-measure-mapping\")" - }, - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "inherentRiskScore", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualRiskScore", - "storageKey": null - }, - (v15/*: any*/) - ], - "storageKey": null - }, - (v17/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - (v18/*: any*/), - (v19/*: any*/) - ], - "storageKey": null - }, - (v20/*: any*/) - ], - "storageKey": "risks(first:100)" - }, - { - "alias": null, - "args": (v16/*: any*/), - "filters": null, - "handle": "connection", - "key": "Measure__risks", - "kind": "LinkedHandle", - "name": "risks" - }, - { - "alias": null, - "args": (v21/*: any*/), - "concreteType": "ControlConnection", - "kind": "LinkedField", - "name": "controls", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ControlEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Control", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": "canCreateMeasureMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:control:create-measure-mapping" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:control:create-measure-mapping\")" - }, - { - "alias": "canDeleteMeasureMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:control:delete-measure-mapping" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:control:delete-measure-mapping\")" - }, - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sectionTitle", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/) - ], - "storageKey": null - }, - (v15/*: any*/) - ], - "storageKey": null - }, - (v17/*: any*/) - ], - "storageKey": null - }, - (v22/*: any*/), - (v20/*: any*/) - ], - "storageKey": "controls(first:20)" - }, - { - "alias": null, - "args": (v21/*: any*/), - "filters": [ - "orderBy", - "filter" - ], - "handle": "connection", - "key": "MeasureControlsTab_controls", - "kind": "LinkedHandle", - "name": "controls" - }, - { - "alias": "canUploadEvidence", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:measure:upload-evidence" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:measure:upload-evidence\")" - }, - { - "alias": null, - "args": (v23/*: any*/), - "concreteType": "EvidenceConnection", - "kind": "LinkedField", - "name": "evidences", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "EvidenceEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Evidence", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "File", - "kind": "LinkedField", - "name": "file", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fileName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "mimeType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "size", - "storageKey": null - }, - (v2/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "type", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:evidence:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:evidence:delete\")" - }, - (v15/*: any*/) - ], - "storageKey": null - }, - (v17/*: any*/) - ], - "storageKey": null - }, - (v22/*: any*/), - (v20/*: any*/) - ], - "storageKey": "evidences(first:50)" - }, - { - "alias": null, - "args": (v23/*: any*/), - "filters": [ - "orderBy" - ], - "handle": "connection", - "key": "MeasureEvidencesTabFragment_evidences", - "kind": "LinkedHandle", - "name": "evidences" - } - ], - "type": "Measure", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "d8ac1210636ffd91eacb1bfe3452e26c", - "id": null, - "metadata": {}, - "name": "MeasureGraphNodeQuery", - "operationKind": "query", - "text": "query MeasureGraphNodeQuery(\n $measureId: ID!\n) {\n node(id: $measureId) {\n __typename\n ... on Measure {\n id\n name\n description\n state\n category\n canUpdate: permission(action: \"core:measure:update\")\n canDelete: permission(action: \"core:measure:delete\")\n canListTasks: permission(action: \"core:task:list\")\n evidencesInfos: evidences(first: 0) {\n totalCount\n }\n risksInfos: risks(first: 0) {\n totalCount\n }\n controlsInfos: controls(first: 0) {\n totalCount\n }\n ...MeasureRisksTabFragment\n ...MeasureControlsTabFragment\n ...MeasureFormDialogMeasureFragment\n ...MeasureEvidencesTabFragment\n }\n id\n }\n}\n\nfragment LinkedControlsCardFragment on Control {\n id\n name\n sectionTitle\n framework {\n id\n name\n }\n}\n\nfragment LinkedRisksCardFragment on Risk {\n id\n name\n inherentRiskScore\n residualRiskScore\n}\n\nfragment MeasureControlsTabFragment on Measure {\n id\n controls(first: 20) {\n edges {\n node {\n id\n canCreateMeasureMapping: permission(action: \"core:control:create-measure-mapping\")\n canDeleteMeasureMapping: permission(action: \"core:control:delete-measure-mapping\")\n ...LinkedControlsCardFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n}\n\nfragment MeasureEvidencesTabFragment on Measure {\n id\n canUploadEvidence: permission(action: \"core:measure:upload-evidence\")\n evidences(first: 50) {\n edges {\n node {\n id\n file {\n fileName\n mimeType\n size\n id\n }\n ...MeasureEvidencesTabFragment_evidence\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n}\n\nfragment MeasureEvidencesTabFragment_evidence on Evidence {\n id\n file {\n fileName\n mimeType\n size\n id\n }\n type\n createdAt\n canDelete: permission(action: \"core:evidence:delete\")\n}\n\nfragment MeasureFormDialogMeasureFragment on Measure {\n id\n description\n name\n category\n state\n}\n\nfragment MeasureRisksTabFragment on Measure {\n id\n risks(first: 100) {\n edges {\n node {\n id\n canCreateMeasureMapping: permission(action: \"core:risk:create-measure-mapping\")\n canDeleteMeasureMapping: permission(action: \"core:risk:delete-measure-mapping\")\n ...LinkedRisksCardFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "0d55da2c159f16130dd3aaf232103b0f"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeasureGraphUpdateMutation.graphql.ts b/apps/console/src/__generated__/core/MeasureGraphUpdateMutation.graphql.ts deleted file mode 100644 index 3a8aed82a..000000000 --- a/apps/console/src/__generated__/core/MeasureGraphUpdateMutation.graphql.ts +++ /dev/null @@ -1,167 +0,0 @@ -/** - * @generated SignedSource<<0568c40c0caa32ce6daf11d414e2cc72>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type MeasureState = "IMPLEMENTED" | "IN_PROGRESS" | "NOT_APPLICABLE" | "NOT_STARTED"; -export type UpdateMeasureInput = { - category?: string | null | undefined; - description?: string | null | undefined; - id: string; - name?: string | null | undefined; - state?: MeasureState | null | undefined; -}; -export type MeasureGraphUpdateMutation$variables = { - input: UpdateMeasureInput; -}; -export type MeasureGraphUpdateMutation$data = { - readonly updateMeasure: { - readonly measure: { - readonly " $fragmentSpreads": FragmentRefs<"MeasureFormDialogMeasureFragment">; - }; - }; -}; -export type MeasureGraphUpdateMutation = { - response: MeasureGraphUpdateMutation$data; - variables: MeasureGraphUpdateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "MeasureGraphUpdateMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "UpdateMeasurePayload", - "kind": "LinkedField", - "name": "updateMeasure", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Measure", - "kind": "LinkedField", - "name": "measure", - "plural": false, - "selections": [ - { - "args": null, - "kind": "FragmentSpread", - "name": "MeasureFormDialogMeasureFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "MeasureGraphUpdateMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "UpdateMeasurePayload", - "kind": "LinkedField", - "name": "updateMeasure", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Measure", - "kind": "LinkedField", - "name": "measure", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "category", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "17d35db59a42796407f7f0d6bb4798ba", - "id": null, - "metadata": {}, - "name": "MeasureGraphUpdateMutation", - "operationKind": "mutation", - "text": "mutation MeasureGraphUpdateMutation(\n $input: UpdateMeasureInput!\n) {\n updateMeasure(input: $input) {\n measure {\n ...MeasureFormDialogMeasureFragment\n id\n }\n }\n}\n\nfragment MeasureFormDialogMeasureFragment on Measure {\n id\n description\n name\n category\n state\n}\n" - } -}; -})(); - -(node as any).hash = "9f74c8c6cea82050d077d26e6b7547f6"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeasureRisksTabCreateMutation.graphql.ts b/apps/console/src/__generated__/core/MeasureRisksTabCreateMutation.graphql.ts deleted file mode 100644 index 5373192f6..000000000 --- a/apps/console/src/__generated__/core/MeasureRisksTabCreateMutation.graphql.ts +++ /dev/null @@ -1,209 +0,0 @@ -/** - * @generated SignedSource<<9af67842ec7b635682d0c10d86385b88>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type CreateRiskMeasureMappingInput = { - measureId: string; - riskId: string; -}; -export type MeasureRisksTabCreateMutation$variables = { - connections: ReadonlyArray; - input: CreateRiskMeasureMappingInput; -}; -export type MeasureRisksTabCreateMutation$data = { - readonly createRiskMeasureMapping: { - readonly riskEdge: { - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"LinkedRisksCardFragment">; - }; - }; - }; -}; -export type MeasureRisksTabCreateMutation = { - response: MeasureRisksTabCreateMutation$data; - variables: MeasureRisksTabCreateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "MeasureRisksTabCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateRiskMeasureMappingPayload", - "kind": "LinkedField", - "name": "createRiskMeasureMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "RiskEdge", - "kind": "LinkedField", - "name": "riskEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Risk", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "LinkedRisksCardFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "MeasureRisksTabCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateRiskMeasureMappingPayload", - "kind": "LinkedField", - "name": "createRiskMeasureMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "RiskEdge", - "kind": "LinkedField", - "name": "riskEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Risk", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "inherentRiskScore", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualRiskScore", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "riskEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "53097378652dfdfc8505535921234ade", - "id": null, - "metadata": {}, - "name": "MeasureRisksTabCreateMutation", - "operationKind": "mutation", - "text": "mutation MeasureRisksTabCreateMutation(\n $input: CreateRiskMeasureMappingInput!\n) {\n createRiskMeasureMapping(input: $input) {\n riskEdge {\n node {\n id\n ...LinkedRisksCardFragment\n }\n }\n }\n}\n\nfragment LinkedRisksCardFragment on Risk {\n id\n name\n inherentRiskScore\n residualRiskScore\n}\n" - } -}; -})(); - -(node as any).hash = "c167b300964866d886760968abaa014f"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeasureRisksTabDetachMutation.graphql.ts b/apps/console/src/__generated__/core/MeasureRisksTabDetachMutation.graphql.ts deleted file mode 100644 index db61974fe..000000000 --- a/apps/console/src/__generated__/core/MeasureRisksTabDetachMutation.graphql.ts +++ /dev/null @@ -1,133 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteRiskMeasureMappingInput = { - measureId: string; - riskId: string; -}; -export type MeasureRisksTabDetachMutation$variables = { - connections: ReadonlyArray; - input: DeleteRiskMeasureMappingInput; -}; -export type MeasureRisksTabDetachMutation$data = { - readonly deleteRiskMeasureMapping: { - readonly deletedRiskId: string; - }; -}; -export type MeasureRisksTabDetachMutation = { - response: MeasureRisksTabDetachMutation$data; - variables: MeasureRisksTabDetachMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedRiskId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "MeasureRisksTabDetachMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteRiskMeasureMappingPayload", - "kind": "LinkedField", - "name": "deleteRiskMeasureMapping", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "MeasureRisksTabDetachMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteRiskMeasureMappingPayload", - "kind": "LinkedField", - "name": "deleteRiskMeasureMapping", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedRiskId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "ac75591b5e166b2ee994bd99a0afc29a", - "id": null, - "metadata": {}, - "name": "MeasureRisksTabDetachMutation", - "operationKind": "mutation", - "text": "mutation MeasureRisksTabDetachMutation(\n $input: DeleteRiskMeasureMappingInput!\n) {\n deleteRiskMeasureMapping(input: $input) {\n deletedRiskId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "5b42a2d7e8a78ff4c674ce6612df537c"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeasureRisksTabFragment.graphql.ts b/apps/console/src/__generated__/core/MeasureRisksTabFragment.graphql.ts deleted file mode 100644 index 9080685fc..000000000 --- a/apps/console/src/__generated__/core/MeasureRisksTabFragment.graphql.ts +++ /dev/null @@ -1,183 +0,0 @@ -/** - * @generated SignedSource<<4f367882dc2cd7bb8a8605d9192cd7f5>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type MeasureRisksTabFragment$data = { - readonly id: string; - readonly risks: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly canCreateMeasureMapping: boolean; - readonly canDeleteMeasureMapping: boolean; - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"LinkedRisksCardFragment">; - }; - }>; - }; - readonly " $fragmentType": "MeasureRisksTabFragment"; -}; -export type MeasureRisksTabFragment$key = { - readonly " $data"?: MeasureRisksTabFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"MeasureRisksTabFragment">; -}; - -const node: ReaderFragment = (function(){ -var v0 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "forward", - "path": [ - "risks" - ] - } - ] - }, - "name": "MeasureRisksTabFragment", - "selections": [ - (v0/*: any*/), - { - "alias": "risks", - "args": null, - "concreteType": "RiskConnection", - "kind": "LinkedField", - "name": "__Measure__risks_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "RiskEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Risk", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v0/*: any*/), - { - "alias": "canCreateMeasureMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:risk:create-measure-mapping" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:risk:create-measure-mapping\")" - }, - { - "alias": "canDeleteMeasureMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:risk:delete-measure-mapping" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:risk:delete-measure-mapping\")" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "LinkedRisksCardFragment" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - } - ], - "type": "Measure", - "abstractKey": null -}; -})(); - -(node as any).hash = "a837a187026f5c75c67efcb4831d0b76"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeasureTasksTabQuery.graphql.ts b/apps/console/src/__generated__/core/MeasureTasksTabQuery.graphql.ts deleted file mode 100644 index 3f643fd11..000000000 --- a/apps/console/src/__generated__/core/MeasureTasksTabQuery.graphql.ts +++ /dev/null @@ -1,425 +0,0 @@ -/** - * @generated SignedSource<<07e722a4da8a25668cd0e49cc07598f9>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type TaskState = "DONE" | "TODO"; -export type MeasureTasksTabQuery$variables = { - measureId: string; -}; -export type MeasureTasksTabQuery$data = { - readonly node: { - readonly __typename: "Measure"; - readonly canCreateTask: boolean; - readonly id: string; - readonly tasks: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly state: TaskState; - readonly " $fragmentSpreads": FragmentRefs<"TaskFormDialogFragment" | "TasksCard_TaskRowFragment">; - }; - }>; - }; - } | { - // This will never be '%other', but we need some - // value in case none of the concrete values match. - readonly __typename: "%other"; - }; -}; -export type MeasureTasksTabQuery = { - response: MeasureTasksTabQuery$data; - variables: MeasureTasksTabQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "measureId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "measureId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v4 = { - "alias": "canCreateTask", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:task:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:task:create\")" -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null -}, -v6 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null -}, -v7 = { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - } - ], - "storageKey": null -}, -v8 = { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] -}, -v9 = [ - { - "kind": "Literal", - "name": "first", - "value": 100 - } -], -v10 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "MeasureTasksTabQuery", - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - { - "kind": "RequiredField", - "field": { - "alias": "tasks", - "args": null, - "concreteType": "TaskConnection", - "kind": "LinkedField", - "name": "__Measure__tasks_connection", - "plural": false, - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "TaskEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Task", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v5/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "TaskFormDialogFragment" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "TasksCard_TaskRowFragment" - }, - (v2/*: any*/) - ], - "storageKey": null - }, - (v6/*: any*/) - ], - "storageKey": null - }, - "action": "THROW" - }, - (v7/*: any*/), - (v8/*: any*/) - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "type": "Measure", - "abstractKey": null - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "MeasureTasksTabQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v4/*: any*/), - { - "alias": null, - "args": (v9/*: any*/), - "concreteType": "TaskConnection", - "kind": "LinkedField", - "name": "tasks", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "TaskEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Task", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v5/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - (v10/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "timeEstimate", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deadline", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "assignedTo", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Measure", - "kind": "LinkedField", - "name": "measure", - "plural": false, - "selections": [ - (v3/*: any*/), - (v10/*: any*/) - ], - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:task:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:task:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:task:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:task:delete\")" - }, - (v2/*: any*/) - ], - "storageKey": null - }, - (v6/*: any*/) - ], - "storageKey": null - }, - (v7/*: any*/), - (v8/*: any*/) - ], - "storageKey": "tasks(first:100)" - }, - { - "alias": null, - "args": (v9/*: any*/), - "filters": null, - "handle": "connection", - "key": "Measure__tasks", - "kind": "LinkedHandle", - "name": "tasks" - } - ], - "type": "Measure", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "45dadcc414507aa7ccaab436cd5081c7", - "id": null, - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "forward", - "path": [ - "node", - "tasks" - ] - } - ] - }, - "name": "MeasureTasksTabQuery", - "operationKind": "query", - "text": "query MeasureTasksTabQuery(\n $measureId: ID!\n) {\n node(id: $measureId) {\n __typename\n ... on Measure {\n id\n canCreateTask: permission(action: \"core:task:create\")\n tasks(first: 100) {\n edges {\n node {\n id\n state\n ...TaskFormDialogFragment\n ...TasksCard_TaskRowFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n }\n id\n }\n}\n\nfragment TaskFormDialogFragment on Task {\n id\n description\n name\n state\n timeEstimate\n deadline\n assignedTo {\n id\n }\n measure {\n id\n }\n}\n\nfragment TasksCard_TaskRowFragment on Task {\n id\n name\n state\n description\n timeEstimate\n deadline\n canUpdate: permission(action: \"core:task:update\")\n canDelete: permission(action: \"core:task:delete\")\n assignedTo {\n id\n fullName\n }\n measure {\n id\n name\n }\n}\n" - } -}; -})(); - -(node as any).hash = "a2dcb46b0d6a1a26b4e23db5c44c5d65"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeasuresPageFragment.graphql.ts b/apps/console/src/__generated__/core/MeasuresPageFragment.graphql.ts deleted file mode 100644 index 4ac966c33..000000000 --- a/apps/console/src/__generated__/core/MeasuresPageFragment.graphql.ts +++ /dev/null @@ -1,203 +0,0 @@ -/** - * @generated SignedSource<<2332fd6939942a5ee3d32511feffa42e>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type MeasureState = "IMPLEMENTED" | "IN_PROGRESS" | "NOT_APPLICABLE" | "NOT_STARTED"; -import { FragmentRefs } from "relay-runtime"; -export type MeasuresPageFragment$data = { - readonly measures: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly category: string; - readonly id: string; - readonly name: string; - readonly state: MeasureState; - readonly " $fragmentSpreads": FragmentRefs<"MeasureFormDialogMeasureFragment">; - }; - }>; - }; - readonly " $fragmentType": "MeasuresPageFragment"; -}; -export type MeasuresPageFragment$key = { - readonly " $data"?: MeasuresPageFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"MeasuresPageFragment">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "forward", - "path": [ - "measures" - ] - } - ] - }, - "name": "MeasuresPageFragment", - "selections": [ - { - "alias": "measures", - "args": null, - "concreteType": "MeasureConnection", - "kind": "LinkedField", - "name": "__MeasuresGraphListQuery__measures_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "MeasureEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Measure", - "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": "category", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:measure:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:measure:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:measure:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:measure:delete\")" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "MeasureFormDialogMeasureFragment" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - } - ], - "type": "Organization", - "abstractKey": null -}; - -(node as any).hash = "e9d543c6f68f5c205ba55f6d77206091"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeasuresPageImportMutation.graphql.ts b/apps/console/src/__generated__/core/MeasuresPageImportMutation.graphql.ts deleted file mode 100644 index 65721978c..000000000 --- a/apps/console/src/__generated__/core/MeasuresPageImportMutation.graphql.ts +++ /dev/null @@ -1,184 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type MeasureState = "IMPLEMENTED" | "IN_PROGRESS" | "NOT_APPLICABLE" | "NOT_STARTED"; -export type ImportMeasureInput = { - file: any; - organizationId: string; -}; -export type MeasuresPageImportMutation$variables = { - connections: ReadonlyArray; - input: ImportMeasureInput; -}; -export type MeasuresPageImportMutation$data = { - readonly importMeasure: { - readonly measureEdges: ReadonlyArray<{ - readonly node: { - readonly category: string; - readonly id: string; - readonly name: string; - readonly state: MeasureState; - }; - }>; - }; -}; -export type MeasuresPageImportMutation = { - response: MeasuresPageImportMutation$data; - variables: MeasuresPageImportMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "concreteType": "MeasureEdge", - "kind": "LinkedField", - "name": "measureEdges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Measure", - "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": "category", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "MeasuresPageImportMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "ImportMeasurePayload", - "kind": "LinkedField", - "name": "importMeasure", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "MeasuresPageImportMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "ImportMeasurePayload", - "kind": "LinkedField", - "name": "importMeasure", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "appendEdge", - "key": "", - "kind": "LinkedHandle", - "name": "measureEdges", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "13a5799ca6febcfb85294f75456deffb", - "id": null, - "metadata": {}, - "name": "MeasuresPageImportMutation", - "operationKind": "mutation", - "text": "mutation MeasuresPageImportMutation(\n $input: ImportMeasureInput!\n) {\n importMeasure(input: $input) {\n measureEdges {\n node {\n id\n name\n category\n state\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "6419f51d00f273c824038e7f2d4c65ba"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeetingDetailPageMeetingFragment.graphql.ts b/apps/console/src/__generated__/core/MeetingDetailPageMeetingFragment.graphql.ts deleted file mode 100644 index 17a9ae9af..000000000 --- a/apps/console/src/__generated__/core/MeetingDetailPageMeetingFragment.graphql.ts +++ /dev/null @@ -1,120 +0,0 @@ -/** - * @generated SignedSource<<02d4857a47adc2625d9cbdca077ea713>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type MeetingDetailPageMeetingFragment$data = { - readonly attendees: ReadonlyArray<{ - readonly fullName: string; - readonly id: string; - }>; - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly date: string; - readonly id: string; - readonly minutes: string | null | undefined; - readonly name: string; - readonly " $fragmentType": "MeetingDetailPageMeetingFragment"; -}; -export type MeetingDetailPageMeetingFragment$key = { - readonly " $data"?: MeetingDetailPageMeetingFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"MeetingDetailPageMeetingFragment">; -}; - -const node: ReaderFragment = (function(){ -var v0 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "MeetingDetailPageMeetingFragment", - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "date", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "minutes", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:meeting:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:meeting:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:meeting:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:meeting:delete\")" - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "attendees", - "plural": true, - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Meeting", - "abstractKey": null -}; -})(); - -(node as any).hash = "16fcd4d8cc7dbe80bc7fd37ac5e824e8"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeetingGraphCreateMutation.graphql.ts b/apps/console/src/__generated__/core/MeetingGraphCreateMutation.graphql.ts deleted file mode 100644 index 7f9332bcb..000000000 --- a/apps/console/src/__generated__/core/MeetingGraphCreateMutation.graphql.ts +++ /dev/null @@ -1,210 +0,0 @@ -/** - * @generated SignedSource<<6e51f615961af796c6bd13eb3cf0b305>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type CreateMeetingInput = { - attendeeIds?: ReadonlyArray | null | undefined; - date: string; - minutes?: string | null | undefined; - name: string; - organizationId: string; -}; -export type MeetingGraphCreateMutation$variables = { - connections: ReadonlyArray; - input: CreateMeetingInput; -}; -export type MeetingGraphCreateMutation$data = { - readonly createMeeting: { - readonly meetingEdge: { - readonly node: { - readonly attendees: ReadonlyArray<{ - readonly fullName: string; - readonly id: string; - }>; - readonly date: string; - readonly id: string; - readonly minutes: string | null | undefined; - readonly name: string; - }; - }; - }; -}; -export type MeetingGraphCreateMutation = { - response: MeetingGraphCreateMutation$data; - variables: MeetingGraphCreateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "concreteType": "MeetingEdge", - "kind": "LinkedField", - "name": "meetingEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Meeting", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "date", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "minutes", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "attendees", - "plural": true, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "MeetingGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateMeetingPayload", - "kind": "LinkedField", - "name": "createMeeting", - "plural": false, - "selections": [ - (v4/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "MeetingGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateMeetingPayload", - "kind": "LinkedField", - "name": "createMeeting", - "plural": false, - "selections": [ - (v4/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "meetingEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "1d0c66e942482f999e3b986af16df678", - "id": null, - "metadata": {}, - "name": "MeetingGraphCreateMutation", - "operationKind": "mutation", - "text": "mutation MeetingGraphCreateMutation(\n $input: CreateMeetingInput!\n) {\n createMeeting(input: $input) {\n meetingEdge {\n node {\n id\n name\n date\n minutes\n attendees {\n id\n fullName\n }\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "27fd6781022144fe6fd247b7e2ce1aaf"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeetingGraphDeleteMutation.graphql.ts b/apps/console/src/__generated__/core/MeetingGraphDeleteMutation.graphql.ts deleted file mode 100644 index d344fc4ac..000000000 --- a/apps/console/src/__generated__/core/MeetingGraphDeleteMutation.graphql.ts +++ /dev/null @@ -1,115 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteMeetingInput = { - meetingId: string; -}; -export type MeetingGraphDeleteMutation$variables = { - input: DeleteMeetingInput; -}; -export type MeetingGraphDeleteMutation$data = { - readonly deleteMeeting: { - readonly deletedMeetingId: string; - }; -}; -export type MeetingGraphDeleteMutation = { - response: MeetingGraphDeleteMutation$data; - variables: MeetingGraphDeleteMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedMeetingId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "MeetingGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "DeleteMeetingPayload", - "kind": "LinkedField", - "name": "deleteMeeting", - "plural": false, - "selections": [ - (v2/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "MeetingGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "DeleteMeetingPayload", - "kind": "LinkedField", - "name": "deleteMeeting", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteRecord", - "key": "", - "kind": "ScalarHandle", - "name": "deletedMeetingId" - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "f88bdc6e79cef363e7c2aaf91dce1d16", - "id": null, - "metadata": {}, - "name": "MeetingGraphDeleteMutation", - "operationKind": "mutation", - "text": "mutation MeetingGraphDeleteMutation(\n $input: DeleteMeetingInput!\n) {\n deleteMeeting(input: $input) {\n deletedMeetingId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "4d70861c6a4d4b06c753863cba054fc8"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeetingGraphListQuery.graphql.ts b/apps/console/src/__generated__/core/MeetingGraphListQuery.graphql.ts deleted file mode 100644 index aec7822b7..000000000 --- a/apps/console/src/__generated__/core/MeetingGraphListQuery.graphql.ts +++ /dev/null @@ -1,331 +0,0 @@ -/** - * @generated SignedSource<<7ac900885cf356d87efb7496bd37bbad>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type MeetingGraphListQuery$variables = { - organizationId: string; -}; -export type MeetingGraphListQuery$data = { - readonly organization: { - readonly canCreateMeeting?: boolean; - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"MeetingsPageListFragment">; - }; -}; -export type MeetingGraphListQuery = { - response: MeetingGraphListQuery$data; - variables: MeetingGraphListQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": "canCreateMeeting", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:meeting:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:meeting:create\")" -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v5 = [ - { - "kind": "Literal", - "name": "first", - "value": 50 - }, - { - "kind": "Literal", - "name": "orderBy", - "value": { - "direction": "DESC", - "field": "DATE" - } - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "MeetingGraphListQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/) - ], - "type": "Organization", - "abstractKey": null - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "MeetingsPageListFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "MeetingGraphListQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v4/*: any*/), - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "OrganizationContext", - "kind": "LinkedField", - "name": "context", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "summary", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v5/*: any*/), - "concreteType": "MeetingConnection", - "kind": "LinkedField", - "name": "meetings", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "MeetingEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Meeting", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "date", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "attendees", - "plural": true, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:meeting:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:meeting:delete\")" - }, - (v4/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": "meetings(first:50,orderBy:{\"direction\":\"DESC\",\"field\":\"DATE\"})" - }, - { - "alias": null, - "args": (v5/*: any*/), - "filters": [ - "orderBy" - ], - "handle": "connection", - "key": "MeetingsListQuery_meetings", - "kind": "LinkedHandle", - "name": "meetings" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "68a020e412baf691d3ce96eff5817190", - "id": null, - "metadata": {}, - "name": "MeetingGraphListQuery", - "operationKind": "query", - "text": "query MeetingGraphListQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n id\n ... on Organization {\n canCreateMeeting: permission(action: \"core:meeting:create\")\n }\n ...MeetingsPageListFragment\n }\n}\n\nfragment MeetingsPageListFragment on Organization {\n id\n context {\n summary\n }\n meetings(first: 50, orderBy: {field: DATE, direction: DESC}) {\n edges {\n node {\n id\n ...MeetingsPageRowFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n}\n\nfragment MeetingsPageRowFragment on Meeting {\n id\n name\n date\n attendees {\n id\n fullName\n }\n canDelete: permission(action: \"core:meeting:delete\")\n}\n" - } -}; -})(); - -(node as any).hash = "3ec4cedaa00b3109b79df0425db7f094"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeetingGraphNodeQuery.graphql.ts b/apps/console/src/__generated__/core/MeetingGraphNodeQuery.graphql.ts deleted file mode 100644 index f04a59156..000000000 --- a/apps/console/src/__generated__/core/MeetingGraphNodeQuery.graphql.ts +++ /dev/null @@ -1,188 +0,0 @@ -/** - * @generated SignedSource<<75a92b14ee7a1d73c9dde3d9d8d76de6>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type MeetingGraphNodeQuery$variables = { - meetingId: string; -}; -export type MeetingGraphNodeQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"MeetingDetailPageMeetingFragment">; - }; -}; -export type MeetingGraphNodeQuery = { - response: MeetingGraphNodeQuery$data; - variables: MeetingGraphNodeQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "meetingId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "meetingId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "MeetingGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": null, - "kind": "FragmentSpread", - "name": "MeetingDetailPageMeetingFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "MeetingGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "date", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "minutes", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:meeting:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:meeting:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:meeting:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:meeting:delete\")" - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "attendees", - "plural": true, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Meeting", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "efaa301fdd6d05385d7858d182d4b2ec", - "id": null, - "metadata": {}, - "name": "MeetingGraphNodeQuery", - "operationKind": "query", - "text": "query MeetingGraphNodeQuery(\n $meetingId: ID!\n) {\n node(id: $meetingId) {\n __typename\n ...MeetingDetailPageMeetingFragment\n id\n }\n}\n\nfragment MeetingDetailPageMeetingFragment on Meeting {\n id\n name\n date\n minutes\n canUpdate: permission(action: \"core:meeting:update\")\n canDelete: permission(action: \"core:meeting:delete\")\n attendees {\n id\n fullName\n }\n}\n" - } -}; -})(); - -(node as any).hash = "08844ea87fd5de5c7fe55583373e0468"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeetingGraphUpdateMutation.graphql.ts b/apps/console/src/__generated__/core/MeetingGraphUpdateMutation.graphql.ts deleted file mode 100644 index fa73cea33..000000000 --- a/apps/console/src/__generated__/core/MeetingGraphUpdateMutation.graphql.ts +++ /dev/null @@ -1,157 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type UpdateMeetingInput = { - attendeeIds?: ReadonlyArray | null | undefined; - date?: string | null | undefined; - meetingId: string; - minutes?: string | null | undefined; - name?: string | null | undefined; -}; -export type MeetingGraphUpdateMutation$variables = { - input: UpdateMeetingInput; -}; -export type MeetingGraphUpdateMutation$data = { - readonly updateMeeting: { - readonly meeting: { - readonly attendees: ReadonlyArray<{ - readonly fullName: string; - readonly id: string; - }>; - readonly date: string; - readonly id: string; - readonly minutes: string | null | undefined; - readonly name: string; - }; - }; -}; -export type MeetingGraphUpdateMutation = { - response: MeetingGraphUpdateMutation$data; - variables: MeetingGraphUpdateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v2 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UpdateMeetingPayload", - "kind": "LinkedField", - "name": "updateMeeting", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Meeting", - "kind": "LinkedField", - "name": "meeting", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "date", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "minutes", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "attendees", - "plural": true, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "MeetingGraphUpdateMutation", - "selections": (v2/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "MeetingGraphUpdateMutation", - "selections": (v2/*: any*/) - }, - "params": { - "cacheID": "e40a6b6cf200c6c90ca61a21c15452c1", - "id": null, - "metadata": {}, - "name": "MeetingGraphUpdateMutation", - "operationKind": "mutation", - "text": "mutation MeetingGraphUpdateMutation(\n $input: UpdateMeetingInput!\n) {\n updateMeeting(input: $input) {\n meeting {\n id\n name\n date\n minutes\n attendees {\n id\n fullName\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "b3d9ca4361201376b0d5ab78ec1ef316"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeetingsListQuery.graphql.ts b/apps/console/src/__generated__/core/MeetingsListQuery.graphql.ts deleted file mode 100644 index a771dc9b7..000000000 --- a/apps/console/src/__generated__/core/MeetingsListQuery.graphql.ts +++ /dev/null @@ -1,383 +0,0 @@ -/** - * @generated SignedSource<<6d71d2d88b695492ef93e2b213fc14d3>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type MeetingOrderField = "CREATED_AT" | "DATE" | "NAME"; -export type OrderDirection = "ASC" | "DESC"; -export type MeetingOrder = { - direction: OrderDirection; - field: MeetingOrderField; -}; -export type MeetingsListQuery$variables = { - after?: string | null | undefined; - before?: string | null | undefined; - first?: number | null | undefined; - id: string; - last?: number | null | undefined; - order?: MeetingOrder | null | undefined; -}; -export type MeetingsListQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"MeetingsPageListFragment">; - }; -}; -export type MeetingsListQuery = { - response: MeetingsListQuery$data; - variables: MeetingsListQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" -}, -v2 = { - "defaultValue": 50, - "kind": "LocalArgument", - "name": "first" -}, -v3 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v4 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" -}, -v5 = { - "defaultValue": { - "direction": "DESC", - "field": "DATE" - }, - "kind": "LocalArgument", - "name": "order" -}, -v6 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v7 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v8 = { - "kind": "Variable", - "name": "before", - "variableName": "before" -}, -v9 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v10 = { - "kind": "Variable", - "name": "last", - "variableName": "last" -}, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v12 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v13 = [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "MeetingsListQuery", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "order", - "variableName": "order" - } - ], - "kind": "FragmentSpread", - "name": "MeetingsPageListFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v3/*: any*/) - ], - "kind": "Operation", - "name": "MeetingsListQuery", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v11/*: any*/), - (v12/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "OrganizationContext", - "kind": "LinkedField", - "name": "context", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "summary", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v13/*: any*/), - "concreteType": "MeetingConnection", - "kind": "LinkedField", - "name": "meetings", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "MeetingEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Meeting", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v12/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "date", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "attendees", - "plural": true, - "selections": [ - (v12/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:meeting:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:meeting:delete\")" - }, - (v11/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v13/*: any*/), - "filters": [ - "orderBy" - ], - "handle": "connection", - "key": "MeetingsListQuery_meetings", - "kind": "LinkedHandle", - "name": "meetings" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "f4135654e654bbaa31192269ff567752", - "id": null, - "metadata": {}, - "name": "MeetingsListQuery", - "operationKind": "query", - "text": "query MeetingsListQuery(\n $after: CursorKey = null\n $before: CursorKey = null\n $first: Int = 50\n $last: Int = null\n $order: MeetingOrder = {field: DATE, direction: DESC}\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...MeetingsPageListFragment_16fISc\n id\n }\n}\n\nfragment MeetingsPageListFragment_16fISc on Organization {\n id\n context {\n summary\n }\n meetings(first: $first, after: $after, last: $last, before: $before, orderBy: $order) {\n edges {\n node {\n id\n ...MeetingsPageRowFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n}\n\nfragment MeetingsPageRowFragment on Meeting {\n id\n name\n date\n attendees {\n id\n fullName\n }\n canDelete: permission(action: \"core:meeting:delete\")\n}\n" - } -}; -})(); - -(node as any).hash = "2fe5f058a857ddd4566169d220fb3310"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeetingsPageListFragment.graphql.ts b/apps/console/src/__generated__/core/MeetingsPageListFragment.graphql.ts deleted file mode 100644 index 7f18f4893..000000000 --- a/apps/console/src/__generated__/core/MeetingsPageListFragment.graphql.ts +++ /dev/null @@ -1,249 +0,0 @@ -/** - * @generated SignedSource<<5609ac7dd3b3fb18c95cfa91381582cf>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type MeetingsPageListFragment$data = { - readonly context: { - readonly summary: string | null | undefined; - } | null | undefined; - readonly id: string; - readonly meetings: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"MeetingsPageRowFragment">; - }; - }>; - }; - readonly " $fragmentType": "MeetingsPageListFragment"; -}; -export type MeetingsPageListFragment$key = { - readonly " $data"?: MeetingsPageListFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"MeetingsPageListFragment">; -}; - -import MeetingsListQuery_graphql from './MeetingsListQuery.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "meetings" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" - }, - { - "defaultValue": 50, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" - }, - { - "defaultValue": { - "direction": "DESC", - "field": "DATE" - }, - "kind": "LocalArgument", - "name": "order" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "bidirectional", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": { - "count": "last", - "cursor": "before" - }, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": MeetingsListQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "MeetingsPageListFragment", - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "OrganizationContext", - "kind": "LinkedField", - "name": "context", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "summary", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": "meetings", - "args": [ - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } - ], - "concreteType": "MeetingConnection", - "kind": "LinkedField", - "name": "__MeetingsListQuery_meetings_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "MeetingEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Meeting", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "MeetingsPageRowFragment" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - } - ], - "type": "Organization", - "abstractKey": null -}; -})(); - -(node as any).hash = "2fe5f058a857ddd4566169d220fb3310"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeetingsPageRowFragment.graphql.ts b/apps/console/src/__generated__/core/MeetingsPageRowFragment.graphql.ts deleted file mode 100644 index 10aae18bd..000000000 --- a/apps/console/src/__generated__/core/MeetingsPageRowFragment.graphql.ts +++ /dev/null @@ -1,98 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type MeetingsPageRowFragment$data = { - readonly attendees: ReadonlyArray<{ - readonly fullName: string; - readonly id: string; - }>; - readonly canDelete: boolean; - readonly date: string; - readonly id: string; - readonly name: string; - readonly " $fragmentType": "MeetingsPageRowFragment"; -}; -export type MeetingsPageRowFragment$key = { - readonly " $data"?: MeetingsPageRowFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"MeetingsPageRowFragment">; -}; - -const node: ReaderFragment = (function(){ -var v0 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "MeetingsPageRowFragment", - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "date", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "attendees", - "plural": true, - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:meeting:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:meeting:delete\")" - } - ], - "type": "Meeting", - "abstractKey": null -}; -})(); - -(node as any).hash = "22a8c7132716408a17d39ea5ff36a38d"; - -export default node; diff --git a/apps/console/src/__generated__/core/MeetingsPage_UpdateSummaryMutation.graphql.ts b/apps/console/src/__generated__/core/MeetingsPage_UpdateSummaryMutation.graphql.ts deleted file mode 100644 index 63a0187d9..000000000 --- a/apps/console/src/__generated__/core/MeetingsPage_UpdateSummaryMutation.graphql.ts +++ /dev/null @@ -1,114 +0,0 @@ -/** - * @generated SignedSource<<1fff8c5cca1610284185c485630e84de>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type UpdateOrganizationContextInput = { - organizationId: string; - summary?: string | null | undefined; -}; -export type MeetingsPage_UpdateSummaryMutation$variables = { - input: UpdateOrganizationContextInput; -}; -export type MeetingsPage_UpdateSummaryMutation$data = { - readonly updateOrganizationContext: { - readonly context: { - readonly organizationId: string; - readonly summary: string | null | undefined; - }; - }; -}; -export type MeetingsPage_UpdateSummaryMutation = { - response: MeetingsPage_UpdateSummaryMutation$data; - variables: MeetingsPage_UpdateSummaryMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UpdateOrganizationContextPayload", - "kind": "LinkedField", - "name": "updateOrganizationContext", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "OrganizationContext", - "kind": "LinkedField", - "name": "context", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "organizationId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "summary", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "MeetingsPage_UpdateSummaryMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "MeetingsPage_UpdateSummaryMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "cb37cdde6dc5ac655a7cefc63d9e72e7", - "id": null, - "metadata": {}, - "name": "MeetingsPage_UpdateSummaryMutation", - "operationKind": "mutation", - "text": "mutation MeetingsPage_UpdateSummaryMutation(\n $input: UpdateOrganizationContextInput!\n) {\n updateOrganizationContext(input: $input) {\n context {\n organizationId\n summary\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "8bfa5b636dbc3535dbed22e1869bc941"; - -export default node; diff --git a/apps/console/src/__generated__/core/NewDomainDialogMutation.graphql.ts b/apps/console/src/__generated__/core/NewDomainDialogMutation.graphql.ts deleted file mode 100644 index 560c63bdb..000000000 --- a/apps/console/src/__generated__/core/NewDomainDialogMutation.graphql.ts +++ /dev/null @@ -1,200 +0,0 @@ -/** - * @generated SignedSource<<098714fcfe212fae40bdad19b10f8a00>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type SSLStatus = "ACTIVE" | "EXPIRED" | "FAILED" | "PENDING" | "PROVISIONING" | "RENEWING"; -export type CreateCustomDomainInput = { - domain: string; - organizationId: string; -}; -export type NewDomainDialogMutation$variables = { - input: CreateCustomDomainInput; -}; -export type NewDomainDialogMutation$data = { - readonly createCustomDomain: { - readonly customDomain: { - readonly createdAt: string; - readonly dnsRecords: ReadonlyArray<{ - readonly name: string; - readonly purpose: string; - readonly ttl: number; - readonly type: string; - readonly value: string; - }>; - readonly domain: string; - readonly id: string; - readonly sslExpiresAt: string | null | undefined; - readonly sslStatus: SSLStatus; - readonly updatedAt: string; - }; - }; -}; -export type NewDomainDialogMutation = { - response: NewDomainDialogMutation$data; - variables: NewDomainDialogMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "CreateCustomDomainPayload", - "kind": "LinkedField", - "name": "createCustomDomain", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "CustomDomain", - "kind": "LinkedField", - "name": "customDomain", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "domain", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sslStatus", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "DNSRecordInstruction", - "kind": "LinkedField", - "name": "dnsRecords", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "type", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "value", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "ttl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "purpose", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sslExpiresAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "NewDomainDialogMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "NewDomainDialogMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "b8aa27fe9ab3442dea9b96a70966524b", - "id": null, - "metadata": {}, - "name": "NewDomainDialogMutation", - "operationKind": "mutation", - "text": "mutation NewDomainDialogMutation(\n $input: CreateCustomDomainInput!\n) {\n createCustomDomain(input: $input) {\n customDomain {\n id\n domain\n sslStatus\n dnsRecords {\n type\n name\n value\n ttl\n purpose\n }\n createdAt\n updatedAt\n sslExpiresAt\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "f49cd22c5d6656e662fad5afab6fc344"; - -export default node; diff --git a/apps/console/src/__generated__/core/NonconformitiesPageFragment.graphql.ts b/apps/console/src/__generated__/core/NonconformitiesPageFragment.graphql.ts deleted file mode 100644 index 822b77ca5..000000000 --- a/apps/console/src/__generated__/core/NonconformitiesPageFragment.graphql.ts +++ /dev/null @@ -1,391 +0,0 @@ -/** - * @generated SignedSource<<995f84eb7ea5dddf0b3166230a9a969e>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type NonconformityStatus = "CLOSED" | "IN_PROGRESS" | "OPEN"; -import { FragmentRefs } from "relay-runtime"; -export type NonconformitiesPageFragment$data = { - readonly id: string; - readonly nonconformities: { - 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; - } | null | undefined; - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly correctiveAction: string | null | undefined; - readonly createdAt: string; - readonly dateIdentified: string | null | undefined; - readonly description: string | null | undefined; - readonly dueDate: string | null | undefined; - readonly effectivenessCheck: string | null | undefined; - readonly id: string; - readonly owner: { - readonly fullName: string; - readonly id: string; - }; - readonly referenceId: string; - readonly rootCause: string; - readonly snapshotId: string | null | undefined; - readonly status: NonconformityStatus; - readonly updatedAt: string; - }; - }>; - readonly pageInfo: { - readonly endCursor: string | null | undefined; - readonly hasNextPage: boolean; - }; - readonly totalCount: number; - }; - readonly " $fragmentType": "NonconformitiesPageFragment"; -}; -export type NonconformitiesPageFragment$key = { - readonly " $data"?: NonconformitiesPageFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"NonconformitiesPageFragment">; -}; - -import NonconformitiesPageRefetchQuery_graphql from './NonconformitiesPageRefetchQuery.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "nonconformities" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": 10, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": "first", - "cursor": "after", - "direction": "forward", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": null, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": NonconformitiesPageRefetchQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "NonconformitiesPageFragment", - "selections": [ - (v1/*: any*/), - { - "alias": "nonconformities", - "args": [ - { - "fields": [ - { - "kind": "Variable", - "name": "snapshotId", - "variableName": "snapshotId" - } - ], - "kind": "ObjectValue", - "name": "filter" - } - ], - "concreteType": "NonconformityConnection", - "kind": "LinkedField", - "name": "__NonconformitiesPage_nonconformities_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "NonconformityEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Nonconformity", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "referenceId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dateIdentified", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dueDate", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "rootCause", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "correctiveAction", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "effectivenessCheck", - "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, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:nonconformity:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:nonconformity:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:nonconformity:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:nonconformity:delete\")" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - } - ], - "type": "Organization", - "abstractKey": null -}; -})(); - -(node as any).hash = "57f7e0fb2efff357af936edf90e14876"; - -export default node; diff --git a/apps/console/src/__generated__/core/NonconformitiesPageRefetchQuery.graphql.ts b/apps/console/src/__generated__/core/NonconformitiesPageRefetchQuery.graphql.ts deleted file mode 100644 index 548c62fcc..000000000 --- a/apps/console/src/__generated__/core/NonconformitiesPageRefetchQuery.graphql.ts +++ /dev/null @@ -1,431 +0,0 @@ -/** - * @generated SignedSource<<464a73547f605ed418f7e4e87b65032b>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type NonconformitiesPageRefetchQuery$variables = { - after?: string | null | undefined; - first?: number | null | undefined; - id: string; - snapshotId?: string | null | undefined; -}; -export type NonconformitiesPageRefetchQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"NonconformitiesPageFragment">; - }; -}; -export type NonconformitiesPageRefetchQuery = { - response: NonconformitiesPageRefetchQuery$data; - variables: NonconformitiesPageRefetchQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": 10, - "kind": "LocalArgument", - "name": "first" -}, -v2 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v3 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" -}, -v4 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v5 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v6 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v7 = { - "kind": "Variable", - "name": "snapshotId", - "variableName": "snapshotId" -}, -v8 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v10 = [ - (v5/*: any*/), - { - "fields": [ - (v7/*: any*/) - ], - "kind": "ObjectValue", - "name": "filter" - }, - (v6/*: any*/) -], -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "NonconformitiesPageRefetchQuery", - "selections": [ - { - "alias": null, - "args": (v4/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/) - ], - "kind": "FragmentSpread", - "name": "NonconformitiesPageFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v3/*: any*/), - (v2/*: any*/) - ], - "kind": "Operation", - "name": "NonconformitiesPageRefetchQuery", - "selections": [ - { - "alias": null, - "args": (v4/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v8/*: any*/), - (v9/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v10/*: any*/), - "concreteType": "NonconformityConnection", - "kind": "LinkedField", - "name": "nonconformities", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "NonconformityEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Nonconformity", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v9/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "referenceId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dateIdentified", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dueDate", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "rootCause", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "correctiveAction", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "effectivenessCheck", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "audit", - "plural": false, - "selections": [ - (v9/*: any*/), - (v11/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v9/*: any*/), - (v11/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v9/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:nonconformity:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:nonconformity:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:nonconformity:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:nonconformity:delete\")" - }, - (v8/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v10/*: any*/), - "filters": [ - "filter" - ], - "handle": "connection", - "key": "NonconformitiesPage_nonconformities", - "kind": "LinkedHandle", - "name": "nonconformities" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "3876389521eec8e9737e5939cff3d95a", - "id": null, - "metadata": {}, - "name": "NonconformitiesPageRefetchQuery", - "operationKind": "query", - "text": "query NonconformitiesPageRefetchQuery(\n $after: CursorKey\n $first: Int = 10\n $snapshotId: ID = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...NonconformitiesPageFragment_35e0S5\n id\n }\n}\n\nfragment NonconformitiesPageFragment_35e0S5 on Organization {\n id\n nonconformities(first: $first, after: $after, filter: {snapshotId: $snapshotId}) {\n totalCount\n edges {\n node {\n id\n referenceId\n snapshotId\n description\n status\n dateIdentified\n dueDate\n rootCause\n correctiveAction\n effectivenessCheck\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 canUpdate: permission(action: \"core:nonconformity:update\")\n canDelete: permission(action: \"core:nonconformity:delete\")\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "57f7e0fb2efff357af936edf90e14876"; - -export default node; diff --git a/apps/console/src/__generated__/core/NonconformityGraphCreateMutation.graphql.ts b/apps/console/src/__generated__/core/NonconformityGraphCreateMutation.graphql.ts deleted file mode 100644 index ed842c9d8..000000000 --- a/apps/console/src/__generated__/core/NonconformityGraphCreateMutation.graphql.ts +++ /dev/null @@ -1,380 +0,0 @@ -/** - * @generated SignedSource<<38092f8f7826b528d94c597c1edfb150>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type NonconformityStatus = "CLOSED" | "IN_PROGRESS" | "OPEN"; -export type CreateNonconformityInput = { - auditId?: string | null | undefined; - correctiveAction?: string | null | undefined; - dateIdentified?: string | null | undefined; - description?: string | null | undefined; - dueDate?: string | null | undefined; - effectivenessCheck?: string | null | undefined; - organizationId: string; - ownerId: string; - referenceId: string; - rootCause: string; - status: NonconformityStatus; -}; -export type NonconformityGraphCreateMutation$variables = { - connections: ReadonlyArray; - input: CreateNonconformityInput; -}; -export type NonconformityGraphCreateMutation$data = { - readonly createNonconformity: { - readonly nonconformityEdge: { - readonly node: { - readonly audit: { - readonly framework: { - readonly name: string; - }; - readonly id: string; - } | null | undefined; - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly createdAt: string; - readonly dateIdentified: string | null | undefined; - readonly description: string | null | undefined; - readonly dueDate: string | null | undefined; - readonly id: string; - readonly owner: { - readonly fullName: string; - readonly id: string; - }; - readonly referenceId: string; - readonly rootCause: string; - readonly status: NonconformityStatus; - }; - }; - }; -}; -export type NonconformityGraphCreateMutation = { - response: NonconformityGraphCreateMutation$data; - variables: NonconformityGraphCreateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -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": "status", - "storageKey": null -}, -v7 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dateIdentified", - "storageKey": null -}, -v8 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dueDate", - "storageKey": null -}, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "rootCause", - "storageKey": null -}, -v10 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v11 = { - "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 -}, -v12 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null -}, -v13 = { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:nonconformity:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:nonconformity:update\")" -}, -v14 = { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:nonconformity:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:nonconformity:delete\")" -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "NonconformityGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateNonconformityPayload", - "kind": "LinkedField", - "name": "createNonconformity", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "NonconformityEdge", - "kind": "LinkedField", - "name": "nonconformityEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Nonconformity", - "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*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v10/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - }, - (v11/*: any*/), - (v12/*: any*/), - (v13/*: any*/), - (v14/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "NonconformityGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateNonconformityPayload", - "kind": "LinkedField", - "name": "createNonconformity", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "NonconformityEdge", - "kind": "LinkedField", - "name": "nonconformityEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Nonconformity", - "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*/), - { - "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*/), - (v13/*: any*/), - (v14/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "nonconformityEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "a6643ead6aba7ef0e9e25dcf889c51e5", - "id": null, - "metadata": {}, - "name": "NonconformityGraphCreateMutation", - "operationKind": "mutation", - "text": "mutation NonconformityGraphCreateMutation(\n $input: CreateNonconformityInput!\n) {\n createNonconformity(input: $input) {\n nonconformityEdge {\n node {\n id\n referenceId\n description\n status\n dateIdentified\n dueDate\n rootCause\n audit {\n id\n framework {\n name\n id\n }\n }\n owner {\n id\n fullName\n }\n createdAt\n canUpdate: permission(action: \"core:nonconformity:update\")\n canDelete: permission(action: \"core:nonconformity:delete\")\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "198593806928185e34490d5c656e70ca"; - -export default node; diff --git a/apps/console/src/__generated__/core/NonconformityGraphDeleteMutation.graphql.ts b/apps/console/src/__generated__/core/NonconformityGraphDeleteMutation.graphql.ts deleted file mode 100644 index 8363d5eb2..000000000 --- a/apps/console/src/__generated__/core/NonconformityGraphDeleteMutation.graphql.ts +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @generated SignedSource<<5b430cf79f9527c247a0262d039f9603>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteNonconformityInput = { - nonconformityId: string; -}; -export type NonconformityGraphDeleteMutation$variables = { - connections: ReadonlyArray; - input: DeleteNonconformityInput; -}; -export type NonconformityGraphDeleteMutation$data = { - readonly deleteNonconformity: { - readonly deletedNonconformityId: string; - }; -}; -export type NonconformityGraphDeleteMutation = { - response: NonconformityGraphDeleteMutation$data; - variables: NonconformityGraphDeleteMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedNonconformityId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "NonconformityGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteNonconformityPayload", - "kind": "LinkedField", - "name": "deleteNonconformity", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "NonconformityGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteNonconformityPayload", - "kind": "LinkedField", - "name": "deleteNonconformity", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedNonconformityId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "2e421cc7eb59884d8eeb7b8856f36142", - "id": null, - "metadata": {}, - "name": "NonconformityGraphDeleteMutation", - "operationKind": "mutation", - "text": "mutation NonconformityGraphDeleteMutation(\n $input: DeleteNonconformityInput!\n) {\n deleteNonconformity(input: $input) {\n deletedNonconformityId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "d9d2303a4235301061e976771043d18a"; - -export default node; diff --git a/apps/console/src/__generated__/core/NonconformityGraphListQuery.graphql.ts b/apps/console/src/__generated__/core/NonconformityGraphListQuery.graphql.ts deleted file mode 100644 index 0ded8c1c5..000000000 --- a/apps/console/src/__generated__/core/NonconformityGraphListQuery.graphql.ts +++ /dev/null @@ -1,423 +0,0 @@ -/** - * @generated SignedSource<<0da0e157ba973f1ae3e2a60d750b8c0d>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type NonconformityGraphListQuery$variables = { - organizationId: string; - snapshotId?: string | null | undefined; -}; -export type NonconformityGraphListQuery$data = { - readonly node: { - readonly canCreateNonconformity?: boolean; - readonly " $fragmentSpreads": FragmentRefs<"NonconformitiesPageFragment">; - }; -}; -export type NonconformityGraphListQuery = { - response: NonconformityGraphListQuery$data; - variables: NonconformityGraphListQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": "canCreateNonconformity", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:nonconformity:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:nonconformity:create\")" -}, -v3 = [ - { - "kind": "Variable", - "name": "snapshotId", - "variableName": "snapshotId" - } -], -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v6 = [ - { - "fields": (v3/*: any*/), - "kind": "ObjectValue", - "name": "filter" - }, - { - "kind": "Literal", - "name": "first", - "value": 10 - } -], -v7 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "NonconformityGraphListQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - { - "args": (v3/*: any*/), - "kind": "FragmentSpread", - "name": "NonconformitiesPageFragment" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "NonconformityGraphListQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v4/*: any*/), - (v5/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": "NonconformityConnection", - "kind": "LinkedField", - "name": "nonconformities", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "NonconformityEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Nonconformity", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v5/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "referenceId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dateIdentified", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dueDate", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "rootCause", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "correctiveAction", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "effectivenessCheck", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "audit", - "plural": false, - "selections": [ - (v5/*: any*/), - (v7/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v5/*: any*/), - (v7/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v5/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:nonconformity:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:nonconformity:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:nonconformity:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:nonconformity:delete\")" - }, - (v4/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v6/*: any*/), - "filters": [ - "filter" - ], - "handle": "connection", - "key": "NonconformitiesPage_nonconformities", - "kind": "LinkedHandle", - "name": "nonconformities" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "96b967c48f7366ffeab39d39fa7221b2", - "id": null, - "metadata": {}, - "name": "NonconformityGraphListQuery", - "operationKind": "query", - "text": "query NonconformityGraphListQuery(\n $organizationId: ID!\n $snapshotId: ID\n) {\n node(id: $organizationId) {\n __typename\n ... on Organization {\n canCreateNonconformity: permission(action: \"core:nonconformity:create\")\n ...NonconformitiesPageFragment_3iomuz\n }\n id\n }\n}\n\nfragment NonconformitiesPageFragment_3iomuz on Organization {\n id\n nonconformities(first: 10, filter: {snapshotId: $snapshotId}) {\n totalCount\n edges {\n node {\n id\n referenceId\n snapshotId\n description\n status\n dateIdentified\n dueDate\n rootCause\n correctiveAction\n effectivenessCheck\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 canUpdate: permission(action: \"core:nonconformity:update\")\n canDelete: permission(action: \"core:nonconformity:delete\")\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "535dfc28b086e0f5a0ffb2f40cac2d89"; - -export default node; diff --git a/apps/console/src/__generated__/core/NonconformityGraphNodeQuery.graphql.ts b/apps/console/src/__generated__/core/NonconformityGraphNodeQuery.graphql.ts deleted file mode 100644 index 426167659..000000000 --- a/apps/console/src/__generated__/core/NonconformityGraphNodeQuery.graphql.ts +++ /dev/null @@ -1,349 +0,0 @@ -/** - * @generated SignedSource<<6a3589d799bf9319227833a4356864b2>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type NonconformityStatus = "CLOSED" | "IN_PROGRESS" | "OPEN"; -export type NonconformityGraphNodeQuery$variables = { - nonconformityId: string; -}; -export type NonconformityGraphNodeQuery$data = { - readonly node: { - readonly audit?: { - readonly framework: { - readonly id: string; - readonly name: string; - }; - readonly id: string; - } | null | undefined; - readonly canDelete?: boolean; - readonly canUpdate?: boolean; - readonly correctiveAction?: string | null | undefined; - readonly createdAt?: string; - readonly dateIdentified?: string | null | undefined; - readonly description?: string | null | undefined; - readonly dueDate?: string | null | undefined; - readonly effectivenessCheck?: string | null | undefined; - readonly id?: string; - readonly organization?: { - readonly id: string; - readonly name: string; - }; - readonly owner?: { - readonly fullName: string; - readonly id: string; - }; - readonly referenceId?: string; - readonly rootCause?: string; - readonly snapshotId?: string | null | undefined; - readonly status?: NonconformityStatus; - readonly updatedAt?: string; - }; -}; -export type NonconformityGraphNodeQuery = { - response: NonconformityGraphNodeQuery$data; - variables: NonconformityGraphNodeQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "nonconformityId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "nonconformityId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null -}, -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": "dateIdentified", - "storageKey": null -}, -v7 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "rootCause", - "storageKey": null -}, -v8 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "correctiveAction", - "storageKey": null -}, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dueDate", - "storageKey": null -}, -v10 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null -}, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "effectivenessCheck", - "storageKey": null -}, -v12 = [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - } -], -v13 = { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "audit", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": (v12/*: any*/), - "storageKey": null - } - ], - "storageKey": null -}, -v14 = { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null -}, -v15 = { - "alias": null, - "args": null, - "concreteType": "Organization", - "kind": "LinkedField", - "name": "organization", - "plural": false, - "selections": (v12/*: any*/), - "storageKey": null -}, -v16 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null -}, -v17 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null -}, -v18 = { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:nonconformity:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:nonconformity:update\")" -}, -v19 = { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:nonconformity:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:nonconformity:delete\")" -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "NonconformityGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v13/*: any*/), - (v14/*: any*/), - (v15/*: any*/), - (v16/*: any*/), - (v17/*: any*/), - (v18/*: any*/), - (v19/*: any*/) - ], - "type": "Nonconformity", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "NonconformityGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v13/*: any*/), - (v14/*: any*/), - (v15/*: any*/), - (v16/*: any*/), - (v17/*: any*/), - (v18/*: any*/), - (v19/*: any*/) - ], - "type": "Nonconformity", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "f917aa1ad5d7628a6193743a18c9aab9", - "id": null, - "metadata": {}, - "name": "NonconformityGraphNodeQuery", - "operationKind": "query", - "text": "query NonconformityGraphNodeQuery(\n $nonconformityId: ID!\n) {\n node(id: $nonconformityId) {\n __typename\n ... on Nonconformity {\n id\n snapshotId\n referenceId\n description\n dateIdentified\n rootCause\n correctiveAction\n dueDate\n status\n effectivenessCheck\n audit {\n id\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 canUpdate: permission(action: \"core:nonconformity:update\")\n canDelete: permission(action: \"core:nonconformity:delete\")\n }\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "6d1ecfb7df432a591c7e16461842796d"; - -export default node; diff --git a/apps/console/src/__generated__/core/NonconformityGraphUpdateMutation.graphql.ts b/apps/console/src/__generated__/core/NonconformityGraphUpdateMutation.graphql.ts deleted file mode 100644 index 4c7600dc8..000000000 --- a/apps/console/src/__generated__/core/NonconformityGraphUpdateMutation.graphql.ts +++ /dev/null @@ -1,250 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type NonconformityStatus = "CLOSED" | "IN_PROGRESS" | "OPEN"; -export type UpdateNonconformityInput = { - auditId?: string | null | undefined; - correctiveAction?: string | null | undefined; - dateIdentified?: string | null | undefined; - description?: string | null | undefined; - dueDate?: string | null | undefined; - effectivenessCheck?: string | null | undefined; - id: string; - ownerId?: string | null | undefined; - referenceId?: string | null | undefined; - rootCause?: string | null | undefined; - status?: NonconformityStatus | null | undefined; -}; -export type NonconformityGraphUpdateMutation$variables = { - input: UpdateNonconformityInput; -}; -export type NonconformityGraphUpdateMutation$data = { - readonly updateNonconformity: { - readonly nonconformity: { - readonly audit: { - readonly framework: { - readonly id: string; - readonly name: string; - }; - readonly id: string; - } | null | undefined; - readonly correctiveAction: string | null | undefined; - readonly dateIdentified: string | null | undefined; - readonly description: string | null | undefined; - readonly dueDate: string | null | undefined; - readonly effectivenessCheck: string | null | undefined; - readonly id: string; - readonly owner: { - readonly fullName: string; - readonly id: string; - }; - readonly referenceId: string; - readonly rootCause: string; - readonly status: NonconformityStatus; - readonly updatedAt: string; - }; - }; -}; -export type NonconformityGraphUpdateMutation = { - response: NonconformityGraphUpdateMutation$data; - variables: NonconformityGraphUpdateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v2 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UpdateNonconformityPayload", - "kind": "LinkedField", - "name": "updateNonconformity", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Nonconformity", - "kind": "LinkedField", - "name": "nonconformity", - "plural": false, - "selections": [ - (v1/*: 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": "dateIdentified", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "rootCause", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "correctiveAction", - "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, - "kind": "ScalarField", - "name": "effectivenessCheck", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "audit", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "NonconformityGraphUpdateMutation", - "selections": (v2/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "NonconformityGraphUpdateMutation", - "selections": (v2/*: any*/) - }, - "params": { - "cacheID": "db365ab97fb067ad2e9b1daa68f64ed9", - "id": null, - "metadata": {}, - "name": "NonconformityGraphUpdateMutation", - "operationKind": "mutation", - "text": "mutation NonconformityGraphUpdateMutation(\n $input: UpdateNonconformityInput!\n) {\n updateNonconformity(input: $input) {\n nonconformity {\n id\n referenceId\n description\n dateIdentified\n rootCause\n correctiveAction\n dueDate\n status\n effectivenessCheck\n owner {\n id\n fullName\n }\n audit {\n id\n framework {\n id\n name\n }\n }\n updatedAt\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "5803de6f6f017148cca1e3066a6b3967"; - -export default node; diff --git a/apps/console/src/__generated__/core/ObligationGraphCreateMutation.graphql.ts b/apps/console/src/__generated__/core/ObligationGraphCreateMutation.graphql.ts deleted file mode 100644 index 4e8385369..000000000 --- a/apps/console/src/__generated__/core/ObligationGraphCreateMutation.graphql.ts +++ /dev/null @@ -1,302 +0,0 @@ -/** - * @generated SignedSource<<1f23de4809b353b4b807c3fa85146bf4>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type ObligationStatus = "COMPLIANT" | "NON_COMPLIANT" | "PARTIALLY_COMPLIANT"; -export type ObligationType = "CONTRACTUAL" | "LEGAL"; -export type CreateObligationInput = { - actionsToBeImplemented?: string | null | undefined; - area?: string | null | undefined; - dueDate?: string | null | undefined; - lastReviewDate?: string | null | undefined; - organizationId: string; - ownerId: string; - regulator?: string | null | undefined; - requirement?: string | null | undefined; - source?: string | null | undefined; - status: ObligationStatus; - type: ObligationType; -}; -export type ObligationGraphCreateMutation$variables = { - connections: ReadonlyArray; - input: CreateObligationInput; -}; -export type ObligationGraphCreateMutation$data = { - readonly createObligation: { - readonly obligationEdge: { - readonly node: { - readonly actionsToBeImplemented: string | null | undefined; - readonly area: string | null | undefined; - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly createdAt: string; - readonly dueDate: string | null | undefined; - readonly id: string; - readonly lastReviewDate: string | null | undefined; - readonly owner: { - readonly fullName: string; - readonly id: string; - }; - readonly regulator: string | null | undefined; - readonly requirement: string | null | undefined; - readonly source: string | null | undefined; - readonly status: ObligationStatus; - readonly type: ObligationType; - }; - }; - }; -}; -export type ObligationGraphCreateMutation = { - response: ObligationGraphCreateMutation$data; - variables: ObligationGraphCreateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "concreteType": "ObligationEdge", - "kind": "LinkedField", - "name": "obligationEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Obligation", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "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": "type", - "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 - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:obligation:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:obligation:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:obligation:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:obligation:delete\")" - } - ], - "storageKey": null - } - ], - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "ObligationGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateObligationPayload", - "kind": "LinkedField", - "name": "createObligation", - "plural": false, - "selections": [ - (v4/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "ObligationGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateObligationPayload", - "kind": "LinkedField", - "name": "createObligation", - "plural": false, - "selections": [ - (v4/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "obligationEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "07c56edca205672276a394e621181187", - "id": null, - "metadata": {}, - "name": "ObligationGraphCreateMutation", - "operationKind": "mutation", - "text": "mutation ObligationGraphCreateMutation(\n $input: CreateObligationInput!\n) {\n createObligation(input: $input) {\n obligationEdge {\n node {\n id\n area\n source\n requirement\n actionsToBeImplemented\n regulator\n type\n lastReviewDate\n dueDate\n status\n owner {\n id\n fullName\n }\n createdAt\n canUpdate: permission(action: \"core:obligation:update\")\n canDelete: permission(action: \"core:obligation:delete\")\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "c4ab18948e2f118f433530ba3be77bda"; - -export default node; diff --git a/apps/console/src/__generated__/core/ObligationGraphDeleteMutation.graphql.ts b/apps/console/src/__generated__/core/ObligationGraphDeleteMutation.graphql.ts deleted file mode 100644 index 4e6d430c7..000000000 --- a/apps/console/src/__generated__/core/ObligationGraphDeleteMutation.graphql.ts +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @generated SignedSource<<0966beeae022283847f20f63c3303ee2>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteObligationInput = { - obligationId: string; -}; -export type ObligationGraphDeleteMutation$variables = { - connections: ReadonlyArray; - input: DeleteObligationInput; -}; -export type ObligationGraphDeleteMutation$data = { - readonly deleteObligation: { - readonly deletedObligationId: string; - }; -}; -export type ObligationGraphDeleteMutation = { - response: ObligationGraphDeleteMutation$data; - variables: ObligationGraphDeleteMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedObligationId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "ObligationGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteObligationPayload", - "kind": "LinkedField", - "name": "deleteObligation", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "ObligationGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteObligationPayload", - "kind": "LinkedField", - "name": "deleteObligation", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedObligationId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "d54295be0ffd5722cf2e5408a62be33d", - "id": null, - "metadata": {}, - "name": "ObligationGraphDeleteMutation", - "operationKind": "mutation", - "text": "mutation ObligationGraphDeleteMutation(\n $input: DeleteObligationInput!\n) {\n deleteObligation(input: $input) {\n deletedObligationId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "224562b4db5e07b2a11aebda97cd0732"; - -export default node; diff --git a/apps/console/src/__generated__/core/ObligationGraphListQuery.graphql.ts b/apps/console/src/__generated__/core/ObligationGraphListQuery.graphql.ts deleted file mode 100644 index 02b269ff0..000000000 --- a/apps/console/src/__generated__/core/ObligationGraphListQuery.graphql.ts +++ /dev/null @@ -1,397 +0,0 @@ -/** - * @generated SignedSource<<02e8a94b4b1fde8cf24235afcfd5731a>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type ObligationGraphListQuery$variables = { - organizationId: string; - snapshotId?: string | null | undefined; -}; -export type ObligationGraphListQuery$data = { - readonly node: { - readonly canCreateObligation?: boolean; - readonly " $fragmentSpreads": FragmentRefs<"ObligationsPageFragment">; - }; -}; -export type ObligationGraphListQuery = { - response: ObligationGraphListQuery$data; - variables: ObligationGraphListQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": "canCreateObligation", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:obligation:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:obligation:create\")" -}, -v3 = [ - { - "kind": "Variable", - "name": "snapshotId", - "variableName": "snapshotId" - } -], -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v6 = [ - { - "fields": (v3/*: any*/), - "kind": "ObjectValue", - "name": "filter" - }, - { - "kind": "Literal", - "name": "first", - "value": 10 - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "ObligationGraphListQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - { - "args": (v3/*: any*/), - "kind": "FragmentSpread", - "name": "ObligationsPageFragment" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "ObligationGraphListQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v4/*: any*/), - (v5/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": "ObligationConnection", - "kind": "LinkedField", - "name": "obligations", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "ObligationEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Obligation", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v5/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sourceId", - "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": "status", - "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": "actionsToBeImplemented", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "regulator", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v5/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:obligation:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:obligation:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:obligation:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:obligation:delete\")" - }, - (v4/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v6/*: any*/), - "filters": [ - "filter" - ], - "handle": "connection", - "key": "ObligationsPage_obligations", - "kind": "LinkedHandle", - "name": "obligations" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "09f360edd84c4db5cf2bc3d01b207d46", - "id": null, - "metadata": {}, - "name": "ObligationGraphListQuery", - "operationKind": "query", - "text": "query ObligationGraphListQuery(\n $organizationId: ID!\n $snapshotId: ID\n) {\n node(id: $organizationId) {\n __typename\n ... on Organization {\n canCreateObligation: permission(action: \"core:obligation:create\")\n ...ObligationsPageFragment_3iomuz\n }\n id\n }\n}\n\nfragment ObligationsPageFragment_3iomuz on Organization {\n id\n obligations(first: 10, filter: {snapshotId: $snapshotId}) {\n totalCount\n edges {\n node {\n id\n snapshotId\n sourceId\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 canUpdate: permission(action: \"core:obligation:update\")\n canDelete: permission(action: \"core:obligation:delete\")\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "a17041086fd110cccb96aab8026d2b4b"; - -export default node; diff --git a/apps/console/src/__generated__/core/ObligationGraphNodeQuery.graphql.ts b/apps/console/src/__generated__/core/ObligationGraphNodeQuery.graphql.ts deleted file mode 100644 index c26de9518..000000000 --- a/apps/console/src/__generated__/core/ObligationGraphNodeQuery.graphql.ts +++ /dev/null @@ -1,338 +0,0 @@ -/** - * @generated SignedSource<<200a1aba470ed72c73e3542bdc907315>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type ObligationStatus = "COMPLIANT" | "NON_COMPLIANT" | "PARTIALLY_COMPLIANT"; -export type ObligationType = "CONTRACTUAL" | "LEGAL"; -export type ObligationGraphNodeQuery$variables = { - obligationId: string; -}; -export type ObligationGraphNodeQuery$data = { - readonly node: { - readonly actionsToBeImplemented?: string | null | undefined; - readonly area?: string | null | undefined; - readonly canDelete?: boolean; - readonly canUpdate?: boolean; - readonly createdAt?: string; - readonly dueDate?: string | null | undefined; - readonly id?: string; - readonly lastReviewDate?: string | null | undefined; - readonly organization?: { - readonly id: string; - readonly name: string; - }; - readonly owner?: { - readonly fullName: string; - readonly id: string; - }; - readonly regulator?: string | null | undefined; - readonly requirement?: string | null | undefined; - readonly snapshotId?: string | null | undefined; - readonly source?: string | null | undefined; - readonly sourceId?: string | null | undefined; - readonly status?: ObligationStatus; - readonly type?: ObligationType; - readonly updatedAt?: string; - }; -}; -export type ObligationGraphNodeQuery = { - response: ObligationGraphNodeQuery$data; - variables: ObligationGraphNodeQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "obligationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "obligationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sourceId", - "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": "type", - "storageKey": null -}, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lastReviewDate", - "storageKey": null -}, -v12 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dueDate", - "storageKey": null -}, -v13 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null -}, -v14 = { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null -}, -v15 = { - "alias": null, - "args": null, - "concreteType": "Organization", - "kind": "LinkedField", - "name": "organization", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - } - ], - "storageKey": null -}, -v16 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null -}, -v17 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null -}, -v18 = { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:obligation:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:obligation:update\")" -}, -v19 = { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:obligation:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:obligation:delete\")" -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "ObligationGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - (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*/), - (v19/*: any*/) - ], - "type": "Obligation", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "ObligationGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - (v2/*: any*/), - { - "kind": "InlineFragment", - "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*/), - (v19/*: any*/) - ], - "type": "Obligation", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "0be8ac1fa76f737698c91c6a8e6cf15b", - "id": null, - "metadata": {}, - "name": "ObligationGraphNodeQuery", - "operationKind": "query", - "text": "query ObligationGraphNodeQuery(\n $obligationId: ID!\n) {\n node(id: $obligationId) {\n __typename\n ... on Obligation {\n id\n snapshotId\n sourceId\n area\n source\n requirement\n actionsToBeImplemented\n regulator\n type\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 canUpdate: permission(action: \"core:obligation:update\")\n canDelete: permission(action: \"core:obligation:delete\")\n }\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "6587fcee3deaaec8581e5f495b1edadc"; - -export default node; diff --git a/apps/console/src/__generated__/core/ObligationGraphUpdateMutation.graphql.ts b/apps/console/src/__generated__/core/ObligationGraphUpdateMutation.graphql.ts deleted file mode 100644 index bf191c20d..000000000 --- a/apps/console/src/__generated__/core/ObligationGraphUpdateMutation.graphql.ts +++ /dev/null @@ -1,221 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type ObligationStatus = "COMPLIANT" | "NON_COMPLIANT" | "PARTIALLY_COMPLIANT"; -export type ObligationType = "CONTRACTUAL" | "LEGAL"; -export type UpdateObligationInput = { - actionsToBeImplemented?: string | null | undefined; - area?: string | null | undefined; - dueDate?: string | null | undefined; - id: string; - lastReviewDate?: string | null | undefined; - ownerId?: string | null | undefined; - regulator?: string | null | undefined; - requirement?: string | null | undefined; - source?: string | null | undefined; - status?: ObligationStatus | null | undefined; - type?: ObligationType | null | undefined; -}; -export type ObligationGraphUpdateMutation$variables = { - input: UpdateObligationInput; -}; -export type ObligationGraphUpdateMutation$data = { - readonly updateObligation: { - readonly obligation: { - readonly actionsToBeImplemented: string | null | undefined; - readonly area: string | null | undefined; - readonly dueDate: string | null | undefined; - readonly id: string; - readonly lastReviewDate: string | null | undefined; - readonly owner: { - readonly fullName: string; - readonly id: string; - }; - readonly regulator: string | null | undefined; - readonly requirement: string | null | undefined; - readonly source: string | null | undefined; - readonly status: ObligationStatus; - readonly type: ObligationType; - readonly updatedAt: string; - }; - }; -}; -export type ObligationGraphUpdateMutation = { - response: ObligationGraphUpdateMutation$data; - variables: ObligationGraphUpdateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v2 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UpdateObligationPayload", - "kind": "LinkedField", - "name": "updateObligation", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Obligation", - "kind": "LinkedField", - "name": "obligation", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "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": "type", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lastReviewDate", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dueDate", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "ObligationGraphUpdateMutation", - "selections": (v2/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "ObligationGraphUpdateMutation", - "selections": (v2/*: any*/) - }, - "params": { - "cacheID": "f9c2c73fd39c2d25eb6aa8d9e6670652", - "id": null, - "metadata": {}, - "name": "ObligationGraphUpdateMutation", - "operationKind": "mutation", - "text": "mutation ObligationGraphUpdateMutation(\n $input: UpdateObligationInput!\n) {\n updateObligation(input: $input) {\n obligation {\n id\n area\n source\n requirement\n actionsToBeImplemented\n regulator\n type\n lastReviewDate\n dueDate\n status\n owner {\n id\n fullName\n }\n updatedAt\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "07663daac0c8341a570a0bf3a41c8b77"; - -export default node; diff --git a/apps/console/src/__generated__/core/ObligationsPageFragment.graphql.ts b/apps/console/src/__generated__/core/ObligationsPageFragment.graphql.ts deleted file mode 100644 index 17029b60e..000000000 --- a/apps/console/src/__generated__/core/ObligationsPageFragment.graphql.ts +++ /dev/null @@ -1,358 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type ObligationStatus = "COMPLIANT" | "NON_COMPLIANT" | "PARTIALLY_COMPLIANT"; -import { FragmentRefs } from "relay-runtime"; -export type ObligationsPageFragment$data = { - readonly id: string; - readonly obligations: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly actionsToBeImplemented: string | null | undefined; - readonly area: string | null | undefined; - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly createdAt: string; - readonly dueDate: string | null | undefined; - readonly id: string; - readonly lastReviewDate: string | null | undefined; - readonly owner: { - readonly fullName: string; - readonly id: string; - }; - readonly regulator: string | null | undefined; - readonly requirement: string | null | undefined; - readonly snapshotId: string | null | undefined; - readonly source: string | null | undefined; - readonly sourceId: string | null | undefined; - readonly status: ObligationStatus; - readonly updatedAt: string; - }; - }>; - readonly pageInfo: { - readonly endCursor: string | null | undefined; - readonly hasNextPage: boolean; - }; - readonly totalCount: number; - }; - readonly " $fragmentType": "ObligationsPageFragment"; -}; -export type ObligationsPageFragment$key = { - readonly " $data"?: ObligationsPageFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"ObligationsPageFragment">; -}; - -import ObligationsPageRefetchQuery_graphql from './ObligationsPageRefetchQuery.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "obligations" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": 10, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": "first", - "cursor": "after", - "direction": "forward", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": null, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": ObligationsPageRefetchQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "ObligationsPageFragment", - "selections": [ - (v1/*: any*/), - { - "alias": "obligations", - "args": [ - { - "fields": [ - { - "kind": "Variable", - "name": "snapshotId", - "variableName": "snapshotId" - } - ], - "kind": "ObjectValue", - "name": "filter" - } - ], - "concreteType": "ObligationConnection", - "kind": "LinkedField", - "name": "__ObligationsPage_obligations_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "ObligationEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Obligation", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sourceId", - "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": "status", - "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": "actionsToBeImplemented", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "regulator", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:obligation:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:obligation:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:obligation:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:obligation:delete\")" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - } - ], - "type": "Organization", - "abstractKey": null -}; -})(); - -(node as any).hash = "b80f122b447b6a979b4774851ad11ee5"; - -export default node; diff --git a/apps/console/src/__generated__/core/ObligationsPageRefetchQuery.graphql.ts b/apps/console/src/__generated__/core/ObligationsPageRefetchQuery.graphql.ts deleted file mode 100644 index 323d12b67..000000000 --- a/apps/console/src/__generated__/core/ObligationsPageRefetchQuery.graphql.ts +++ /dev/null @@ -1,405 +0,0 @@ -/** - * @generated SignedSource<<1ac1cfaaf7028d5f1a6f1daf69290cdc>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type ObligationsPageRefetchQuery$variables = { - after?: string | null | undefined; - first?: number | null | undefined; - id: string; - snapshotId?: string | null | undefined; -}; -export type ObligationsPageRefetchQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"ObligationsPageFragment">; - }; -}; -export type ObligationsPageRefetchQuery = { - response: ObligationsPageRefetchQuery$data; - variables: ObligationsPageRefetchQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": 10, - "kind": "LocalArgument", - "name": "first" -}, -v2 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v3 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" -}, -v4 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v5 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v6 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v7 = { - "kind": "Variable", - "name": "snapshotId", - "variableName": "snapshotId" -}, -v8 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v10 = [ - (v5/*: any*/), - { - "fields": [ - (v7/*: any*/) - ], - "kind": "ObjectValue", - "name": "filter" - }, - (v6/*: any*/) -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "ObligationsPageRefetchQuery", - "selections": [ - { - "alias": null, - "args": (v4/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/) - ], - "kind": "FragmentSpread", - "name": "ObligationsPageFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v3/*: any*/), - (v2/*: any*/) - ], - "kind": "Operation", - "name": "ObligationsPageRefetchQuery", - "selections": [ - { - "alias": null, - "args": (v4/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v8/*: any*/), - (v9/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v10/*: any*/), - "concreteType": "ObligationConnection", - "kind": "LinkedField", - "name": "obligations", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "ObligationEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Obligation", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v9/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sourceId", - "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": "status", - "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": "actionsToBeImplemented", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "regulator", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v9/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:obligation:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:obligation:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:obligation:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:obligation:delete\")" - }, - (v8/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v10/*: any*/), - "filters": [ - "filter" - ], - "handle": "connection", - "key": "ObligationsPage_obligations", - "kind": "LinkedHandle", - "name": "obligations" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "df1ca965ec380e12537f713ce9786930", - "id": null, - "metadata": {}, - "name": "ObligationsPageRefetchQuery", - "operationKind": "query", - "text": "query ObligationsPageRefetchQuery(\n $after: CursorKey\n $first: Int = 10\n $snapshotId: ID = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...ObligationsPageFragment_35e0S5\n id\n }\n}\n\nfragment ObligationsPageFragment_35e0S5 on Organization {\n id\n obligations(first: $first, after: $after, filter: {snapshotId: $snapshotId}) {\n totalCount\n edges {\n node {\n id\n snapshotId\n sourceId\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 canUpdate: permission(action: \"core:obligation:update\")\n canDelete: permission(action: \"core:obligation:delete\")\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "b80f122b447b6a979b4774851ad11ee5"; - -export default node; diff --git a/apps/console/src/__generated__/core/PeopleGraphDeleteMutation.graphql.ts b/apps/console/src/__generated__/core/PeopleGraphDeleteMutation.graphql.ts deleted file mode 100644 index db7f4db8d..000000000 --- a/apps/console/src/__generated__/core/PeopleGraphDeleteMutation.graphql.ts +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @generated SignedSource<<242c546027e5b7c8410fca920a4dfa3c>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeletePeopleInput = { - peopleId: string; -}; -export type PeopleGraphDeleteMutation$variables = { - connections: ReadonlyArray; - input: DeletePeopleInput; -}; -export type PeopleGraphDeleteMutation$data = { - readonly deletePeople: { - readonly deletedPeopleId: string; - }; -}; -export type PeopleGraphDeleteMutation = { - response: PeopleGraphDeleteMutation$data; - variables: PeopleGraphDeleteMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedPeopleId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "PeopleGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeletePeoplePayload", - "kind": "LinkedField", - "name": "deletePeople", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "PeopleGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeletePeoplePayload", - "kind": "LinkedField", - "name": "deletePeople", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedPeopleId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "9e0f5fd398468199333312505f258bb2", - "id": null, - "metadata": {}, - "name": "PeopleGraphDeleteMutation", - "operationKind": "mutation", - "text": "mutation PeopleGraphDeleteMutation(\n $input: DeletePeopleInput!\n) {\n deletePeople(input: $input) {\n deletedPeopleId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "611aa91bbb039c4e5800838f5db7985c"; - -export default node; diff --git a/apps/console/src/__generated__/core/PeopleGraphNodeQuery.graphql.ts b/apps/console/src/__generated__/core/PeopleGraphNodeQuery.graphql.ts deleted file mode 100644 index 1286bf582..000000000 --- a/apps/console/src/__generated__/core/PeopleGraphNodeQuery.graphql.ts +++ /dev/null @@ -1,227 +0,0 @@ -/** - * @generated SignedSource<<9cdea24323a4e31f80ec9a2327d475d5>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type PeopleKind = "CONTRACTOR" | "EMPLOYEE" | "SERVICE_ACCOUNT"; -export type PeopleGraphNodeQuery$variables = { - peopleId: string; -}; -export type PeopleGraphNodeQuery$data = { - readonly node: { - readonly additionalEmailAddresses?: ReadonlyArray; - readonly canDelete?: boolean; - readonly canUpdate?: boolean; - readonly contractEndDate?: string | null | undefined; - readonly contractStartDate?: string | null | undefined; - readonly fullName?: string; - readonly id?: string; - readonly kind?: PeopleKind; - readonly position?: string | null | undefined; - readonly primaryEmailAddress?: string; - }; -}; -export type PeopleGraphNodeQuery = { - response: PeopleGraphNodeQuery$data; - variables: PeopleGraphNodeQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "peopleId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "peopleId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "primaryEmailAddress", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "position", - "storageKey": null -}, -v6 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "kind", - "storageKey": null -}, -v7 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "additionalEmailAddresses", - "storageKey": null -}, -v8 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "contractStartDate", - "storageKey": null -}, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "contractEndDate", - "storageKey": null -}, -v10 = { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:people:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:people:update\")" -}, -v11 = { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:people:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:people:delete\")" -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "PeopleGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/) - ], - "type": "People", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "PeopleGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/) - ], - "type": "People", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "b770515fd005b877138eaddfa7c1bd2f", - "id": null, - "metadata": {}, - "name": "PeopleGraphNodeQuery", - "operationKind": "query", - "text": "query PeopleGraphNodeQuery(\n $peopleId: ID!\n) {\n node(id: $peopleId) {\n __typename\n ... on People {\n id\n fullName\n primaryEmailAddress\n position\n kind\n additionalEmailAddresses\n contractStartDate\n contractEndDate\n canUpdate: permission(action: \"core:people:update\")\n canDelete: permission(action: \"core:people:delete\")\n }\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "a2bbe9f5064287c6a6e193c948a2c0cc"; - -export default node; diff --git a/apps/console/src/__generated__/core/PeopleGraphPaginatedFragment.graphql.ts b/apps/console/src/__generated__/core/PeopleGraphPaginatedFragment.graphql.ts deleted file mode 100644 index 75600dd9e..000000000 --- a/apps/console/src/__generated__/core/PeopleGraphPaginatedFragment.graphql.ts +++ /dev/null @@ -1,331 +0,0 @@ -/** - * @generated SignedSource<<59393bd95d26b50bb20f933e548497cb>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type PeopleKind = "CONTRACTOR" | "EMPLOYEE" | "SERVICE_ACCOUNT"; -import { FragmentRefs } from "relay-runtime"; -export type PeopleGraphPaginatedFragment$data = { - readonly canCreatePeople: boolean; - readonly id: string; - readonly peoples: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly additionalEmailAddresses: ReadonlyArray; - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly contractEndDate: string | null | undefined; - readonly contractStartDate: string | null | undefined; - readonly fullName: string; - readonly id: string; - readonly kind: PeopleKind; - readonly position: string | null | undefined; - readonly primaryEmailAddress: string; - }; - }>; - }; - readonly " $fragmentType": "PeopleGraphPaginatedFragment"; -}; -export type PeopleGraphPaginatedFragment$key = { - readonly " $data"?: PeopleGraphPaginatedFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"PeopleGraphPaginatedFragment">; -}; - -import PeopleListQuery_graphql from './PeopleListQuery.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "peoples" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "filter" - }, - { - "defaultValue": 50, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" - }, - { - "defaultValue": { - "direction": "ASC", - "field": "FULL_NAME" - }, - "kind": "LocalArgument", - "name": "order" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "bidirectional", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": { - "count": "last", - "cursor": "before" - }, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": PeopleListQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "PeopleGraphPaginatedFragment", - "selections": [ - { - "alias": "canCreatePeople", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:people:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:people:create\")" - }, - { - "alias": "peoples", - "args": [ - { - "kind": "Variable", - "name": "filter", - "variableName": "filter" - }, - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } - ], - "concreteType": "PeopleConnection", - "kind": "LinkedField", - "name": "__PeopleGraphPaginatedQuery_peoples_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "PeopleEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "primaryEmailAddress", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "kind", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "position", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "additionalEmailAddresses", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "contractStartDate", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "contractEndDate", - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:people:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:people:delete\")" - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:people:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:people:update\")" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - (v1/*: any*/) - ], - "type": "Organization", - "abstractKey": null -}; -})(); - -(node as any).hash = "199e1751362979bcc7e86e1a90a449d4"; - -export default node; diff --git a/apps/console/src/__generated__/core/PeopleGraphPaginatedQuery.graphql.ts b/apps/console/src/__generated__/core/PeopleGraphPaginatedQuery.graphql.ts deleted file mode 100644 index 799032911..000000000 --- a/apps/console/src/__generated__/core/PeopleGraphPaginatedQuery.graphql.ts +++ /dev/null @@ -1,340 +0,0 @@ -/** - * @generated SignedSource<<91fb3430f209ed2c0c83b111ca7b3d86>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type PeopleGraphPaginatedQuery$variables = { - organizationId: string; -}; -export type PeopleGraphPaginatedQuery$data = { - readonly organization: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"PeopleGraphPaginatedFragment">; - }; -}; -export type PeopleGraphPaginatedQuery = { - response: PeopleGraphPaginatedQuery$data; - variables: PeopleGraphPaginatedQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v4 = [ - { - "kind": "Literal", - "name": "first", - "value": 50 - }, - { - "kind": "Literal", - "name": "orderBy", - "value": { - "direction": "ASC", - "field": "FULL_NAME" - } - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "PeopleGraphPaginatedQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "args": null, - "kind": "FragmentSpread", - "name": "PeopleGraphPaginatedFragment" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "PeopleGraphPaginatedQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": "canCreatePeople", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:people:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:people:create\")" - }, - { - "alias": null, - "args": (v4/*: any*/), - "concreteType": "PeopleConnection", - "kind": "LinkedField", - "name": "peoples", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "PeopleEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "primaryEmailAddress", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "kind", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "position", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "additionalEmailAddresses", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "contractStartDate", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "contractEndDate", - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:people:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:people:delete\")" - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:people:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:people:update\")" - }, - (v3/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": "peoples(first:50,orderBy:{\"direction\":\"ASC\",\"field\":\"FULL_NAME\"})" - }, - { - "alias": null, - "args": (v4/*: any*/), - "filters": [ - "orderBy", - "filter" - ], - "handle": "connection", - "key": "PeopleGraphPaginatedQuery_peoples", - "kind": "LinkedHandle", - "name": "peoples" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "caa828b21b4d035ff5543e6d08355aad", - "id": null, - "metadata": {}, - "name": "PeopleGraphPaginatedQuery", - "operationKind": "query", - "text": "query PeopleGraphPaginatedQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n id\n ... on Organization {\n ...PeopleGraphPaginatedFragment\n }\n }\n}\n\nfragment PeopleGraphPaginatedFragment on Organization {\n canCreatePeople: permission(action: \"core:people:create\")\n peoples(first: 50, orderBy: {direction: ASC, field: FULL_NAME}) {\n edges {\n node {\n id\n fullName\n primaryEmailAddress\n kind\n position\n additionalEmailAddresses\n contractStartDate\n contractEndDate\n canDelete: permission(action: \"core:people:delete\")\n canUpdate: permission(action: \"core:people:update\")\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n" - } -}; -})(); - -(node as any).hash = "b041fe4775cf12f965d81f243549cab0"; - -export default node; diff --git a/apps/console/src/__generated__/core/PeopleGraphQuery.graphql.ts b/apps/console/src/__generated__/core/PeopleGraphQuery.graphql.ts deleted file mode 100644 index 2ac5f68b9..000000000 --- a/apps/console/src/__generated__/core/PeopleGraphQuery.graphql.ts +++ /dev/null @@ -1,206 +0,0 @@ -/** - * @generated SignedSource<<3b196ff5779051fcd1ed9cca6b7be112>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type PeopleFilter = { - excludeContractEnded?: boolean | null | undefined; -}; -export type PeopleGraphQuery$variables = { - filter?: PeopleFilter | null | undefined; - organizationId: string; -}; -export type PeopleGraphQuery$data = { - readonly organization: { - readonly peoples?: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly fullName: string; - readonly id: string; - readonly primaryEmailAddress: string; - }; - }>; - }; - }; -}; -export type PeopleGraphQuery = { - response: PeopleGraphQuery$data; - variables: PeopleGraphQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "filter" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" -}, -v2 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v4 = { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "filter", - "variableName": "filter" - }, - { - "kind": "Literal", - "name": "first", - "value": 1000 - }, - { - "kind": "Literal", - "name": "orderBy", - "value": { - "direction": "ASC", - "field": "FULL_NAME" - } - } - ], - "concreteType": "PeopleConnection", - "kind": "LinkedField", - "name": "peoples", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "PeopleEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "primaryEmailAddress", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Organization", - "abstractKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "PeopleGraphQuery", - "selections": [ - { - "alias": "organization", - "args": (v2/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v4/*: any*/) - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "PeopleGraphQuery", - "selections": [ - { - "alias": "organization", - "args": (v2/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - (v4/*: any*/), - (v3/*: any*/) - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "3b6dc3ae9df52a04b5d496b68f8c26f4", - "id": null, - "metadata": {}, - "name": "PeopleGraphQuery", - "operationKind": "query", - "text": "query PeopleGraphQuery(\n $organizationId: ID!\n $filter: PeopleFilter\n) {\n organization: node(id: $organizationId) {\n __typename\n ... on Organization {\n peoples(first: 1000, orderBy: {direction: ASC, field: FULL_NAME}, filter: $filter) {\n edges {\n node {\n id\n fullName\n primaryEmailAddress\n }\n }\n }\n }\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "f1ce35948ab8dcd05c83e13ad83d93cd"; - -export default node; diff --git a/apps/console/src/__generated__/core/PeopleGraphUpdateMutation.graphql.ts b/apps/console/src/__generated__/core/PeopleGraphUpdateMutation.graphql.ts deleted file mode 100644 index c8ae13e0f..000000000 --- a/apps/console/src/__generated__/core/PeopleGraphUpdateMutation.graphql.ts +++ /dev/null @@ -1,169 +0,0 @@ -/** - * @generated SignedSource<<2118560efee5903bb0199e651ac49e2e>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type PeopleKind = "CONTRACTOR" | "EMPLOYEE" | "SERVICE_ACCOUNT"; -export type UpdatePeopleInput = { - additionalEmailAddresses?: ReadonlyArray | null | undefined; - contractEndDate?: string | null | undefined; - contractStartDate?: string | null | undefined; - fullName?: string | null | undefined; - id: string; - kind?: PeopleKind | null | undefined; - position?: string | null | undefined; - primaryEmailAddress?: string | null | undefined; -}; -export type PeopleGraphUpdateMutation$variables = { - input: UpdatePeopleInput; -}; -export type PeopleGraphUpdateMutation$data = { - readonly updatePeople: { - readonly people: { - readonly additionalEmailAddresses: ReadonlyArray; - readonly contractEndDate: string | null | undefined; - readonly contractStartDate: string | null | undefined; - readonly fullName: string; - readonly id: string; - readonly kind: PeopleKind; - readonly position: string | null | undefined; - readonly primaryEmailAddress: string; - }; - }; -}; -export type PeopleGraphUpdateMutation = { - response: PeopleGraphUpdateMutation$data; - variables: PeopleGraphUpdateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UpdatePeoplePayload", - "kind": "LinkedField", - "name": "updatePeople", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "people", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "primaryEmailAddress", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "position", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "kind", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "additionalEmailAddresses", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "contractStartDate", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "contractEndDate", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "PeopleGraphUpdateMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "PeopleGraphUpdateMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "23c51259f3ff117441f9c6e11de5ba5a", - "id": null, - "metadata": {}, - "name": "PeopleGraphUpdateMutation", - "operationKind": "mutation", - "text": "mutation PeopleGraphUpdateMutation(\n $input: UpdatePeopleInput!\n) {\n updatePeople(input: $input) {\n people {\n id\n fullName\n primaryEmailAddress\n position\n kind\n additionalEmailAddresses\n contractStartDate\n contractEndDate\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "fc0946729d6a2729aa1b7c9b2dfbdf7a"; - -export default node; diff --git a/apps/console/src/__generated__/core/PeopleListQuery.graphql.ts b/apps/console/src/__generated__/core/PeopleListQuery.graphql.ts deleted file mode 100644 index fd01ca346..000000000 --- a/apps/console/src/__generated__/core/PeopleListQuery.graphql.ts +++ /dev/null @@ -1,426 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type OrderDirection = "ASC" | "DESC"; -export type PeopleOrderField = "CREATED_AT" | "FULL_NAME" | "KIND"; -export type PeopleFilter = { - excludeContractEnded?: boolean | null | undefined; -}; -export type PeopleOrder = { - direction: OrderDirection; - field: PeopleOrderField; -}; -export type PeopleListQuery$variables = { - after?: string | null | undefined; - before?: string | null | undefined; - filter?: PeopleFilter | null | undefined; - first?: number | null | undefined; - id: string; - last?: number | null | undefined; - order?: PeopleOrder | null | undefined; -}; -export type PeopleListQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"PeopleGraphPaginatedFragment">; - }; -}; -export type PeopleListQuery = { - response: PeopleListQuery$data; - variables: PeopleListQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" -}, -v2 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "filter" -}, -v3 = { - "defaultValue": 50, - "kind": "LocalArgument", - "name": "first" -}, -v4 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v5 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" -}, -v6 = { - "defaultValue": { - "direction": "ASC", - "field": "FULL_NAME" - }, - "kind": "LocalArgument", - "name": "order" -}, -v7 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v8 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v9 = { - "kind": "Variable", - "name": "before", - "variableName": "before" -}, -v10 = { - "kind": "Variable", - "name": "filter", - "variableName": "filter" -}, -v11 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v12 = { - "kind": "Variable", - "name": "last", - "variableName": "last" -}, -v13 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v14 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v15 = [ - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v12/*: any*/), - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "PeopleListQuery", - "selections": [ - { - "alias": null, - "args": (v7/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v12/*: any*/), - { - "kind": "Variable", - "name": "order", - "variableName": "order" - } - ], - "kind": "FragmentSpread", - "name": "PeopleGraphPaginatedFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v4/*: any*/) - ], - "kind": "Operation", - "name": "PeopleListQuery", - "selections": [ - { - "alias": null, - "args": (v7/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v13/*: any*/), - (v14/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": "canCreatePeople", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:people:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:people:create\")" - }, - { - "alias": null, - "args": (v15/*: any*/), - "concreteType": "PeopleConnection", - "kind": "LinkedField", - "name": "peoples", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "PeopleEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v14/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "primaryEmailAddress", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "kind", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "position", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "additionalEmailAddresses", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "contractStartDate", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "contractEndDate", - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:people:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:people:delete\")" - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:people:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:people:update\")" - }, - (v13/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v15/*: any*/), - "filters": [ - "orderBy", - "filter" - ], - "handle": "connection", - "key": "PeopleGraphPaginatedQuery_peoples", - "kind": "LinkedHandle", - "name": "peoples" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "0ebad3a1b3f8943f1fdc170021089dc8", - "id": null, - "metadata": {}, - "name": "PeopleListQuery", - "operationKind": "query", - "text": "query PeopleListQuery(\n $after: CursorKey = null\n $before: CursorKey = null\n $filter: PeopleFilter = null\n $first: Int = 50\n $last: Int = null\n $order: PeopleOrder = {direction: ASC, field: FULL_NAME}\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...PeopleGraphPaginatedFragment_4cFWzS\n id\n }\n}\n\nfragment PeopleGraphPaginatedFragment_4cFWzS on Organization {\n canCreatePeople: permission(action: \"core:people:create\")\n peoples(first: $first, after: $after, last: $last, before: $before, orderBy: $order, filter: $filter) {\n edges {\n node {\n id\n fullName\n primaryEmailAddress\n kind\n position\n additionalEmailAddresses\n contractStartDate\n contractEndDate\n canDelete: permission(action: \"core:people:delete\")\n canUpdate: permission(action: \"core:people:update\")\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n" - } -}; -})(); - -(node as any).hash = "199e1751362979bcc7e86e1a90a449d4"; - -export default node; diff --git a/apps/console/src/__generated__/core/ProcessingActivitiesPageDPIAFragment.graphql.ts b/apps/console/src/__generated__/core/ProcessingActivitiesPageDPIAFragment.graphql.ts deleted file mode 100644 index ada931c35..000000000 --- a/apps/console/src/__generated__/core/ProcessingActivitiesPageDPIAFragment.graphql.ts +++ /dev/null @@ -1,274 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type DataProtectionImpactAssessmentResidualRisk = "HIGH" | "LOW" | "MEDIUM"; -import { FragmentRefs } from "relay-runtime"; -export type ProcessingActivitiesPageDPIAFragment$data = { - readonly dataProtectionImpactAssessments: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly createdAt: string; - readonly description: string | null | undefined; - readonly id: string; - readonly potentialRisk: string | null | undefined; - readonly processingActivity: { - readonly id: string; - readonly name: string; - }; - readonly residualRisk: DataProtectionImpactAssessmentResidualRisk | null | undefined; - readonly updatedAt: string; - }; - }>; - readonly pageInfo: { - readonly endCursor: string | null | undefined; - readonly hasNextPage: boolean; - }; - readonly totalCount: number; - }; - readonly id: string; - readonly " $fragmentType": "ProcessingActivitiesPageDPIAFragment"; -}; -export type ProcessingActivitiesPageDPIAFragment$key = { - readonly " $data"?: ProcessingActivitiesPageDPIAFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"ProcessingActivitiesPageDPIAFragment">; -}; - -import ProcessingActivitiesPageDPIARefetchQuery_graphql from './ProcessingActivitiesPageDPIARefetchQuery.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "dataProtectionImpactAssessments" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": 10, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": "first", - "cursor": "after", - "direction": "forward", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": null, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": ProcessingActivitiesPageDPIARefetchQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "ProcessingActivitiesPageDPIAFragment", - "selections": [ - (v1/*: any*/), - { - "alias": "dataProtectionImpactAssessments", - "args": [ - { - "fields": [ - { - "kind": "Variable", - "name": "snapshotId", - "variableName": "snapshotId" - } - ], - "kind": "ObjectValue", - "name": "filter" - } - ], - "concreteType": "DataProtectionImpactAssessmentConnection", - "kind": "LinkedField", - "name": "__ProcessingActivitiesPage_dataProtectionImpactAssessments_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "DataProtectionImpactAssessmentEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DataProtectionImpactAssessment", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "potentialRisk", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualRisk", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "ProcessingActivity", - "kind": "LinkedField", - "name": "processingActivity", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - } - ], - "type": "Organization", - "abstractKey": null -}; -})(); - -(node as any).hash = "67339e0fd7610409cba00791361c51a2"; - -export default node; diff --git a/apps/console/src/__generated__/core/ProcessingActivitiesPageDPIARefetchQuery.graphql.ts b/apps/console/src/__generated__/core/ProcessingActivitiesPageDPIARefetchQuery.graphql.ts deleted file mode 100644 index 630cfb73f..000000000 --- a/apps/console/src/__generated__/core/ProcessingActivitiesPageDPIARefetchQuery.graphql.ts +++ /dev/null @@ -1,330 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type ProcessingActivitiesPageDPIARefetchQuery$variables = { - after?: string | null | undefined; - first?: number | null | undefined; - id: string; - snapshotId?: string | null | undefined; -}; -export type ProcessingActivitiesPageDPIARefetchQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"ProcessingActivitiesPageDPIAFragment">; - }; -}; -export type ProcessingActivitiesPageDPIARefetchQuery = { - response: ProcessingActivitiesPageDPIARefetchQuery$data; - variables: ProcessingActivitiesPageDPIARefetchQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": 10, - "kind": "LocalArgument", - "name": "first" -}, -v2 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v3 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" -}, -v4 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v5 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v6 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v7 = { - "kind": "Variable", - "name": "snapshotId", - "variableName": "snapshotId" -}, -v8 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v10 = [ - (v5/*: any*/), - { - "fields": [ - (v7/*: any*/) - ], - "kind": "ObjectValue", - "name": "filter" - }, - (v6/*: any*/) -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "ProcessingActivitiesPageDPIARefetchQuery", - "selections": [ - { - "alias": null, - "args": (v4/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/) - ], - "kind": "FragmentSpread", - "name": "ProcessingActivitiesPageDPIAFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v3/*: any*/), - (v2/*: any*/) - ], - "kind": "Operation", - "name": "ProcessingActivitiesPageDPIARefetchQuery", - "selections": [ - { - "alias": null, - "args": (v4/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v8/*: any*/), - (v9/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v10/*: any*/), - "concreteType": "DataProtectionImpactAssessmentConnection", - "kind": "LinkedField", - "name": "dataProtectionImpactAssessments", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "DataProtectionImpactAssessmentEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DataProtectionImpactAssessment", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v9/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "potentialRisk", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualRisk", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "ProcessingActivity", - "kind": "LinkedField", - "name": "processingActivity", - "plural": false, - "selections": [ - (v9/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - (v8/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v10/*: any*/), - "filters": [ - "filter" - ], - "handle": "connection", - "key": "ProcessingActivitiesPage_dataProtectionImpactAssessments", - "kind": "LinkedHandle", - "name": "dataProtectionImpactAssessments" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "c1f38ecede914f3c444f313e593baac9", - "id": null, - "metadata": {}, - "name": "ProcessingActivitiesPageDPIARefetchQuery", - "operationKind": "query", - "text": "query ProcessingActivitiesPageDPIARefetchQuery(\n $after: CursorKey\n $first: Int = 10\n $snapshotId: ID = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...ProcessingActivitiesPageDPIAFragment_35e0S5\n id\n }\n}\n\nfragment ProcessingActivitiesPageDPIAFragment_35e0S5 on Organization {\n id\n dataProtectionImpactAssessments(first: $first, after: $after, filter: {snapshotId: $snapshotId}) {\n totalCount\n edges {\n node {\n id\n description\n potentialRisk\n residualRisk\n processingActivity {\n id\n name\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 = "67339e0fd7610409cba00791361c51a2"; - -export default node; diff --git a/apps/console/src/__generated__/core/ProcessingActivitiesPageExportDPIAPDFMutation.graphql.ts b/apps/console/src/__generated__/core/ProcessingActivitiesPageExportDPIAPDFMutation.graphql.ts deleted file mode 100644 index ce85042bb..000000000 --- a/apps/console/src/__generated__/core/ProcessingActivitiesPageExportDPIAPDFMutation.graphql.ts +++ /dev/null @@ -1,96 +0,0 @@ -/** - * @generated SignedSource<<2f43f6874d8b6d515cf244934b7b19ea>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type ExportDataProtectionImpactAssessmentsPDFInput = { - filter?: DataProtectionImpactAssessmentFilter | null | undefined; - organizationId: string; -}; -export type DataProtectionImpactAssessmentFilter = { - snapshotId?: string | null | undefined; -}; -export type ProcessingActivitiesPageExportDPIAPDFMutation$variables = { - input: ExportDataProtectionImpactAssessmentsPDFInput; -}; -export type ProcessingActivitiesPageExportDPIAPDFMutation$data = { - readonly exportDataProtectionImpactAssessmentsPDF: { - readonly data: string; - }; -}; -export type ProcessingActivitiesPageExportDPIAPDFMutation = { - response: ProcessingActivitiesPageExportDPIAPDFMutation$data; - variables: ProcessingActivitiesPageExportDPIAPDFMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "ExportDataProtectionImpactAssessmentsPDFPayload", - "kind": "LinkedField", - "name": "exportDataProtectionImpactAssessmentsPDF", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "data", - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "ProcessingActivitiesPageExportDPIAPDFMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "ProcessingActivitiesPageExportDPIAPDFMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "851a1c0def7719185cf3a67954696231", - "id": null, - "metadata": {}, - "name": "ProcessingActivitiesPageExportDPIAPDFMutation", - "operationKind": "mutation", - "text": "mutation ProcessingActivitiesPageExportDPIAPDFMutation(\n $input: ExportDataProtectionImpactAssessmentsPDFInput!\n) {\n exportDataProtectionImpactAssessmentsPDF(input: $input) {\n data\n }\n}\n" - } -}; -})(); - -(node as any).hash = "3c2a96fb29c61791e7df39c7b8174c90"; - -export default node; diff --git a/apps/console/src/__generated__/core/ProcessingActivitiesPageExportPDFMutation.graphql.ts b/apps/console/src/__generated__/core/ProcessingActivitiesPageExportPDFMutation.graphql.ts deleted file mode 100644 index a29c6936a..000000000 --- a/apps/console/src/__generated__/core/ProcessingActivitiesPageExportPDFMutation.graphql.ts +++ /dev/null @@ -1,96 +0,0 @@ -/** - * @generated SignedSource<<82ece1ab5e9585bfcce605e38fe9563a>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type ExportProcessingActivitiesPDFInput = { - filter?: ProcessingActivityFilter | null | undefined; - organizationId: string; -}; -export type ProcessingActivityFilter = { - snapshotId?: string | null | undefined; -}; -export type ProcessingActivitiesPageExportPDFMutation$variables = { - input: ExportProcessingActivitiesPDFInput; -}; -export type ProcessingActivitiesPageExportPDFMutation$data = { - readonly exportProcessingActivitiesPDF: { - readonly data: string; - }; -}; -export type ProcessingActivitiesPageExportPDFMutation = { - response: ProcessingActivitiesPageExportPDFMutation$data; - variables: ProcessingActivitiesPageExportPDFMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "ExportProcessingActivitiesPDFPayload", - "kind": "LinkedField", - "name": "exportProcessingActivitiesPDF", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "data", - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "ProcessingActivitiesPageExportPDFMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "ProcessingActivitiesPageExportPDFMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "85140bef5e55c8ae4fdb139965375f13", - "id": null, - "metadata": {}, - "name": "ProcessingActivitiesPageExportPDFMutation", - "operationKind": "mutation", - "text": "mutation ProcessingActivitiesPageExportPDFMutation(\n $input: ExportProcessingActivitiesPDFInput!\n) {\n exportProcessingActivitiesPDF(input: $input) {\n data\n }\n}\n" - } -}; -})(); - -(node as any).hash = "cc777bb4440f6aed36c2fb92c1bc7e0b"; - -export default node; diff --git a/apps/console/src/__generated__/core/ProcessingActivitiesPageExportTIAPDFMutation.graphql.ts b/apps/console/src/__generated__/core/ProcessingActivitiesPageExportTIAPDFMutation.graphql.ts deleted file mode 100644 index d40e9f622..000000000 --- a/apps/console/src/__generated__/core/ProcessingActivitiesPageExportTIAPDFMutation.graphql.ts +++ /dev/null @@ -1,96 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type ExportTransferImpactAssessmentsPDFInput = { - filter?: TransferImpactAssessmentFilter | null | undefined; - organizationId: string; -}; -export type TransferImpactAssessmentFilter = { - snapshotId?: string | null | undefined; -}; -export type ProcessingActivitiesPageExportTIAPDFMutation$variables = { - input: ExportTransferImpactAssessmentsPDFInput; -}; -export type ProcessingActivitiesPageExportTIAPDFMutation$data = { - readonly exportTransferImpactAssessmentsPDF: { - readonly data: string; - }; -}; -export type ProcessingActivitiesPageExportTIAPDFMutation = { - response: ProcessingActivitiesPageExportTIAPDFMutation$data; - variables: ProcessingActivitiesPageExportTIAPDFMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "ExportTransferImpactAssessmentsPDFPayload", - "kind": "LinkedField", - "name": "exportTransferImpactAssessmentsPDF", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "data", - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "ProcessingActivitiesPageExportTIAPDFMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "ProcessingActivitiesPageExportTIAPDFMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "b41ab5f56ee5dc4436069c4e2a97f8d8", - "id": null, - "metadata": {}, - "name": "ProcessingActivitiesPageExportTIAPDFMutation", - "operationKind": "mutation", - "text": "mutation ProcessingActivitiesPageExportTIAPDFMutation(\n $input: ExportTransferImpactAssessmentsPDFInput!\n) {\n exportTransferImpactAssessmentsPDF(input: $input) {\n data\n }\n}\n" - } -}; -})(); - -(node as any).hash = "3fe289d5564d0617074825d8c58f88f8"; - -export default node; diff --git a/apps/console/src/__generated__/core/ProcessingActivitiesPageFragment.graphql.ts b/apps/console/src/__generated__/core/ProcessingActivitiesPageFragment.graphql.ts deleted file mode 100644 index 0a632aac7..000000000 --- a/apps/console/src/__generated__/core/ProcessingActivitiesPageFragment.graphql.ts +++ /dev/null @@ -1,327 +0,0 @@ -/** - * @generated SignedSource<<7cb2759bd509c11cb25bb1af2a6105cd>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type ProcessingActivityLawfulBasis = "CONSENT" | "CONTRACTUAL_NECESSITY" | "LEGAL_OBLIGATION" | "LEGITIMATE_INTEREST" | "PUBLIC_TASK" | "VITAL_INTERESTS"; -import { FragmentRefs } from "relay-runtime"; -export type ProcessingActivitiesPageFragment$data = { - readonly id: string; - readonly processingActivities: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly createdAt: string; - readonly dataSubjectCategory: string | null | undefined; - readonly id: string; - readonly internationalTransfers: boolean; - readonly lawfulBasis: ProcessingActivityLawfulBasis; - readonly location: string | null | undefined; - readonly name: string; - readonly personalDataCategory: string | null | undefined; - readonly purpose: string | null | undefined; - readonly snapshotId: string | null | undefined; - readonly sourceId: string | null | undefined; - readonly updatedAt: string; - }; - }>; - readonly pageInfo: { - readonly endCursor: string | null | undefined; - readonly hasNextPage: boolean; - }; - readonly totalCount: number; - }; - readonly " $fragmentType": "ProcessingActivitiesPageFragment"; -}; -export type ProcessingActivitiesPageFragment$key = { - readonly " $data"?: ProcessingActivitiesPageFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"ProcessingActivitiesPageFragment">; -}; - -import ProcessingActivitiesPageRefetchQuery_graphql from './ProcessingActivitiesPageRefetchQuery.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "processingActivities" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": 10, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": "first", - "cursor": "after", - "direction": "forward", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": null, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": ProcessingActivitiesPageRefetchQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "ProcessingActivitiesPageFragment", - "selections": [ - (v1/*: any*/), - { - "alias": "processingActivities", - "args": [ - { - "fields": [ - { - "kind": "Variable", - "name": "snapshotId", - "variableName": "snapshotId" - } - ], - "kind": "ObjectValue", - "name": "filter" - } - ], - "concreteType": "ProcessingActivityConnection", - "kind": "LinkedField", - "name": "__ProcessingActivitiesPage_processingActivities_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "ProcessingActivityEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ProcessingActivity", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sourceId", - "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": "lawfulBasis", - "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": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:processing-activity:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:processing-activity:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:processing-activity:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:processing-activity:delete\")" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - } - ], - "type": "Organization", - "abstractKey": null -}; -})(); - -(node as any).hash = "df348ac63bc56da06da97e484fb2c0e5"; - -export default node; diff --git a/apps/console/src/__generated__/core/ProcessingActivitiesPageRefetchQuery.graphql.ts b/apps/console/src/__generated__/core/ProcessingActivitiesPageRefetchQuery.graphql.ts deleted file mode 100644 index cc62b19e2..000000000 --- a/apps/console/src/__generated__/core/ProcessingActivitiesPageRefetchQuery.graphql.ts +++ /dev/null @@ -1,379 +0,0 @@ -/** - * @generated SignedSource<<504b0d0e997eb43eb8d370a21cb3e0fb>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type ProcessingActivitiesPageRefetchQuery$variables = { - after?: string | null | undefined; - first?: number | null | undefined; - id: string; - snapshotId?: string | null | undefined; -}; -export type ProcessingActivitiesPageRefetchQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"ProcessingActivitiesPageFragment">; - }; -}; -export type ProcessingActivitiesPageRefetchQuery = { - response: ProcessingActivitiesPageRefetchQuery$data; - variables: ProcessingActivitiesPageRefetchQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": 10, - "kind": "LocalArgument", - "name": "first" -}, -v2 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v3 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" -}, -v4 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v5 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v6 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v7 = { - "kind": "Variable", - "name": "snapshotId", - "variableName": "snapshotId" -}, -v8 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v10 = [ - (v5/*: any*/), - { - "fields": [ - (v7/*: any*/) - ], - "kind": "ObjectValue", - "name": "filter" - }, - (v6/*: any*/) -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "ProcessingActivitiesPageRefetchQuery", - "selections": [ - { - "alias": null, - "args": (v4/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/) - ], - "kind": "FragmentSpread", - "name": "ProcessingActivitiesPageFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v3/*: any*/), - (v2/*: any*/) - ], - "kind": "Operation", - "name": "ProcessingActivitiesPageRefetchQuery", - "selections": [ - { - "alias": null, - "args": (v4/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v8/*: any*/), - (v9/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v10/*: any*/), - "concreteType": "ProcessingActivityConnection", - "kind": "LinkedField", - "name": "processingActivities", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "ProcessingActivityEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ProcessingActivity", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v9/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sourceId", - "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": "lawfulBasis", - "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": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:processing-activity:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:processing-activity:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:processing-activity:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:processing-activity:delete\")" - }, - (v8/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v10/*: any*/), - "filters": [ - "filter" - ], - "handle": "connection", - "key": "ProcessingActivitiesPage_processingActivities", - "kind": "LinkedHandle", - "name": "processingActivities" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "71c255d719fe0ffafda13169e925b4b8", - "id": null, - "metadata": {}, - "name": "ProcessingActivitiesPageRefetchQuery", - "operationKind": "query", - "text": "query ProcessingActivitiesPageRefetchQuery(\n $after: CursorKey\n $first: Int = 10\n $snapshotId: ID = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...ProcessingActivitiesPageFragment_35e0S5\n id\n }\n}\n\nfragment ProcessingActivitiesPageFragment_35e0S5 on Organization {\n id\n processingActivities(first: $first, after: $after, filter: {snapshotId: $snapshotId}) {\n totalCount\n edges {\n node {\n id\n snapshotId\n sourceId\n name\n purpose\n dataSubjectCategory\n personalDataCategory\n lawfulBasis\n location\n internationalTransfers\n createdAt\n updatedAt\n canUpdate: permission(action: \"core:processing-activity:update\")\n canDelete: permission(action: \"core:processing-activity:delete\")\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "df348ac63bc56da06da97e484fb2c0e5"; - -export default node; diff --git a/apps/console/src/__generated__/core/ProcessingActivitiesPageTIAFragment.graphql.ts b/apps/console/src/__generated__/core/ProcessingActivitiesPageTIAFragment.graphql.ts deleted file mode 100644 index a799112b3..000000000 --- a/apps/console/src/__generated__/core/ProcessingActivitiesPageTIAFragment.graphql.ts +++ /dev/null @@ -1,273 +0,0 @@ -/** - * @generated SignedSource<<6f67465a1bac4f3cac9c891b9c4cc9a1>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type ProcessingActivitiesPageTIAFragment$data = { - readonly id: string; - readonly transferImpactAssessments: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly createdAt: string; - readonly dataSubjects: string | null | undefined; - readonly id: string; - readonly localLawRisk: string | null | undefined; - readonly processingActivity: { - readonly id: string; - readonly name: string; - }; - readonly transfer: string | null | undefined; - readonly updatedAt: string; - }; - }>; - readonly pageInfo: { - readonly endCursor: string | null | undefined; - readonly hasNextPage: boolean; - }; - readonly totalCount: number; - }; - readonly " $fragmentType": "ProcessingActivitiesPageTIAFragment"; -}; -export type ProcessingActivitiesPageTIAFragment$key = { - readonly " $data"?: ProcessingActivitiesPageTIAFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"ProcessingActivitiesPageTIAFragment">; -}; - -import ProcessingActivitiesPageTIARefetchQuery_graphql from './ProcessingActivitiesPageTIARefetchQuery.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "transferImpactAssessments" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": 10, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": "first", - "cursor": "after", - "direction": "forward", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": null, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": ProcessingActivitiesPageTIARefetchQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "ProcessingActivitiesPageTIAFragment", - "selections": [ - (v1/*: any*/), - { - "alias": "transferImpactAssessments", - "args": [ - { - "fields": [ - { - "kind": "Variable", - "name": "snapshotId", - "variableName": "snapshotId" - } - ], - "kind": "ObjectValue", - "name": "filter" - } - ], - "concreteType": "TransferImpactAssessmentConnection", - "kind": "LinkedField", - "name": "__ProcessingActivitiesPage_transferImpactAssessments_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "TransferImpactAssessmentEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "TransferImpactAssessment", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataSubjects", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "transfer", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "localLawRisk", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "ProcessingActivity", - "kind": "LinkedField", - "name": "processingActivity", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - } - ], - "type": "Organization", - "abstractKey": null -}; -})(); - -(node as any).hash = "2c6575fe24698cc6b14d9d7a88cf434b"; - -export default node; diff --git a/apps/console/src/__generated__/core/ProcessingActivitiesPageTIARefetchQuery.graphql.ts b/apps/console/src/__generated__/core/ProcessingActivitiesPageTIARefetchQuery.graphql.ts deleted file mode 100644 index 7f4b13a00..000000000 --- a/apps/console/src/__generated__/core/ProcessingActivitiesPageTIARefetchQuery.graphql.ts +++ /dev/null @@ -1,330 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type ProcessingActivitiesPageTIARefetchQuery$variables = { - after?: string | null | undefined; - first?: number | null | undefined; - id: string; - snapshotId?: string | null | undefined; -}; -export type ProcessingActivitiesPageTIARefetchQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"ProcessingActivitiesPageTIAFragment">; - }; -}; -export type ProcessingActivitiesPageTIARefetchQuery = { - response: ProcessingActivitiesPageTIARefetchQuery$data; - variables: ProcessingActivitiesPageTIARefetchQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": 10, - "kind": "LocalArgument", - "name": "first" -}, -v2 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v3 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" -}, -v4 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v5 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v6 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v7 = { - "kind": "Variable", - "name": "snapshotId", - "variableName": "snapshotId" -}, -v8 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v10 = [ - (v5/*: any*/), - { - "fields": [ - (v7/*: any*/) - ], - "kind": "ObjectValue", - "name": "filter" - }, - (v6/*: any*/) -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "ProcessingActivitiesPageTIARefetchQuery", - "selections": [ - { - "alias": null, - "args": (v4/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/) - ], - "kind": "FragmentSpread", - "name": "ProcessingActivitiesPageTIAFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v3/*: any*/), - (v2/*: any*/) - ], - "kind": "Operation", - "name": "ProcessingActivitiesPageTIARefetchQuery", - "selections": [ - { - "alias": null, - "args": (v4/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v8/*: any*/), - (v9/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v10/*: any*/), - "concreteType": "TransferImpactAssessmentConnection", - "kind": "LinkedField", - "name": "transferImpactAssessments", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "TransferImpactAssessmentEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "TransferImpactAssessment", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v9/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataSubjects", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "transfer", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "localLawRisk", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "ProcessingActivity", - "kind": "LinkedField", - "name": "processingActivity", - "plural": false, - "selections": [ - (v9/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - (v8/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v10/*: any*/), - "filters": [ - "filter" - ], - "handle": "connection", - "key": "ProcessingActivitiesPage_transferImpactAssessments", - "kind": "LinkedHandle", - "name": "transferImpactAssessments" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "2dfe163e2a769f6a428b3e259cd6dc39", - "id": null, - "metadata": {}, - "name": "ProcessingActivitiesPageTIARefetchQuery", - "operationKind": "query", - "text": "query ProcessingActivitiesPageTIARefetchQuery(\n $after: CursorKey\n $first: Int = 10\n $snapshotId: ID = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...ProcessingActivitiesPageTIAFragment_35e0S5\n id\n }\n}\n\nfragment ProcessingActivitiesPageTIAFragment_35e0S5 on Organization {\n id\n transferImpactAssessments(first: $first, after: $after, filter: {snapshotId: $snapshotId}) {\n totalCount\n edges {\n node {\n id\n dataSubjects\n transfer\n localLawRisk\n processingActivity {\n id\n name\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 = "2c6575fe24698cc6b14d9d7a88cf434b"; - -export default node; diff --git a/apps/console/src/__generated__/core/ProcessingActivityGraphCreateDPIAMutation.graphql.ts b/apps/console/src/__generated__/core/ProcessingActivityGraphCreateDPIAMutation.graphql.ts deleted file mode 100644 index 0c517b5c4..000000000 --- a/apps/console/src/__generated__/core/ProcessingActivityGraphCreateDPIAMutation.graphql.ts +++ /dev/null @@ -1,167 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DataProtectionImpactAssessmentResidualRisk = "HIGH" | "LOW" | "MEDIUM"; -export type CreateDataProtectionImpactAssessmentInput = { - description?: string | null | undefined; - mitigations?: string | null | undefined; - necessityAndProportionality?: string | null | undefined; - potentialRisk?: string | null | undefined; - processingActivityId: string; - residualRisk?: DataProtectionImpactAssessmentResidualRisk | null | undefined; -}; -export type ProcessingActivityGraphCreateDPIAMutation$variables = { - input: CreateDataProtectionImpactAssessmentInput; -}; -export type ProcessingActivityGraphCreateDPIAMutation$data = { - readonly createDataProtectionImpactAssessment: { - readonly dataProtectionImpactAssessment: { - readonly createdAt: string; - readonly description: string | null | undefined; - readonly id: string; - readonly mitigations: string | null | undefined; - readonly necessityAndProportionality: string | null | undefined; - readonly potentialRisk: string | null | undefined; - readonly residualRisk: DataProtectionImpactAssessmentResidualRisk | null | undefined; - readonly updatedAt: string; - }; - }; -}; -export type ProcessingActivityGraphCreateDPIAMutation = { - response: ProcessingActivityGraphCreateDPIAMutation$data; - variables: ProcessingActivityGraphCreateDPIAMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "CreateDataProtectionImpactAssessmentPayload", - "kind": "LinkedField", - "name": "createDataProtectionImpactAssessment", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DataProtectionImpactAssessment", - "kind": "LinkedField", - "name": "dataProtectionImpactAssessment", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "necessityAndProportionality", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "potentialRisk", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "mitigations", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualRisk", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "ProcessingActivityGraphCreateDPIAMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "ProcessingActivityGraphCreateDPIAMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "71220501284ee2a9761f87d8909fcd00", - "id": null, - "metadata": {}, - "name": "ProcessingActivityGraphCreateDPIAMutation", - "operationKind": "mutation", - "text": "mutation ProcessingActivityGraphCreateDPIAMutation(\n $input: CreateDataProtectionImpactAssessmentInput!\n) {\n createDataProtectionImpactAssessment(input: $input) {\n dataProtectionImpactAssessment {\n id\n description\n necessityAndProportionality\n potentialRisk\n mitigations\n residualRisk\n createdAt\n updatedAt\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "e7c379b7972e44c5c854cb4fd486f557"; - -export default node; diff --git a/apps/console/src/__generated__/core/ProcessingActivityGraphCreateMutation.graphql.ts b/apps/console/src/__generated__/core/ProcessingActivityGraphCreateMutation.graphql.ts deleted file mode 100644 index d65206244..000000000 --- a/apps/console/src/__generated__/core/ProcessingActivityGraphCreateMutation.graphql.ts +++ /dev/null @@ -1,446 +0,0 @@ -/** - * @generated SignedSource<<238d486ca746aa2d13f6e87ddab1c8e3>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type ProcessingActivityDataProtectionImpactAssessment = "NEEDED" | "NOT_NEEDED"; -export type ProcessingActivityLawfulBasis = "CONSENT" | "CONTRACTUAL_NECESSITY" | "LEGAL_OBLIGATION" | "LEGITIMATE_INTEREST" | "PUBLIC_TASK" | "VITAL_INTERESTS"; -export type ProcessingActivityRole = "CONTROLLER" | "PROCESSOR"; -export type ProcessingActivitySpecialOrCriminalDatum = "NO" | "POSSIBLE" | "YES"; -export type ProcessingActivityTransferImpactAssessment = "NEEDED" | "NOT_NEEDED"; -export type ProcessingActivityTransferSafeguard = "ADEQUACY_DECISION" | "BINDING_CORPORATE_RULES" | "CERTIFICATION_MECHANISMS" | "CODES_OF_CONDUCT" | "DEROGATIONS" | "STANDARD_CONTRACTUAL_CLAUSES"; -export type CreateProcessingActivityInput = { - consentEvidenceLink?: string | null | undefined; - dataProtectionImpactAssessmentNeeded: ProcessingActivityDataProtectionImpactAssessment; - dataProtectionOfficerId?: string | null | undefined; - dataSubjectCategory?: string | null | undefined; - internationalTransfers: boolean; - lastReviewDate?: string | null | undefined; - lawfulBasis: ProcessingActivityLawfulBasis; - location?: string | null | undefined; - name: string; - nextReviewDate?: string | null | undefined; - organizationId: string; - personalDataCategory?: string | null | undefined; - purpose?: string | null | undefined; - recipients?: string | null | undefined; - retentionPeriod?: string | null | undefined; - role: ProcessingActivityRole; - securityMeasures?: string | null | undefined; - specialOrCriminalData: ProcessingActivitySpecialOrCriminalDatum; - transferImpactAssessmentNeeded: ProcessingActivityTransferImpactAssessment; - transferSafeguards?: ProcessingActivityTransferSafeguard | null | undefined; - vendorIds?: ReadonlyArray | null | undefined; -}; -export type ProcessingActivityGraphCreateMutation$variables = { - connections: ReadonlyArray; - input: CreateProcessingActivityInput; -}; -export type ProcessingActivityGraphCreateMutation$data = { - readonly createProcessingActivity: { - readonly processingActivityEdge: { - readonly node: { - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly consentEvidenceLink: string | null | undefined; - readonly createdAt: string; - readonly dataProtectionImpactAssessmentNeeded: ProcessingActivityDataProtectionImpactAssessment; - readonly dataProtectionOfficer: { - readonly fullName: string; - readonly id: string; - } | null | undefined; - readonly dataSubjectCategory: string | null | undefined; - readonly id: string; - readonly internationalTransfers: boolean; - readonly lastReviewDate: string | null | undefined; - readonly lawfulBasis: ProcessingActivityLawfulBasis; - readonly location: string | null | undefined; - readonly name: string; - readonly nextReviewDate: string | null | undefined; - readonly personalDataCategory: string | null | undefined; - readonly purpose: string | null | undefined; - readonly recipients: string | null | undefined; - readonly retentionPeriod: string | null | undefined; - readonly role: ProcessingActivityRole; - readonly securityMeasures: string | null | undefined; - readonly specialOrCriminalData: ProcessingActivitySpecialOrCriminalDatum; - readonly transferImpactAssessmentNeeded: ProcessingActivityTransferImpactAssessment; - readonly transferSafeguards: ProcessingActivityTransferSafeguard | null | undefined; - readonly vendors: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly name: string; - readonly websiteUrl: string | null | undefined; - }; - }>; - }; - }; - }; - }; -}; -export type ProcessingActivityGraphCreateMutation = { - response: ProcessingActivityGraphCreateMutation$data; - variables: ProcessingActivityGraphCreateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -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, - "concreteType": "ProcessingActivityEdge", - "kind": "LinkedField", - "name": "processingActivityEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ProcessingActivity", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - { - "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": "dataProtectionImpactAssessmentNeeded", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "transferImpactAssessmentNeeded", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lastReviewDate", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "nextReviewDate", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "role", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "dataProtectionOfficer", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 50 - } - ], - "concreteType": "VendorConnection", - "kind": "LinkedField", - "name": "vendors", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Vendor", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "vendors(first:50)" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:processing-activity:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:processing-activity:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:processing-activity:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:processing-activity:delete\")" - } - ], - "storageKey": null - } - ], - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "ProcessingActivityGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateProcessingActivityPayload", - "kind": "LinkedField", - "name": "createProcessingActivity", - "plural": false, - "selections": [ - (v5/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "ProcessingActivityGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateProcessingActivityPayload", - "kind": "LinkedField", - "name": "createProcessingActivity", - "plural": false, - "selections": [ - (v5/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "processingActivityEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "534bd7c442063267f6556101350e0d74", - "id": null, - "metadata": {}, - "name": "ProcessingActivityGraphCreateMutation", - "operationKind": "mutation", - "text": "mutation ProcessingActivityGraphCreateMutation(\n $input: CreateProcessingActivityInput!\n) {\n createProcessingActivity(input: $input) {\n processingActivityEdge {\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 dataProtectionImpactAssessmentNeeded\n transferImpactAssessmentNeeded\n lastReviewDate\n nextReviewDate\n role\n dataProtectionOfficer {\n id\n fullName\n }\n vendors(first: 50) {\n edges {\n node {\n id\n name\n websiteUrl\n }\n }\n }\n createdAt\n canUpdate: permission(action: \"core:processing-activity:update\")\n canDelete: permission(action: \"core:processing-activity:delete\")\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "69c155bfe5b8a028d1d72c3b57d8de98"; - -export default node; diff --git a/apps/console/src/__generated__/core/ProcessingActivityGraphCreateTIAMutation.graphql.ts b/apps/console/src/__generated__/core/ProcessingActivityGraphCreateTIAMutation.graphql.ts deleted file mode 100644 index e41582114..000000000 --- a/apps/console/src/__generated__/core/ProcessingActivityGraphCreateTIAMutation.graphql.ts +++ /dev/null @@ -1,166 +0,0 @@ -/** - * @generated SignedSource<<540f500784ebd0386ced3eb31a6afa49>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type CreateTransferImpactAssessmentInput = { - dataSubjects?: string | null | undefined; - legalMechanism?: string | null | undefined; - localLawRisk?: string | null | undefined; - processingActivityId: string; - supplementaryMeasures?: string | null | undefined; - transfer?: string | null | undefined; -}; -export type ProcessingActivityGraphCreateTIAMutation$variables = { - input: CreateTransferImpactAssessmentInput; -}; -export type ProcessingActivityGraphCreateTIAMutation$data = { - readonly createTransferImpactAssessment: { - readonly transferImpactAssessment: { - readonly createdAt: string; - readonly dataSubjects: string | null | undefined; - readonly id: string; - readonly legalMechanism: string | null | undefined; - readonly localLawRisk: string | null | undefined; - readonly supplementaryMeasures: string | null | undefined; - readonly transfer: string | null | undefined; - readonly updatedAt: string; - }; - }; -}; -export type ProcessingActivityGraphCreateTIAMutation = { - response: ProcessingActivityGraphCreateTIAMutation$data; - variables: ProcessingActivityGraphCreateTIAMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "CreateTransferImpactAssessmentPayload", - "kind": "LinkedField", - "name": "createTransferImpactAssessment", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "TransferImpactAssessment", - "kind": "LinkedField", - "name": "transferImpactAssessment", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataSubjects", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "legalMechanism", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "transfer", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "localLawRisk", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "supplementaryMeasures", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "ProcessingActivityGraphCreateTIAMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "ProcessingActivityGraphCreateTIAMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "70e30255cf15b77fd95a57d6ddd50c97", - "id": null, - "metadata": {}, - "name": "ProcessingActivityGraphCreateTIAMutation", - "operationKind": "mutation", - "text": "mutation ProcessingActivityGraphCreateTIAMutation(\n $input: CreateTransferImpactAssessmentInput!\n) {\n createTransferImpactAssessment(input: $input) {\n transferImpactAssessment {\n id\n dataSubjects\n legalMechanism\n transfer\n localLawRisk\n supplementaryMeasures\n createdAt\n updatedAt\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "43e9f83c7abb5d6f4d2a394c05940fbd"; - -export default node; diff --git a/apps/console/src/__generated__/core/ProcessingActivityGraphDeleteDPIAMutation.graphql.ts b/apps/console/src/__generated__/core/ProcessingActivityGraphDeleteDPIAMutation.graphql.ts deleted file mode 100644 index 687e05649..000000000 --- a/apps/console/src/__generated__/core/ProcessingActivityGraphDeleteDPIAMutation.graphql.ts +++ /dev/null @@ -1,92 +0,0 @@ -/** - * @generated SignedSource<<2893f55249b2548256bf21cf2eb434c3>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteDataProtectionImpactAssessmentInput = { - dataProtectionImpactAssessmentId: string; -}; -export type ProcessingActivityGraphDeleteDPIAMutation$variables = { - input: DeleteDataProtectionImpactAssessmentInput; -}; -export type ProcessingActivityGraphDeleteDPIAMutation$data = { - readonly deleteDataProtectionImpactAssessment: { - readonly deletedDataProtectionImpactAssessmentId: string; - }; -}; -export type ProcessingActivityGraphDeleteDPIAMutation = { - response: ProcessingActivityGraphDeleteDPIAMutation$data; - variables: ProcessingActivityGraphDeleteDPIAMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "DeleteDataProtectionImpactAssessmentPayload", - "kind": "LinkedField", - "name": "deleteDataProtectionImpactAssessment", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedDataProtectionImpactAssessmentId", - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "ProcessingActivityGraphDeleteDPIAMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "ProcessingActivityGraphDeleteDPIAMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "6124ea356c08b9d7290082252a58c924", - "id": null, - "metadata": {}, - "name": "ProcessingActivityGraphDeleteDPIAMutation", - "operationKind": "mutation", - "text": "mutation ProcessingActivityGraphDeleteDPIAMutation(\n $input: DeleteDataProtectionImpactAssessmentInput!\n) {\n deleteDataProtectionImpactAssessment(input: $input) {\n deletedDataProtectionImpactAssessmentId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "d68710e18cf1c83f60e57e5c25808cf6"; - -export default node; diff --git a/apps/console/src/__generated__/core/ProcessingActivityGraphDeleteMutation.graphql.ts b/apps/console/src/__generated__/core/ProcessingActivityGraphDeleteMutation.graphql.ts deleted file mode 100644 index f2df500de..000000000 --- a/apps/console/src/__generated__/core/ProcessingActivityGraphDeleteMutation.graphql.ts +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteProcessingActivityInput = { - processingActivityId: string; -}; -export type ProcessingActivityGraphDeleteMutation$variables = { - connections: ReadonlyArray; - input: DeleteProcessingActivityInput; -}; -export type ProcessingActivityGraphDeleteMutation$data = { - readonly deleteProcessingActivity: { - readonly deletedProcessingActivityId: string; - }; -}; -export type ProcessingActivityGraphDeleteMutation = { - response: ProcessingActivityGraphDeleteMutation$data; - variables: ProcessingActivityGraphDeleteMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedProcessingActivityId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "ProcessingActivityGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteProcessingActivityPayload", - "kind": "LinkedField", - "name": "deleteProcessingActivity", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "ProcessingActivityGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteProcessingActivityPayload", - "kind": "LinkedField", - "name": "deleteProcessingActivity", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedProcessingActivityId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "302c79f7bfa307aa484acccab48c8591", - "id": null, - "metadata": {}, - "name": "ProcessingActivityGraphDeleteMutation", - "operationKind": "mutation", - "text": "mutation ProcessingActivityGraphDeleteMutation(\n $input: DeleteProcessingActivityInput!\n) {\n deleteProcessingActivity(input: $input) {\n deletedProcessingActivityId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "a8724b743deef9c8889ae937311338c3"; - -export default node; diff --git a/apps/console/src/__generated__/core/ProcessingActivityGraphDeleteTIAMutation.graphql.ts b/apps/console/src/__generated__/core/ProcessingActivityGraphDeleteTIAMutation.graphql.ts deleted file mode 100644 index d819f679e..000000000 --- a/apps/console/src/__generated__/core/ProcessingActivityGraphDeleteTIAMutation.graphql.ts +++ /dev/null @@ -1,92 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteTransferImpactAssessmentInput = { - transferImpactAssessmentId: string; -}; -export type ProcessingActivityGraphDeleteTIAMutation$variables = { - input: DeleteTransferImpactAssessmentInput; -}; -export type ProcessingActivityGraphDeleteTIAMutation$data = { - readonly deleteTransferImpactAssessment: { - readonly deletedTransferImpactAssessmentId: string; - }; -}; -export type ProcessingActivityGraphDeleteTIAMutation = { - response: ProcessingActivityGraphDeleteTIAMutation$data; - variables: ProcessingActivityGraphDeleteTIAMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "DeleteTransferImpactAssessmentPayload", - "kind": "LinkedField", - "name": "deleteTransferImpactAssessment", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedTransferImpactAssessmentId", - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "ProcessingActivityGraphDeleteTIAMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "ProcessingActivityGraphDeleteTIAMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "0b0fec997f13e35c70d2be48f3672546", - "id": null, - "metadata": {}, - "name": "ProcessingActivityGraphDeleteTIAMutation", - "operationKind": "mutation", - "text": "mutation ProcessingActivityGraphDeleteTIAMutation(\n $input: DeleteTransferImpactAssessmentInput!\n) {\n deleteTransferImpactAssessment(input: $input) {\n deletedTransferImpactAssessmentId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "66a5fd8da4d9b70da0b39ee335cb9b6f"; - -export default node; diff --git a/apps/console/src/__generated__/core/ProcessingActivityGraphListQuery.graphql.ts b/apps/console/src/__generated__/core/ProcessingActivityGraphListQuery.graphql.ts deleted file mode 100644 index 8f5a6c32d..000000000 --- a/apps/console/src/__generated__/core/ProcessingActivityGraphListQuery.graphql.ts +++ /dev/null @@ -1,594 +0,0 @@ -/** - * @generated SignedSource<<5c57612f8793f7b056bf0046febe42ca>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type ProcessingActivityGraphListQuery$variables = { - organizationId: string; - snapshotId?: string | null | undefined; -}; -export type ProcessingActivityGraphListQuery$data = { - readonly node: { - readonly canCreateProcessingActivity?: boolean; - readonly canExportDataProtectionImpactAssessments?: boolean; - readonly canExportProcessingActivities?: boolean; - readonly canExportTransferImpactAssessments?: boolean; - readonly " $fragmentSpreads": FragmentRefs<"ProcessingActivitiesPageDPIAFragment" | "ProcessingActivitiesPageFragment" | "ProcessingActivitiesPageTIAFragment">; - }; -}; -export type ProcessingActivityGraphListQuery = { - response: ProcessingActivityGraphListQuery$data; - variables: ProcessingActivityGraphListQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": "canCreateProcessingActivity", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:processing-activity:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:processing-activity:create\")" -}, -v3 = { - "alias": "canExportProcessingActivities", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:processing-activity:export" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:processing-activity:export\")" -}, -v4 = { - "alias": "canExportDataProtectionImpactAssessments", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:data-protection-impact-assessment:export" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:data-protection-impact-assessment:export\")" -}, -v5 = { - "alias": "canExportTransferImpactAssessments", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:transfer-impact-assessment:export" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:transfer-impact-assessment:export\")" -}, -v6 = [ - { - "kind": "Variable", - "name": "snapshotId", - "variableName": "snapshotId" - } -], -v7 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v8 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v9 = [ - { - "fields": (v6/*: any*/), - "kind": "ObjectValue", - "name": "filter" - }, - { - "kind": "Literal", - "name": "first", - "value": 10 - } -], -v10 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null -}, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v12 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null -}, -v13 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null -}, -v14 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null -}, -v15 = { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - } - ], - "storageKey": null -}, -v16 = { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] -}, -v17 = [ - "filter" -], -v18 = { - "alias": null, - "args": null, - "concreteType": "ProcessingActivity", - "kind": "LinkedField", - "name": "processingActivity", - "plural": false, - "selections": [ - (v8/*: any*/), - (v11/*: any*/) - ], - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "ProcessingActivityGraphListQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - { - "args": (v6/*: any*/), - "kind": "FragmentSpread", - "name": "ProcessingActivitiesPageFragment" - }, - { - "args": (v6/*: any*/), - "kind": "FragmentSpread", - "name": "ProcessingActivitiesPageDPIAFragment" - }, - { - "args": (v6/*: any*/), - "kind": "FragmentSpread", - "name": "ProcessingActivitiesPageTIAFragment" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "ProcessingActivityGraphListQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v7/*: any*/), - (v8/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - { - "alias": null, - "args": (v9/*: any*/), - "concreteType": "ProcessingActivityConnection", - "kind": "LinkedField", - "name": "processingActivities", - "plural": false, - "selections": [ - (v10/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "ProcessingActivityEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ProcessingActivity", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v8/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sourceId", - "storageKey": null - }, - (v11/*: any*/), - { - "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": "lawfulBasis", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "location", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "internationalTransfers", - "storageKey": null - }, - (v12/*: any*/), - (v13/*: any*/), - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:processing-activity:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:processing-activity:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:processing-activity:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:processing-activity:delete\")" - }, - (v7/*: any*/) - ], - "storageKey": null - }, - (v14/*: any*/) - ], - "storageKey": null - }, - (v15/*: any*/), - (v16/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": (v9/*: any*/), - "filters": (v17/*: any*/), - "handle": "connection", - "key": "ProcessingActivitiesPage_processingActivities", - "kind": "LinkedHandle", - "name": "processingActivities" - }, - { - "alias": null, - "args": (v9/*: any*/), - "concreteType": "DataProtectionImpactAssessmentConnection", - "kind": "LinkedField", - "name": "dataProtectionImpactAssessments", - "plural": false, - "selections": [ - (v10/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "DataProtectionImpactAssessmentEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DataProtectionImpactAssessment", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v8/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "potentialRisk", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualRisk", - "storageKey": null - }, - (v18/*: any*/), - (v12/*: any*/), - (v13/*: any*/), - (v7/*: any*/) - ], - "storageKey": null - }, - (v14/*: any*/) - ], - "storageKey": null - }, - (v15/*: any*/), - (v16/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": (v9/*: any*/), - "filters": (v17/*: any*/), - "handle": "connection", - "key": "ProcessingActivitiesPage_dataProtectionImpactAssessments", - "kind": "LinkedHandle", - "name": "dataProtectionImpactAssessments" - }, - { - "alias": null, - "args": (v9/*: any*/), - "concreteType": "TransferImpactAssessmentConnection", - "kind": "LinkedField", - "name": "transferImpactAssessments", - "plural": false, - "selections": [ - (v10/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "TransferImpactAssessmentEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "TransferImpactAssessment", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v8/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataSubjects", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "transfer", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "localLawRisk", - "storageKey": null - }, - (v18/*: any*/), - (v12/*: any*/), - (v13/*: any*/), - (v7/*: any*/) - ], - "storageKey": null - }, - (v14/*: any*/) - ], - "storageKey": null - }, - (v15/*: any*/), - (v16/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": (v9/*: any*/), - "filters": (v17/*: any*/), - "handle": "connection", - "key": "ProcessingActivitiesPage_transferImpactAssessments", - "kind": "LinkedHandle", - "name": "transferImpactAssessments" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "84a26e65e3de62f76f034786cf174f80", - "id": null, - "metadata": {}, - "name": "ProcessingActivityGraphListQuery", - "operationKind": "query", - "text": "query ProcessingActivityGraphListQuery(\n $organizationId: ID!\n $snapshotId: ID\n) {\n node(id: $organizationId) {\n __typename\n ... on Organization {\n canCreateProcessingActivity: permission(action: \"core:processing-activity:create\")\n canExportProcessingActivities: permission(action: \"core:processing-activity:export\")\n canExportDataProtectionImpactAssessments: permission(action: \"core:data-protection-impact-assessment:export\")\n canExportTransferImpactAssessments: permission(action: \"core:transfer-impact-assessment:export\")\n ...ProcessingActivitiesPageFragment_3iomuz\n ...ProcessingActivitiesPageDPIAFragment_3iomuz\n ...ProcessingActivitiesPageTIAFragment_3iomuz\n }\n id\n }\n}\n\nfragment ProcessingActivitiesPageDPIAFragment_3iomuz on Organization {\n id\n dataProtectionImpactAssessments(first: 10, filter: {snapshotId: $snapshotId}) {\n totalCount\n edges {\n node {\n id\n description\n potentialRisk\n residualRisk\n processingActivity {\n id\n name\n }\n createdAt\n updatedAt\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n\nfragment ProcessingActivitiesPageFragment_3iomuz on Organization {\n id\n processingActivities(first: 10, filter: {snapshotId: $snapshotId}) {\n totalCount\n edges {\n node {\n id\n snapshotId\n sourceId\n name\n purpose\n dataSubjectCategory\n personalDataCategory\n lawfulBasis\n location\n internationalTransfers\n createdAt\n updatedAt\n canUpdate: permission(action: \"core:processing-activity:update\")\n canDelete: permission(action: \"core:processing-activity:delete\")\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n\nfragment ProcessingActivitiesPageTIAFragment_3iomuz on Organization {\n id\n transferImpactAssessments(first: 10, filter: {snapshotId: $snapshotId}) {\n totalCount\n edges {\n node {\n id\n dataSubjects\n transfer\n localLawRisk\n processingActivity {\n id\n name\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 = "6efb688e3142c0eceb054ded9df044de"; - -export default node; diff --git a/apps/console/src/__generated__/core/ProcessingActivityGraphNodeQuery.graphql.ts b/apps/console/src/__generated__/core/ProcessingActivityGraphNodeQuery.graphql.ts deleted file mode 100644 index b02261163..000000000 --- a/apps/console/src/__generated__/core/ProcessingActivityGraphNodeQuery.graphql.ts +++ /dev/null @@ -1,695 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DataProtectionImpactAssessmentResidualRisk = "HIGH" | "LOW" | "MEDIUM"; -export type ProcessingActivityDataProtectionImpactAssessment = "NEEDED" | "NOT_NEEDED"; -export type ProcessingActivityLawfulBasis = "CONSENT" | "CONTRACTUAL_NECESSITY" | "LEGAL_OBLIGATION" | "LEGITIMATE_INTEREST" | "PUBLIC_TASK" | "VITAL_INTERESTS"; -export type ProcessingActivityRole = "CONTROLLER" | "PROCESSOR"; -export type ProcessingActivitySpecialOrCriminalDatum = "NO" | "POSSIBLE" | "YES"; -export type ProcessingActivityTransferImpactAssessment = "NEEDED" | "NOT_NEEDED"; -export type ProcessingActivityTransferSafeguard = "ADEQUACY_DECISION" | "BINDING_CORPORATE_RULES" | "CERTIFICATION_MECHANISMS" | "CODES_OF_CONDUCT" | "DEROGATIONS" | "STANDARD_CONTRACTUAL_CLAUSES"; -export type VendorCategory = "ANALYTICS" | "CLOUD_MONITORING" | "CLOUD_PROVIDER" | "COLLABORATION" | "CUSTOMER_SUPPORT" | "DATA_STORAGE_AND_PROCESSING" | "DOCUMENT_MANAGEMENT" | "EMPLOYEE_MANAGEMENT" | "ENGINEERING" | "FINANCE" | "IDENTITY_PROVIDER" | "IT" | "MARKETING" | "OFFICE_OPERATIONS" | "OTHER" | "PASSWORD_MANAGEMENT" | "PRODUCT_AND_DESIGN" | "PROFESSIONAL_SERVICES" | "RECRUITING" | "SALES" | "SECURITY" | "VERSION_CONTROL"; -export type ProcessingActivityGraphNodeQuery$variables = { - processingActivityId: string; -}; -export type ProcessingActivityGraphNodeQuery$data = { - readonly node: { - readonly canCreateDPIA?: boolean; - readonly canCreateTIA?: boolean; - readonly canDelete?: boolean; - readonly canUpdate?: boolean; - readonly consentEvidenceLink?: string | null | undefined; - readonly createdAt?: string; - readonly dataProtectionImpactAssessment?: { - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly createdAt: string; - readonly description: string | null | undefined; - readonly id: string; - readonly mitigations: string | null | undefined; - readonly necessityAndProportionality: string | null | undefined; - readonly potentialRisk: string | null | undefined; - readonly residualRisk: DataProtectionImpactAssessmentResidualRisk | null | undefined; - readonly updatedAt: string; - } | null | undefined; - readonly dataProtectionImpactAssessmentNeeded?: ProcessingActivityDataProtectionImpactAssessment; - readonly dataProtectionOfficer?: { - readonly fullName: string; - readonly id: string; - } | null | undefined; - readonly dataSubjectCategory?: string | null | undefined; - readonly id?: string; - readonly internationalTransfers?: boolean; - readonly lastReviewDate?: string | null | undefined; - readonly lawfulBasis?: ProcessingActivityLawfulBasis; - readonly location?: string | null | undefined; - readonly name?: string; - readonly nextReviewDate?: string | null | undefined; - readonly organization?: { - readonly id: string; - readonly name: string; - }; - readonly personalDataCategory?: string | null | undefined; - readonly purpose?: string | null | undefined; - readonly recipients?: string | null | undefined; - readonly retentionPeriod?: string | null | undefined; - readonly role?: ProcessingActivityRole; - readonly securityMeasures?: string | null | undefined; - readonly snapshotId?: string | null | undefined; - readonly specialOrCriminalData?: ProcessingActivitySpecialOrCriminalDatum; - readonly transferImpactAssessment?: { - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly createdAt: string; - readonly dataSubjects: string | null | undefined; - readonly id: string; - readonly legalMechanism: string | null | undefined; - readonly localLawRisk: string | null | undefined; - readonly supplementaryMeasures: string | null | undefined; - readonly transfer: string | null | undefined; - readonly updatedAt: string; - } | null | undefined; - readonly transferImpactAssessmentNeeded?: ProcessingActivityTransferImpactAssessment; - readonly transferSafeguards?: ProcessingActivityTransferSafeguard | null | undefined; - readonly updatedAt?: string; - readonly vendors?: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly category: VendorCategory; - readonly id: string; - readonly name: string; - readonly websiteUrl: string | null | undefined; - }; - }>; - }; - }; -}; -export type ProcessingActivityGraphNodeQuery = { - response: ProcessingActivityGraphNodeQuery$data; - variables: ProcessingActivityGraphNodeQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "processingActivityId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "processingActivityId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "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": "dataProtectionImpactAssessmentNeeded", - "storageKey": null -}, -v18 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "transferImpactAssessmentNeeded", - "storageKey": null -}, -v19 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lastReviewDate", - "storageKey": null -}, -v20 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "nextReviewDate", - "storageKey": null -}, -v21 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "role", - "storageKey": null -}, -v22 = { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "dataProtectionOfficer", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null -}, -v23 = { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 50 - } - ], - "concreteType": "VendorConnection", - "kind": "LinkedField", - "name": "vendors", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Vendor", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v4/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "category", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "vendors(first:50)" -}, -v24 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null -}, -v25 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null -}, -v26 = { - "alias": null, - "args": null, - "concreteType": "DataProtectionImpactAssessment", - "kind": "LinkedField", - "name": "dataProtectionImpactAssessment", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "necessityAndProportionality", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "potentialRisk", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "mitigations", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualRisk", - "storageKey": null - }, - (v24/*: any*/), - (v25/*: any*/), - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:data-protection-impact-assessment:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:data-protection-impact-assessment:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:data-protection-impact-assessment:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:data-protection-impact-assessment:delete\")" - } - ], - "storageKey": null -}, -v27 = { - "alias": null, - "args": null, - "concreteType": "TransferImpactAssessment", - "kind": "LinkedField", - "name": "transferImpactAssessment", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataSubjects", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "legalMechanism", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "transfer", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "localLawRisk", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "supplementaryMeasures", - "storageKey": null - }, - (v24/*: any*/), - (v25/*: any*/), - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:transfer-impact-assessment:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:transfer-impact-assessment:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:transfer-impact-assessment:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:transfer-impact-assessment:delete\")" - } - ], - "storageKey": null -}, -v28 = { - "alias": null, - "args": null, - "concreteType": "Organization", - "kind": "LinkedField", - "name": "organization", - "plural": false, - "selections": [ - (v2/*: any*/), - (v4/*: any*/) - ], - "storageKey": null -}, -v29 = { - "alias": "canCreateDPIA", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:data-protection-impact-assessment:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:data-protection-impact-assessment:create\")" -}, -v30 = { - "alias": "canCreateTIA", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:transfer-impact-assessment:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:transfer-impact-assessment:create\")" -}, -v31 = { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:processing-activity:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:processing-activity:update\")" -}, -v32 = { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:processing-activity:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:processing-activity:delete\")" -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "ProcessingActivityGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - (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*/), - (v19/*: any*/), - (v20/*: any*/), - (v21/*: any*/), - (v22/*: any*/), - (v23/*: any*/), - (v26/*: any*/), - (v27/*: any*/), - (v28/*: any*/), - (v24/*: any*/), - (v25/*: any*/), - (v29/*: any*/), - (v30/*: any*/), - (v31/*: any*/), - (v32/*: any*/) - ], - "type": "ProcessingActivity", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "ProcessingActivityGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - (v2/*: any*/), - { - "kind": "InlineFragment", - "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*/), - (v19/*: any*/), - (v20/*: any*/), - (v21/*: any*/), - (v22/*: any*/), - (v23/*: any*/), - (v26/*: any*/), - (v27/*: any*/), - (v28/*: any*/), - (v24/*: any*/), - (v25/*: any*/), - (v29/*: any*/), - (v30/*: any*/), - (v31/*: any*/), - (v32/*: any*/) - ], - "type": "ProcessingActivity", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "29bddd12b9399a78fb24420f11b6d56d", - "id": null, - "metadata": {}, - "name": "ProcessingActivityGraphNodeQuery", - "operationKind": "query", - "text": "query ProcessingActivityGraphNodeQuery(\n $processingActivityId: ID!\n) {\n node(id: $processingActivityId) {\n __typename\n ... on ProcessingActivity {\n id\n snapshotId\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 dataProtectionImpactAssessmentNeeded\n transferImpactAssessmentNeeded\n lastReviewDate\n nextReviewDate\n role\n dataProtectionOfficer {\n id\n fullName\n }\n vendors(first: 50) {\n edges {\n node {\n id\n name\n websiteUrl\n category\n }\n }\n }\n dataProtectionImpactAssessment {\n id\n description\n necessityAndProportionality\n potentialRisk\n mitigations\n residualRisk\n createdAt\n updatedAt\n canUpdate: permission(action: \"core:data-protection-impact-assessment:update\")\n canDelete: permission(action: \"core:data-protection-impact-assessment:delete\")\n }\n transferImpactAssessment {\n id\n dataSubjects\n legalMechanism\n transfer\n localLawRisk\n supplementaryMeasures\n createdAt\n updatedAt\n canUpdate: permission(action: \"core:transfer-impact-assessment:update\")\n canDelete: permission(action: \"core:transfer-impact-assessment:delete\")\n }\n organization {\n id\n name\n }\n createdAt\n updatedAt\n canCreateDPIA: permission(action: \"core:data-protection-impact-assessment:create\")\n canCreateTIA: permission(action: \"core:transfer-impact-assessment:create\")\n canUpdate: permission(action: \"core:processing-activity:update\")\n canDelete: permission(action: \"core:processing-activity:delete\")\n }\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "d670e7ec4d612b19532332247c8c1f8f"; - -export default node; diff --git a/apps/console/src/__generated__/core/ProcessingActivityGraphUpdateDPIAMutation.graphql.ts b/apps/console/src/__generated__/core/ProcessingActivityGraphUpdateDPIAMutation.graphql.ts deleted file mode 100644 index 53fbc6a26..000000000 --- a/apps/console/src/__generated__/core/ProcessingActivityGraphUpdateDPIAMutation.graphql.ts +++ /dev/null @@ -1,167 +0,0 @@ -/** - * @generated SignedSource<<9bd2a9a518e61ab378f74e7fd2521a01>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DataProtectionImpactAssessmentResidualRisk = "HIGH" | "LOW" | "MEDIUM"; -export type UpdateDataProtectionImpactAssessmentInput = { - description?: string | null | undefined; - id: string; - mitigations?: string | null | undefined; - necessityAndProportionality?: string | null | undefined; - potentialRisk?: string | null | undefined; - residualRisk?: DataProtectionImpactAssessmentResidualRisk | null | undefined; -}; -export type ProcessingActivityGraphUpdateDPIAMutation$variables = { - input: UpdateDataProtectionImpactAssessmentInput; -}; -export type ProcessingActivityGraphUpdateDPIAMutation$data = { - readonly updateDataProtectionImpactAssessment: { - readonly dataProtectionImpactAssessment: { - readonly createdAt: string; - readonly description: string | null | undefined; - readonly id: string; - readonly mitigations: string | null | undefined; - readonly necessityAndProportionality: string | null | undefined; - readonly potentialRisk: string | null | undefined; - readonly residualRisk: DataProtectionImpactAssessmentResidualRisk | null | undefined; - readonly updatedAt: string; - }; - }; -}; -export type ProcessingActivityGraphUpdateDPIAMutation = { - response: ProcessingActivityGraphUpdateDPIAMutation$data; - variables: ProcessingActivityGraphUpdateDPIAMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UpdateDataProtectionImpactAssessmentPayload", - "kind": "LinkedField", - "name": "updateDataProtectionImpactAssessment", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DataProtectionImpactAssessment", - "kind": "LinkedField", - "name": "dataProtectionImpactAssessment", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "necessityAndProportionality", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "potentialRisk", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "mitigations", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualRisk", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "ProcessingActivityGraphUpdateDPIAMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "ProcessingActivityGraphUpdateDPIAMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "8209c5674c73064b76e46b67c017b5fa", - "id": null, - "metadata": {}, - "name": "ProcessingActivityGraphUpdateDPIAMutation", - "operationKind": "mutation", - "text": "mutation ProcessingActivityGraphUpdateDPIAMutation(\n $input: UpdateDataProtectionImpactAssessmentInput!\n) {\n updateDataProtectionImpactAssessment(input: $input) {\n dataProtectionImpactAssessment {\n id\n description\n necessityAndProportionality\n potentialRisk\n mitigations\n residualRisk\n createdAt\n updatedAt\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "9b03511f95fd87aafd075b66fd82184c"; - -export default node; diff --git a/apps/console/src/__generated__/core/ProcessingActivityGraphUpdateMutation.graphql.ts b/apps/console/src/__generated__/core/ProcessingActivityGraphUpdateMutation.graphql.ts deleted file mode 100644 index 071696288..000000000 --- a/apps/console/src/__generated__/core/ProcessingActivityGraphUpdateMutation.graphql.ts +++ /dev/null @@ -1,365 +0,0 @@ -/** - * @generated SignedSource<<3c389bd21593ce8129cdfca360d3a89d>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type ProcessingActivityDataProtectionImpactAssessment = "NEEDED" | "NOT_NEEDED"; -export type ProcessingActivityLawfulBasis = "CONSENT" | "CONTRACTUAL_NECESSITY" | "LEGAL_OBLIGATION" | "LEGITIMATE_INTEREST" | "PUBLIC_TASK" | "VITAL_INTERESTS"; -export type ProcessingActivityRole = "CONTROLLER" | "PROCESSOR"; -export type ProcessingActivitySpecialOrCriminalDatum = "NO" | "POSSIBLE" | "YES"; -export type ProcessingActivityTransferImpactAssessment = "NEEDED" | "NOT_NEEDED"; -export type ProcessingActivityTransferSafeguard = "ADEQUACY_DECISION" | "BINDING_CORPORATE_RULES" | "CERTIFICATION_MECHANISMS" | "CODES_OF_CONDUCT" | "DEROGATIONS" | "STANDARD_CONTRACTUAL_CLAUSES"; -export type UpdateProcessingActivityInput = { - consentEvidenceLink?: string | null | undefined; - dataProtectionImpactAssessmentNeeded?: ProcessingActivityDataProtectionImpactAssessment | null | undefined; - dataProtectionOfficerId?: string | null | undefined; - dataSubjectCategory?: string | null | undefined; - id: string; - internationalTransfers?: boolean | null | undefined; - lastReviewDate?: string | null | undefined; - lawfulBasis?: ProcessingActivityLawfulBasis | null | undefined; - location?: string | null | undefined; - name?: string | null | undefined; - nextReviewDate?: string | null | undefined; - personalDataCategory?: string | null | undefined; - purpose?: string | null | undefined; - recipients?: string | null | undefined; - retentionPeriod?: string | null | undefined; - role?: ProcessingActivityRole | null | undefined; - securityMeasures?: string | null | undefined; - specialOrCriminalData?: ProcessingActivitySpecialOrCriminalDatum | null | undefined; - transferImpactAssessmentNeeded?: ProcessingActivityTransferImpactAssessment | null | undefined; - transferSafeguards?: ProcessingActivityTransferSafeguard | null | undefined; - vendorIds?: ReadonlyArray | null | undefined; -}; -export type ProcessingActivityGraphUpdateMutation$variables = { - input: UpdateProcessingActivityInput; -}; -export type ProcessingActivityGraphUpdateMutation$data = { - readonly updateProcessingActivity: { - readonly processingActivity: { - readonly consentEvidenceLink: string | null | undefined; - readonly dataProtectionImpactAssessmentNeeded: ProcessingActivityDataProtectionImpactAssessment; - readonly dataProtectionOfficer: { - readonly fullName: string; - readonly id: string; - } | null | undefined; - readonly dataSubjectCategory: string | null | undefined; - readonly id: string; - readonly internationalTransfers: boolean; - readonly lastReviewDate: string | null | undefined; - readonly lawfulBasis: ProcessingActivityLawfulBasis; - readonly location: string | null | undefined; - readonly name: string; - readonly nextReviewDate: string | null | undefined; - readonly personalDataCategory: string | null | undefined; - readonly purpose: string | null | undefined; - readonly recipients: string | null | undefined; - readonly retentionPeriod: string | null | undefined; - readonly role: ProcessingActivityRole; - readonly securityMeasures: string | null | undefined; - readonly specialOrCriminalData: ProcessingActivitySpecialOrCriminalDatum; - readonly transferImpactAssessmentNeeded: ProcessingActivityTransferImpactAssessment; - readonly transferSafeguards: ProcessingActivityTransferSafeguard | null | undefined; - readonly updatedAt: string; - readonly vendors: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly name: string; - readonly websiteUrl: string | null | undefined; - }; - }>; - }; - }; - }; -}; -export type ProcessingActivityGraphUpdateMutation = { - response: ProcessingActivityGraphUpdateMutation$data; - variables: ProcessingActivityGraphUpdateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v3 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UpdateProcessingActivityPayload", - "kind": "LinkedField", - "name": "updateProcessingActivity", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ProcessingActivity", - "kind": "LinkedField", - "name": "processingActivity", - "plural": false, - "selections": [ - (v1/*: any*/), - (v2/*: any*/), - { - "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": "dataProtectionImpactAssessmentNeeded", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "transferImpactAssessmentNeeded", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lastReviewDate", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "nextReviewDate", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "role", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "dataProtectionOfficer", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 50 - } - ], - "concreteType": "VendorConnection", - "kind": "LinkedField", - "name": "vendors", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Vendor", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "vendors(first:50)" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "ProcessingActivityGraphUpdateMutation", - "selections": (v3/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "ProcessingActivityGraphUpdateMutation", - "selections": (v3/*: any*/) - }, - "params": { - "cacheID": "9df89e1a1b2eb8ee2b031a21c42dbea5", - "id": null, - "metadata": {}, - "name": "ProcessingActivityGraphUpdateMutation", - "operationKind": "mutation", - "text": "mutation ProcessingActivityGraphUpdateMutation(\n $input: UpdateProcessingActivityInput!\n) {\n updateProcessingActivity(input: $input) {\n processingActivity {\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 dataProtectionImpactAssessmentNeeded\n transferImpactAssessmentNeeded\n lastReviewDate\n nextReviewDate\n role\n dataProtectionOfficer {\n id\n fullName\n }\n vendors(first: 50) {\n edges {\n node {\n id\n name\n websiteUrl\n }\n }\n }\n updatedAt\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "b290e0aeeb96b3ca94e0002b50830611"; - -export default node; diff --git a/apps/console/src/__generated__/core/ProcessingActivityGraphUpdateTIAMutation.graphql.ts b/apps/console/src/__generated__/core/ProcessingActivityGraphUpdateTIAMutation.graphql.ts deleted file mode 100644 index a2b9fc0d8..000000000 --- a/apps/console/src/__generated__/core/ProcessingActivityGraphUpdateTIAMutation.graphql.ts +++ /dev/null @@ -1,166 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type UpdateTransferImpactAssessmentInput = { - dataSubjects?: string | null | undefined; - id: string; - legalMechanism?: string | null | undefined; - localLawRisk?: string | null | undefined; - supplementaryMeasures?: string | null | undefined; - transfer?: string | null | undefined; -}; -export type ProcessingActivityGraphUpdateTIAMutation$variables = { - input: UpdateTransferImpactAssessmentInput; -}; -export type ProcessingActivityGraphUpdateTIAMutation$data = { - readonly updateTransferImpactAssessment: { - readonly transferImpactAssessment: { - readonly createdAt: string; - readonly dataSubjects: string | null | undefined; - readonly id: string; - readonly legalMechanism: string | null | undefined; - readonly localLawRisk: string | null | undefined; - readonly supplementaryMeasures: string | null | undefined; - readonly transfer: string | null | undefined; - readonly updatedAt: string; - }; - }; -}; -export type ProcessingActivityGraphUpdateTIAMutation = { - response: ProcessingActivityGraphUpdateTIAMutation$data; - variables: ProcessingActivityGraphUpdateTIAMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UpdateTransferImpactAssessmentPayload", - "kind": "LinkedField", - "name": "updateTransferImpactAssessment", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "TransferImpactAssessment", - "kind": "LinkedField", - "name": "transferImpactAssessment", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataSubjects", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "legalMechanism", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "transfer", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "localLawRisk", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "supplementaryMeasures", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "ProcessingActivityGraphUpdateTIAMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "ProcessingActivityGraphUpdateTIAMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "bf5b4de5fd040e63ff654b41532ba6fb", - "id": null, - "metadata": {}, - "name": "ProcessingActivityGraphUpdateTIAMutation", - "operationKind": "mutation", - "text": "mutation ProcessingActivityGraphUpdateTIAMutation(\n $input: UpdateTransferImpactAssessmentInput!\n) {\n updateTransferImpactAssessment(input: $input) {\n transferImpactAssessment {\n id\n dataSubjects\n legalMechanism\n transfer\n localLawRisk\n supplementaryMeasures\n createdAt\n updatedAt\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "2a94ca65e0c62ac9947027dfb60cc916"; - -export default node; diff --git a/apps/console/src/__generated__/core/PublishDocumentsDialogMutation.graphql.ts b/apps/console/src/__generated__/core/PublishDocumentsDialogMutation.graphql.ts deleted file mode 100644 index 9f71a8823..000000000 --- a/apps/console/src/__generated__/core/PublishDocumentsDialogMutation.graphql.ts +++ /dev/null @@ -1,330 +0,0 @@ -/** - * @generated SignedSource<<032b44ec9c5c4d5fc0281269dad54098>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type BulkPublishDocumentVersionsInput = { - changelog: string; - documentIds: ReadonlyArray; -}; -export type PublishDocumentsDialogMutation$variables = { - input: BulkPublishDocumentVersionsInput; -}; -export type PublishDocumentsDialogMutation$data = { - readonly bulkPublishDocumentVersions: { - readonly documentEdges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"DocumentsPageRowFragment">; - }; - }>; - }; -}; -export type PublishDocumentsDialogMutation = { - response: PublishDocumentsDialogMutation$data; - variables: PublishDocumentsDialogMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "PublishDocumentsDialogMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "BulkPublishDocumentVersionsPayload", - "kind": "LinkedField", - "name": "bulkPublishDocumentVersions", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentEdge", - "kind": "LinkedField", - "name": "documentEdges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Document", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "DocumentsPageRowFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "PublishDocumentsDialogMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "BulkPublishDocumentVersionsPayload", - "kind": "LinkedField", - "name": "bulkPublishDocumentVersions", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentEdge", - "kind": "LinkedField", - "name": "documentEdges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Document", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "title", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "documentType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "classification", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document:delete\")" - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 1 - } - ], - "concreteType": "DocumentVersionConnection", - "kind": "LinkedField", - "name": "versions", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersion", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "version", - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 1000 - } - ], - "concreteType": "DocumentVersionSignatureConnection", - "kind": "LinkedField", - "name": "signatures", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionSignatureEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionSignature", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "signatures(first:1000)" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "versions(first:1)" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "56634e96a607e273bf269d4720cd75d9", - "id": null, - "metadata": {}, - "name": "PublishDocumentsDialogMutation", - "operationKind": "mutation", - "text": "mutation PublishDocumentsDialogMutation(\n $input: BulkPublishDocumentVersionsInput!\n) {\n bulkPublishDocumentVersions(input: $input) {\n documentEdges {\n node {\n id\n ...DocumentsPageRowFragment\n }\n }\n }\n}\n\nfragment DocumentsPageRowFragment on Document {\n id\n title\n description\n documentType\n classification\n updatedAt\n canDelete: permission(action: \"core:document:delete\")\n owner {\n id\n fullName\n }\n versions(first: 1) {\n edges {\n node {\n id\n status\n version\n signatures(first: 1000) {\n edges {\n node {\n id\n state\n }\n }\n }\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "c9d699258bb8638d5474ab5e6b5e4585"; - -export default node; diff --git a/apps/console/src/__generated__/core/RightsRequestGraphCreateMutation.graphql.ts b/apps/console/src/__generated__/core/RightsRequestGraphCreateMutation.graphql.ts deleted file mode 100644 index b7f2b97bf..000000000 --- a/apps/console/src/__generated__/core/RightsRequestGraphCreateMutation.graphql.ts +++ /dev/null @@ -1,231 +0,0 @@ -/** - * @generated SignedSource<<77e3b75def25c670d0c069140d111507>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type RightsRequestState = "DONE" | "IN_PROGRESS" | "TODO"; -export type RightsRequestType = "ACCESS" | "DELETION" | "PORTABILITY"; -export type CreateRightsRequestInput = { - actionTaken?: string | null | undefined; - contact?: string | null | undefined; - dataSubject?: string | null | undefined; - deadline?: string | null | undefined; - details?: string | null | undefined; - organizationId: string; - requestState: RightsRequestState; - requestType: RightsRequestType; -}; -export type RightsRequestGraphCreateMutation$variables = { - connections: ReadonlyArray; - input: CreateRightsRequestInput; -}; -export type RightsRequestGraphCreateMutation$data = { - readonly createRightsRequest: { - readonly rightsRequestEdge: { - readonly node: { - readonly actionTaken: string | null | undefined; - readonly contact: string | null | undefined; - readonly createdAt: string; - readonly dataSubject: string | null | undefined; - readonly deadline: string | null | undefined; - readonly details: string | null | undefined; - readonly id: string; - readonly requestState: RightsRequestState; - readonly requestType: RightsRequestType; - }; - }; - }; -}; -export type RightsRequestGraphCreateMutation = { - response: RightsRequestGraphCreateMutation$data; - variables: RightsRequestGraphCreateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "concreteType": "RightsRequestEdge", - "kind": "LinkedField", - "name": "rightsRequestEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "RightsRequest", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "requestType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "requestState", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataSubject", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "contact", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "details", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deadline", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "actionTaken", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "RightsRequestGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateRightsRequestPayload", - "kind": "LinkedField", - "name": "createRightsRequest", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "RightsRequestGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateRightsRequestPayload", - "kind": "LinkedField", - "name": "createRightsRequest", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "rightsRequestEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "2642d9a5f58aa90190df6ccf73e6e06f", - "id": null, - "metadata": {}, - "name": "RightsRequestGraphCreateMutation", - "operationKind": "mutation", - "text": "mutation RightsRequestGraphCreateMutation(\n $input: CreateRightsRequestInput!\n) {\n createRightsRequest(input: $input) {\n rightsRequestEdge {\n node {\n id\n requestType\n requestState\n dataSubject\n contact\n details\n deadline\n actionTaken\n createdAt\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "98fa74d3219cf56655e74441af4dc01d"; - -export default node; diff --git a/apps/console/src/__generated__/core/RightsRequestGraphDeleteMutation.graphql.ts b/apps/console/src/__generated__/core/RightsRequestGraphDeleteMutation.graphql.ts deleted file mode 100644 index cd9c420da..000000000 --- a/apps/console/src/__generated__/core/RightsRequestGraphDeleteMutation.graphql.ts +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @generated SignedSource<<274e16758d468bf7fb911965acca3264>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteRightsRequestInput = { - rightsRequestId: string; -}; -export type RightsRequestGraphDeleteMutation$variables = { - connections: ReadonlyArray; - input: DeleteRightsRequestInput; -}; -export type RightsRequestGraphDeleteMutation$data = { - readonly deleteRightsRequest: { - readonly deletedRightsRequestId: string; - }; -}; -export type RightsRequestGraphDeleteMutation = { - response: RightsRequestGraphDeleteMutation$data; - variables: RightsRequestGraphDeleteMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedRightsRequestId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "RightsRequestGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteRightsRequestPayload", - "kind": "LinkedField", - "name": "deleteRightsRequest", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "RightsRequestGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteRightsRequestPayload", - "kind": "LinkedField", - "name": "deleteRightsRequest", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedRightsRequestId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "c81b44380a4647a241c72fe1ca359246", - "id": null, - "metadata": {}, - "name": "RightsRequestGraphDeleteMutation", - "operationKind": "mutation", - "text": "mutation RightsRequestGraphDeleteMutation(\n $input: DeleteRightsRequestInput!\n) {\n deleteRightsRequest(input: $input) {\n deletedRightsRequestId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "e657b62ad808fa4fd5902cf4eea4ca3b"; - -export default node; diff --git a/apps/console/src/__generated__/core/RightsRequestGraphListQuery.graphql.ts b/apps/console/src/__generated__/core/RightsRequestGraphListQuery.graphql.ts deleted file mode 100644 index 00fc61bab..000000000 --- a/apps/console/src/__generated__/core/RightsRequestGraphListQuery.graphql.ts +++ /dev/null @@ -1,337 +0,0 @@ -/** - * @generated SignedSource<<5eff506b761b5790caf4b18a51cf2a88>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type RightsRequestGraphListQuery$variables = { - organizationId: string; -}; -export type RightsRequestGraphListQuery$data = { - readonly node: { - readonly canCreateRightsRequest?: boolean; - readonly " $fragmentSpreads": FragmentRefs<"RightsRequestsPageFragment">; - }; -}; -export type RightsRequestGraphListQuery = { - response: RightsRequestGraphListQuery$data; - variables: RightsRequestGraphListQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": "canCreateRightsRequest", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:rights-request:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:rights-request:create\")" -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v5 = [ - { - "kind": "Literal", - "name": "first", - "value": 10 - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "RightsRequestGraphListQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "RightsRequestsPageFragment" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "RightsRequestGraphListQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": (v5/*: any*/), - "concreteType": "RightsRequestConnection", - "kind": "LinkedField", - "name": "rightsRequests", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "RightsRequestEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "RightsRequest", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v4/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "requestType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "requestState", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataSubject", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "contact", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "details", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deadline", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "actionTaken", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:rights-request:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:rights-request:delete\")" - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:rights-request:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:rights-request:update\")" - }, - (v3/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": "rightsRequests(first:10)" - }, - { - "alias": null, - "args": (v5/*: any*/), - "filters": null, - "handle": "connection", - "key": "RightsRequestsPage_rightsRequests", - "kind": "LinkedHandle", - "name": "rightsRequests" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "6bc485c10a9531beeb67aa6ff28a7ddc", - "id": null, - "metadata": {}, - "name": "RightsRequestGraphListQuery", - "operationKind": "query", - "text": "query RightsRequestGraphListQuery(\n $organizationId: ID!\n) {\n node(id: $organizationId) {\n __typename\n ... on Organization {\n canCreateRightsRequest: permission(action: \"core:rights-request:create\")\n ...RightsRequestsPageFragment\n }\n id\n }\n}\n\nfragment RightsRequestsPageFragment on Organization {\n id\n rightsRequests(first: 10) {\n totalCount\n edges {\n node {\n id\n requestType\n requestState\n dataSubject\n contact\n details\n deadline\n actionTaken\n createdAt\n updatedAt\n canDelete: permission(action: \"core:rights-request:delete\")\n canUpdate: permission(action: \"core:rights-request:update\")\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "0ec5bfd82df0184daee8f615b55f9b5b"; - -export default node; diff --git a/apps/console/src/__generated__/core/RightsRequestGraphNodeQuery.graphql.ts b/apps/console/src/__generated__/core/RightsRequestGraphNodeQuery.graphql.ts deleted file mode 100644 index 518b94bc4..000000000 --- a/apps/console/src/__generated__/core/RightsRequestGraphNodeQuery.graphql.ts +++ /dev/null @@ -1,273 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type RightsRequestState = "DONE" | "IN_PROGRESS" | "TODO"; -export type RightsRequestType = "ACCESS" | "DELETION" | "PORTABILITY"; -export type RightsRequestGraphNodeQuery$variables = { - rightsRequestId: string; -}; -export type RightsRequestGraphNodeQuery$data = { - readonly node: { - readonly actionTaken?: string | null | undefined; - readonly canDelete?: boolean; - readonly canUpdate?: boolean; - readonly contact?: string | null | undefined; - readonly createdAt?: string; - readonly dataSubject?: string | null | undefined; - readonly deadline?: string | null | undefined; - readonly details?: string | null | undefined; - readonly id?: string; - readonly organization?: { - readonly id: string; - readonly name: string; - }; - readonly requestState?: RightsRequestState; - readonly requestType?: RightsRequestType; - readonly updatedAt?: string; - }; -}; -export type RightsRequestGraphNodeQuery = { - response: RightsRequestGraphNodeQuery$data; - variables: RightsRequestGraphNodeQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "rightsRequestId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "rightsRequestId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "requestType", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "requestState", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataSubject", - "storageKey": null -}, -v6 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "contact", - "storageKey": null -}, -v7 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "details", - "storageKey": null -}, -v8 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deadline", - "storageKey": null -}, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "actionTaken", - "storageKey": null -}, -v10 = { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:rights-request:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:rights-request:update\")" -}, -v11 = { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:rights-request:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:rights-request:delete\")" -}, -v12 = { - "alias": null, - "args": null, - "concreteType": "Organization", - "kind": "LinkedField", - "name": "organization", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - } - ], - "storageKey": null -}, -v13 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null -}, -v14 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "RightsRequestGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v12/*: any*/), - (v13/*: any*/), - (v14/*: any*/) - ], - "type": "RightsRequest", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "RightsRequestGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - (v2/*: any*/), - { - "kind": "InlineFragment", - "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*/) - ], - "type": "RightsRequest", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "ee78ca5ffa5a944254f733bfefdfbfab", - "id": null, - "metadata": {}, - "name": "RightsRequestGraphNodeQuery", - "operationKind": "query", - "text": "query RightsRequestGraphNodeQuery(\n $rightsRequestId: ID!\n) {\n node(id: $rightsRequestId) {\n __typename\n ... on RightsRequest {\n id\n requestType\n requestState\n dataSubject\n contact\n details\n deadline\n actionTaken\n canUpdate: permission(action: \"core:rights-request:update\")\n canDelete: permission(action: \"core:rights-request:delete\")\n organization {\n id\n name\n }\n createdAt\n updatedAt\n }\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "77cc11eb6270df9b753572cf3a14689d"; - -export default node; diff --git a/apps/console/src/__generated__/core/RightsRequestGraphUpdateMutation.graphql.ts b/apps/console/src/__generated__/core/RightsRequestGraphUpdateMutation.graphql.ts deleted file mode 100644 index 8836e973c..000000000 --- a/apps/console/src/__generated__/core/RightsRequestGraphUpdateMutation.graphql.ts +++ /dev/null @@ -1,178 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type RightsRequestState = "DONE" | "IN_PROGRESS" | "TODO"; -export type RightsRequestType = "ACCESS" | "DELETION" | "PORTABILITY"; -export type UpdateRightsRequestInput = { - actionTaken?: string | null | undefined; - contact?: string | null | undefined; - dataSubject?: string | null | undefined; - deadline?: string | null | undefined; - details?: string | null | undefined; - id: string; - requestState?: RightsRequestState | null | undefined; - requestType?: RightsRequestType | null | undefined; -}; -export type RightsRequestGraphUpdateMutation$variables = { - input: UpdateRightsRequestInput; -}; -export type RightsRequestGraphUpdateMutation$data = { - readonly updateRightsRequest: { - readonly rightsRequest: { - readonly actionTaken: string | null | undefined; - readonly contact: string | null | undefined; - readonly dataSubject: string | null | undefined; - readonly deadline: string | null | undefined; - readonly details: string | null | undefined; - readonly id: string; - readonly requestState: RightsRequestState; - readonly requestType: RightsRequestType; - readonly updatedAt: string; - }; - }; -}; -export type RightsRequestGraphUpdateMutation = { - response: RightsRequestGraphUpdateMutation$data; - variables: RightsRequestGraphUpdateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UpdateRightsRequestPayload", - "kind": "LinkedField", - "name": "updateRightsRequest", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "RightsRequest", - "kind": "LinkedField", - "name": "rightsRequest", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "requestType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "requestState", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataSubject", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "contact", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "details", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deadline", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "actionTaken", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "RightsRequestGraphUpdateMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "RightsRequestGraphUpdateMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "4b06cb49236bb946cfa333e95b80f2a8", - "id": null, - "metadata": {}, - "name": "RightsRequestGraphUpdateMutation", - "operationKind": "mutation", - "text": "mutation RightsRequestGraphUpdateMutation(\n $input: UpdateRightsRequestInput!\n) {\n updateRightsRequest(input: $input) {\n rightsRequest {\n id\n requestType\n requestState\n dataSubject\n contact\n details\n deadline\n actionTaken\n updatedAt\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "f2f42ebc57de95ec4a760e7d701f90fa"; - -export default node; diff --git a/apps/console/src/__generated__/core/RightsRequestsPageFragment.graphql.ts b/apps/console/src/__generated__/core/RightsRequestsPageFragment.graphql.ts deleted file mode 100644 index 7992e232b..000000000 --- a/apps/console/src/__generated__/core/RightsRequestsPageFragment.graphql.ts +++ /dev/null @@ -1,295 +0,0 @@ -/** - * @generated SignedSource<<109da5292cbd22b553279fefd5c41c03>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type RightsRequestState = "DONE" | "IN_PROGRESS" | "TODO"; -export type RightsRequestType = "ACCESS" | "DELETION" | "PORTABILITY"; -import { FragmentRefs } from "relay-runtime"; -export type RightsRequestsPageFragment$data = { - readonly id: string; - readonly rightsRequests: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly actionTaken: string | null | undefined; - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly contact: string | null | undefined; - readonly createdAt: string; - readonly dataSubject: string | null | undefined; - readonly deadline: string | null | undefined; - readonly details: string | null | undefined; - readonly id: string; - readonly requestState: RightsRequestState; - readonly requestType: RightsRequestType; - readonly updatedAt: string; - }; - }>; - readonly pageInfo: { - readonly endCursor: string | null | undefined; - readonly hasNextPage: boolean; - }; - readonly totalCount: number; - }; - readonly " $fragmentType": "RightsRequestsPageFragment"; -}; -export type RightsRequestsPageFragment$key = { - readonly " $data"?: RightsRequestsPageFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"RightsRequestsPageFragment">; -}; - -import RightsRequestsPageRefetchQuery_graphql from './RightsRequestsPageRefetchQuery.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "rightsRequests" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": 10, - "kind": "LocalArgument", - "name": "first" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": "first", - "cursor": "after", - "direction": "forward", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": null, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": RightsRequestsPageRefetchQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "RightsRequestsPageFragment", - "selections": [ - (v1/*: any*/), - { - "alias": "rightsRequests", - "args": null, - "concreteType": "RightsRequestConnection", - "kind": "LinkedField", - "name": "__RightsRequestsPage_rightsRequests_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "RightsRequestEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "RightsRequest", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "requestType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "requestState", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataSubject", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "contact", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "details", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deadline", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "actionTaken", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:rights-request:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:rights-request:delete\")" - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:rights-request:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:rights-request:update\")" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - } - ], - "type": "Organization", - "abstractKey": null -}; -})(); - -(node as any).hash = "cfb8b464e37afac281c1722b9daf1783"; - -export default node; diff --git a/apps/console/src/__generated__/core/RightsRequestsPageRefetchQuery.graphql.ts b/apps/console/src/__generated__/core/RightsRequestsPageRefetchQuery.graphql.ts deleted file mode 100644 index c13995f79..000000000 --- a/apps/console/src/__generated__/core/RightsRequestsPageRefetchQuery.graphql.ts +++ /dev/null @@ -1,331 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type RightsRequestsPageRefetchQuery$variables = { - after?: string | null | undefined; - first?: number | null | undefined; - id: string; -}; -export type RightsRequestsPageRefetchQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"RightsRequestsPageFragment">; - }; -}; -export type RightsRequestsPageRefetchQuery = { - response: RightsRequestsPageRefetchQuery$data; - variables: RightsRequestsPageRefetchQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": 10, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v2 = [ - { - "kind": "Variable", - "name": "after", - "variableName": "after" - }, - { - "kind": "Variable", - "name": "first", - "variableName": "first" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "RightsRequestsPageRefetchQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": (v2/*: any*/), - "kind": "FragmentSpread", - "name": "RightsRequestsPageFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "RightsRequestsPageRefetchQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "RightsRequestConnection", - "kind": "LinkedField", - "name": "rightsRequests", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "RightsRequestEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "RightsRequest", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v4/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "requestType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "requestState", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataSubject", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "contact", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "details", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deadline", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "actionTaken", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:rights-request:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:rights-request:delete\")" - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:rights-request:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:rights-request:update\")" - }, - (v3/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v2/*: any*/), - "filters": null, - "handle": "connection", - "key": "RightsRequestsPage_rightsRequests", - "kind": "LinkedHandle", - "name": "rightsRequests" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "a63c4d960c8f375acceeedd2f1b9a188", - "id": null, - "metadata": {}, - "name": "RightsRequestsPageRefetchQuery", - "operationKind": "query", - "text": "query RightsRequestsPageRefetchQuery(\n $after: CursorKey\n $first: Int = 10\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...RightsRequestsPageFragment_2HEEH6\n id\n }\n}\n\nfragment RightsRequestsPageFragment_2HEEH6 on Organization {\n id\n rightsRequests(first: $first, after: $after) {\n totalCount\n edges {\n node {\n id\n requestType\n requestState\n dataSubject\n contact\n details\n deadline\n actionTaken\n createdAt\n updatedAt\n canDelete: permission(action: \"core:rights-request:delete\")\n canUpdate: permission(action: \"core:rights-request:update\")\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "cfb8b464e37afac281c1722b9daf1783"; - -export default node; diff --git a/apps/console/src/__generated__/core/RiskControlsTabControlsQuery.graphql.ts b/apps/console/src/__generated__/core/RiskControlsTabControlsQuery.graphql.ts deleted file mode 100644 index 5c3cbc21d..000000000 --- a/apps/console/src/__generated__/core/RiskControlsTabControlsQuery.graphql.ts +++ /dev/null @@ -1,351 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type ControlOrderField = "CREATED_AT" | "SECTION_TITLE"; -export type OrderDirection = "ASC" | "DESC"; -export type ControlFilter = { - query?: string | null | undefined; -}; -export type ControlOrder = { - direction: OrderDirection; - field: ControlOrderField; -}; -export type RiskControlsTabControlsQuery$variables = { - after?: string | null | undefined; - before?: string | null | undefined; - filter?: ControlFilter | null | undefined; - first?: number | null | undefined; - id: string; - last?: number | null | undefined; - order?: ControlOrder | null | undefined; -}; -export type RiskControlsTabControlsQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"RiskControlsTabFragment">; - }; -}; -export type RiskControlsTabControlsQuery = { - response: RiskControlsTabControlsQuery$data; - variables: RiskControlsTabControlsQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" -}, -v2 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "filter" -}, -v3 = { - "defaultValue": 20, - "kind": "LocalArgument", - "name": "first" -}, -v4 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v5 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" -}, -v6 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" -}, -v7 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v8 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v9 = { - "kind": "Variable", - "name": "before", - "variableName": "before" -}, -v10 = { - "kind": "Variable", - "name": "filter", - "variableName": "filter" -}, -v11 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v12 = { - "kind": "Variable", - "name": "last", - "variableName": "last" -}, -v13 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v14 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v15 = [ - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v12/*: any*/), - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } -], -v16 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "RiskControlsTabControlsQuery", - "selections": [ - { - "alias": null, - "args": (v7/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v12/*: any*/), - { - "kind": "Variable", - "name": "order", - "variableName": "order" - } - ], - "kind": "FragmentSpread", - "name": "RiskControlsTabFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v4/*: any*/) - ], - "kind": "Operation", - "name": "RiskControlsTabControlsQuery", - "selections": [ - { - "alias": null, - "args": (v7/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v13/*: any*/), - (v14/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v15/*: any*/), - "concreteType": "ControlConnection", - "kind": "LinkedField", - "name": "controls", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ControlEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Control", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v14/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sectionTitle", - "storageKey": null - }, - (v16/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v14/*: any*/), - (v16/*: any*/) - ], - "storageKey": null - }, - (v13/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v15/*: any*/), - "filters": [ - "orderBy", - "filter" - ], - "handle": "connection", - "key": "RiskControlsTab_controls", - "kind": "LinkedHandle", - "name": "controls" - } - ], - "type": "Risk", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "ea5571d7c2f47861c81f19447ff3d345", - "id": null, - "metadata": {}, - "name": "RiskControlsTabControlsQuery", - "operationKind": "query", - "text": "query RiskControlsTabControlsQuery(\n $after: CursorKey\n $before: CursorKey = null\n $filter: ControlFilter = null\n $first: Int = 20\n $last: Int = null\n $order: ControlOrder = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...RiskControlsTabFragment_4cFWzS\n id\n }\n}\n\nfragment RiskControlsTabFragment_4cFWzS on Risk {\n id\n controls(first: $first, after: $after, last: $last, before: $before, orderBy: $order, filter: $filter) {\n edges {\n node {\n id\n sectionTitle\n name\n framework {\n id\n name\n }\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "ef2896f4e53f88f6862ffef48bcccff3"; - -export default node; diff --git a/apps/console/src/__generated__/core/RiskControlsTabFragment.graphql.ts b/apps/console/src/__generated__/core/RiskControlsTabFragment.graphql.ts deleted file mode 100644 index 2877a0543..000000000 --- a/apps/console/src/__generated__/core/RiskControlsTabFragment.graphql.ts +++ /dev/null @@ -1,250 +0,0 @@ -/** - * @generated SignedSource<<5bbce08d4b9359b961b9b1b4827f5756>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type RiskControlsTabFragment$data = { - readonly controls: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly framework: { - readonly id: string; - readonly name: string; - }; - readonly id: string; - readonly name: string; - readonly sectionTitle: string; - }; - }>; - }; - readonly id: string; - readonly " $fragmentType": "RiskControlsTabFragment"; -}; -export type RiskControlsTabFragment$key = { - readonly " $data"?: RiskControlsTabFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"RiskControlsTabFragment">; -}; - -import RiskControlsTabControlsQuery_graphql from './RiskControlsTabControlsQuery.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "controls" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "filter" - }, - { - "defaultValue": 20, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "bidirectional", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": { - "count": "last", - "cursor": "before" - }, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": RiskControlsTabControlsQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "RiskControlsTabFragment", - "selections": [ - (v1/*: any*/), - { - "alias": "controls", - "args": [ - { - "kind": "Variable", - "name": "filter", - "variableName": "filter" - }, - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } - ], - "concreteType": "ControlConnection", - "kind": "LinkedField", - "name": "__RiskControlsTab_controls_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ControlEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Control", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sectionTitle", - "storageKey": null - }, - (v2/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v1/*: any*/), - (v2/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Risk", - "abstractKey": null -}; -})(); - -(node as any).hash = "ef2896f4e53f88f6862ffef48bcccff3"; - -export default node; diff --git a/apps/console/src/__generated__/core/RiskDocumentsTabCreateMutation.graphql.ts b/apps/console/src/__generated__/core/RiskDocumentsTabCreateMutation.graphql.ts deleted file mode 100644 index 267d91a27..000000000 --- a/apps/console/src/__generated__/core/RiskDocumentsTabCreateMutation.graphql.ts +++ /dev/null @@ -1,256 +0,0 @@ -/** - * @generated SignedSource<<81e7ff7299c6b5f9e46fa08ee731be12>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type CreateRiskDocumentMappingInput = { - documentId: string; - riskId: string; -}; -export type RiskDocumentsTabCreateMutation$variables = { - connections: ReadonlyArray; - input: CreateRiskDocumentMappingInput; -}; -export type RiskDocumentsTabCreateMutation$data = { - readonly createRiskDocumentMapping: { - readonly documentEdge: { - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"LinkedDocumentsCardFragment">; - }; - }; - }; -}; -export type RiskDocumentsTabCreateMutation = { - response: RiskDocumentsTabCreateMutation$data; - variables: RiskDocumentsTabCreateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "RiskDocumentsTabCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateRiskDocumentMappingPayload", - "kind": "LinkedField", - "name": "createRiskDocumentMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentEdge", - "kind": "LinkedField", - "name": "documentEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Document", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "LinkedDocumentsCardFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "RiskDocumentsTabCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateRiskDocumentMappingPayload", - "kind": "LinkedField", - "name": "createRiskDocumentMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentEdge", - "kind": "LinkedField", - "name": "documentEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Document", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "title", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "documentType", - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 1 - } - ], - "concreteType": "DocumentVersionConnection", - "kind": "LinkedField", - "name": "versions", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersion", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "versions(first:1)" - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "documentEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "e2844d2884a2d7d2c648fea4888fbfc5", - "id": null, - "metadata": {}, - "name": "RiskDocumentsTabCreateMutation", - "operationKind": "mutation", - "text": "mutation RiskDocumentsTabCreateMutation(\n $input: CreateRiskDocumentMappingInput!\n) {\n createRiskDocumentMapping(input: $input) {\n documentEdge {\n node {\n id\n ...LinkedDocumentsCardFragment\n }\n }\n }\n}\n\nfragment LinkedDocumentsCardFragment on Document {\n id\n title\n createdAt\n documentType\n versions(first: 1) {\n edges {\n node {\n id\n status\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "0847d69d95edfec177a03175e227ced6"; - -export default node; diff --git a/apps/console/src/__generated__/core/RiskDocumentsTabDetachMutation.graphql.ts b/apps/console/src/__generated__/core/RiskDocumentsTabDetachMutation.graphql.ts deleted file mode 100644 index 7b4bc6d35..000000000 --- a/apps/console/src/__generated__/core/RiskDocumentsTabDetachMutation.graphql.ts +++ /dev/null @@ -1,133 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteRiskDocumentMappingInput = { - documentId: string; - riskId: string; -}; -export type RiskDocumentsTabDetachMutation$variables = { - connections: ReadonlyArray; - input: DeleteRiskDocumentMappingInput; -}; -export type RiskDocumentsTabDetachMutation$data = { - readonly deleteRiskDocumentMapping: { - readonly deletedDocumentId: string; - }; -}; -export type RiskDocumentsTabDetachMutation = { - response: RiskDocumentsTabDetachMutation$data; - variables: RiskDocumentsTabDetachMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedDocumentId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "RiskDocumentsTabDetachMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteRiskDocumentMappingPayload", - "kind": "LinkedField", - "name": "deleteRiskDocumentMapping", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "RiskDocumentsTabDetachMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteRiskDocumentMappingPayload", - "kind": "LinkedField", - "name": "deleteRiskDocumentMapping", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedDocumentId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "a8dc5064c650c498193904e16790df6e", - "id": null, - "metadata": {}, - "name": "RiskDocumentsTabDetachMutation", - "operationKind": "mutation", - "text": "mutation RiskDocumentsTabDetachMutation(\n $input: DeleteRiskDocumentMappingInput!\n) {\n deleteRiskDocumentMapping(input: $input) {\n deletedDocumentId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "0aa4bf52197d033dfc3aabca9288aad4"; - -export default node; diff --git a/apps/console/src/__generated__/core/RiskDocumentsTabFragment.graphql.ts b/apps/console/src/__generated__/core/RiskDocumentsTabFragment.graphql.ts deleted file mode 100644 index 3c54831e1..000000000 --- a/apps/console/src/__generated__/core/RiskDocumentsTabFragment.graphql.ts +++ /dev/null @@ -1,155 +0,0 @@ -/** - * @generated SignedSource<<1ccd9664c4fb02eb50e1284ed64372fb>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type RiskDocumentsTabFragment$data = { - readonly documents: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"LinkedDocumentsCardFragment">; - }; - }>; - }; - readonly id: string; - readonly " $fragmentType": "RiskDocumentsTabFragment"; -}; -export type RiskDocumentsTabFragment$key = { - readonly " $data"?: RiskDocumentsTabFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"RiskDocumentsTabFragment">; -}; - -const node: ReaderFragment = (function(){ -var v0 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "forward", - "path": [ - "documents" - ] - } - ] - }, - "name": "RiskDocumentsTabFragment", - "selections": [ - (v0/*: any*/), - { - "alias": "documents", - "args": null, - "concreteType": "DocumentConnection", - "kind": "LinkedField", - "name": "__Risk__documents_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Document", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v0/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "LinkedDocumentsCardFragment" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - } - ], - "type": "Risk", - "abstractKey": null -}; -})(); - -(node as any).hash = "91792e693e6326b25ceb70c14fdc154e"; - -export default node; diff --git a/apps/console/src/__generated__/core/RiskGraphDeleteMutation.graphql.ts b/apps/console/src/__generated__/core/RiskGraphDeleteMutation.graphql.ts deleted file mode 100644 index 6288dd970..000000000 --- a/apps/console/src/__generated__/core/RiskGraphDeleteMutation.graphql.ts +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteRiskInput = { - riskId: string; -}; -export type RiskGraphDeleteMutation$variables = { - connections: ReadonlyArray; - input: DeleteRiskInput; -}; -export type RiskGraphDeleteMutation$data = { - readonly deleteRisk: { - readonly deletedRiskId: string; - }; -}; -export type RiskGraphDeleteMutation = { - response: RiskGraphDeleteMutation$data; - variables: RiskGraphDeleteMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedRiskId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "RiskGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteRiskPayload", - "kind": "LinkedField", - "name": "deleteRisk", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "RiskGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteRiskPayload", - "kind": "LinkedField", - "name": "deleteRisk", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedRiskId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "57b2b12cd623a9c0a99bc5d13284e21e", - "id": null, - "metadata": {}, - "name": "RiskGraphDeleteMutation", - "operationKind": "mutation", - "text": "mutation RiskGraphDeleteMutation(\n $input: DeleteRiskInput!\n) {\n deleteRisk(input: $input) {\n deletedRiskId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "a930aa55cb8dcca220dfb26783550877"; - -export default node; diff --git a/apps/console/src/__generated__/core/RiskGraphFragment.graphql.ts b/apps/console/src/__generated__/core/RiskGraphFragment.graphql.ts deleted file mode 100644 index 9ff3d9e24..000000000 --- a/apps/console/src/__generated__/core/RiskGraphFragment.graphql.ts +++ /dev/null @@ -1,385 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type RiskTreatment = "ACCEPTED" | "AVOIDED" | "MITIGATED" | "TRANSFERRED"; -import { FragmentRefs } from "relay-runtime"; -export type RiskGraphFragment$data = { - readonly canCreateRisk: boolean; - readonly id: string; - readonly risks: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly category: string; - readonly id: string; - readonly inherentImpact: number; - readonly inherentLikelihood: number; - readonly inherentRiskScore: number; - readonly name: string; - readonly owner: { - readonly fullName: string; - readonly id: string; - } | null | undefined; - readonly residualImpact: number; - readonly residualLikelihood: number; - readonly residualRiskScore: number; - readonly snapshotId: string | null | undefined; - readonly treatment: RiskTreatment; - readonly " $fragmentSpreads": FragmentRefs<"useRiskFormFragment">; - }; - }>; - }; - readonly " $fragmentType": "RiskGraphFragment"; -}; -export type RiskGraphFragment$key = { - readonly " $data"?: RiskGraphFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"RiskGraphFragment">; -}; - -import RisksListQuery_graphql from './RisksListQuery.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "risks" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" - }, - { - "defaultValue": 50, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" - }, - { - "defaultValue": { - "direction": "DESC", - "field": "CREATED_AT" - }, - "kind": "LocalArgument", - "name": "order" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "bidirectional", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": { - "count": "last", - "cursor": "before" - }, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": RisksListQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "RiskGraphFragment", - "selections": [ - { - "alias": "canCreateRisk", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:risk:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:risk:create\")" - }, - { - "alias": "risks", - "args": [ - { - "fields": [ - { - "kind": "Variable", - "name": "snapshotId", - "variableName": "snapshotId" - } - ], - "kind": "ObjectValue", - "name": "filter" - } - ], - "concreteType": "RiskConnection", - "kind": "LinkedField", - "name": "__RisksListQuery_risks_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "RiskEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Risk", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "category", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "treatment", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "inherentLikelihood", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "inherentImpact", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualLikelihood", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualImpact", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "inherentRiskScore", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualRiskScore", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:risk:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:risk:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:risk:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:risk:delete\")" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "useRiskFormFragment" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - (v1/*: any*/) - ], - "type": "Organization", - "abstractKey": null -}; -})(); - -(node as any).hash = "41dc9e3adc5d7d9b2126a49afef685c7"; - -export default node; diff --git a/apps/console/src/__generated__/core/RiskGraphListQuery.graphql.ts b/apps/console/src/__generated__/core/RiskGraphListQuery.graphql.ts deleted file mode 100644 index 6912d42bb..000000000 --- a/apps/console/src/__generated__/core/RiskGraphListQuery.graphql.ts +++ /dev/null @@ -1,404 +0,0 @@ -/** - * @generated SignedSource<<4a3c1f52f5b371d6cbea3557e609252e>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type RiskGraphListQuery$variables = { - organizationId: string; - snapshotId?: string | null | undefined; -}; -export type RiskGraphListQuery$data = { - readonly organization: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"RiskGraphFragment">; - }; -}; -export type RiskGraphListQuery = { - response: RiskGraphListQuery$data; - variables: RiskGraphListQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = [ - { - "kind": "Variable", - "name": "snapshotId", - "variableName": "snapshotId" - } -], -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v5 = [ - { - "fields": (v3/*: any*/), - "kind": "ObjectValue", - "name": "filter" - }, - { - "kind": "Literal", - "name": "first", - "value": 50 - }, - { - "kind": "Literal", - "name": "orderBy", - "value": { - "direction": "DESC", - "field": "CREATED_AT" - } - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "RiskGraphListQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "args": (v3/*: any*/), - "kind": "FragmentSpread", - "name": "RiskGraphFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "RiskGraphListQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v4/*: any*/), - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": "canCreateRisk", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:risk:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:risk:create\")" - }, - { - "alias": null, - "args": (v5/*: any*/), - "concreteType": "RiskConnection", - "kind": "LinkedField", - "name": "risks", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "RiskEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Risk", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "category", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "treatment", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "inherentLikelihood", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "inherentImpact", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualLikelihood", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualImpact", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "inherentRiskScore", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualRiskScore", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:risk:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:risk:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:risk:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:risk:delete\")" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "note", - "storageKey": null - }, - (v4/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v5/*: any*/), - "filters": [ - "filter" - ], - "handle": "connection", - "key": "RisksListQuery_risks", - "kind": "LinkedHandle", - "name": "risks" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "feed1e410567a8707ca0e2e4b651bb7a", - "id": null, - "metadata": {}, - "name": "RiskGraphListQuery", - "operationKind": "query", - "text": "query RiskGraphListQuery(\n $organizationId: ID!\n $snapshotId: ID\n) {\n organization: node(id: $organizationId) {\n __typename\n id\n ...RiskGraphFragment_3iomuz\n }\n}\n\nfragment RiskGraphFragment_3iomuz on Organization {\n canCreateRisk: permission(action: \"core:risk:create\")\n risks(first: 50, orderBy: {direction: DESC, field: CREATED_AT}, filter: {snapshotId: $snapshotId}) {\n edges {\n node {\n id\n snapshotId\n name\n category\n treatment\n owner {\n id\n fullName\n }\n inherentLikelihood\n inherentImpact\n residualLikelihood\n residualImpact\n inherentRiskScore\n residualRiskScore\n canUpdate: permission(action: \"core:risk:update\")\n canDelete: permission(action: \"core:risk:delete\")\n ...useRiskFormFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n\nfragment useRiskFormFragment on Risk {\n id\n name\n category\n description\n treatment\n inherentLikelihood\n inherentImpact\n residualLikelihood\n residualImpact\n inherentRiskScore\n residualRiskScore\n note\n owner {\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "a6e146d7d0f9d2713796935d0d615311"; - -export default node; diff --git a/apps/console/src/__generated__/core/RiskGraphNodeQuery.graphql.ts b/apps/console/src/__generated__/core/RiskGraphNodeQuery.graphql.ts deleted file mode 100644 index 2c22efffe..000000000 --- a/apps/console/src/__generated__/core/RiskGraphNodeQuery.graphql.ts +++ /dev/null @@ -1,902 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type RiskTreatment = "ACCEPTED" | "AVOIDED" | "MITIGATED" | "TRANSFERRED"; -export type RiskGraphNodeQuery$variables = { - riskId: string; -}; -export type RiskGraphNodeQuery$data = { - readonly node: { - readonly canCreateDocumentMapping?: boolean; - readonly canCreateMeasureMapping?: boolean; - readonly canCreateObligationMapping?: boolean; - readonly canDelete?: boolean; - readonly canDeleteDocumentMapping?: boolean; - readonly canDeleteMeasureMapping?: boolean; - readonly canDeleteObligationMapping?: boolean; - readonly canUpdate?: boolean; - readonly controlsInfo?: { - readonly totalCount: number; - }; - readonly description?: string | null | undefined; - readonly documentsInfo?: { - readonly totalCount: number; - }; - readonly id?: string; - readonly inherentRiskScore?: number; - readonly measuresInfo?: { - readonly totalCount: number; - }; - readonly name?: string; - readonly note?: string; - readonly obligationsInfo?: { - readonly totalCount: number; - }; - readonly owner?: { - readonly fullName: string; - readonly id: string; - } | null | undefined; - readonly residualRiskScore?: number; - readonly snapshotId?: string | null | undefined; - readonly treatment?: RiskTreatment; - readonly " $fragmentSpreads": FragmentRefs<"RiskControlsTabFragment" | "RiskDocumentsTabFragment" | "RiskMeasuresTabFragment" | "RiskObligationsTabFragment" | "RiskOverviewTabFragment" | "useRiskFormFragment">; - }; -}; -export type RiskGraphNodeQuery = { - response: RiskGraphNodeQuery$data; - variables: RiskGraphNodeQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "riskId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "riskId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null -}, -v6 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "treatment", - "storageKey": null -}, -v7 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null -}, -v8 = { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v2/*: any*/), - (v7/*: any*/) - ], - "storageKey": null -}, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "note", - "storageKey": null -}, -v10 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "inherentRiskScore", - "storageKey": null -}, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualRiskScore", - "storageKey": null -}, -v12 = [ - { - "kind": "Literal", - "name": "first", - "value": 0 - } -], -v13 = [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - } -], -v14 = { - "alias": "measuresInfo", - "args": (v12/*: any*/), - "concreteType": "MeasureConnection", - "kind": "LinkedField", - "name": "measures", - "plural": false, - "selections": (v13/*: any*/), - "storageKey": "measures(first:0)" -}, -v15 = { - "alias": "documentsInfo", - "args": (v12/*: any*/), - "concreteType": "DocumentConnection", - "kind": "LinkedField", - "name": "documents", - "plural": false, - "selections": (v13/*: any*/), - "storageKey": "documents(first:0)" -}, -v16 = { - "alias": "controlsInfo", - "args": (v12/*: any*/), - "concreteType": "ControlConnection", - "kind": "LinkedField", - "name": "controls", - "plural": false, - "selections": (v13/*: any*/), - "storageKey": "controls(first:0)" -}, -v17 = { - "alias": "obligationsInfo", - "args": (v12/*: any*/), - "concreteType": "ObligationConnection", - "kind": "LinkedField", - "name": "obligations", - "plural": false, - "selections": (v13/*: any*/), - "storageKey": "obligations(first:0)" -}, -v18 = { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:risk:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:risk:update\")" -}, -v19 = { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:risk:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:risk:delete\")" -}, -v20 = { - "alias": "canCreateDocumentMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:risk:create-document-mapping" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:risk:create-document-mapping\")" -}, -v21 = { - "alias": "canDeleteDocumentMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:risk:delete-document-mapping" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:risk:delete-document-mapping\")" -}, -v22 = { - "alias": "canCreateMeasureMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:risk:create-measure-mapping" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:risk:create-measure-mapping\")" -}, -v23 = { - "alias": "canDeleteMeasureMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:risk:delete-measure-mapping" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:risk:delete-measure-mapping\")" -}, -v24 = { - "alias": "canCreateObligationMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:risk:create-obligation-mapping" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:risk:create-obligation-mapping\")" -}, -v25 = { - "alias": "canDeleteObligationMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:risk:delete-obligation-mapping" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:risk:delete-obligation-mapping\")" -}, -v26 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v27 = [ - { - "kind": "Literal", - "name": "first", - "value": 100 - } -], -v28 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null -}, -v29 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null -}, -v30 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null -}, -v31 = { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - (v29/*: any*/), - (v30/*: any*/) - ], - "storageKey": null -}, -v32 = { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] -}, -v33 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null -}, -v34 = [ - { - "kind": "Literal", - "name": "first", - "value": 20 - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "RiskGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v14/*: any*/), - (v15/*: any*/), - (v16/*: any*/), - (v17/*: any*/), - (v18/*: any*/), - (v19/*: any*/), - (v20/*: any*/), - (v21/*: any*/), - (v22/*: any*/), - (v23/*: any*/), - (v24/*: any*/), - (v25/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "useRiskFormFragment" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "RiskOverviewTabFragment" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "RiskMeasuresTabFragment" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "RiskDocumentsTabFragment" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "RiskControlsTabFragment" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "RiskObligationsTabFragment" - } - ], - "type": "Risk", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "RiskGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v26/*: any*/), - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v14/*: any*/), - (v15/*: any*/), - (v16/*: any*/), - (v17/*: any*/), - (v18/*: any*/), - (v19/*: any*/), - (v20/*: any*/), - (v21/*: any*/), - (v22/*: any*/), - (v23/*: any*/), - (v24/*: any*/), - (v25/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "category", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "inherentLikelihood", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "inherentImpact", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualLikelihood", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualImpact", - "storageKey": null - }, - { - "alias": null, - "args": (v27/*: any*/), - "concreteType": "MeasureConnection", - "kind": "LinkedField", - "name": "measures", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "MeasureEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Measure", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v4/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - (v26/*: any*/) - ], - "storageKey": null - }, - (v28/*: any*/) - ], - "storageKey": null - }, - (v31/*: any*/), - (v32/*: any*/) - ], - "storageKey": "measures(first:100)" - }, - { - "alias": null, - "args": (v27/*: any*/), - "filters": null, - "handle": "connection", - "key": "Risk__measures", - "kind": "LinkedHandle", - "name": "measures" - }, - { - "alias": null, - "args": (v27/*: any*/), - "concreteType": "DocumentConnection", - "kind": "LinkedField", - "name": "documents", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Document", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "title", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "documentType", - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 1 - } - ], - "concreteType": "DocumentVersionConnection", - "kind": "LinkedField", - "name": "versions", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersion", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v33/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "versions(first:1)" - }, - (v26/*: any*/) - ], - "storageKey": null - }, - (v28/*: any*/) - ], - "storageKey": null - }, - (v31/*: any*/), - (v32/*: any*/) - ], - "storageKey": "documents(first:100)" - }, - { - "alias": null, - "args": (v27/*: any*/), - "filters": null, - "handle": "connection", - "key": "Risk__documents", - "kind": "LinkedHandle", - "name": "documents" - }, - { - "alias": null, - "args": (v34/*: any*/), - "concreteType": "ControlConnection", - "kind": "LinkedField", - "name": "controls", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ControlEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Control", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sectionTitle", - "storageKey": null - }, - (v4/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v2/*: any*/), - (v4/*: any*/) - ], - "storageKey": null - }, - (v26/*: any*/) - ], - "storageKey": null - }, - (v28/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - (v29/*: any*/), - (v30/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "controls(first:20)" - }, - { - "alias": null, - "args": (v34/*: any*/), - "filters": [ - "orderBy", - "filter" - ], - "handle": "connection", - "key": "RiskControlsTab_controls", - "kind": "LinkedHandle", - "name": "controls" - }, - { - "alias": null, - "args": (v27/*: any*/), - "concreteType": "ObligationConnection", - "kind": "LinkedField", - "name": "obligations", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ObligationEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Obligation", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "requirement", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "area", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "source", - "storageKey": null - }, - (v33/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v7/*: any*/), - (v2/*: any*/) - ], - "storageKey": null - }, - (v26/*: any*/) - ], - "storageKey": null - }, - (v28/*: any*/) - ], - "storageKey": null - }, - (v31/*: any*/), - (v32/*: any*/) - ], - "storageKey": "obligations(first:100)" - }, - { - "alias": null, - "args": (v27/*: any*/), - "filters": null, - "handle": "connection", - "key": "Risk__obligations", - "kind": "LinkedHandle", - "name": "obligations" - } - ], - "type": "Risk", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "81ab255e9f6f1e3f666f5dd77920689b", - "id": null, - "metadata": {}, - "name": "RiskGraphNodeQuery", - "operationKind": "query", - "text": "query RiskGraphNodeQuery(\n $riskId: ID!\n) {\n node(id: $riskId) {\n __typename\n ... on Risk {\n id\n snapshotId\n name\n description\n treatment\n owner {\n id\n fullName\n }\n note\n inherentRiskScore\n residualRiskScore\n measuresInfo: measures(first: 0) {\n totalCount\n }\n documentsInfo: documents(first: 0) {\n totalCount\n }\n controlsInfo: controls(first: 0) {\n totalCount\n }\n obligationsInfo: obligations(first: 0) {\n totalCount\n }\n canUpdate: permission(action: \"core:risk:update\")\n canDelete: permission(action: \"core:risk:delete\")\n canCreateDocumentMapping: permission(action: \"core:risk:create-document-mapping\")\n canDeleteDocumentMapping: permission(action: \"core:risk:delete-document-mapping\")\n canCreateMeasureMapping: permission(action: \"core:risk:create-measure-mapping\")\n canDeleteMeasureMapping: permission(action: \"core:risk:delete-measure-mapping\")\n canCreateObligationMapping: permission(action: \"core:risk:create-obligation-mapping\")\n canDeleteObligationMapping: permission(action: \"core:risk:delete-obligation-mapping\")\n ...useRiskFormFragment\n ...RiskOverviewTabFragment\n ...RiskMeasuresTabFragment\n ...RiskDocumentsTabFragment\n ...RiskControlsTabFragment\n ...RiskObligationsTabFragment\n }\n id\n }\n}\n\nfragment LinkedDocumentsCardFragment on Document {\n id\n title\n createdAt\n documentType\n versions(first: 1) {\n edges {\n node {\n id\n status\n }\n }\n }\n}\n\nfragment LinkedMeasuresCardFragment on Measure {\n id\n name\n state\n}\n\nfragment LinkedObligationsCardFragment on Obligation {\n id\n requirement\n area\n source\n status\n owner {\n fullName\n id\n }\n}\n\nfragment RiskControlsTabFragment on Risk {\n id\n controls(first: 20) {\n edges {\n node {\n id\n sectionTitle\n name\n framework {\n id\n name\n }\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n}\n\nfragment RiskDocumentsTabFragment on Risk {\n id\n documents(first: 100) {\n edges {\n node {\n id\n ...LinkedDocumentsCardFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment RiskMeasuresTabFragment on Risk {\n id\n measures(first: 100) {\n edges {\n node {\n id\n ...LinkedMeasuresCardFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment RiskObligationsTabFragment on Risk {\n id\n obligations(first: 100) {\n edges {\n node {\n id\n ...LinkedObligationsCardFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment RiskOverviewTabFragment on Risk {\n inherentLikelihood\n inherentImpact\n residualLikelihood\n residualImpact\n inherentRiskScore\n residualRiskScore\n}\n\nfragment useRiskFormFragment on Risk {\n id\n name\n category\n description\n treatment\n inherentLikelihood\n inherentImpact\n residualLikelihood\n residualImpact\n inherentRiskScore\n residualRiskScore\n note\n owner {\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "3ea74f7158cc3634d47af761c18dbadf"; - -export default node; diff --git a/apps/console/src/__generated__/core/RiskMeasuresTabCreateMutation.graphql.ts b/apps/console/src/__generated__/core/RiskMeasuresTabCreateMutation.graphql.ts deleted file mode 100644 index 90fb0a82d..000000000 --- a/apps/console/src/__generated__/core/RiskMeasuresTabCreateMutation.graphql.ts +++ /dev/null @@ -1,202 +0,0 @@ -/** - * @generated SignedSource<<6e27a069ae5675b9c83e369566a91d01>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type CreateRiskMeasureMappingInput = { - measureId: string; - riskId: string; -}; -export type RiskMeasuresTabCreateMutation$variables = { - connections: ReadonlyArray; - input: CreateRiskMeasureMappingInput; -}; -export type RiskMeasuresTabCreateMutation$data = { - readonly createRiskMeasureMapping: { - readonly measureEdge: { - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"LinkedMeasuresCardFragment">; - }; - }; - }; -}; -export type RiskMeasuresTabCreateMutation = { - response: RiskMeasuresTabCreateMutation$data; - variables: RiskMeasuresTabCreateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "RiskMeasuresTabCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateRiskMeasureMappingPayload", - "kind": "LinkedField", - "name": "createRiskMeasureMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "MeasureEdge", - "kind": "LinkedField", - "name": "measureEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Measure", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "LinkedMeasuresCardFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "RiskMeasuresTabCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateRiskMeasureMappingPayload", - "kind": "LinkedField", - "name": "createRiskMeasureMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "MeasureEdge", - "kind": "LinkedField", - "name": "measureEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Measure", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "measureEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "3b141d4117959b1f6efed67e8aa655cf", - "id": null, - "metadata": {}, - "name": "RiskMeasuresTabCreateMutation", - "operationKind": "mutation", - "text": "mutation RiskMeasuresTabCreateMutation(\n $input: CreateRiskMeasureMappingInput!\n) {\n createRiskMeasureMapping(input: $input) {\n measureEdge {\n node {\n id\n ...LinkedMeasuresCardFragment\n }\n }\n }\n}\n\nfragment LinkedMeasuresCardFragment on Measure {\n id\n name\n state\n}\n" - } -}; -})(); - -(node as any).hash = "982d31266eda233518c48f1fd0cd2f46"; - -export default node; diff --git a/apps/console/src/__generated__/core/RiskMeasuresTabDetachMutation.graphql.ts b/apps/console/src/__generated__/core/RiskMeasuresTabDetachMutation.graphql.ts deleted file mode 100644 index eecc9b4d3..000000000 --- a/apps/console/src/__generated__/core/RiskMeasuresTabDetachMutation.graphql.ts +++ /dev/null @@ -1,133 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteRiskMeasureMappingInput = { - measureId: string; - riskId: string; -}; -export type RiskMeasuresTabDetachMutation$variables = { - connections: ReadonlyArray; - input: DeleteRiskMeasureMappingInput; -}; -export type RiskMeasuresTabDetachMutation$data = { - readonly deleteRiskMeasureMapping: { - readonly deletedMeasureId: string; - }; -}; -export type RiskMeasuresTabDetachMutation = { - response: RiskMeasuresTabDetachMutation$data; - variables: RiskMeasuresTabDetachMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedMeasureId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "RiskMeasuresTabDetachMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteRiskMeasureMappingPayload", - "kind": "LinkedField", - "name": "deleteRiskMeasureMapping", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "RiskMeasuresTabDetachMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteRiskMeasureMappingPayload", - "kind": "LinkedField", - "name": "deleteRiskMeasureMapping", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedMeasureId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "81260f49b2f31c4a12f87b38bab7a683", - "id": null, - "metadata": {}, - "name": "RiskMeasuresTabDetachMutation", - "operationKind": "mutation", - "text": "mutation RiskMeasuresTabDetachMutation(\n $input: DeleteRiskMeasureMappingInput!\n) {\n deleteRiskMeasureMapping(input: $input) {\n deletedMeasureId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "c5adc6d900f0da15ec3acf7db304d410"; - -export default node; diff --git a/apps/console/src/__generated__/core/RiskMeasuresTabFragment.graphql.ts b/apps/console/src/__generated__/core/RiskMeasuresTabFragment.graphql.ts deleted file mode 100644 index 847264c8c..000000000 --- a/apps/console/src/__generated__/core/RiskMeasuresTabFragment.graphql.ts +++ /dev/null @@ -1,155 +0,0 @@ -/** - * @generated SignedSource<<5a37b1ce3c0c17ce36fc3e1157eadf8e>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type RiskMeasuresTabFragment$data = { - readonly id: string; - readonly measures: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"LinkedMeasuresCardFragment">; - }; - }>; - }; - readonly " $fragmentType": "RiskMeasuresTabFragment"; -}; -export type RiskMeasuresTabFragment$key = { - readonly " $data"?: RiskMeasuresTabFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"RiskMeasuresTabFragment">; -}; - -const node: ReaderFragment = (function(){ -var v0 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "forward", - "path": [ - "measures" - ] - } - ] - }, - "name": "RiskMeasuresTabFragment", - "selections": [ - (v0/*: any*/), - { - "alias": "measures", - "args": null, - "concreteType": "MeasureConnection", - "kind": "LinkedField", - "name": "__Risk__measures_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "MeasureEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Measure", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v0/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "LinkedMeasuresCardFragment" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - } - ], - "type": "Risk", - "abstractKey": null -}; -})(); - -(node as any).hash = "e928c83f7fea74daa5663d6f80518419"; - -export default node; diff --git a/apps/console/src/__generated__/core/RiskObligationsTabCreateMutation.graphql.ts b/apps/console/src/__generated__/core/RiskObligationsTabCreateMutation.graphql.ts deleted file mode 100644 index f3f2d5b1f..000000000 --- a/apps/console/src/__generated__/core/RiskObligationsTabCreateMutation.graphql.ts +++ /dev/null @@ -1,235 +0,0 @@ -/** - * @generated SignedSource<<545b2d50da8f79510029c5dba61ae821>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type CreateRiskObligationMappingInput = { - obligationId: string; - riskId: string; -}; -export type RiskObligationsTabCreateMutation$variables = { - connections: ReadonlyArray; - input: CreateRiskObligationMappingInput; -}; -export type RiskObligationsTabCreateMutation$data = { - readonly createRiskObligationMapping: { - readonly obligationEdge: { - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"LinkedObligationsCardFragment">; - }; - }; - }; -}; -export type RiskObligationsTabCreateMutation = { - response: RiskObligationsTabCreateMutation$data; - variables: RiskObligationsTabCreateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "RiskObligationsTabCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateRiskObligationMappingPayload", - "kind": "LinkedField", - "name": "createRiskObligationMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ObligationEdge", - "kind": "LinkedField", - "name": "obligationEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Obligation", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "LinkedObligationsCardFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "RiskObligationsTabCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateRiskObligationMappingPayload", - "kind": "LinkedField", - "name": "createRiskObligationMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ObligationEdge", - "kind": "LinkedField", - "name": "obligationEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Obligation", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "requirement", - "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": "status", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - }, - (v3/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "obligationEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "8681d141acf6036709241ba71bfeae4c", - "id": null, - "metadata": {}, - "name": "RiskObligationsTabCreateMutation", - "operationKind": "mutation", - "text": "mutation RiskObligationsTabCreateMutation(\n $input: CreateRiskObligationMappingInput!\n) {\n createRiskObligationMapping(input: $input) {\n obligationEdge {\n node {\n id\n ...LinkedObligationsCardFragment\n }\n }\n }\n}\n\nfragment LinkedObligationsCardFragment on Obligation {\n id\n requirement\n area\n source\n status\n owner {\n fullName\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "eee2e37b1adaae513ca23b8c82f055c9"; - -export default node; diff --git a/apps/console/src/__generated__/core/RiskObligationsTabDetachMutation.graphql.ts b/apps/console/src/__generated__/core/RiskObligationsTabDetachMutation.graphql.ts deleted file mode 100644 index af87d9554..000000000 --- a/apps/console/src/__generated__/core/RiskObligationsTabDetachMutation.graphql.ts +++ /dev/null @@ -1,133 +0,0 @@ -/** - * @generated SignedSource<<58dd326af2caac72cf50ed8f289a3cac>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteRiskObligationMappingInput = { - obligationId: string; - riskId: string; -}; -export type RiskObligationsTabDetachMutation$variables = { - connections: ReadonlyArray; - input: DeleteRiskObligationMappingInput; -}; -export type RiskObligationsTabDetachMutation$data = { - readonly deleteRiskObligationMapping: { - readonly deletedObligationId: string; - }; -}; -export type RiskObligationsTabDetachMutation = { - response: RiskObligationsTabDetachMutation$data; - variables: RiskObligationsTabDetachMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedObligationId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "RiskObligationsTabDetachMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteRiskObligationMappingPayload", - "kind": "LinkedField", - "name": "deleteRiskObligationMapping", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "RiskObligationsTabDetachMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteRiskObligationMappingPayload", - "kind": "LinkedField", - "name": "deleteRiskObligationMapping", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedObligationId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "97b75f003c5e9518831c9699a2fcaff0", - "id": null, - "metadata": {}, - "name": "RiskObligationsTabDetachMutation", - "operationKind": "mutation", - "text": "mutation RiskObligationsTabDetachMutation(\n $input: DeleteRiskObligationMappingInput!\n) {\n deleteRiskObligationMapping(input: $input) {\n deletedObligationId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "5923c7e9bcb08224ba1a60b0ad09642a"; - -export default node; diff --git a/apps/console/src/__generated__/core/RiskObligationsTabFragment.graphql.ts b/apps/console/src/__generated__/core/RiskObligationsTabFragment.graphql.ts deleted file mode 100644 index b7303a72b..000000000 --- a/apps/console/src/__generated__/core/RiskObligationsTabFragment.graphql.ts +++ /dev/null @@ -1,155 +0,0 @@ -/** - * @generated SignedSource<<1e3d6c1d36e2004b383479fb2e159c66>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type RiskObligationsTabFragment$data = { - readonly id: string; - readonly obligations: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"LinkedObligationsCardFragment">; - }; - }>; - }; - readonly " $fragmentType": "RiskObligationsTabFragment"; -}; -export type RiskObligationsTabFragment$key = { - readonly " $data"?: RiskObligationsTabFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"RiskObligationsTabFragment">; -}; - -const node: ReaderFragment = (function(){ -var v0 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "forward", - "path": [ - "obligations" - ] - } - ] - }, - "name": "RiskObligationsTabFragment", - "selections": [ - (v0/*: any*/), - { - "alias": "obligations", - "args": null, - "concreteType": "ObligationConnection", - "kind": "LinkedField", - "name": "__Risk__obligations_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ObligationEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Obligation", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v0/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "LinkedObligationsCardFragment" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - } - ], - "type": "Risk", - "abstractKey": null -}; -})(); - -(node as any).hash = "e987e7c6dcfb73b71f769469b32c2b64"; - -export default node; diff --git a/apps/console/src/__generated__/core/RiskOverviewTabFragment.graphql.ts b/apps/console/src/__generated__/core/RiskOverviewTabFragment.graphql.ts deleted file mode 100644 index 90f282e62..000000000 --- a/apps/console/src/__generated__/core/RiskOverviewTabFragment.graphql.ts +++ /dev/null @@ -1,82 +0,0 @@ -/** - * @generated SignedSource<<2b276a39b8020e7be036acb6fe4ca077>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type RiskOverviewTabFragment$data = { - readonly inherentImpact: number; - readonly inherentLikelihood: number; - readonly inherentRiskScore: number; - readonly residualImpact: number; - readonly residualLikelihood: number; - readonly residualRiskScore: number; - readonly " $fragmentType": "RiskOverviewTabFragment"; -}; -export type RiskOverviewTabFragment$key = { - readonly " $data"?: RiskOverviewTabFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"RiskOverviewTabFragment">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "RiskOverviewTabFragment", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "inherentLikelihood", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "inherentImpact", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualLikelihood", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualImpact", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "inherentRiskScore", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualRiskScore", - "storageKey": null - } - ], - "type": "Risk", - "abstractKey": null -}; - -(node as any).hash = "ba472e37a44c06c48847501204080fb6"; - -export default node; diff --git a/apps/console/src/__generated__/core/RisksListQuery.graphql.ts b/apps/console/src/__generated__/core/RisksListQuery.graphql.ts deleted file mode 100644 index 2128f3592..000000000 --- a/apps/console/src/__generated__/core/RisksListQuery.graphql.ts +++ /dev/null @@ -1,482 +0,0 @@ -/** - * @generated SignedSource<<173bd86c9660b900d34ccd42228adae5>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type OrderDirection = "ASC" | "DESC"; -export type RiskOrderField = "CATEGORY" | "CREATED_AT" | "INHERENT_RISK_SCORE" | "NAME" | "OWNER_FULL_NAME" | "RESIDUAL_RISK_SCORE" | "TREATMENT" | "UPDATED_AT"; -export type RiskOrder = { - direction: OrderDirection; - field: RiskOrderField; -}; -export type RisksListQuery$variables = { - after?: string | null | undefined; - before?: string | null | undefined; - first?: number | null | undefined; - id: string; - last?: number | null | undefined; - order?: RiskOrder | null | undefined; - snapshotId?: string | null | undefined; -}; -export type RisksListQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"RiskGraphFragment">; - }; -}; -export type RisksListQuery = { - response: RisksListQuery$data; - variables: RisksListQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" -}, -v2 = { - "defaultValue": 50, - "kind": "LocalArgument", - "name": "first" -}, -v3 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v4 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" -}, -v5 = { - "defaultValue": { - "direction": "DESC", - "field": "CREATED_AT" - }, - "kind": "LocalArgument", - "name": "order" -}, -v6 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" -}, -v7 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v8 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v9 = { - "kind": "Variable", - "name": "before", - "variableName": "before" -}, -v10 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v11 = { - "kind": "Variable", - "name": "last", - "variableName": "last" -}, -v12 = { - "kind": "Variable", - "name": "snapshotId", - "variableName": "snapshotId" -}, -v13 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v14 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v15 = [ - (v8/*: any*/), - (v9/*: any*/), - { - "fields": [ - (v12/*: any*/) - ], - "kind": "ObjectValue", - "name": "filter" - }, - (v10/*: any*/), - (v11/*: any*/), - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "RisksListQuery", - "selections": [ - { - "alias": null, - "args": (v7/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - { - "kind": "Variable", - "name": "order", - "variableName": "order" - }, - (v12/*: any*/) - ], - "kind": "FragmentSpread", - "name": "RiskGraphFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v3/*: any*/) - ], - "kind": "Operation", - "name": "RisksListQuery", - "selections": [ - { - "alias": null, - "args": (v7/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v13/*: any*/), - (v14/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": "canCreateRisk", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:risk:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:risk:create\")" - }, - { - "alias": null, - "args": (v15/*: any*/), - "concreteType": "RiskConnection", - "kind": "LinkedField", - "name": "risks", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "RiskEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Risk", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v14/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "category", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "treatment", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v14/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "inherentLikelihood", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "inherentImpact", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualLikelihood", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualImpact", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "inherentRiskScore", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualRiskScore", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:risk:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:risk:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:risk:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:risk:delete\")" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "note", - "storageKey": null - }, - (v13/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v15/*: any*/), - "filters": [ - "filter" - ], - "handle": "connection", - "key": "RisksListQuery_risks", - "kind": "LinkedHandle", - "name": "risks" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "92be64a69721c7097dcc87a525d7d706", - "id": null, - "metadata": {}, - "name": "RisksListQuery", - "operationKind": "query", - "text": "query RisksListQuery(\n $after: CursorKey = null\n $before: CursorKey = null\n $first: Int = 50\n $last: Int = null\n $order: RiskOrder = {direction: DESC, field: CREATED_AT}\n $snapshotId: ID = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...RiskGraphFragment_25MC8O\n id\n }\n}\n\nfragment RiskGraphFragment_25MC8O on Organization {\n canCreateRisk: permission(action: \"core:risk:create\")\n risks(first: $first, after: $after, last: $last, before: $before, orderBy: $order, filter: {snapshotId: $snapshotId}) {\n edges {\n node {\n id\n snapshotId\n name\n category\n treatment\n owner {\n id\n fullName\n }\n inherentLikelihood\n inherentImpact\n residualLikelihood\n residualImpact\n inherentRiskScore\n residualRiskScore\n canUpdate: permission(action: \"core:risk:update\")\n canDelete: permission(action: \"core:risk:delete\")\n ...useRiskFormFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n\nfragment useRiskFormFragment on Risk {\n id\n name\n category\n description\n treatment\n inherentLikelihood\n inherentImpact\n residualLikelihood\n residualImpact\n inherentRiskScore\n residualRiskScore\n note\n owner {\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "41dc9e3adc5d7d9b2126a49afef685c7"; - -export default node; diff --git a/apps/console/src/__generated__/core/SignatureDocumentsDialogMutation.graphql.ts b/apps/console/src/__generated__/core/SignatureDocumentsDialogMutation.graphql.ts deleted file mode 100644 index 651fca514..000000000 --- a/apps/console/src/__generated__/core/SignatureDocumentsDialogMutation.graphql.ts +++ /dev/null @@ -1,128 +0,0 @@ -/** - * @generated SignedSource<<14890a4f10a8862a8aaf30ee1dc6f065>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DocumentVersionSignatureState = "REQUESTED" | "SIGNED"; -export type BulkRequestSignaturesInput = { - documentIds: ReadonlyArray; - signatoryIds: ReadonlyArray; -}; -export type SignatureDocumentsDialogMutation$variables = { - input: BulkRequestSignaturesInput; -}; -export type SignatureDocumentsDialogMutation$data = { - readonly bulkRequestSignatures: { - readonly documentVersionSignatureEdges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly state: DocumentVersionSignatureState; - }; - }>; - }; -}; -export type SignatureDocumentsDialogMutation = { - response: SignatureDocumentsDialogMutation$data; - variables: SignatureDocumentsDialogMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "BulkRequestSignaturesPayload", - "kind": "LinkedField", - "name": "bulkRequestSignatures", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionSignatureEdge", - "kind": "LinkedField", - "name": "documentVersionSignatureEdges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionSignature", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "SignatureDocumentsDialogMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "SignatureDocumentsDialogMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "4426d76c855d441caab5c932c2ceb2ba", - "id": null, - "metadata": {}, - "name": "SignatureDocumentsDialogMutation", - "operationKind": "mutation", - "text": "mutation SignatureDocumentsDialogMutation(\n $input: BulkRequestSignaturesInput!\n) {\n bulkRequestSignatures(input: $input) {\n documentVersionSignatureEdges {\n node {\n id\n state\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "1dbd9a7870416bf75d0a6fe44ebde408"; - -export default node; diff --git a/apps/console/src/__generated__/core/SnapshotBannerQuery.graphql.ts b/apps/console/src/__generated__/core/SnapshotBannerQuery.graphql.ts deleted file mode 100644 index 786925808..000000000 --- a/apps/console/src/__generated__/core/SnapshotBannerQuery.graphql.ts +++ /dev/null @@ -1,155 +0,0 @@ -/** - * @generated SignedSource<<2b49935877fd64d39d0cfd649f3f01a5>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type SnapshotsType = "ASSETS" | "CONTINUAL_IMPROVEMENTS" | "DATA" | "NONCONFORMITIES" | "OBLIGATIONS" | "PROCESSING_ACTIVITIES" | "RISKS" | "STATES_OF_APPLICABILITY" | "VENDORS"; -export type SnapshotBannerQuery$variables = { - snapshotId: string; -}; -export type SnapshotBannerQuery$data = { - readonly node: { - readonly createdAt?: string; - readonly id?: string; - readonly name?: string; - readonly type?: SnapshotsType; - }; -}; -export type SnapshotBannerQuery = { - response: SnapshotBannerQuery$data; - variables: SnapshotBannerQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "snapshotId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "type", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "SnapshotBannerQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/) - ], - "type": "Snapshot", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "SnapshotBannerQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/) - ], - "type": "Snapshot", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "7e026c7c030cd116b4794260934c394f", - "id": null, - "metadata": {}, - "name": "SnapshotBannerQuery", - "operationKind": "query", - "text": "query SnapshotBannerQuery(\n $snapshotId: ID!\n) {\n node(id: $snapshotId) {\n __typename\n ... on Snapshot {\n id\n name\n type\n createdAt\n }\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "e50a4bb5133d8e918b8b2b9d2a42f1d1"; - -export default node; diff --git a/apps/console/src/__generated__/core/SnapshotFormDialogCreateMutation.graphql.ts b/apps/console/src/__generated__/core/SnapshotFormDialogCreateMutation.graphql.ts deleted file mode 100644 index a0653b247..000000000 --- a/apps/console/src/__generated__/core/SnapshotFormDialogCreateMutation.graphql.ts +++ /dev/null @@ -1,208 +0,0 @@ -/** - * @generated SignedSource<<8fe6c01dea59b2ae2d04050e3cb959d1>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type SnapshotsType = "ASSETS" | "CONTINUAL_IMPROVEMENTS" | "DATA" | "NONCONFORMITIES" | "OBLIGATIONS" | "PROCESSING_ACTIVITIES" | "RISKS" | "STATES_OF_APPLICABILITY" | "VENDORS"; -export type CreateSnapshotInput = { - description?: string | null | undefined; - name: string; - organizationId: string; - type: SnapshotsType; -}; -export type SnapshotFormDialogCreateMutation$variables = { - connections: ReadonlyArray; - input: CreateSnapshotInput; -}; -export type SnapshotFormDialogCreateMutation$data = { - readonly createSnapshot: { - readonly snapshotEdge: { - readonly node: { - readonly canDelete: boolean; - readonly createdAt: string; - readonly description: string | null | undefined; - readonly id: string; - readonly name: string; - readonly type: SnapshotsType; - }; - }; - }; -}; -export type SnapshotFormDialogCreateMutation = { - response: SnapshotFormDialogCreateMutation$data; - variables: SnapshotFormDialogCreateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "concreteType": "SnapshotEdge", - "kind": "LinkedField", - "name": "snapshotEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Snapshot", - "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": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "type", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:snapshot:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:snapshot:delete\")" - } - ], - "storageKey": null - } - ], - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "SnapshotFormDialogCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateSnapshotPayload", - "kind": "LinkedField", - "name": "createSnapshot", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "SnapshotFormDialogCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateSnapshotPayload", - "kind": "LinkedField", - "name": "createSnapshot", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "snapshotEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "5165891e3f49f2b9e3d1a0b29a0f8bf6", - "id": null, - "metadata": {}, - "name": "SnapshotFormDialogCreateMutation", - "operationKind": "mutation", - "text": "mutation SnapshotFormDialogCreateMutation(\n $input: CreateSnapshotInput!\n) {\n createSnapshot(input: $input) {\n snapshotEdge {\n node {\n id\n name\n description\n type\n createdAt\n canDelete: permission(action: \"core:snapshot:delete\")\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "1a844eb9af4ea94b194deaf65ba068a0"; - -export default node; diff --git a/apps/console/src/__generated__/core/SnapshotGraphCreateMutation.graphql.ts b/apps/console/src/__generated__/core/SnapshotGraphCreateMutation.graphql.ts deleted file mode 100644 index c5e441b0f..000000000 --- a/apps/console/src/__generated__/core/SnapshotGraphCreateMutation.graphql.ts +++ /dev/null @@ -1,194 +0,0 @@ -/** - * @generated SignedSource<<1d5ff0e0f9c52ef9b340d17be0f9895f>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type SnapshotsType = "ASSETS" | "CONTINUAL_IMPROVEMENTS" | "DATA" | "NONCONFORMITIES" | "OBLIGATIONS" | "PROCESSING_ACTIVITIES" | "RISKS" | "STATES_OF_APPLICABILITY" | "VENDORS"; -export type CreateSnapshotInput = { - description?: string | null | undefined; - name: string; - organizationId: string; - type: SnapshotsType; -}; -export type SnapshotGraphCreateMutation$variables = { - connections: ReadonlyArray; - input: CreateSnapshotInput; -}; -export type SnapshotGraphCreateMutation$data = { - readonly createSnapshot: { - readonly snapshotEdge: { - readonly node: { - readonly createdAt: string; - readonly description: string | null | undefined; - readonly id: string; - readonly name: string; - readonly type: SnapshotsType; - }; - }; - }; -}; -export type SnapshotGraphCreateMutation = { - response: SnapshotGraphCreateMutation$data; - variables: SnapshotGraphCreateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "concreteType": "SnapshotEdge", - "kind": "LinkedField", - "name": "snapshotEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Snapshot", - "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": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "type", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "SnapshotGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateSnapshotPayload", - "kind": "LinkedField", - "name": "createSnapshot", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "SnapshotGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateSnapshotPayload", - "kind": "LinkedField", - "name": "createSnapshot", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "snapshotEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "aa2e8ace42f6154271b5d035ae18cad2", - "id": null, - "metadata": {}, - "name": "SnapshotGraphCreateMutation", - "operationKind": "mutation", - "text": "mutation SnapshotGraphCreateMutation(\n $input: CreateSnapshotInput!\n) {\n createSnapshot(input: $input) {\n snapshotEdge {\n node {\n id\n name\n description\n type\n createdAt\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "97d681687efde567b46938fc0541635f"; - -export default node; diff --git a/apps/console/src/__generated__/core/SnapshotGraphDeleteMutation.graphql.ts b/apps/console/src/__generated__/core/SnapshotGraphDeleteMutation.graphql.ts deleted file mode 100644 index 1b3a56713..000000000 --- a/apps/console/src/__generated__/core/SnapshotGraphDeleteMutation.graphql.ts +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @generated SignedSource<<6a696f2d1ebd4a2e733bd9d1b3c42017>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteSnapshotInput = { - snapshotId: string; -}; -export type SnapshotGraphDeleteMutation$variables = { - connections: ReadonlyArray; - input: DeleteSnapshotInput; -}; -export type SnapshotGraphDeleteMutation$data = { - readonly deleteSnapshot: { - readonly deletedSnapshotId: string; - }; -}; -export type SnapshotGraphDeleteMutation = { - response: SnapshotGraphDeleteMutation$data; - variables: SnapshotGraphDeleteMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedSnapshotId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "SnapshotGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteSnapshotPayload", - "kind": "LinkedField", - "name": "deleteSnapshot", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "SnapshotGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteSnapshotPayload", - "kind": "LinkedField", - "name": "deleteSnapshot", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedSnapshotId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "f5f81e50b61dbc8d5668e421cf88223f", - "id": null, - "metadata": {}, - "name": "SnapshotGraphDeleteMutation", - "operationKind": "mutation", - "text": "mutation SnapshotGraphDeleteMutation(\n $input: DeleteSnapshotInput!\n) {\n deleteSnapshot(input: $input) {\n deletedSnapshotId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "cc7cb0955bf74c611136392354ff8dcf"; - -export default node; diff --git a/apps/console/src/__generated__/core/SnapshotGraphListQuery.graphql.ts b/apps/console/src/__generated__/core/SnapshotGraphListQuery.graphql.ts deleted file mode 100644 index 4d1f35478..000000000 --- a/apps/console/src/__generated__/core/SnapshotGraphListQuery.graphql.ts +++ /dev/null @@ -1,282 +0,0 @@ -/** - * @generated SignedSource<<55bde95f500bc2496ce224e275e49984>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type SnapshotGraphListQuery$variables = { - organizationId: string; -}; -export type SnapshotGraphListQuery$data = { - readonly organization: { - readonly canCreateSnapshot?: boolean; - readonly " $fragmentSpreads": FragmentRefs<"SnapshotsPageFragment">; - }; -}; -export type SnapshotGraphListQuery = { - response: SnapshotGraphListQuery$data; - variables: SnapshotGraphListQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": "canCreateSnapshot", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:snapshot:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:snapshot:create\")" -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v4 = [ - { - "kind": "Literal", - "name": "first", - "value": 100 - } -], -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "SnapshotGraphListQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "SnapshotsPageFragment" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "SnapshotGraphListQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": (v4/*: any*/), - "concreteType": "SnapshotConnection", - "kind": "LinkedField", - "name": "snapshots", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "SnapshotEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Snapshot", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v5/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "type", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:snapshot:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:snapshot:delete\")" - }, - (v3/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": "snapshots(first:100)" - }, - { - "alias": null, - "args": (v4/*: any*/), - "filters": null, - "handle": "connection", - "key": "SnapshotsGraphListQuery__snapshots", - "kind": "LinkedHandle", - "name": "snapshots" - } - ], - "type": "Organization", - "abstractKey": null - }, - (v5/*: any*/) - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "5925e1c6f87d598008baeef50bf620c7", - "id": null, - "metadata": {}, - "name": "SnapshotGraphListQuery", - "operationKind": "query", - "text": "query SnapshotGraphListQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n ... on Organization {\n canCreateSnapshot: permission(action: \"core:snapshot:create\")\n ...SnapshotsPageFragment\n }\n id\n }\n}\n\nfragment SnapshotsPageFragment on Organization {\n snapshots(first: 100) {\n edges {\n node {\n id\n name\n description\n type\n createdAt\n canDelete: permission(action: \"core:snapshot:delete\")\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "18d12720fafef47af62376e8461fd19f"; - -export default node; diff --git a/apps/console/src/__generated__/core/SnapshotGraphNodeQuery.graphql.ts b/apps/console/src/__generated__/core/SnapshotGraphNodeQuery.graphql.ts deleted file mode 100644 index 5472b4190..000000000 --- a/apps/console/src/__generated__/core/SnapshotGraphNodeQuery.graphql.ts +++ /dev/null @@ -1,184 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type SnapshotsType = "ASSETS" | "CONTINUAL_IMPROVEMENTS" | "DATA" | "NONCONFORMITIES" | "OBLIGATIONS" | "PROCESSING_ACTIVITIES" | "RISKS" | "STATES_OF_APPLICABILITY" | "VENDORS"; -export type SnapshotGraphNodeQuery$variables = { - snapshotId: string; -}; -export type SnapshotGraphNodeQuery$data = { - readonly node: { - readonly createdAt?: string; - readonly description?: string | null | undefined; - readonly id?: string; - readonly name?: string; - readonly organization?: { - readonly id: string; - readonly name: string; - }; - readonly type?: SnapshotsType; - }; -}; -export type SnapshotGraphNodeQuery = { - response: SnapshotGraphNodeQuery$data; - variables: SnapshotGraphNodeQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "snapshotId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "type", - "storageKey": null -}, -v6 = { - "alias": null, - "args": null, - "concreteType": "Organization", - "kind": "LinkedField", - "name": "organization", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/) - ], - "storageKey": null -}, -v7 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "SnapshotGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/) - ], - "type": "Snapshot", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "SnapshotGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/) - ], - "type": "Snapshot", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "8dafbbd8ecc8442fa065d19bba932ce2", - "id": null, - "metadata": {}, - "name": "SnapshotGraphNodeQuery", - "operationKind": "query", - "text": "query SnapshotGraphNodeQuery(\n $snapshotId: ID!\n) {\n node(id: $snapshotId) {\n __typename\n ... on Snapshot {\n id\n name\n description\n type\n organization {\n id\n name\n }\n createdAt\n }\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "b687d3da56dbfa333e66f4f2c9c0c824"; - -export default node; diff --git a/apps/console/src/__generated__/core/SnapshotsPageFragment.graphql.ts b/apps/console/src/__generated__/core/SnapshotsPageFragment.graphql.ts deleted file mode 100644 index d5b24f1f7..000000000 --- a/apps/console/src/__generated__/core/SnapshotsPageFragment.graphql.ts +++ /dev/null @@ -1,191 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type SnapshotsType = "ASSETS" | "CONTINUAL_IMPROVEMENTS" | "DATA" | "NONCONFORMITIES" | "OBLIGATIONS" | "PROCESSING_ACTIVITIES" | "RISKS" | "STATES_OF_APPLICABILITY" | "VENDORS"; -import { FragmentRefs } from "relay-runtime"; -export type SnapshotsPageFragment$data = { - readonly snapshots: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly canDelete: boolean; - readonly createdAt: string; - readonly description: string | null | undefined; - readonly id: string; - readonly name: string; - readonly type: SnapshotsType; - }; - }>; - }; - readonly " $fragmentType": "SnapshotsPageFragment"; -}; -export type SnapshotsPageFragment$key = { - readonly " $data"?: SnapshotsPageFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"SnapshotsPageFragment">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "forward", - "path": [ - "snapshots" - ] - } - ] - }, - "name": "SnapshotsPageFragment", - "selections": [ - { - "alias": "snapshots", - "args": null, - "concreteType": "SnapshotConnection", - "kind": "LinkedField", - "name": "__SnapshotsGraphListQuery__snapshots_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "SnapshotEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Snapshot", - "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": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "type", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:snapshot:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:snapshot:delete\")" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - } - ], - "type": "Organization", - "abstractKey": null -}; - -(node as any).hash = "d924051b479e33aa7fb627e7ad8ad664"; - -export default node; diff --git a/apps/console/src/__generated__/core/StateOfApplicabilityControlsFieldFrameworkControlsQuery.graphql.ts b/apps/console/src/__generated__/core/StateOfApplicabilityControlsFieldFrameworkControlsQuery.graphql.ts deleted file mode 100644 index 5ce820261..000000000 --- a/apps/console/src/__generated__/core/StateOfApplicabilityControlsFieldFrameworkControlsQuery.graphql.ts +++ /dev/null @@ -1,197 +0,0 @@ -/** - * @generated SignedSource<<760a4c9ef58d487ab996d36a6cf1aa21>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type StateOfApplicabilityControlsFieldFrameworkControlsQuery$variables = { - frameworkId: string; -}; -export type StateOfApplicabilityControlsFieldFrameworkControlsQuery$data = { - readonly framework: { - readonly controls?: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly name: string; - readonly sectionTitle: string; - }; - }>; - }; - readonly id?: string; - }; -}; -export type StateOfApplicabilityControlsFieldFrameworkControlsQuery = { - response: StateOfApplicabilityControlsFieldFrameworkControlsQuery$data; - variables: StateOfApplicabilityControlsFieldFrameworkControlsQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "frameworkId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "frameworkId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 500 - }, - { - "kind": "Literal", - "name": "orderBy", - "value": { - "direction": "ASC", - "field": "SECTION_TITLE" - } - } - ], - "concreteType": "ControlConnection", - "kind": "LinkedField", - "name": "controls", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ControlEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Control", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sectionTitle", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "controls(first:500,orderBy:{\"direction\":\"ASC\",\"field\":\"SECTION_TITLE\"})" -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "StateOfApplicabilityControlsFieldFrameworkControlsQuery", - "selections": [ - { - "alias": "framework", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - (v3/*: any*/) - ], - "type": "Framework", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "StateOfApplicabilityControlsFieldFrameworkControlsQuery", - "selections": [ - { - "alias": "framework", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/) - ], - "type": "Framework", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "4e57853f9452f6167ef9dd2521f0b998", - "id": null, - "metadata": {}, - "name": "StateOfApplicabilityControlsFieldFrameworkControlsQuery", - "operationKind": "query", - "text": "query StateOfApplicabilityControlsFieldFrameworkControlsQuery(\n $frameworkId: ID!\n) {\n framework: node(id: $frameworkId) {\n __typename\n ... on Framework {\n id\n controls(first: 500, orderBy: {field: SECTION_TITLE, direction: ASC}) {\n edges {\n node {\n id\n sectionTitle\n name\n }\n }\n }\n }\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "2817a6951ce5ad1efdee9951636916ff"; - -export default node; diff --git a/apps/console/src/__generated__/core/StateOfApplicabilityControlsFieldFrameworksQuery.graphql.ts b/apps/console/src/__generated__/core/StateOfApplicabilityControlsFieldFrameworksQuery.graphql.ts deleted file mode 100644 index 6719dccc3..000000000 --- a/apps/console/src/__generated__/core/StateOfApplicabilityControlsFieldFrameworksQuery.graphql.ts +++ /dev/null @@ -1,172 +0,0 @@ -/** - * @generated SignedSource<<09147ad036a4ae9295cd5fc5242f6ee7>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type StateOfApplicabilityControlsFieldFrameworksQuery$variables = { - organizationId: string; -}; -export type StateOfApplicabilityControlsFieldFrameworksQuery$data = { - readonly organization: { - readonly frameworks?: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly name: string; - }; - }>; - }; - }; -}; -export type StateOfApplicabilityControlsFieldFrameworksQuery = { - response: StateOfApplicabilityControlsFieldFrameworksQuery$data; - variables: StateOfApplicabilityControlsFieldFrameworksQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 100 - } - ], - "concreteType": "FrameworkConnection", - "kind": "LinkedField", - "name": "frameworks", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "FrameworkEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "frameworks(first:100)" - } - ], - "type": "Organization", - "abstractKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "StateOfApplicabilityControlsFieldFrameworksQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "StateOfApplicabilityControlsFieldFrameworksQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - (v3/*: any*/), - (v2/*: any*/) - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "88fe75a1aeca2c9971693ed79bf82afe", - "id": null, - "metadata": {}, - "name": "StateOfApplicabilityControlsFieldFrameworksQuery", - "operationKind": "query", - "text": "query StateOfApplicabilityControlsFieldFrameworksQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n ... on Organization {\n frameworks(first: 100) {\n edges {\n node {\n id\n name\n }\n }\n }\n }\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "5a0adc0c46445f40980fdb8edb8122ce"; - -export default node; diff --git a/apps/console/src/__generated__/core/StateOfApplicabilityControlsTabFragment.graphql.ts b/apps/console/src/__generated__/core/StateOfApplicabilityControlsTabFragment.graphql.ts deleted file mode 100644 index d9ff9cb7f..000000000 --- a/apps/console/src/__generated__/core/StateOfApplicabilityControlsTabFragment.graphql.ts +++ /dev/null @@ -1,228 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type StateOfApplicabilityControlsTabFragment$data = { - readonly availableControls: ReadonlyArray<{ - readonly applicability: boolean | null | undefined; - readonly bestPractice: boolean; - readonly contractual: boolean; - readonly controlId: string; - readonly frameworkId: string; - readonly frameworkName: string; - readonly justification: string | null | undefined; - readonly name: string; - readonly organizationId: string; - readonly regulatory: boolean; - readonly riskAssessment: boolean; - readonly sectionTitle: string; - readonly stateOfApplicabilityId: string | null | undefined; - }>; - readonly canCreateStateOfApplicabilityControlMapping: boolean; - readonly canDeleteStateOfApplicabilityControlMapping: boolean; - readonly controlsInfo: { - readonly totalCount: number; - }; - readonly id: string; - readonly " $fragmentType": "StateOfApplicabilityControlsTabFragment"; -}; -export type StateOfApplicabilityControlsTabFragment$key = { - readonly " $data"?: StateOfApplicabilityControlsTabFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"StateOfApplicabilityControlsTabFragment">; -}; - -import StateOfApplicabilityControlsTabRefetchQuery_graphql from './StateOfApplicabilityControlsTabRefetchQuery.graphql'; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": { - "refetch": { - "connection": null, - "fragmentPathInResult": [ - "node" - ], - "operation": StateOfApplicabilityControlsTabRefetchQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "StateOfApplicabilityControlsTabFragment", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": "controlsInfo", - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 0 - } - ], - "concreteType": "ControlConnection", - "kind": "LinkedField", - "name": "controls", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - } - ], - "storageKey": "controls(first:0)" - }, - { - "alias": "canCreateStateOfApplicabilityControlMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:state-of-applicability:control-mapping:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:state-of-applicability:control-mapping:create\")" - }, - { - "alias": "canDeleteStateOfApplicabilityControlMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:state-of-applicability:control-mapping:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:state-of-applicability:control-mapping:delete\")" - }, - { - "alias": null, - "args": null, - "concreteType": "AvailableStateOfApplicabilityControl", - "kind": "LinkedField", - "name": "availableControls", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "controlId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sectionTitle", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "frameworkId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "frameworkName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "organizationId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "stateOfApplicabilityId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "applicability", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "justification", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "bestPractice", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "regulatory", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "contractual", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "riskAssessment", - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "StateOfApplicability", - "abstractKey": null -}; - -(node as any).hash = "70183a65cc3c55a9ffddb4c2824bf5a7"; - -export default node; diff --git a/apps/console/src/__generated__/core/StateOfApplicabilityControlsTabRefetchQuery.graphql.ts b/apps/console/src/__generated__/core/StateOfApplicabilityControlsTabRefetchQuery.graphql.ts deleted file mode 100644 index 74ce42302..000000000 --- a/apps/console/src/__generated__/core/StateOfApplicabilityControlsTabRefetchQuery.graphql.ts +++ /dev/null @@ -1,273 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type StateOfApplicabilityControlsTabRefetchQuery$variables = { - id: string; -}; -export type StateOfApplicabilityControlsTabRefetchQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"StateOfApplicabilityControlsTabFragment">; - }; -}; -export type StateOfApplicabilityControlsTabRefetchQuery = { - response: StateOfApplicabilityControlsTabRefetchQuery$data; - variables: StateOfApplicabilityControlsTabRefetchQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "StateOfApplicabilityControlsTabRefetchQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": null, - "kind": "FragmentSpread", - "name": "StateOfApplicabilityControlsTabFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "StateOfApplicabilityControlsTabRefetchQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "kind": "InlineFragment", - "selections": [ - { - "alias": "controlsInfo", - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 0 - } - ], - "concreteType": "ControlConnection", - "kind": "LinkedField", - "name": "controls", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - } - ], - "storageKey": "controls(first:0)" - }, - { - "alias": "canCreateStateOfApplicabilityControlMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:state-of-applicability:control-mapping:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:state-of-applicability:control-mapping:create\")" - }, - { - "alias": "canDeleteStateOfApplicabilityControlMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:state-of-applicability:control-mapping:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:state-of-applicability:control-mapping:delete\")" - }, - { - "alias": null, - "args": null, - "concreteType": "AvailableStateOfApplicabilityControl", - "kind": "LinkedField", - "name": "availableControls", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "controlId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sectionTitle", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "frameworkId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "frameworkName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "organizationId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "stateOfApplicabilityId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "applicability", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "justification", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "bestPractice", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "regulatory", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "contractual", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "riskAssessment", - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "StateOfApplicability", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "7faadf001782b3aae9b9af0ce5ffa7a5", - "id": null, - "metadata": {}, - "name": "StateOfApplicabilityControlsTabRefetchQuery", - "operationKind": "query", - "text": "query StateOfApplicabilityControlsTabRefetchQuery(\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...StateOfApplicabilityControlsTabFragment\n id\n }\n}\n\nfragment StateOfApplicabilityControlsTabFragment on StateOfApplicability {\n id\n controlsInfo: controls(first: 0) {\n totalCount\n }\n canCreateStateOfApplicabilityControlMapping: permission(action: \"core:state-of-applicability:control-mapping:create\")\n canDeleteStateOfApplicabilityControlMapping: permission(action: \"core:state-of-applicability:control-mapping:delete\")\n availableControls {\n controlId\n sectionTitle\n name\n frameworkId\n frameworkName\n organizationId\n stateOfApplicabilityId\n applicability\n justification\n bestPractice\n regulatory\n contractual\n riskAssessment\n }\n}\n" - } -}; -})(); - -(node as any).hash = "70183a65cc3c55a9ffddb4c2824bf5a7"; - -export default node; diff --git a/apps/console/src/__generated__/core/StateOfApplicabilityControlsTabUnlinkMutation.graphql.ts b/apps/console/src/__generated__/core/StateOfApplicabilityControlsTabUnlinkMutation.graphql.ts deleted file mode 100644 index df896d5d7..000000000 --- a/apps/console/src/__generated__/core/StateOfApplicabilityControlsTabUnlinkMutation.graphql.ts +++ /dev/null @@ -1,109 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteStateOfApplicabilityControlMappingInput = { - controlId: string; - stateOfApplicabilityId: string; -}; -export type StateOfApplicabilityControlsTabUnlinkMutation$variables = { - input: DeleteStateOfApplicabilityControlMappingInput; -}; -export type StateOfApplicabilityControlsTabUnlinkMutation$data = { - readonly deleteStateOfApplicabilityControlMapping: { - readonly deletedControlId: string; - readonly deletedStateOfApplicabilityControlId: string; - readonly deletedStateOfApplicabilityId: string; - }; -}; -export type StateOfApplicabilityControlsTabUnlinkMutation = { - response: StateOfApplicabilityControlsTabUnlinkMutation$data; - variables: StateOfApplicabilityControlsTabUnlinkMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "DeleteStateOfApplicabilityControlMappingPayload", - "kind": "LinkedField", - "name": "deleteStateOfApplicabilityControlMapping", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedStateOfApplicabilityId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedControlId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedStateOfApplicabilityControlId", - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "StateOfApplicabilityControlsTabUnlinkMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "StateOfApplicabilityControlsTabUnlinkMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "6bf3ac32bd032b215e3e4f48100353d7", - "id": null, - "metadata": {}, - "name": "StateOfApplicabilityControlsTabUnlinkMutation", - "operationKind": "mutation", - "text": "mutation StateOfApplicabilityControlsTabUnlinkMutation(\n $input: DeleteStateOfApplicabilityControlMappingInput!\n) {\n deleteStateOfApplicabilityControlMapping(input: $input) {\n deletedStateOfApplicabilityId\n deletedControlId\n deletedStateOfApplicabilityControlId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "b8c3e0ca44bde75468fcfab09151854d"; - -export default node; diff --git a/apps/console/src/__generated__/core/StateOfApplicabilityDetailPageExportMutation.graphql.ts b/apps/console/src/__generated__/core/StateOfApplicabilityDetailPageExportMutation.graphql.ts deleted file mode 100644 index 8baf70251..000000000 --- a/apps/console/src/__generated__/core/StateOfApplicabilityDetailPageExportMutation.graphql.ts +++ /dev/null @@ -1,92 +0,0 @@ -/** - * @generated SignedSource<<9dc238538172b956fb81954024522ee1>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type ExportStateOfApplicabilityPDFInput = { - stateOfApplicabilityId: string; -}; -export type StateOfApplicabilityDetailPageExportMutation$variables = { - input: ExportStateOfApplicabilityPDFInput; -}; -export type StateOfApplicabilityDetailPageExportMutation$data = { - readonly exportStateOfApplicabilityPDF: { - readonly data: string; - }; -}; -export type StateOfApplicabilityDetailPageExportMutation = { - response: StateOfApplicabilityDetailPageExportMutation$data; - variables: StateOfApplicabilityDetailPageExportMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "ExportStateOfApplicabilityPDFPayload", - "kind": "LinkedField", - "name": "exportStateOfApplicabilityPDF", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "data", - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "StateOfApplicabilityDetailPageExportMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "StateOfApplicabilityDetailPageExportMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "dbc24d23ab71abb76f95b114f86f200d", - "id": null, - "metadata": {}, - "name": "StateOfApplicabilityDetailPageExportMutation", - "operationKind": "mutation", - "text": "mutation StateOfApplicabilityDetailPageExportMutation(\n $input: ExportStateOfApplicabilityPDFInput!\n) {\n exportStateOfApplicabilityPDF(input: $input) {\n data\n }\n}\n" - } -}; -})(); - -(node as any).hash = "36be308a451ada118c2bcc9c3b0c0a2b"; - -export default node; diff --git a/apps/console/src/__generated__/core/StateOfApplicabilityGraphCreateMutation.graphql.ts b/apps/console/src/__generated__/core/StateOfApplicabilityGraphCreateMutation.graphql.ts deleted file mode 100644 index fbf85a3f1..000000000 --- a/apps/console/src/__generated__/core/StateOfApplicabilityGraphCreateMutation.graphql.ts +++ /dev/null @@ -1,200 +0,0 @@ -/** - * @generated SignedSource<<4c20f255a28d7869f69f484e0e4e2321>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type CreateStateOfApplicabilityInput = { - name: string; - organizationId: string; - ownerId: string; -}; -export type StateOfApplicabilityGraphCreateMutation$variables = { - connections: ReadonlyArray; - input: CreateStateOfApplicabilityInput; -}; -export type StateOfApplicabilityGraphCreateMutation$data = { - readonly createStateOfApplicability: { - readonly stateOfApplicabilityEdge: { - readonly node: { - readonly createdAt: string; - readonly id: string; - readonly name: string; - readonly snapshotId: string | null | undefined; - readonly sourceId: string | null | undefined; - readonly updatedAt: string; - }; - }; - }; -}; -export type StateOfApplicabilityGraphCreateMutation = { - response: StateOfApplicabilityGraphCreateMutation$data; - variables: StateOfApplicabilityGraphCreateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "concreteType": "StateOfApplicabilityEdge", - "kind": "LinkedField", - "name": "stateOfApplicabilityEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "StateOfApplicability", - "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": "sourceId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "StateOfApplicabilityGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateStateOfApplicabilityPayload", - "kind": "LinkedField", - "name": "createStateOfApplicability", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "StateOfApplicabilityGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateStateOfApplicabilityPayload", - "kind": "LinkedField", - "name": "createStateOfApplicability", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "stateOfApplicabilityEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "c1a3721f591bc17ed455a326eb9edead", - "id": null, - "metadata": {}, - "name": "StateOfApplicabilityGraphCreateMutation", - "operationKind": "mutation", - "text": "mutation StateOfApplicabilityGraphCreateMutation(\n $input: CreateStateOfApplicabilityInput!\n) {\n createStateOfApplicability(input: $input) {\n stateOfApplicabilityEdge {\n node {\n id\n name\n sourceId\n snapshotId\n createdAt\n updatedAt\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "294d4fe89f8cbbbb4b8170a46dd3cd7a"; - -export default node; diff --git a/apps/console/src/__generated__/core/StateOfApplicabilityGraphDeleteMutation.graphql.ts b/apps/console/src/__generated__/core/StateOfApplicabilityGraphDeleteMutation.graphql.ts deleted file mode 100644 index 6eea78f1c..000000000 --- a/apps/console/src/__generated__/core/StateOfApplicabilityGraphDeleteMutation.graphql.ts +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteStateOfApplicabilityInput = { - stateOfApplicabilityId: string; -}; -export type StateOfApplicabilityGraphDeleteMutation$variables = { - connections: ReadonlyArray; - input: DeleteStateOfApplicabilityInput; -}; -export type StateOfApplicabilityGraphDeleteMutation$data = { - readonly deleteStateOfApplicability: { - readonly deletedStateOfApplicabilityId: string; - }; -}; -export type StateOfApplicabilityGraphDeleteMutation = { - response: StateOfApplicabilityGraphDeleteMutation$data; - variables: StateOfApplicabilityGraphDeleteMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedStateOfApplicabilityId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "StateOfApplicabilityGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteStateOfApplicabilityPayload", - "kind": "LinkedField", - "name": "deleteStateOfApplicability", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "StateOfApplicabilityGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteStateOfApplicabilityPayload", - "kind": "LinkedField", - "name": "deleteStateOfApplicability", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedStateOfApplicabilityId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "197a2ed2b48d43372e16deae6e9b98c2", - "id": null, - "metadata": {}, - "name": "StateOfApplicabilityGraphDeleteMutation", - "operationKind": "mutation", - "text": "mutation StateOfApplicabilityGraphDeleteMutation(\n $input: DeleteStateOfApplicabilityInput!\n) {\n deleteStateOfApplicability(input: $input) {\n deletedStateOfApplicabilityId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "92ec928d4ad0fe7ff4ae78ad9f1f329a"; - -export default node; diff --git a/apps/console/src/__generated__/core/StateOfApplicabilityGraphForEditQuery.graphql.ts b/apps/console/src/__generated__/core/StateOfApplicabilityGraphForEditQuery.graphql.ts deleted file mode 100644 index 580effdc0..000000000 --- a/apps/console/src/__generated__/core/StateOfApplicabilityGraphForEditQuery.graphql.ts +++ /dev/null @@ -1,218 +0,0 @@ -/** - * @generated SignedSource<<9e7f481aa8c95332bc03c3974a6752f8>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type StateOfApplicabilityGraphForEditQuery$variables = { - stateOfApplicabilityId: string; -}; -export type StateOfApplicabilityGraphForEditQuery$data = { - readonly node: { - readonly controls?: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly framework: { - readonly id: string; - readonly name: string; - }; - readonly id: string; - readonly name: string; - readonly sectionTitle: string; - }; - }>; - }; - readonly id?: string; - readonly name?: string; - }; -}; -export type StateOfApplicabilityGraphForEditQuery = { - response: StateOfApplicabilityGraphForEditQuery$data; - variables: StateOfApplicabilityGraphForEditQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "stateOfApplicabilityId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "stateOfApplicabilityId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v4 = { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 1000 - }, - { - "kind": "Literal", - "name": "orderBy", - "value": { - "direction": "ASC", - "field": "SECTION_TITLE" - } - } - ], - "concreteType": "ControlConnection", - "kind": "LinkedField", - "name": "controls", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "ControlEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Control", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sectionTitle", - "storageKey": null - }, - (v3/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "controls(first:1000,orderBy:{\"direction\":\"ASC\",\"field\":\"SECTION_TITLE\"})" -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "StateOfApplicabilityGraphForEditQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/) - ], - "type": "StateOfApplicability", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "StateOfApplicabilityGraphForEditQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/), - (v4/*: any*/) - ], - "type": "StateOfApplicability", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "b6b5490aa177e6e7e8339060eac14a9c", - "id": null, - "metadata": {}, - "name": "StateOfApplicabilityGraphForEditQuery", - "operationKind": "query", - "text": "query StateOfApplicabilityGraphForEditQuery(\n $stateOfApplicabilityId: ID!\n) {\n node(id: $stateOfApplicabilityId) {\n __typename\n ... on StateOfApplicability {\n id\n name\n controls(first: 1000, orderBy: {field: SECTION_TITLE, direction: ASC}) {\n edges {\n node {\n id\n sectionTitle\n name\n framework {\n id\n name\n }\n }\n }\n }\n }\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "e89010d6f8d66b9df856280a59d5f0c8"; - -export default node; diff --git a/apps/console/src/__generated__/core/StateOfApplicabilityGraphNodeQuery.graphql.ts b/apps/console/src/__generated__/core/StateOfApplicabilityGraphNodeQuery.graphql.ts deleted file mode 100644 index c6a5b2e4a..000000000 --- a/apps/console/src/__generated__/core/StateOfApplicabilityGraphNodeQuery.graphql.ts +++ /dev/null @@ -1,401 +0,0 @@ -/** - * @generated SignedSource<<74ef0d7b05d90eaaac07851cfb57409f>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type StateOfApplicabilityGraphNodeQuery$variables = { - stateOfApplicabilityId: string; -}; -export type StateOfApplicabilityGraphNodeQuery$data = { - readonly node: { - readonly canDelete?: boolean; - readonly canUpdate?: boolean; - readonly createdAt?: string; - readonly id?: string; - readonly name?: string; - readonly organization?: { - readonly id: string; - } | null | undefined; - readonly owner?: { - readonly fullName: string; - readonly id: string; - }; - readonly snapshotId?: string | null | undefined; - readonly sourceId?: string | null | undefined; - readonly updatedAt?: string; - readonly " $fragmentSpreads": FragmentRefs<"StateOfApplicabilityControlsTabFragment">; - }; -}; -export type StateOfApplicabilityGraphNodeQuery = { - response: StateOfApplicabilityGraphNodeQuery$data; - variables: StateOfApplicabilityGraphNodeQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "stateOfApplicabilityId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "stateOfApplicabilityId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sourceId", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null -}, -v6 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null -}, -v7 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null -}, -v8 = { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:state-of-applicability:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:state-of-applicability:update\")" -}, -v9 = { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:state-of-applicability:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:state-of-applicability:delete\")" -}, -v10 = { - "alias": null, - "args": null, - "concreteType": "Organization", - "kind": "LinkedField", - "name": "organization", - "plural": false, - "selections": [ - (v2/*: any*/) - ], - "storageKey": null -}, -v11 = { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "StateOfApplicabilityGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "StateOfApplicabilityControlsTabFragment" - } - ], - "type": "StateOfApplicability", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "StateOfApplicabilityGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - { - "alias": "controlsInfo", - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 0 - } - ], - "concreteType": "ControlConnection", - "kind": "LinkedField", - "name": "controls", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - } - ], - "storageKey": "controls(first:0)" - }, - { - "alias": "canCreateStateOfApplicabilityControlMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:state-of-applicability:control-mapping:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:state-of-applicability:control-mapping:create\")" - }, - { - "alias": "canDeleteStateOfApplicabilityControlMapping", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:state-of-applicability:control-mapping:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:state-of-applicability:control-mapping:delete\")" - }, - { - "alias": null, - "args": null, - "concreteType": "AvailableStateOfApplicabilityControl", - "kind": "LinkedField", - "name": "availableControls", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "controlId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sectionTitle", - "storageKey": null - }, - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "frameworkId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "frameworkName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "organizationId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "stateOfApplicabilityId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "applicability", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "justification", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "bestPractice", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "regulatory", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "contractual", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "riskAssessment", - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "StateOfApplicability", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "dfdfadde088e82025aaa6c9c290f96b6", - "id": null, - "metadata": {}, - "name": "StateOfApplicabilityGraphNodeQuery", - "operationKind": "query", - "text": "query StateOfApplicabilityGraphNodeQuery(\n $stateOfApplicabilityId: ID!\n) {\n node(id: $stateOfApplicabilityId) {\n __typename\n ... on StateOfApplicability {\n id\n name\n sourceId\n snapshotId\n createdAt\n updatedAt\n canUpdate: permission(action: \"core:state-of-applicability:update\")\n canDelete: permission(action: \"core:state-of-applicability:delete\")\n organization {\n id\n }\n owner {\n id\n fullName\n }\n ...StateOfApplicabilityControlsTabFragment\n }\n id\n }\n}\n\nfragment StateOfApplicabilityControlsTabFragment on StateOfApplicability {\n id\n controlsInfo: controls(first: 0) {\n totalCount\n }\n canCreateStateOfApplicabilityControlMapping: permission(action: \"core:state-of-applicability:control-mapping:create\")\n canDeleteStateOfApplicabilityControlMapping: permission(action: \"core:state-of-applicability:control-mapping:delete\")\n availableControls {\n controlId\n sectionTitle\n name\n frameworkId\n frameworkName\n organizationId\n stateOfApplicabilityId\n applicability\n justification\n bestPractice\n regulatory\n contractual\n riskAssessment\n }\n}\n" - } -}; -})(); - -(node as any).hash = "1a1f3480b9c66597d146c48ed1b00bd1"; - -export default node; diff --git a/apps/console/src/__generated__/core/StateOfApplicabilityGraphPaginatedFragment.graphql.ts b/apps/console/src/__generated__/core/StateOfApplicabilityGraphPaginatedFragment.graphql.ts deleted file mode 100644 index 29aa27b41..000000000 --- a/apps/console/src/__generated__/core/StateOfApplicabilityGraphPaginatedFragment.graphql.ts +++ /dev/null @@ -1,315 +0,0 @@ -/** - * @generated SignedSource<<3472918fdff6205597f39a6310f2ee08>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type StateOfApplicabilityGraphPaginatedFragment$data = { - readonly id: string; - readonly statesOfApplicability: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly canDelete: boolean; - readonly controlsInfo: { - readonly totalCount: number; - }; - readonly createdAt: string; - readonly id: string; - readonly name: string; - readonly snapshotId: string | null | undefined; - readonly sourceId: string | null | undefined; - readonly updatedAt: string; - }; - }>; - }; - readonly " $fragmentType": "StateOfApplicabilityGraphPaginatedFragment"; -}; -export type StateOfApplicabilityGraphPaginatedFragment$key = { - readonly " $data"?: StateOfApplicabilityGraphPaginatedFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"StateOfApplicabilityGraphPaginatedFragment">; -}; - -import StateOfApplicabilityListQuery_graphql from './StateOfApplicabilityListQuery.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "statesOfApplicability" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" - }, - { - "defaultValue": { - "snapshotId": null - }, - "kind": "LocalArgument", - "name": "filter" - }, - { - "defaultValue": 50, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" - }, - { - "defaultValue": { - "direction": "DESC", - "field": "CREATED_AT" - }, - "kind": "LocalArgument", - "name": "order" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "bidirectional", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": { - "count": "last", - "cursor": "before" - }, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": StateOfApplicabilityListQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "StateOfApplicabilityGraphPaginatedFragment", - "selections": [ - { - "alias": "statesOfApplicability", - "args": [ - { - "kind": "Variable", - "name": "filter", - "variableName": "filter" - }, - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } - ], - "concreteType": "StateOfApplicabilityConnection", - "kind": "LinkedField", - "name": "__StateOfApplicabilityGraphPaginatedQuery_statesOfApplicability_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "StateOfApplicabilityEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "StateOfApplicability", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sourceId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:state-of-applicability:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:state-of-applicability:delete\")" - }, - { - "alias": "controlsInfo", - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 0 - } - ], - "concreteType": "ControlConnection", - "kind": "LinkedField", - "name": "controls", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - } - ], - "storageKey": "controls(first:0)" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - (v1/*: any*/) - ], - "type": "Organization", - "abstractKey": null -}; -})(); - -(node as any).hash = "82cf2a5ce701c34a41f8166371dd75c3"; - -export default node; diff --git a/apps/console/src/__generated__/core/StateOfApplicabilityGraphPaginatedQuery.graphql.ts b/apps/console/src/__generated__/core/StateOfApplicabilityGraphPaginatedQuery.graphql.ts deleted file mode 100644 index 580784546..000000000 --- a/apps/console/src/__generated__/core/StateOfApplicabilityGraphPaginatedQuery.graphql.ts +++ /dev/null @@ -1,353 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type StateOfApplicabilityGraphPaginatedQuery$variables = { - organizationId: string; -}; -export type StateOfApplicabilityGraphPaginatedQuery$data = { - readonly organization: { - readonly __typename: "Organization"; - readonly canCreateStateOfApplicability: boolean; - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"StateOfApplicabilityGraphPaginatedFragment">; - } | { - // This will never be '%other', but we need some - // value in case none of the concrete values match. - readonly __typename: "%other"; - }; -}; -export type StateOfApplicabilityGraphPaginatedQuery = { - response: StateOfApplicabilityGraphPaginatedQuery$data; - variables: StateOfApplicabilityGraphPaginatedQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v4 = { - "alias": "canCreateStateOfApplicability", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:state-of-applicability:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:state-of-applicability:create\")" -}, -v5 = [ - { - "kind": "Literal", - "name": "filter", - "value": { - "snapshotId": null - } - }, - { - "kind": "Literal", - "name": "first", - "value": 50 - }, - { - "kind": "Literal", - "name": "orderBy", - "value": { - "direction": "DESC", - "field": "CREATED_AT" - } - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "StateOfApplicabilityGraphPaginatedQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "StateOfApplicabilityGraphPaginatedFragment" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "StateOfApplicabilityGraphPaginatedQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v4/*: any*/), - { - "alias": null, - "args": (v5/*: any*/), - "concreteType": "StateOfApplicabilityConnection", - "kind": "LinkedField", - "name": "statesOfApplicability", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "StateOfApplicabilityEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "StateOfApplicability", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sourceId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:state-of-applicability:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:state-of-applicability:delete\")" - }, - { - "alias": "controlsInfo", - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 0 - } - ], - "concreteType": "ControlConnection", - "kind": "LinkedField", - "name": "controls", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - } - ], - "storageKey": "controls(first:0)" - }, - (v2/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": "statesOfApplicability(filter:{\"snapshotId\":null},first:50,orderBy:{\"direction\":\"DESC\",\"field\":\"CREATED_AT\"})" - }, - { - "alias": null, - "args": (v5/*: any*/), - "filters": [ - "orderBy", - "filter" - ], - "handle": "connection", - "key": "StateOfApplicabilityGraphPaginatedQuery_statesOfApplicability", - "kind": "LinkedHandle", - "name": "statesOfApplicability" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "3d53dfeb5366c889e790a88116dd3a4a", - "id": null, - "metadata": {}, - "name": "StateOfApplicabilityGraphPaginatedQuery", - "operationKind": "query", - "text": "query StateOfApplicabilityGraphPaginatedQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n ... on Organization {\n id\n canCreateStateOfApplicability: permission(action: \"core:state-of-applicability:create\")\n ...StateOfApplicabilityGraphPaginatedFragment\n }\n id\n }\n}\n\nfragment StateOfApplicabilityGraphPaginatedFragment on Organization {\n statesOfApplicability(first: 50, orderBy: {direction: DESC, field: CREATED_AT}, filter: {snapshotId: null}) {\n edges {\n node {\n id\n name\n sourceId\n snapshotId\n createdAt\n updatedAt\n canDelete: permission(action: \"core:state-of-applicability:delete\")\n controlsInfo: controls(first: 0) {\n totalCount\n }\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n" - } -}; -})(); - -(node as any).hash = "2182e7aea21c8eba8b2cfda1e614b6e5"; - -export default node; diff --git a/apps/console/src/__generated__/core/StateOfApplicabilityGraphUpdateMutation.graphql.ts b/apps/console/src/__generated__/core/StateOfApplicabilityGraphUpdateMutation.graphql.ts deleted file mode 100644 index 3dccf5844..000000000 --- a/apps/console/src/__generated__/core/StateOfApplicabilityGraphUpdateMutation.graphql.ts +++ /dev/null @@ -1,171 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type UpdateStateOfApplicabilityInput = { - id: string; - name?: string | null | undefined; - ownerId?: string | null | undefined; -}; -export type StateOfApplicabilityGraphUpdateMutation$variables = { - input: UpdateStateOfApplicabilityInput; -}; -export type StateOfApplicabilityGraphUpdateMutation$data = { - readonly updateStateOfApplicability: { - readonly stateOfApplicability: { - readonly createdAt: string; - readonly id: string; - readonly name: string; - readonly owner: { - readonly fullName: string; - readonly id: string; - }; - readonly snapshotId: string | null | undefined; - readonly sourceId: string | null | undefined; - readonly updatedAt: string; - }; - }; -}; -export type StateOfApplicabilityGraphUpdateMutation = { - response: StateOfApplicabilityGraphUpdateMutation$data; - variables: StateOfApplicabilityGraphUpdateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v2 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UpdateStateOfApplicabilityPayload", - "kind": "LinkedField", - "name": "updateStateOfApplicability", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "StateOfApplicability", - "kind": "LinkedField", - "name": "stateOfApplicability", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sourceId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "StateOfApplicabilityGraphUpdateMutation", - "selections": (v2/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "StateOfApplicabilityGraphUpdateMutation", - "selections": (v2/*: any*/) - }, - "params": { - "cacheID": "609bd562b84162f2807ee89b3c3273aa", - "id": null, - "metadata": {}, - "name": "StateOfApplicabilityGraphUpdateMutation", - "operationKind": "mutation", - "text": "mutation StateOfApplicabilityGraphUpdateMutation(\n $input: UpdateStateOfApplicabilityInput!\n) {\n updateStateOfApplicability(input: $input) {\n stateOfApplicability {\n id\n name\n sourceId\n snapshotId\n createdAt\n updatedAt\n owner {\n id\n fullName\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "e8810210629ef7fad113616c06f141ee"; - -export default node; diff --git a/apps/console/src/__generated__/core/StateOfApplicabilityListQuery.graphql.ts b/apps/console/src/__generated__/core/StateOfApplicabilityListQuery.graphql.ts deleted file mode 100644 index f5331c7f7..000000000 --- a/apps/console/src/__generated__/core/StateOfApplicabilityListQuery.graphql.ts +++ /dev/null @@ -1,412 +0,0 @@ -/** - * @generated SignedSource<<8bdd74dfae1b656006a07b2f89fe525d>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type OrderDirection = "ASC" | "DESC"; -export type StateOfApplicabilityOrderField = "CREATED_AT" | "NAME"; -export type StateOfApplicabilityFilter = { - snapshotId?: string | null | undefined; -}; -export type StateOfApplicabilityOrder = { - direction: OrderDirection; - field: StateOfApplicabilityOrderField; -}; -export type StateOfApplicabilityListQuery$variables = { - after?: string | null | undefined; - before?: string | null | undefined; - filter?: StateOfApplicabilityFilter | null | undefined; - first?: number | null | undefined; - id: string; - last?: number | null | undefined; - order?: StateOfApplicabilityOrder | null | undefined; -}; -export type StateOfApplicabilityListQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"StateOfApplicabilityGraphPaginatedFragment">; - }; -}; -export type StateOfApplicabilityListQuery = { - response: StateOfApplicabilityListQuery$data; - variables: StateOfApplicabilityListQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" -}, -v2 = { - "defaultValue": { - "snapshotId": null - }, - "kind": "LocalArgument", - "name": "filter" -}, -v3 = { - "defaultValue": 50, - "kind": "LocalArgument", - "name": "first" -}, -v4 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v5 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" -}, -v6 = { - "defaultValue": { - "direction": "DESC", - "field": "CREATED_AT" - }, - "kind": "LocalArgument", - "name": "order" -}, -v7 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v8 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v9 = { - "kind": "Variable", - "name": "before", - "variableName": "before" -}, -v10 = { - "kind": "Variable", - "name": "filter", - "variableName": "filter" -}, -v11 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v12 = { - "kind": "Variable", - "name": "last", - "variableName": "last" -}, -v13 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v14 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v15 = [ - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v12/*: any*/), - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "StateOfApplicabilityListQuery", - "selections": [ - { - "alias": null, - "args": (v7/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v12/*: any*/), - { - "kind": "Variable", - "name": "order", - "variableName": "order" - } - ], - "kind": "FragmentSpread", - "name": "StateOfApplicabilityGraphPaginatedFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v4/*: any*/) - ], - "kind": "Operation", - "name": "StateOfApplicabilityListQuery", - "selections": [ - { - "alias": null, - "args": (v7/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v13/*: any*/), - (v14/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v15/*: any*/), - "concreteType": "StateOfApplicabilityConnection", - "kind": "LinkedField", - "name": "statesOfApplicability", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "StateOfApplicabilityEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "StateOfApplicability", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v14/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "sourceId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:state-of-applicability:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:state-of-applicability:delete\")" - }, - { - "alias": "controlsInfo", - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 0 - } - ], - "concreteType": "ControlConnection", - "kind": "LinkedField", - "name": "controls", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - } - ], - "storageKey": "controls(first:0)" - }, - (v13/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v15/*: any*/), - "filters": [ - "orderBy", - "filter" - ], - "handle": "connection", - "key": "StateOfApplicabilityGraphPaginatedQuery_statesOfApplicability", - "kind": "LinkedHandle", - "name": "statesOfApplicability" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "68d8b8bc491e464ea692b6d37952bcbf", - "id": null, - "metadata": {}, - "name": "StateOfApplicabilityListQuery", - "operationKind": "query", - "text": "query StateOfApplicabilityListQuery(\n $after: CursorKey = null\n $before: CursorKey = null\n $filter: StateOfApplicabilityFilter = {snapshotId: null}\n $first: Int = 50\n $last: Int = null\n $order: StateOfApplicabilityOrder = {direction: DESC, field: CREATED_AT}\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...StateOfApplicabilityGraphPaginatedFragment_4cFWzS\n id\n }\n}\n\nfragment StateOfApplicabilityGraphPaginatedFragment_4cFWzS on Organization {\n statesOfApplicability(first: $first, after: $after, last: $last, before: $before, orderBy: $order, filter: $filter) {\n edges {\n node {\n id\n name\n sourceId\n snapshotId\n createdAt\n updatedAt\n canDelete: permission(action: \"core:state-of-applicability:delete\")\n controlsInfo: controls(first: 0) {\n totalCount\n }\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n" - } -}; -})(); - -(node as any).hash = "82cf2a5ce701c34a41f8166371dd75c3"; - -export default node; diff --git a/apps/console/src/__generated__/core/TaskFormDialogCreateMutation.graphql.ts b/apps/console/src/__generated__/core/TaskFormDialogCreateMutation.graphql.ts deleted file mode 100644 index 0aaf531dc..000000000 --- a/apps/console/src/__generated__/core/TaskFormDialogCreateMutation.graphql.ts +++ /dev/null @@ -1,249 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type CreateTaskInput = { - assignedToId?: string | null | undefined; - deadline?: string | null | undefined; - description?: string | null | undefined; - measureId?: string | null | undefined; - name: string; - organizationId: string; - timeEstimate?: string | null | undefined; -}; -export type TaskFormDialogCreateMutation$variables = { - connections: ReadonlyArray; - input: CreateTaskInput; -}; -export type TaskFormDialogCreateMutation$data = { - readonly createTask: { - readonly taskEdge: { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"TaskFormDialogFragment">; - }; - }; - }; -}; -export type TaskFormDialogCreateMutation = { - response: TaskFormDialogCreateMutation$data; - variables: TaskFormDialogCreateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v4 = [ - (v3/*: any*/) -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "TaskFormDialogCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateTaskPayload", - "kind": "LinkedField", - "name": "createTask", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "TaskEdge", - "kind": "LinkedField", - "name": "taskEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Task", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": null, - "kind": "FragmentSpread", - "name": "TaskFormDialogFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "TaskFormDialogCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateTaskPayload", - "kind": "LinkedField", - "name": "createTask", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "TaskEdge", - "kind": "LinkedField", - "name": "taskEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Task", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "timeEstimate", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deadline", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "assignedTo", - "plural": false, - "selections": (v4/*: any*/), - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Measure", - "kind": "LinkedField", - "name": "measure", - "plural": false, - "selections": (v4/*: any*/), - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "taskEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "f605aed8a6f83a622d32e9b42f52f524", - "id": null, - "metadata": {}, - "name": "TaskFormDialogCreateMutation", - "operationKind": "mutation", - "text": "mutation TaskFormDialogCreateMutation(\n $input: CreateTaskInput!\n) {\n createTask(input: $input) {\n taskEdge {\n node {\n ...TaskFormDialogFragment\n id\n }\n }\n }\n}\n\nfragment TaskFormDialogFragment on Task {\n id\n description\n name\n state\n timeEstimate\n deadline\n assignedTo {\n id\n }\n measure {\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "3a5194da3b1d57be836ca5e3405b2c3a"; - -export default node; diff --git a/apps/console/src/__generated__/core/TaskFormDialogFragment.graphql.ts b/apps/console/src/__generated__/core/TaskFormDialogFragment.graphql.ts deleted file mode 100644 index b5ef5ea45..000000000 --- a/apps/console/src/__generated__/core/TaskFormDialogFragment.graphql.ts +++ /dev/null @@ -1,115 +0,0 @@ -/** - * @generated SignedSource<<2d84132b898531d9d125296a8cbcfb99>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type TaskState = "DONE" | "TODO"; -import { FragmentRefs } from "relay-runtime"; -export type TaskFormDialogFragment$data = { - readonly assignedTo: { - readonly id: string; - } | null | undefined; - readonly deadline: string | null | undefined; - readonly description: string | null | undefined; - readonly id: string; - readonly measure: { - readonly id: string; - } | null | undefined; - readonly name: string; - readonly state: TaskState; - readonly timeEstimate: string | null | undefined; - readonly " $fragmentType": "TaskFormDialogFragment"; -}; -export type TaskFormDialogFragment$key = { - readonly " $data"?: TaskFormDialogFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"TaskFormDialogFragment">; -}; - -const node: ReaderFragment = (function(){ -var v0 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v1 = [ - (v0/*: any*/) -]; -return { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "TaskFormDialogFragment", - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "timeEstimate", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deadline", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "assignedTo", - "plural": false, - "selections": (v1/*: any*/), - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Measure", - "kind": "LinkedField", - "name": "measure", - "plural": false, - "selections": (v1/*: any*/), - "storageKey": null - } - ], - "type": "Task", - "abstractKey": null -}; -})(); - -(node as any).hash = "3a4bede2199df797a20a6d87358d41cf"; - -export default node; diff --git a/apps/console/src/__generated__/core/TaskFormDialogUpdateMutation.graphql.ts b/apps/console/src/__generated__/core/TaskFormDialogUpdateMutation.graphql.ts deleted file mode 100644 index c9aac500e..000000000 --- a/apps/console/src/__generated__/core/TaskFormDialogUpdateMutation.graphql.ts +++ /dev/null @@ -1,201 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type TaskState = "DONE" | "TODO"; -export type UpdateTaskInput = { - assignedToId?: string | null | undefined; - deadline?: string | null | undefined; - description?: string | null | undefined; - measureId?: string | null | undefined; - name?: string | null | undefined; - state?: TaskState | null | undefined; - taskId: string; - timeEstimate?: string | null | undefined; -}; -export type TaskFormDialogUpdateMutation$variables = { - input: UpdateTaskInput; -}; -export type TaskFormDialogUpdateMutation$data = { - readonly updateTask: { - readonly task: { - readonly " $fragmentSpreads": FragmentRefs<"TaskFormDialogFragment">; - }; - }; -}; -export type TaskFormDialogUpdateMutation = { - response: TaskFormDialogUpdateMutation$data; - variables: TaskFormDialogUpdateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = [ - (v2/*: any*/) -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "TaskFormDialogUpdateMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "UpdateTaskPayload", - "kind": "LinkedField", - "name": "updateTask", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Task", - "kind": "LinkedField", - "name": "task", - "plural": false, - "selections": [ - { - "args": null, - "kind": "FragmentSpread", - "name": "TaskFormDialogFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "TaskFormDialogUpdateMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "UpdateTaskPayload", - "kind": "LinkedField", - "name": "updateTask", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Task", - "kind": "LinkedField", - "name": "task", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "timeEstimate", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deadline", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "assignedTo", - "plural": false, - "selections": (v3/*: any*/), - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Measure", - "kind": "LinkedField", - "name": "measure", - "plural": false, - "selections": (v3/*: any*/), - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "bfcbdf0470627b6f7b9a98a1722f7dca", - "id": null, - "metadata": {}, - "name": "TaskFormDialogUpdateMutation", - "operationKind": "mutation", - "text": "mutation TaskFormDialogUpdateMutation(\n $input: UpdateTaskInput!\n) {\n updateTask(input: $input) {\n task {\n ...TaskFormDialogFragment\n id\n }\n }\n}\n\nfragment TaskFormDialogFragment on Task {\n id\n description\n name\n state\n timeEstimate\n deadline\n assignedTo {\n id\n }\n measure {\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "7c174671b0235b09cfe0fa98d4b3e629"; - -export default node; diff --git a/apps/console/src/__generated__/core/TaskGraphQuery.graphql.ts b/apps/console/src/__generated__/core/TaskGraphQuery.graphql.ts deleted file mode 100644 index 3a9a0e872..000000000 --- a/apps/console/src/__generated__/core/TaskGraphQuery.graphql.ts +++ /dev/null @@ -1,350 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type TaskGraphQuery$variables = { - organizationId: string; -}; -export type TaskGraphQuery$data = { - readonly organization: { - readonly id?: string; - readonly " $fragmentSpreads": FragmentRefs<"TasksPageFragment">; - }; -}; -export type TaskGraphQuery = { - response: TaskGraphQuery$data; - variables: TaskGraphQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v4 = [ - { - "kind": "Literal", - "name": "first", - "value": 500 - } -], -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "TaskGraphQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "TasksPageFragment" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "TaskGraphQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": "canCreateTask", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:task:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:task:create\")" - }, - { - "alias": null, - "args": (v4/*: any*/), - "concreteType": "TaskConnection", - "kind": "LinkedField", - "name": "tasks", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "TaskEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Task", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - (v5/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "timeEstimate", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deadline", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "assignedTo", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Measure", - "kind": "LinkedField", - "name": "measure", - "plural": false, - "selections": [ - (v2/*: any*/), - (v5/*: any*/) - ], - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:task:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:task:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:task:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:task:delete\")" - }, - (v3/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": "tasks(first:500)" - }, - { - "alias": null, - "args": (v4/*: any*/), - "filters": [ - "orderBy" - ], - "handle": "connection", - "key": "TasksPageFragment_tasks", - "kind": "LinkedHandle", - "name": "tasks" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "9932d2887bfde054e02b14404a5ec7f8", - "id": null, - "metadata": {}, - "name": "TaskGraphQuery", - "operationKind": "query", - "text": "query TaskGraphQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n ... on Organization {\n id\n ...TasksPageFragment\n }\n id\n }\n}\n\nfragment TaskFormDialogFragment on Task {\n id\n description\n name\n state\n timeEstimate\n deadline\n assignedTo {\n id\n }\n measure {\n id\n }\n}\n\nfragment TasksCard_TaskRowFragment on Task {\n id\n name\n state\n description\n timeEstimate\n deadline\n canUpdate: permission(action: \"core:task:update\")\n canDelete: permission(action: \"core:task:delete\")\n assignedTo {\n id\n fullName\n }\n measure {\n id\n name\n }\n}\n\nfragment TasksPageFragment on Organization {\n canCreateTask: permission(action: \"core:task:create\")\n tasks(first: 500) {\n edges {\n node {\n id\n state\n ...TaskFormDialogFragment\n ...TasksCard_TaskRowFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n" - } -}; -})(); - -(node as any).hash = "86e37392ce0e0766dc2a083c64b2467e"; - -export default node; diff --git a/apps/console/src/__generated__/core/TasksCardDeleteMutation.graphql.ts b/apps/console/src/__generated__/core/TasksCardDeleteMutation.graphql.ts deleted file mode 100644 index 809a5adec..000000000 --- a/apps/console/src/__generated__/core/TasksCardDeleteMutation.graphql.ts +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @generated SignedSource<<2866738fc7aeb6abd91cf4ed4ae72727>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteTaskInput = { - taskId: string; -}; -export type TasksCardDeleteMutation$variables = { - connections: ReadonlyArray; - input: DeleteTaskInput; -}; -export type TasksCardDeleteMutation$data = { - readonly deleteTask: { - readonly deletedTaskId: string; - }; -}; -export type TasksCardDeleteMutation = { - response: TasksCardDeleteMutation$data; - variables: TasksCardDeleteMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedTaskId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "TasksCardDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteTaskPayload", - "kind": "LinkedField", - "name": "deleteTask", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "TasksCardDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteTaskPayload", - "kind": "LinkedField", - "name": "deleteTask", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedTaskId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "1ab085f9650841990644d2c106effac7", - "id": null, - "metadata": {}, - "name": "TasksCardDeleteMutation", - "operationKind": "mutation", - "text": "mutation TasksCardDeleteMutation(\n $input: DeleteTaskInput!\n) {\n deleteTask(input: $input) {\n deletedTaskId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "803ffe0cb54f7fa5c840f6d3e4f2592b"; - -export default node; diff --git a/apps/console/src/__generated__/core/TasksCard_TaskRowFragment.graphql.ts b/apps/console/src/__generated__/core/TasksCard_TaskRowFragment.graphql.ts deleted file mode 100644 index d43fcde62..000000000 --- a/apps/console/src/__generated__/core/TasksCard_TaskRowFragment.graphql.ts +++ /dev/null @@ -1,155 +0,0 @@ -/** - * @generated SignedSource<<49e625198e625fa4936d080e3c122c50>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type TaskState = "DONE" | "TODO"; -import { FragmentRefs } from "relay-runtime"; -export type TasksCard_TaskRowFragment$data = { - readonly assignedTo: { - readonly fullName: string; - readonly id: string; - } | null | undefined; - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly deadline: string | null | undefined; - readonly description: string | null | undefined; - readonly id: string; - readonly measure: { - readonly id: string; - readonly name: string; - } | null | undefined; - readonly name: string; - readonly state: TaskState; - readonly timeEstimate: string | null | undefined; - readonly " $fragmentType": "TasksCard_TaskRowFragment"; -}; -export type TasksCard_TaskRowFragment$key = { - readonly " $data"?: TasksCard_TaskRowFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"TasksCard_TaskRowFragment">; -}; - -const node: ReaderFragment = (function(){ -var v0 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "TasksCard_TaskRowFragment", - "selections": [ - (v0/*: any*/), - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "timeEstimate", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deadline", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:task:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:task:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:task:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:task:delete\")" - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "assignedTo", - "plural": false, - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Measure", - "kind": "LinkedField", - "name": "measure", - "plural": false, - "selections": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "storageKey": null - } - ], - "type": "Task", - "abstractKey": null -}; -})(); - -(node as any).hash = "34df57ab7cc88c1fbf84f42b4024d50b"; - -export default node; diff --git a/apps/console/src/__generated__/core/TasksPageFragment.graphql.ts b/apps/console/src/__generated__/core/TasksPageFragment.graphql.ts deleted file mode 100644 index 8d2421ffd..000000000 --- a/apps/console/src/__generated__/core/TasksPageFragment.graphql.ts +++ /dev/null @@ -1,261 +0,0 @@ -/** - * @generated SignedSource<<08f448295bd6530904bfbcfc19b1764d>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type TaskState = "DONE" | "TODO"; -import { FragmentRefs } from "relay-runtime"; -export type TasksPageFragment$data = { - readonly canCreateTask: boolean; - readonly id: string; - readonly tasks: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly state: TaskState; - readonly " $fragmentSpreads": FragmentRefs<"TaskFormDialogFragment" | "TasksCard_TaskRowFragment">; - }; - }>; - }; - readonly " $fragmentType": "TasksPageFragment"; -}; -export type TasksPageFragment$key = { - readonly " $data"?: TasksPageFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"TasksPageFragment">; -}; - -import TasksPageFragment_query_graphql from './TasksPageFragment_query.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "tasks" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" - }, - { - "defaultValue": 500, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "bidirectional", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": { - "count": "last", - "cursor": "before" - }, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": TasksPageFragment_query_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "TasksPageFragment", - "selections": [ - { - "alias": "canCreateTask", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:task:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:task:create\")" - }, - { - "kind": "RequiredField", - "field": { - "alias": "tasks", - "args": [ - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } - ], - "concreteType": "TaskConnection", - "kind": "LinkedField", - "name": "__TasksPageFragment_tasks_connection", - "plural": false, - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "TaskEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Task", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "TaskFormDialogFragment" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "TasksCard_TaskRowFragment" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - "action": "THROW" - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - "action": "THROW" - }, - (v1/*: any*/) - ], - "type": "Organization", - "abstractKey": null -}; -})(); - -(node as any).hash = "6c9522af3e0782b9f919b76572ba6225"; - -export default node; diff --git a/apps/console/src/__generated__/core/TasksPageFragment_query.graphql.ts b/apps/console/src/__generated__/core/TasksPageFragment_query.graphql.ts deleted file mode 100644 index f759e2285..000000000 --- a/apps/console/src/__generated__/core/TasksPageFragment_query.graphql.ts +++ /dev/null @@ -1,423 +0,0 @@ -/** - * @generated SignedSource<<81d11db9c3fc82ef3f0226332a6fe4f2>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type OrderDirection = "ASC" | "DESC"; -export type TaskOrderField = "CREATED_AT"; -export type TaskOrder = { - direction: OrderDirection; - field: TaskOrderField; -}; -export type TasksPageFragment_query$variables = { - after?: string | null | undefined; - before?: string | null | undefined; - first?: number | null | undefined; - id: string; - last?: number | null | undefined; - order?: TaskOrder | null | undefined; -}; -export type TasksPageFragment_query$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"TasksPageFragment">; - }; -}; -export type TasksPageFragment_query = { - response: TasksPageFragment_query$data; - variables: TasksPageFragment_query$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" -}, -v2 = { - "defaultValue": 500, - "kind": "LocalArgument", - "name": "first" -}, -v3 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v4 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" -}, -v5 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" -}, -v6 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v7 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v8 = { - "kind": "Variable", - "name": "before", - "variableName": "before" -}, -v9 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v10 = { - "kind": "Variable", - "name": "last", - "variableName": "last" -}, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v12 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v13 = [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } -], -v14 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "TasksPageFragment_query", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "order", - "variableName": "order" - } - ], - "kind": "FragmentSpread", - "name": "TasksPageFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v3/*: any*/) - ], - "kind": "Operation", - "name": "TasksPageFragment_query", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v11/*: any*/), - (v12/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": "canCreateTask", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:task:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:task:create\")" - }, - { - "alias": null, - "args": (v13/*: any*/), - "concreteType": "TaskConnection", - "kind": "LinkedField", - "name": "tasks", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "TaskEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Task", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v12/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - (v14/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "timeEstimate", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deadline", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "assignedTo", - "plural": false, - "selections": [ - (v12/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Measure", - "kind": "LinkedField", - "name": "measure", - "plural": false, - "selections": [ - (v12/*: any*/), - (v14/*: any*/) - ], - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:task:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:task:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:task:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:task:delete\")" - }, - (v11/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v13/*: any*/), - "filters": [ - "orderBy" - ], - "handle": "connection", - "key": "TasksPageFragment_tasks", - "kind": "LinkedHandle", - "name": "tasks" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "8fadc4428353d6ef3444f63b913dc695", - "id": null, - "metadata": {}, - "name": "TasksPageFragment_query", - "operationKind": "query", - "text": "query TasksPageFragment_query(\n $after: CursorKey = null\n $before: CursorKey = null\n $first: Int = 500\n $last: Int = null\n $order: TaskOrder = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...TasksPageFragment_16fISc\n id\n }\n}\n\nfragment TaskFormDialogFragment on Task {\n id\n description\n name\n state\n timeEstimate\n deadline\n assignedTo {\n id\n }\n measure {\n id\n }\n}\n\nfragment TasksCard_TaskRowFragment on Task {\n id\n name\n state\n description\n timeEstimate\n deadline\n canUpdate: permission(action: \"core:task:update\")\n canDelete: permission(action: \"core:task:delete\")\n assignedTo {\n id\n fullName\n }\n measure {\n id\n name\n }\n}\n\nfragment TasksPageFragment_16fISc on Organization {\n canCreateTask: permission(action: \"core:task:create\")\n tasks(first: $first, after: $after, last: $last, before: $before, orderBy: $order) {\n edges {\n node {\n id\n state\n ...TaskFormDialogFragment\n ...TasksCard_TaskRowFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n" - } -}; -})(); - -(node as any).hash = "6c9522af3e0782b9f919b76572ba6225"; - -export default node; diff --git a/apps/console/src/__generated__/core/TrustCenterAccessGraphCreateMutation.graphql.ts b/apps/console/src/__generated__/core/TrustCenterAccessGraphCreateMutation.graphql.ts deleted file mode 100644 index 9f44e90a9..000000000 --- a/apps/console/src/__generated__/core/TrustCenterAccessGraphCreateMutation.graphql.ts +++ /dev/null @@ -1,261 +0,0 @@ -/** - * @generated SignedSource<<7a9c0c1a8292affc2ed9584fca098c64>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type CreateTrustCenterAccessInput = { - active: boolean; - email: string; - name: string; - trustCenterId: string; -}; -export type TrustCenterAccessGraphCreateMutation$variables = { - connections: ReadonlyArray; - input: CreateTrustCenterAccessInput; -}; -export type TrustCenterAccessGraphCreateMutation$data = { - readonly createTrustCenterAccess: { - readonly trustCenterAccessEdge: { - readonly cursor: string; - readonly node: { - readonly active: boolean; - readonly activeCount: number; - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly createdAt: string; - readonly email: string; - readonly hasAcceptedNonDisclosureAgreement: boolean; - readonly id: string; - readonly lastTokenExpiresAt: string | null | undefined; - readonly name: string; - readonly pendingRequestCount: number; - }; - }; - }; -}; -export type TrustCenterAccessGraphCreateMutation = { - response: TrustCenterAccessGraphCreateMutation$data; - variables: TrustCenterAccessGraphCreateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "concreteType": "TrustCenterAccessEdge", - "kind": "LinkedField", - "name": "trustCenterAccessEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "TrustCenterAccess", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "email", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "active", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasAcceptedNonDisclosureAgreement", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lastTokenExpiresAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "pendingRequestCount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "activeCount", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:trust-center-access:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:trust-center-access:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:trust-center-access:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:trust-center-access:delete\")" - } - ], - "storageKey": null - } - ], - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "TrustCenterAccessGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateTrustCenterAccessPayload", - "kind": "LinkedField", - "name": "createTrustCenterAccess", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "TrustCenterAccessGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateTrustCenterAccessPayload", - "kind": "LinkedField", - "name": "createTrustCenterAccess", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "trustCenterAccessEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "b080e2a38e706bea45f06507675582a4", - "id": null, - "metadata": {}, - "name": "TrustCenterAccessGraphCreateMutation", - "operationKind": "mutation", - "text": "mutation TrustCenterAccessGraphCreateMutation(\n $input: CreateTrustCenterAccessInput!\n) {\n createTrustCenterAccess(input: $input) {\n trustCenterAccessEdge {\n cursor\n node {\n id\n email\n name\n active\n hasAcceptedNonDisclosureAgreement\n createdAt\n lastTokenExpiresAt\n pendingRequestCount\n activeCount\n canUpdate: permission(action: \"core:trust-center-access:update\")\n canDelete: permission(action: \"core:trust-center-access:delete\")\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "c33af388ca0957f16ee36e06339d61d3"; - -export default node; diff --git a/apps/console/src/__generated__/core/TrustCenterAccessGraphDeleteMutation.graphql.ts b/apps/console/src/__generated__/core/TrustCenterAccessGraphDeleteMutation.graphql.ts deleted file mode 100644 index 9df843df5..000000000 --- a/apps/console/src/__generated__/core/TrustCenterAccessGraphDeleteMutation.graphql.ts +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteTrustCenterAccessInput = { - id: string; -}; -export type TrustCenterAccessGraphDeleteMutation$variables = { - connections: ReadonlyArray; - input: DeleteTrustCenterAccessInput; -}; -export type TrustCenterAccessGraphDeleteMutation$data = { - readonly deleteTrustCenterAccess: { - readonly deletedTrustCenterAccessId: string; - }; -}; -export type TrustCenterAccessGraphDeleteMutation = { - response: TrustCenterAccessGraphDeleteMutation$data; - variables: TrustCenterAccessGraphDeleteMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedTrustCenterAccessId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "TrustCenterAccessGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteTrustCenterAccessPayload", - "kind": "LinkedField", - "name": "deleteTrustCenterAccess", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "TrustCenterAccessGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteTrustCenterAccessPayload", - "kind": "LinkedField", - "name": "deleteTrustCenterAccess", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedTrustCenterAccessId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "3f55c9ce5cac2874b769ec994977367a", - "id": null, - "metadata": {}, - "name": "TrustCenterAccessGraphDeleteMutation", - "operationKind": "mutation", - "text": "mutation TrustCenterAccessGraphDeleteMutation(\n $input: DeleteTrustCenterAccessInput!\n) {\n deleteTrustCenterAccess(input: $input) {\n deletedTrustCenterAccessId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "0d0a44eb6db912eeb533d24718c49b35"; - -export default node; diff --git a/apps/console/src/__generated__/core/TrustCenterAccessGraphLoadDocumentAccessesQuery.graphql.ts b/apps/console/src/__generated__/core/TrustCenterAccessGraphLoadDocumentAccessesQuery.graphql.ts deleted file mode 100644 index 9c727f8a9..000000000 --- a/apps/console/src/__generated__/core/TrustCenterAccessGraphLoadDocumentAccessesQuery.graphql.ts +++ /dev/null @@ -1,385 +0,0 @@ -/** - * @generated SignedSource<<72bab693664bbf68879e863c85f980b5>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DocumentType = "ISMS" | "OTHER" | "POLICY" | "PROCEDURE"; -export type TrustCenterDocumentAccessStatus = "GRANTED" | "REJECTED" | "REQUESTED" | "REVOKED"; -export type TrustCenterAccessGraphLoadDocumentAccessesQuery$variables = { - accessId: string; -}; -export type TrustCenterAccessGraphLoadDocumentAccessesQuery$data = { - readonly node: { - readonly availableDocumentAccesses?: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly document: { - readonly documentType: DocumentType; - readonly id: string; - readonly title: string; - } | null | undefined; - readonly id: string; - readonly report: { - readonly audit: { - readonly framework: { - readonly name: string; - }; - readonly id: string; - } | null | undefined; - readonly filename: string; - readonly id: string; - } | null | undefined; - readonly status: TrustCenterDocumentAccessStatus; - readonly trustCenterFile: { - readonly category: string; - readonly id: string; - readonly name: string; - } | null | undefined; - }; - }>; - }; - readonly id?: string; - }; -}; -export type TrustCenterAccessGraphLoadDocumentAccessesQuery = { - response: TrustCenterAccessGraphLoadDocumentAccessesQuery$data; - variables: TrustCenterAccessGraphLoadDocumentAccessesQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "accessId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "accessId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = [ - { - "kind": "Literal", - "name": "first", - "value": 100 - }, - { - "kind": "Literal", - "name": "orderBy", - "value": { - "direction": "DESC", - "field": "CREATED_AT" - } - } -], -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "concreteType": "Document", - "kind": "LinkedField", - "name": "document", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "title", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "documentType", - "storageKey": null - } - ], - "storageKey": null -}, -v6 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "filename", - "storageKey": null -}, -v7 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v8 = { - "alias": null, - "args": null, - "concreteType": "TrustCenterFile", - "kind": "LinkedField", - "name": "trustCenterFile", - "plural": false, - "selections": [ - (v2/*: any*/), - (v7/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "category", - "storageKey": null - } - ], - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "TrustCenterAccessGraphLoadDocumentAccessesQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": (v3/*: any*/), - "concreteType": "TrustCenterDocumentAccessConnection", - "kind": "LinkedField", - "name": "availableDocumentAccesses", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "TrustCenterDocumentAccessEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "TrustCenterDocumentAccess", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Report", - "kind": "LinkedField", - "name": "report", - "plural": false, - "selections": [ - (v2/*: any*/), - (v6/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "audit", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v7/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - (v8/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "availableDocumentAccesses(first:100,orderBy:{\"direction\":\"DESC\",\"field\":\"CREATED_AT\"})" - } - ], - "type": "TrustCenterAccess", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "TrustCenterAccessGraphLoadDocumentAccessesQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v3/*: any*/), - "concreteType": "TrustCenterDocumentAccessConnection", - "kind": "LinkedField", - "name": "availableDocumentAccesses", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "TrustCenterDocumentAccessEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "TrustCenterDocumentAccess", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Report", - "kind": "LinkedField", - "name": "report", - "plural": false, - "selections": [ - (v2/*: any*/), - (v6/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "audit", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v7/*: any*/), - (v2/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - (v8/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "availableDocumentAccesses(first:100,orderBy:{\"direction\":\"DESC\",\"field\":\"CREATED_AT\"})" - } - ], - "type": "TrustCenterAccess", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "a3c6d83c3fae9bd8ab3e474706423115", - "id": null, - "metadata": {}, - "name": "TrustCenterAccessGraphLoadDocumentAccessesQuery", - "operationKind": "query", - "text": "query TrustCenterAccessGraphLoadDocumentAccessesQuery(\n $accessId: ID!\n) {\n node(id: $accessId) {\n __typename\n ... on TrustCenterAccess {\n id\n availableDocumentAccesses(first: 100, orderBy: {field: CREATED_AT, direction: DESC}) {\n edges {\n node {\n id\n status\n document {\n id\n title\n documentType\n }\n report {\n id\n filename\n audit {\n id\n framework {\n name\n id\n }\n }\n }\n trustCenterFile {\n id\n name\n category\n }\n }\n }\n }\n }\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "f2fad3a04a700d1a9b045d1fa09e470c"; - -export default node; diff --git a/apps/console/src/__generated__/core/TrustCenterAccessGraphPaginationQuery.graphql.ts b/apps/console/src/__generated__/core/TrustCenterAccessGraphPaginationQuery.graphql.ts deleted file mode 100644 index 38aa639f9..000000000 --- a/apps/console/src/__generated__/core/TrustCenterAccessGraphPaginationQuery.graphql.ts +++ /dev/null @@ -1,341 +0,0 @@ -/** - * @generated SignedSource<<103e4c33c37a708bdc24fe74767725b9>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type TrustCenterAccessGraphPaginationQuery$variables = { - count?: number | null | undefined; - cursor?: string | null | undefined; - id: string; -}; -export type TrustCenterAccessGraphPaginationQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"TrustCenterAccessGraph_accesses">; - }; -}; -export type TrustCenterAccessGraphPaginationQuery = { - response: TrustCenterAccessGraphPaginationQuery$data; - variables: TrustCenterAccessGraphPaginationQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "count" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "cursor" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v4 = [ - { - "kind": "Variable", - "name": "after", - "variableName": "cursor" - }, - { - "kind": "Variable", - "name": "first", - "variableName": "count" - }, - { - "kind": "Literal", - "name": "orderBy", - "value": { - "direction": "DESC", - "field": "CREATED_AT" - } - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "TrustCenterAccessGraphPaginationQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": null, - "kind": "FragmentSpread", - "name": "TrustCenterAccessGraph_accesses" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "TrustCenterAccessGraphPaginationQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v4/*: any*/), - "concreteType": "TrustCenterAccessConnection", - "kind": "LinkedField", - "name": "accesses", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "TrustCenterAccessEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "TrustCenterAccess", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "email", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "active", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasAcceptedNonDisclosureAgreement", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lastTokenExpiresAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "pendingRequestCount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "activeCount", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:trust-center-access:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:trust-center-access:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:trust-center-access:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:trust-center-access:delete\")" - }, - (v2/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v4/*: any*/), - "filters": [ - "orderBy" - ], - "handle": "connection", - "key": "TrustCenterAccessGraph_accesses", - "kind": "LinkedHandle", - "name": "accesses" - } - ], - "type": "TrustCenter", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "6b9515ca548d21d6ba53ac5d830010f5", - "id": null, - "metadata": {}, - "name": "TrustCenterAccessGraphPaginationQuery", - "operationKind": "query", - "text": "query TrustCenterAccessGraphPaginationQuery(\n $count: Int\n $cursor: CursorKey\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...TrustCenterAccessGraph_accesses\n id\n }\n}\n\nfragment TrustCenterAccessGraph_accesses on TrustCenter {\n accesses(first: $count, after: $cursor, orderBy: {field: CREATED_AT, direction: DESC}) {\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n edges {\n cursor\n node {\n id\n email\n name\n active\n hasAcceptedNonDisclosureAgreement\n createdAt\n lastTokenExpiresAt\n pendingRequestCount\n activeCount\n canUpdate: permission(action: \"core:trust-center-access:update\")\n canDelete: permission(action: \"core:trust-center-access:delete\")\n __typename\n }\n }\n }\n id\n}\n" - } -}; -})(); - -(node as any).hash = "41517deef6af7eec916f3a4bbfc217b7"; - -export default node; diff --git a/apps/console/src/__generated__/core/TrustCenterAccessGraphQuery.graphql.ts b/apps/console/src/__generated__/core/TrustCenterAccessGraphQuery.graphql.ts deleted file mode 100644 index e299c0f94..000000000 --- a/apps/console/src/__generated__/core/TrustCenterAccessGraphQuery.graphql.ts +++ /dev/null @@ -1,356 +0,0 @@ -/** - * @generated SignedSource<<4f1a16e8b28a887285c9bc578e201f75>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type TrustCenterAccessGraphQuery$variables = { - count: number; - cursor?: string | null | undefined; - trustCenterId: string; -}; -export type TrustCenterAccessGraphQuery$data = { - readonly node: { - readonly id?: string; - readonly " $fragmentSpreads": FragmentRefs<"TrustCenterAccessGraph_accesses">; - }; -}; -export type TrustCenterAccessGraphQuery = { - response: TrustCenterAccessGraphQuery$data; - variables: TrustCenterAccessGraphQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "count" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "cursor" -}, -v2 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "trustCenterId" -}, -v3 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "trustCenterId" - } -], -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v6 = [ - { - "kind": "Variable", - "name": "after", - "variableName": "cursor" - }, - { - "kind": "Variable", - "name": "first", - "variableName": "count" - }, - { - "kind": "Literal", - "name": "orderBy", - "value": { - "direction": "DESC", - "field": "CREATED_AT" - } - } -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "TrustCenterAccessGraphQuery", - "selections": [ - { - "alias": null, - "args": (v3/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v4/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "TrustCenterAccessGraph_accesses" - } - ], - "type": "TrustCenter", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v2/*: any*/), - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Operation", - "name": "TrustCenterAccessGraphQuery", - "selections": [ - { - "alias": null, - "args": (v3/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v5/*: any*/), - (v4/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": "TrustCenterAccessConnection", - "kind": "LinkedField", - "name": "accesses", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "TrustCenterAccessEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "TrustCenterAccess", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v4/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "email", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "active", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasAcceptedNonDisclosureAgreement", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lastTokenExpiresAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "pendingRequestCount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "activeCount", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:trust-center-access:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:trust-center-access:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:trust-center-access:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:trust-center-access:delete\")" - }, - (v5/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v6/*: any*/), - "filters": [ - "orderBy" - ], - "handle": "connection", - "key": "TrustCenterAccessGraph_accesses", - "kind": "LinkedHandle", - "name": "accesses" - } - ], - "type": "TrustCenter", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "a8ee8e139d510095436df64e84d7a5ba", - "id": null, - "metadata": {}, - "name": "TrustCenterAccessGraphQuery", - "operationKind": "query", - "text": "query TrustCenterAccessGraphQuery(\n $trustCenterId: ID!\n $count: Int!\n $cursor: CursorKey\n) {\n node(id: $trustCenterId) {\n __typename\n ... on TrustCenter {\n id\n ...TrustCenterAccessGraph_accesses\n }\n id\n }\n}\n\nfragment TrustCenterAccessGraph_accesses on TrustCenter {\n accesses(first: $count, after: $cursor, orderBy: {field: CREATED_AT, direction: DESC}) {\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n edges {\n cursor\n node {\n id\n email\n name\n active\n hasAcceptedNonDisclosureAgreement\n createdAt\n lastTokenExpiresAt\n pendingRequestCount\n activeCount\n canUpdate: permission(action: \"core:trust-center-access:update\")\n canDelete: permission(action: \"core:trust-center-access:delete\")\n __typename\n }\n }\n }\n id\n}\n" - } -}; -})(); - -(node as any).hash = "da875d7c80a605898a30cf634d033380"; - -export default node; diff --git a/apps/console/src/__generated__/core/TrustCenterAccessGraphUpdateMutation.graphql.ts b/apps/console/src/__generated__/core/TrustCenterAccessGraphUpdateMutation.graphql.ts deleted file mode 100644 index 18d6cfb61..000000000 --- a/apps/console/src/__generated__/core/TrustCenterAccessGraphUpdateMutation.graphql.ts +++ /dev/null @@ -1,187 +0,0 @@ -/** - * @generated SignedSource<<9f1d003a890186ec86cfd58e7eb3bf28>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type TrustCenterDocumentAccessStatus = "GRANTED" | "REJECTED" | "REQUESTED" | "REVOKED"; -export type UpdateTrustCenterAccessInput = { - active?: boolean | null | undefined; - documents?: ReadonlyArray | null | undefined; - id: string; - name?: string | null | undefined; - reports?: ReadonlyArray | null | undefined; - trustCenterFiles?: ReadonlyArray | null | undefined; -}; -export type TrustCenterDocumentAccessInput = { - id: string; - status: TrustCenterDocumentAccessStatus; -}; -export type TrustCenterAccessGraphUpdateMutation$variables = { - input: UpdateTrustCenterAccessInput; -}; -export type TrustCenterAccessGraphUpdateMutation$data = { - readonly updateTrustCenterAccess: { - readonly trustCenterAccess: { - readonly active: boolean; - readonly activeCount: number; - readonly createdAt: string; - readonly email: string; - readonly hasAcceptedNonDisclosureAgreement: boolean; - readonly id: string; - readonly lastTokenExpiresAt: string | null | undefined; - readonly name: string; - readonly pendingRequestCount: number; - readonly updatedAt: string; - }; - }; -}; -export type TrustCenterAccessGraphUpdateMutation = { - response: TrustCenterAccessGraphUpdateMutation$data; - variables: TrustCenterAccessGraphUpdateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UpdateTrustCenterAccessPayload", - "kind": "LinkedField", - "name": "updateTrustCenterAccess", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "TrustCenterAccess", - "kind": "LinkedField", - "name": "trustCenterAccess", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "email", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "active", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasAcceptedNonDisclosureAgreement", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lastTokenExpiresAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "pendingRequestCount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "activeCount", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "TrustCenterAccessGraphUpdateMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "TrustCenterAccessGraphUpdateMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "8b330240bc19bbebb3244a49dc0a6db0", - "id": null, - "metadata": {}, - "name": "TrustCenterAccessGraphUpdateMutation", - "operationKind": "mutation", - "text": "mutation TrustCenterAccessGraphUpdateMutation(\n $input: UpdateTrustCenterAccessInput!\n) {\n updateTrustCenterAccess(input: $input) {\n trustCenterAccess {\n id\n email\n name\n active\n hasAcceptedNonDisclosureAgreement\n createdAt\n updatedAt\n lastTokenExpiresAt\n pendingRequestCount\n activeCount\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "f78b4d25b0977a14269491db951a1d9d"; - -export default node; diff --git a/apps/console/src/__generated__/core/TrustCenterAccessGraph_accesses.graphql.ts b/apps/console/src/__generated__/core/TrustCenterAccessGraph_accesses.graphql.ts deleted file mode 100644 index 18e4e053c..000000000 --- a/apps/console/src/__generated__/core/TrustCenterAccessGraph_accesses.graphql.ts +++ /dev/null @@ -1,301 +0,0 @@ -/** - * @generated SignedSource<<6cbc57ab24be22cdb76257d73f3a47d5>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type TrustCenterAccessGraph_accesses$data = { - readonly accesses: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly cursor: string; - readonly node: { - readonly active: boolean; - readonly activeCount: number; - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly createdAt: string; - readonly email: string; - readonly hasAcceptedNonDisclosureAgreement: boolean; - readonly id: string; - readonly lastTokenExpiresAt: string | null | undefined; - readonly name: string; - readonly pendingRequestCount: number; - }; - }>; - readonly pageInfo: { - readonly endCursor: string | null | undefined; - readonly hasNextPage: boolean; - readonly hasPreviousPage: boolean; - readonly startCursor: string | null | undefined; - }; - }; - readonly id: string; - readonly " $fragmentType": "TrustCenterAccessGraph_accesses"; -}; -export type TrustCenterAccessGraph_accesses$key = { - readonly " $data"?: TrustCenterAccessGraph_accesses$data; - readonly " $fragmentSpreads": FragmentRefs<"TrustCenterAccessGraph_accesses">; -}; - -import TrustCenterAccessGraphPaginationQuery_graphql from './TrustCenterAccessGraphPaginationQuery.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "accesses" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "kind": "RootArgument", - "name": "count" - }, - { - "kind": "RootArgument", - "name": "cursor" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": "count", - "cursor": "cursor", - "direction": "forward", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "count", - "cursor": "cursor" - }, - "backward": null, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": TrustCenterAccessGraphPaginationQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "TrustCenterAccessGraph_accesses", - "selections": [ - { - "alias": "accesses", - "args": [ - { - "kind": "Literal", - "name": "orderBy", - "value": { - "direction": "DESC", - "field": "CREATED_AT" - } - } - ], - "concreteType": "TrustCenterAccessConnection", - "kind": "LinkedField", - "name": "__TrustCenterAccessGraph_accesses_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "TrustCenterAccessEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "TrustCenterAccess", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "email", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "active", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasAcceptedNonDisclosureAgreement", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lastTokenExpiresAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "pendingRequestCount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "activeCount", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:trust-center-access:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:trust-center-access:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:trust-center-access:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:trust-center-access:delete\")" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": "__TrustCenterAccessGraph_accesses_connection(orderBy:{\"direction\":\"DESC\",\"field\":\"CREATED_AT\"})" - }, - (v1/*: any*/) - ], - "type": "TrustCenter", - "abstractKey": null -}; -})(); - -(node as any).hash = "41517deef6af7eec916f3a4bbfc217b7"; - -export default node; diff --git a/apps/console/src/__generated__/core/TrustCenterAccessTokenGraphQuery.graphql.ts b/apps/console/src/__generated__/core/TrustCenterAccessTokenGraphQuery.graphql.ts deleted file mode 100644 index c0a6a85cc..000000000 --- a/apps/console/src/__generated__/core/TrustCenterAccessTokenGraphQuery.graphql.ts +++ /dev/null @@ -1,159 +0,0 @@ -/** - * @generated SignedSource<<04ca9566a32dd6c4ec830303d27040b3>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type TrustCenterAccessTokenGraphQuery$variables = { - trustCenterId: string; -}; -export type TrustCenterAccessTokenGraphQuery$data = { - readonly node: { - readonly active?: boolean; - readonly id?: string; - readonly organization?: { - readonly id: string; - readonly name: string; - }; - }; -}; -export type TrustCenterAccessTokenGraphQuery = { - response: TrustCenterAccessTokenGraphQuery$data; - variables: TrustCenterAccessTokenGraphQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "trustCenterId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "trustCenterId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "active", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "concreteType": "Organization", - "kind": "LinkedField", - "name": "organization", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - } - ], - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "TrustCenterAccessTokenGraphQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/) - ], - "type": "TrustCenter", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "TrustCenterAccessTokenGraphQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/), - (v4/*: any*/) - ], - "type": "TrustCenter", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "3149be57889b4ab4716cf9a8cce2ab8c", - "id": null, - "metadata": {}, - "name": "TrustCenterAccessTokenGraphQuery", - "operationKind": "query", - "text": "query TrustCenterAccessTokenGraphQuery(\n $trustCenterId: ID!\n) {\n node(id: $trustCenterId) {\n __typename\n ... on TrustCenter {\n id\n active\n organization {\n id\n name\n }\n }\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "0eff39cd61d08eeff978f26d88a52edf"; - -export default node; diff --git a/apps/console/src/__generated__/core/TrustCenterAuditGraphUpdateMutation.graphql.ts b/apps/console/src/__generated__/core/TrustCenterAuditGraphUpdateMutation.graphql.ts deleted file mode 100644 index 694e4a176..000000000 --- a/apps/console/src/__generated__/core/TrustCenterAuditGraphUpdateMutation.graphql.ts +++ /dev/null @@ -1,203 +0,0 @@ -/** - * @generated SignedSource<<1f16f6e36a9d4a8de63d4e6f8e3d4c88>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type AuditState = "COMPLETED" | "IN_PROGRESS" | "NOT_STARTED" | "OUTDATED" | "REJECTED"; -export type TrustCenterVisibility = "NONE" | "PRIVATE" | "PUBLIC"; -export type UpdateAuditInput = { - id: string; - name?: string | null | undefined; - state?: AuditState | null | undefined; - trustCenterVisibility?: TrustCenterVisibility | null | undefined; - validFrom?: string | null | undefined; - validUntil?: string | null | undefined; -}; -export type TrustCenterAuditGraphUpdateMutation$variables = { - input: UpdateAuditInput; -}; -export type TrustCenterAuditGraphUpdateMutation$data = { - readonly updateAudit: { - readonly audit: { - readonly id: string; - readonly trustCenterVisibility: TrustCenterVisibility; - readonly " $fragmentSpreads": FragmentRefs<"TrustCenterAuditsCardFragment">; - }; - }; -}; -export type TrustCenterAuditGraphUpdateMutation = { - response: TrustCenterAuditGraphUpdateMutation$data; - variables: TrustCenterAuditGraphUpdateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "trustCenterVisibility", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "TrustCenterAuditGraphUpdateMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "UpdateAuditPayload", - "kind": "LinkedField", - "name": "updateAudit", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "audit", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "TrustCenterAuditsCardFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "TrustCenterAuditGraphUpdateMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "UpdateAuditPayload", - "kind": "LinkedField", - "name": "updateAudit", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "audit", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v4/*: any*/), - (v2/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validFrom", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validUntil", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "70742901eeb45d5e00e4e61d83b2f828", - "id": null, - "metadata": {}, - "name": "TrustCenterAuditGraphUpdateMutation", - "operationKind": "mutation", - "text": "mutation TrustCenterAuditGraphUpdateMutation(\n $input: UpdateAuditInput!\n) {\n updateAudit(input: $input) {\n audit {\n id\n trustCenterVisibility\n ...TrustCenterAuditsCardFragment\n }\n }\n}\n\nfragment TrustCenterAuditsCardFragment on Audit {\n id\n name\n framework {\n name\n id\n }\n validFrom\n validUntil\n state\n trustCenterVisibility\n createdAt\n}\n" - } -}; -})(); - -(node as any).hash = "c958ccce67f79bb75593e9fcb31ee9d8"; - -export default node; diff --git a/apps/console/src/__generated__/core/TrustCenterAuditsCardFragment.graphql.ts b/apps/console/src/__generated__/core/TrustCenterAuditsCardFragment.graphql.ts deleted file mode 100644 index 8e2e11b12..000000000 --- a/apps/console/src/__generated__/core/TrustCenterAuditsCardFragment.graphql.ts +++ /dev/null @@ -1,110 +0,0 @@ -/** - * @generated SignedSource<<28248f2dbdad48cc6cfec3b35ce4c22f>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type AuditState = "COMPLETED" | "IN_PROGRESS" | "NOT_STARTED" | "OUTDATED" | "REJECTED"; -export type TrustCenterVisibility = "NONE" | "PRIVATE" | "PUBLIC"; -import { FragmentRefs } from "relay-runtime"; -export type TrustCenterAuditsCardFragment$data = { - readonly createdAt: string; - readonly framework: { - readonly name: string; - }; - readonly id: string; - readonly name: string | null | undefined; - readonly state: AuditState; - readonly trustCenterVisibility: TrustCenterVisibility; - readonly validFrom: string | null | undefined; - readonly validUntil: string | null | undefined; - readonly " $fragmentType": "TrustCenterAuditsCardFragment"; -}; -export type TrustCenterAuditsCardFragment$key = { - readonly " $data"?: TrustCenterAuditsCardFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"TrustCenterAuditsCardFragment">; -}; - -const node: ReaderFragment = (function(){ -var v0 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "TrustCenterAuditsCardFragment", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - (v0/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v0/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validFrom", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validUntil", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "trustCenterVisibility", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - } - ], - "type": "Audit", - "abstractKey": null -}; -})(); - -(node as any).hash = "c0f615fcad79ad39f60b48daacabdbbd"; - -export default node; diff --git a/apps/console/src/__generated__/core/TrustCenterDocumentGraphQuery.graphql.ts b/apps/console/src/__generated__/core/TrustCenterDocumentGraphQuery.graphql.ts deleted file mode 100644 index dc5392a0a..000000000 --- a/apps/console/src/__generated__/core/TrustCenterDocumentGraphQuery.graphql.ts +++ /dev/null @@ -1,288 +0,0 @@ -/** - * @generated SignedSource<<1135bf3b786a26466e2763cbeecb7b5b>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type TrustCenterDocumentGraphQuery$variables = { - organizationId: string; -}; -export type TrustCenterDocumentGraphQuery$data = { - readonly organization: { - readonly documents?: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"TrustCenterDocumentsCardFragment">; - }; - }>; - }; - readonly id?: string; - }; -}; -export type TrustCenterDocumentGraphQuery = { - response: TrustCenterDocumentGraphQuery$data; - variables: TrustCenterDocumentGraphQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = [ - { - "kind": "Literal", - "name": "first", - "value": 100 - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "TrustCenterDocumentGraphQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": (v3/*: any*/), - "concreteType": "DocumentConnection", - "kind": "LinkedField", - "name": "documents", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Document", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "TrustCenterDocumentsCardFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "documents(first:100)" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "TrustCenterDocumentGraphQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v3/*: any*/), - "concreteType": "DocumentConnection", - "kind": "LinkedField", - "name": "documents", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Document", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "title", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "documentType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "trustCenterVisibility", - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 1 - } - ], - "concreteType": "DocumentVersionConnection", - "kind": "LinkedField", - "name": "versions", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersion", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "versions(first:1)" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "documents(first:100)" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "1df18b182ace4562ffa876b7e8073a22", - "id": null, - "metadata": {}, - "name": "TrustCenterDocumentGraphQuery", - "operationKind": "query", - "text": "query TrustCenterDocumentGraphQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n ... on Organization {\n id\n documents(first: 100) {\n edges {\n node {\n id\n ...TrustCenterDocumentsCardFragment\n }\n }\n }\n }\n id\n }\n}\n\nfragment TrustCenterDocumentsCardFragment on Document {\n id\n title\n createdAt\n documentType\n trustCenterVisibility\n versions(first: 1) {\n edges {\n node {\n id\n status\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "f4e34ac09a2b56c2298bc319d9701f4d"; - -export default node; diff --git a/apps/console/src/__generated__/core/TrustCenterDocumentGraphUpdateMutation.graphql.ts b/apps/console/src/__generated__/core/TrustCenterDocumentGraphUpdateMutation.graphql.ts deleted file mode 100644 index 4b456b7b0..000000000 --- a/apps/console/src/__generated__/core/TrustCenterDocumentGraphUpdateMutation.graphql.ts +++ /dev/null @@ -1,224 +0,0 @@ -/** - * @generated SignedSource<<383c2d6a9d25911bb5df8c148a8a3e51>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type DocumentClassification = "CONFIDENTIAL" | "INTERNAL" | "PUBLIC" | "SECRET"; -export type DocumentType = "ISMS" | "OTHER" | "POLICY" | "PROCEDURE"; -export type TrustCenterVisibility = "NONE" | "PRIVATE" | "PUBLIC"; -export type UpdateDocumentInput = { - classification?: DocumentClassification | null | undefined; - content?: string | null | undefined; - documentType?: DocumentType | null | undefined; - id: string; - ownerId?: string | null | undefined; - title?: string | null | undefined; - trustCenterVisibility?: TrustCenterVisibility | null | undefined; -}; -export type TrustCenterDocumentGraphUpdateMutation$variables = { - input: UpdateDocumentInput; -}; -export type TrustCenterDocumentGraphUpdateMutation$data = { - readonly updateDocument: { - readonly document: { - readonly id: string; - readonly trustCenterVisibility: TrustCenterVisibility; - readonly " $fragmentSpreads": FragmentRefs<"TrustCenterDocumentsCardFragment">; - }; - }; -}; -export type TrustCenterDocumentGraphUpdateMutation = { - response: TrustCenterDocumentGraphUpdateMutation$data; - variables: TrustCenterDocumentGraphUpdateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "trustCenterVisibility", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "TrustCenterDocumentGraphUpdateMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "UpdateDocumentPayload", - "kind": "LinkedField", - "name": "updateDocument", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Document", - "kind": "LinkedField", - "name": "document", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "TrustCenterDocumentsCardFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "TrustCenterDocumentGraphUpdateMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "UpdateDocumentPayload", - "kind": "LinkedField", - "name": "updateDocument", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Document", - "kind": "LinkedField", - "name": "document", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "title", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "documentType", - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 1 - } - ], - "concreteType": "DocumentVersionConnection", - "kind": "LinkedField", - "name": "versions", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersion", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "versions(first:1)" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "04cb2a4e83386dfffce8c12eae320cfe", - "id": null, - "metadata": {}, - "name": "TrustCenterDocumentGraphUpdateMutation", - "operationKind": "mutation", - "text": "mutation TrustCenterDocumentGraphUpdateMutation(\n $input: UpdateDocumentInput!\n) {\n updateDocument(input: $input) {\n document {\n id\n trustCenterVisibility\n ...TrustCenterDocumentsCardFragment\n }\n }\n}\n\nfragment TrustCenterDocumentsCardFragment on Document {\n id\n title\n createdAt\n documentType\n trustCenterVisibility\n versions(first: 1) {\n edges {\n node {\n id\n status\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "293896dbfec4de53d0fe30a2462f833b"; - -export default node; diff --git a/apps/console/src/__generated__/core/TrustCenterDocumentsCardFragment.graphql.ts b/apps/console/src/__generated__/core/TrustCenterDocumentsCardFragment.graphql.ts deleted file mode 100644 index f60366df7..000000000 --- a/apps/console/src/__generated__/core/TrustCenterDocumentsCardFragment.graphql.ts +++ /dev/null @@ -1,135 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type DocumentStatus = "DRAFT" | "PUBLISHED"; -export type DocumentType = "ISMS" | "OTHER" | "POLICY" | "PROCEDURE"; -export type TrustCenterVisibility = "NONE" | "PRIVATE" | "PUBLIC"; -import { FragmentRefs } from "relay-runtime"; -export type TrustCenterDocumentsCardFragment$data = { - readonly createdAt: string; - readonly documentType: DocumentType; - readonly id: string; - readonly title: string; - readonly trustCenterVisibility: TrustCenterVisibility; - readonly versions: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly status: DocumentStatus; - }; - }>; - }; - readonly " $fragmentType": "TrustCenterDocumentsCardFragment"; -}; -export type TrustCenterDocumentsCardFragment$key = { - readonly " $data"?: TrustCenterDocumentsCardFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"TrustCenterDocumentsCardFragment">; -}; - -const node: ReaderFragment = (function(){ -var v0 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "TrustCenterDocumentsCardFragment", - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "title", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "documentType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "trustCenterVisibility", - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 1 - } - ], - "concreteType": "DocumentVersionConnection", - "kind": "LinkedField", - "name": "versions", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersion", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "versions(first:1)" - } - ], - "type": "Document", - "abstractKey": null -}; -})(); - -(node as any).hash = "a90715444be8a289eae6615ce44e244d"; - -export default node; diff --git a/apps/console/src/__generated__/core/TrustCenterFileGraphCreateMutation.graphql.ts b/apps/console/src/__generated__/core/TrustCenterFileGraphCreateMutation.graphql.ts deleted file mode 100644 index d72dd822f..000000000 --- a/apps/console/src/__generated__/core/TrustCenterFileGraphCreateMutation.graphql.ts +++ /dev/null @@ -1,211 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type TrustCenterVisibility = "NONE" | "PRIVATE" | "PUBLIC"; -export type CreateTrustCenterFileInput = { - category: string; - file: any; - name: string; - organizationId: string; - trustCenterVisibility: TrustCenterVisibility; -}; -export type TrustCenterFileGraphCreateMutation$variables = { - connections: ReadonlyArray; - input: CreateTrustCenterFileInput; -}; -export type TrustCenterFileGraphCreateMutation$data = { - readonly createTrustCenterFile: { - readonly trustCenterFileEdge: { - readonly node: { - readonly category: string; - readonly createdAt: string; - readonly fileUrl: string; - readonly id: string; - readonly name: string; - readonly trustCenterVisibility: TrustCenterVisibility; - readonly updatedAt: string; - }; - }; - }; -}; -export type TrustCenterFileGraphCreateMutation = { - response: TrustCenterFileGraphCreateMutation$data; - variables: TrustCenterFileGraphCreateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "concreteType": "TrustCenterFileEdge", - "kind": "LinkedField", - "name": "trustCenterFileEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "TrustCenterFile", - "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": "category", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fileUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "trustCenterVisibility", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "TrustCenterFileGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateTrustCenterFilePayload", - "kind": "LinkedField", - "name": "createTrustCenterFile", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "TrustCenterFileGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateTrustCenterFilePayload", - "kind": "LinkedField", - "name": "createTrustCenterFile", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "trustCenterFileEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "57c42327b83556d36745cf8218eb01b1", - "id": null, - "metadata": {}, - "name": "TrustCenterFileGraphCreateMutation", - "operationKind": "mutation", - "text": "mutation TrustCenterFileGraphCreateMutation(\n $input: CreateTrustCenterFileInput!\n) {\n createTrustCenterFile(input: $input) {\n trustCenterFileEdge {\n node {\n id\n name\n category\n fileUrl\n trustCenterVisibility\n createdAt\n updatedAt\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "fa3851bf4f5e38bc26d8a063d6afab4e"; - -export default node; diff --git a/apps/console/src/__generated__/core/TrustCenterFileGraphDeleteMutation.graphql.ts b/apps/console/src/__generated__/core/TrustCenterFileGraphDeleteMutation.graphql.ts deleted file mode 100644 index 368459c62..000000000 --- a/apps/console/src/__generated__/core/TrustCenterFileGraphDeleteMutation.graphql.ts +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteTrustCenterFileInput = { - id: string; -}; -export type TrustCenterFileGraphDeleteMutation$variables = { - connections: ReadonlyArray; - input: DeleteTrustCenterFileInput; -}; -export type TrustCenterFileGraphDeleteMutation$data = { - readonly deleteTrustCenterFile: { - readonly deletedTrustCenterFileId: string; - }; -}; -export type TrustCenterFileGraphDeleteMutation = { - response: TrustCenterFileGraphDeleteMutation$data; - variables: TrustCenterFileGraphDeleteMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedTrustCenterFileId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "TrustCenterFileGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteTrustCenterFilePayload", - "kind": "LinkedField", - "name": "deleteTrustCenterFile", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "TrustCenterFileGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteTrustCenterFilePayload", - "kind": "LinkedField", - "name": "deleteTrustCenterFile", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedTrustCenterFileId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "ad78a064da9b58291653f8283012ffc6", - "id": null, - "metadata": {}, - "name": "TrustCenterFileGraphDeleteMutation", - "operationKind": "mutation", - "text": "mutation TrustCenterFileGraphDeleteMutation(\n $input: DeleteTrustCenterFileInput!\n) {\n deleteTrustCenterFile(input: $input) {\n deletedTrustCenterFileId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "26c1ce69e74f3a4a39d060b38afbe3e0"; - -export default node; diff --git a/apps/console/src/__generated__/core/TrustCenterFileGraphUpdateMutation.graphql.ts b/apps/console/src/__generated__/core/TrustCenterFileGraphUpdateMutation.graphql.ts deleted file mode 100644 index 8df5325fe..000000000 --- a/apps/console/src/__generated__/core/TrustCenterFileGraphUpdateMutation.graphql.ts +++ /dev/null @@ -1,141 +0,0 @@ -/** - * @generated SignedSource<<981cc2a2716995f5e1f22d2554598992>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type TrustCenterVisibility = "NONE" | "PRIVATE" | "PUBLIC"; -export type UpdateTrustCenterFileInput = { - category?: string | null | undefined; - id: string; - name?: string | null | undefined; - trustCenterVisibility?: TrustCenterVisibility | null | undefined; -}; -export type TrustCenterFileGraphUpdateMutation$variables = { - input: UpdateTrustCenterFileInput; -}; -export type TrustCenterFileGraphUpdateMutation$data = { - readonly updateTrustCenterFile: { - readonly trustCenterFile: { - readonly category: string; - readonly id: string; - readonly name: string; - readonly trustCenterVisibility: TrustCenterVisibility; - readonly updatedAt: string; - }; - }; -}; -export type TrustCenterFileGraphUpdateMutation = { - response: TrustCenterFileGraphUpdateMutation$data; - variables: TrustCenterFileGraphUpdateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UpdateTrustCenterFilePayload", - "kind": "LinkedField", - "name": "updateTrustCenterFile", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "TrustCenterFile", - "kind": "LinkedField", - "name": "trustCenterFile", - "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": "category", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "trustCenterVisibility", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "TrustCenterFileGraphUpdateMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "TrustCenterFileGraphUpdateMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "9ad761d91cfe34e7fa905a3f6a4d9e37", - "id": null, - "metadata": {}, - "name": "TrustCenterFileGraphUpdateMutation", - "operationKind": "mutation", - "text": "mutation TrustCenterFileGraphUpdateMutation(\n $input: UpdateTrustCenterFileInput!\n) {\n updateTrustCenterFile(input: $input) {\n trustCenterFile {\n id\n name\n category\n trustCenterVisibility\n updatedAt\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "7306c3f9530a7636adc0b6a0cf28b67e"; - -export default node; diff --git a/apps/console/src/__generated__/core/TrustCenterFilesCardFragment.graphql.ts b/apps/console/src/__generated__/core/TrustCenterFilesCardFragment.graphql.ts deleted file mode 100644 index 3e2adefb4..000000000 --- a/apps/console/src/__generated__/core/TrustCenterFilesCardFragment.graphql.ts +++ /dev/null @@ -1,119 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type TrustCenterVisibility = "NONE" | "PRIVATE" | "PUBLIC"; -import { FragmentRefs } from "relay-runtime"; -export type TrustCenterFilesCardFragment$data = { - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly category: string; - readonly createdAt: string; - readonly fileUrl: string; - readonly id: string; - readonly name: string; - readonly trustCenterVisibility: TrustCenterVisibility; - readonly updatedAt: string; - readonly " $fragmentType": "TrustCenterFilesCardFragment"; -}; -export type TrustCenterFilesCardFragment$key = { - readonly " $data"?: TrustCenterFilesCardFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"TrustCenterFilesCardFragment">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "TrustCenterFilesCardFragment", - "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": "category", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fileUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "trustCenterVisibility", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:trust-center-file:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:trust-center-file:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:trust-center-file:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:trust-center-file:delete\")" - } - ], - "type": "TrustCenterFile", - "abstractKey": null -}; - -(node as any).hash = "7b9e482868fc5d815923fbefdbafc8bb"; - -export default node; diff --git a/apps/console/src/__generated__/core/TrustCenterGraphDeleteNDAMutation.graphql.ts b/apps/console/src/__generated__/core/TrustCenterGraphDeleteNDAMutation.graphql.ts deleted file mode 100644 index 52cb4d437..000000000 --- a/apps/console/src/__generated__/core/TrustCenterGraphDeleteNDAMutation.graphql.ts +++ /dev/null @@ -1,121 +0,0 @@ -/** - * @generated SignedSource<<3220ac89d535b383bbb99661dc296183>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteTrustCenterNDAInput = { - trustCenterId: string; -}; -export type TrustCenterGraphDeleteNDAMutation$variables = { - input: DeleteTrustCenterNDAInput; -}; -export type TrustCenterGraphDeleteNDAMutation$data = { - readonly deleteTrustCenterNDA: { - readonly trustCenter: { - readonly id: string; - readonly ndaFileName: string | null | undefined; - readonly updatedAt: string; - }; - }; -}; -export type TrustCenterGraphDeleteNDAMutation = { - response: TrustCenterGraphDeleteNDAMutation$data; - variables: TrustCenterGraphDeleteNDAMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "DeleteTrustCenterNDAPayload", - "kind": "LinkedField", - "name": "deleteTrustCenterNDA", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "TrustCenter", - "kind": "LinkedField", - "name": "trustCenter", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "ndaFileName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "TrustCenterGraphDeleteNDAMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "TrustCenterGraphDeleteNDAMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "fa3ebf3593c396bf05819d357d9f909f", - "id": null, - "metadata": {}, - "name": "TrustCenterGraphDeleteNDAMutation", - "operationKind": "mutation", - "text": "mutation TrustCenterGraphDeleteNDAMutation(\n $input: DeleteTrustCenterNDAInput!\n) {\n deleteTrustCenterNDA(input: $input) {\n trustCenter {\n id\n ndaFileName\n updatedAt\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "9c055069b9e2e7432fed7509f6578a07"; - -export default node; diff --git a/apps/console/src/__generated__/core/TrustCenterGraphQuery.graphql.ts b/apps/console/src/__generated__/core/TrustCenterGraphQuery.graphql.ts deleted file mode 100644 index b126ee7ad..000000000 --- a/apps/console/src/__generated__/core/TrustCenterGraphQuery.graphql.ts +++ /dev/null @@ -1,970 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type TrustCenterGraphQuery$variables = { - organizationId: string; -}; -export type TrustCenterGraphQuery$data = { - readonly organization: { - readonly audits?: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"TrustCenterAuditsCardFragment">; - }; - }>; - }; - readonly canCreateTrustCenterFile?: boolean; - readonly customDomain?: { - readonly domain: string; - readonly id: string; - } | null | undefined; - readonly documents?: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"TrustCenterDocumentsCardFragment">; - }; - }>; - }; - readonly id?: string; - readonly name?: string; - readonly slackConnections?: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly channel: string | null | undefined; - readonly channelId: string | null | undefined; - readonly createdAt: string; - readonly id: string; - readonly updatedAt: string; - }; - }>; - }; - readonly trustCenter?: { - readonly active: boolean; - readonly canCreateAccess: boolean; - readonly canCreateReference: boolean; - readonly canDeleteNDA: boolean; - readonly canGetNDA: boolean; - readonly canUpdate: boolean; - readonly canUploadNDA: boolean; - readonly createdAt: string; - readonly id: string; - readonly ndaFileName: string | null | undefined; - readonly ndaFileUrl: string | null | undefined; - readonly updatedAt: string; - } | null | undefined; - readonly trustCenterFiles?: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"TrustCenterFilesCardFragment">; - }; - }>; - }; - readonly vendors?: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"TrustCenterVendorsCardFragment">; - }; - }>; - }; - }; -}; -export type TrustCenterGraphQuery = { - response: TrustCenterGraphQuery$data; - variables: TrustCenterGraphQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v4 = { - "alias": "canCreateTrustCenterFile", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:trust-center-file:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:trust-center-file:create\")" -}, -v5 = { - "alias": null, - "args": null, - "concreteType": "CustomDomain", - "kind": "LinkedField", - "name": "customDomain", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "domain", - "storageKey": null - } - ], - "storageKey": null -}, -v6 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null -}, -v7 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null -}, -v8 = { - "alias": null, - "args": null, - "concreteType": "TrustCenter", - "kind": "LinkedField", - "name": "trustCenter", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "active", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "ndaFileName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "ndaFileUrl", - "storageKey": null - }, - (v6/*: any*/), - (v7/*: any*/), - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:trust-center:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:trust-center:update\")" - }, - { - "alias": "canGetNDA", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:trust-center:get-nda" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:trust-center:get-nda\")" - }, - { - "alias": "canUploadNDA", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:trust-center:upload-nda" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:trust-center:upload-nda\")" - }, - { - "alias": "canDeleteNDA", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:trust-center:delete-nda" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:trust-center:delete-nda\")" - }, - { - "alias": "canCreateReference", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:trust-center-reference:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:trust-center-reference:create\")" - }, - { - "alias": "canCreateAccess", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:trust-center-access:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:trust-center-access:create\")" - } - ], - "storageKey": null -}, -v9 = [ - { - "kind": "Literal", - "name": "first", - "value": 100 - } -], -v10 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null -}, -v12 = { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - } - ], - "storageKey": null -}, -v13 = { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] -}, -v14 = { - "alias": null, - "args": (v9/*: any*/), - "concreteType": "SlackConnectionConnection", - "kind": "LinkedField", - "name": "slackConnections", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "SlackConnectionEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "SlackConnection", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "channel", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "channelId", - "storageKey": null - }, - (v6/*: any*/), - (v7/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "slackConnections(first:100)" -}, -v15 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "trustCenterVisibility", - "storageKey": null -}, -v16 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "category", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "TrustCenterGraphQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v8/*: any*/), - { - "alias": null, - "args": (v9/*: any*/), - "concreteType": "DocumentConnection", - "kind": "LinkedField", - "name": "documents", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Document", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "TrustCenterDocumentsCardFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "documents(first:100)" - }, - { - "alias": null, - "args": (v9/*: any*/), - "concreteType": "AuditConnection", - "kind": "LinkedField", - "name": "audits", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "AuditEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "TrustCenterAuditsCardFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "audits(first:100)" - }, - { - "alias": null, - "args": (v9/*: any*/), - "concreteType": "VendorConnection", - "kind": "LinkedField", - "name": "vendors", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Vendor", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "TrustCenterVendorsCardFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "vendors(first:100)" - }, - { - "alias": "trustCenterFiles", - "args": null, - "concreteType": "TrustCenterFileConnection", - "kind": "LinkedField", - "name": "__TrustCenterPage_trustCenterFiles_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "TrustCenterFileEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "TrustCenterFile", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "TrustCenterFilesCardFragment" - }, - (v10/*: any*/) - ], - "storageKey": null - }, - (v11/*: any*/) - ], - "storageKey": null - }, - (v12/*: any*/), - (v13/*: any*/) - ], - "storageKey": null - }, - (v14/*: any*/) - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "TrustCenterGraphQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v10/*: any*/), - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v8/*: any*/), - { - "alias": null, - "args": (v9/*: any*/), - "concreteType": "DocumentConnection", - "kind": "LinkedField", - "name": "documents", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Document", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "title", - "storageKey": null - }, - (v6/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "documentType", - "storageKey": null - }, - (v15/*: any*/), - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 1 - } - ], - "concreteType": "DocumentVersionConnection", - "kind": "LinkedField", - "name": "versions", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersion", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "versions(first:1)" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "documents(first:100)" - }, - { - "alias": null, - "args": (v9/*: any*/), - "concreteType": "AuditConnection", - "kind": "LinkedField", - "name": "audits", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "AuditEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Audit", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Framework", - "kind": "LinkedField", - "name": "framework", - "plural": false, - "selections": [ - (v3/*: any*/), - (v2/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validFrom", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validUntil", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - (v15/*: any*/), - (v6/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "audits(first:100)" - }, - { - "alias": null, - "args": (v9/*: any*/), - "concreteType": "VendorConnection", - "kind": "LinkedField", - "name": "vendors", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Vendor", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - (v16/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "showOnTrustCenter", - "storageKey": null - }, - (v6/*: any*/), - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor:update\")" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "vendors(first:100)" - }, - { - "alias": null, - "args": (v9/*: any*/), - "concreteType": "TrustCenterFileConnection", - "kind": "LinkedField", - "name": "trustCenterFiles", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "TrustCenterFileEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "TrustCenterFile", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - (v16/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fileUrl", - "storageKey": null - }, - (v15/*: any*/), - (v6/*: any*/), - (v7/*: any*/), - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:trust-center-file:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:trust-center-file:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:trust-center-file:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:trust-center-file:delete\")" - }, - (v10/*: any*/) - ], - "storageKey": null - }, - (v11/*: any*/) - ], - "storageKey": null - }, - (v12/*: any*/), - (v13/*: any*/) - ], - "storageKey": "trustCenterFiles(first:100)" - }, - { - "alias": null, - "args": (v9/*: any*/), - "filters": null, - "handle": "connection", - "key": "TrustCenterPage_trustCenterFiles", - "kind": "LinkedHandle", - "name": "trustCenterFiles" - }, - (v14/*: any*/) - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "e04f245ca84bd7221a3e0187b8e988a5", - "id": null, - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "forward", - "path": [ - "organization", - "trustCenterFiles" - ] - } - ] - }, - "name": "TrustCenterGraphQuery", - "operationKind": "query", - "text": "query TrustCenterGraphQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n ... on Organization {\n id\n name\n canCreateTrustCenterFile: permission(action: \"core:trust-center-file:create\")\n customDomain {\n id\n domain\n }\n trustCenter {\n id\n active\n ndaFileName\n ndaFileUrl\n createdAt\n updatedAt\n canUpdate: permission(action: \"core:trust-center:update\")\n canGetNDA: permission(action: \"core:trust-center:get-nda\")\n canUploadNDA: permission(action: \"core:trust-center:upload-nda\")\n canDeleteNDA: permission(action: \"core:trust-center:delete-nda\")\n canCreateReference: permission(action: \"core:trust-center-reference:create\")\n canCreateAccess: permission(action: \"core:trust-center-access:create\")\n }\n documents(first: 100) {\n edges {\n node {\n id\n ...TrustCenterDocumentsCardFragment\n }\n }\n }\n audits(first: 100) {\n edges {\n node {\n id\n ...TrustCenterAuditsCardFragment\n }\n }\n }\n vendors(first: 100) {\n edges {\n node {\n id\n ...TrustCenterVendorsCardFragment\n }\n }\n }\n trustCenterFiles(first: 100) {\n edges {\n node {\n id\n ...TrustCenterFilesCardFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n slackConnections(first: 100) {\n edges {\n node {\n id\n channel\n channelId\n createdAt\n updatedAt\n }\n }\n }\n }\n id\n }\n}\n\nfragment TrustCenterAuditsCardFragment on Audit {\n id\n name\n framework {\n name\n id\n }\n validFrom\n validUntil\n state\n trustCenterVisibility\n createdAt\n}\n\nfragment TrustCenterDocumentsCardFragment on Document {\n id\n title\n createdAt\n documentType\n trustCenterVisibility\n versions(first: 1) {\n edges {\n node {\n id\n status\n }\n }\n }\n}\n\nfragment TrustCenterFilesCardFragment on TrustCenterFile {\n id\n name\n category\n fileUrl\n trustCenterVisibility\n createdAt\n updatedAt\n canUpdate: permission(action: \"core:trust-center-file:update\")\n canDelete: permission(action: \"core:trust-center-file:delete\")\n}\n\nfragment TrustCenterVendorsCardFragment on Vendor {\n id\n name\n category\n description\n showOnTrustCenter\n createdAt\n canUpdate: permission(action: \"core:vendor:update\")\n}\n" - } -}; -})(); - -(node as any).hash = "c2590192391f38eab216d98c0c536118"; - -export default node; diff --git a/apps/console/src/__generated__/core/TrustCenterGraphUpdateMutation.graphql.ts b/apps/console/src/__generated__/core/TrustCenterGraphUpdateMutation.graphql.ts deleted file mode 100644 index b85822c79..000000000 --- a/apps/console/src/__generated__/core/TrustCenterGraphUpdateMutation.graphql.ts +++ /dev/null @@ -1,122 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type UpdateTrustCenterInput = { - active?: boolean | null | undefined; - trustCenterId: string; -}; -export type TrustCenterGraphUpdateMutation$variables = { - input: UpdateTrustCenterInput; -}; -export type TrustCenterGraphUpdateMutation$data = { - readonly updateTrustCenter: { - readonly trustCenter: { - readonly active: boolean; - readonly id: string; - readonly updatedAt: string; - }; - }; -}; -export type TrustCenterGraphUpdateMutation = { - response: TrustCenterGraphUpdateMutation$data; - variables: TrustCenterGraphUpdateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UpdateTrustCenterPayload", - "kind": "LinkedField", - "name": "updateTrustCenter", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "TrustCenter", - "kind": "LinkedField", - "name": "trustCenter", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "active", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "TrustCenterGraphUpdateMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "TrustCenterGraphUpdateMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "4d56330e76f63430b88de2deac6d73ff", - "id": null, - "metadata": {}, - "name": "TrustCenterGraphUpdateMutation", - "operationKind": "mutation", - "text": "mutation TrustCenterGraphUpdateMutation(\n $input: UpdateTrustCenterInput!\n) {\n updateTrustCenter(input: $input) {\n trustCenter {\n id\n active\n updatedAt\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "e5db4ea1986315fc8103885fee2ede5b"; - -export default node; diff --git a/apps/console/src/__generated__/core/TrustCenterGraphUploadNDAMutation.graphql.ts b/apps/console/src/__generated__/core/TrustCenterGraphUploadNDAMutation.graphql.ts deleted file mode 100644 index 9ec8d3581..000000000 --- a/apps/console/src/__generated__/core/TrustCenterGraphUploadNDAMutation.graphql.ts +++ /dev/null @@ -1,123 +0,0 @@ -/** - * @generated SignedSource<<4bc817c960234139f5aeedfed5b2fe8b>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type UploadTrustCenterNDAInput = { - file: any; - fileName: string; - trustCenterId: string; -}; -export type TrustCenterGraphUploadNDAMutation$variables = { - input: UploadTrustCenterNDAInput; -}; -export type TrustCenterGraphUploadNDAMutation$data = { - readonly uploadTrustCenterNDA: { - readonly trustCenter: { - readonly id: string; - readonly ndaFileName: string | null | undefined; - readonly updatedAt: string; - }; - }; -}; -export type TrustCenterGraphUploadNDAMutation = { - response: TrustCenterGraphUploadNDAMutation$data; - variables: TrustCenterGraphUploadNDAMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UploadTrustCenterNDAPayload", - "kind": "LinkedField", - "name": "uploadTrustCenterNDA", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "TrustCenter", - "kind": "LinkedField", - "name": "trustCenter", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "ndaFileName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "TrustCenterGraphUploadNDAMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "TrustCenterGraphUploadNDAMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "09a5dbf73f3e279173691b235f9da2e2", - "id": null, - "metadata": {}, - "name": "TrustCenterGraphUploadNDAMutation", - "operationKind": "mutation", - "text": "mutation TrustCenterGraphUploadNDAMutation(\n $input: UploadTrustCenterNDAInput!\n) {\n uploadTrustCenterNDA(input: $input) {\n trustCenter {\n id\n ndaFileName\n updatedAt\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "b9877f8a5b9c2c12addeb939360719f1"; - -export default node; diff --git a/apps/console/src/__generated__/core/TrustCenterReferenceGraphCreateMutation.graphql.ts b/apps/console/src/__generated__/core/TrustCenterReferenceGraphCreateMutation.graphql.ts deleted file mode 100644 index 9e312c7dc..000000000 --- a/apps/console/src/__generated__/core/TrustCenterReferenceGraphCreateMutation.graphql.ts +++ /dev/null @@ -1,254 +0,0 @@ -/** - * @generated SignedSource<<9d8cd7c4e9e9c2217dce89750390f2d7>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type CreateTrustCenterReferenceInput = { - description?: string | null | undefined; - logoFile: any; - name: string; - trustCenterId: string; - websiteUrl: string; -}; -export type TrustCenterReferenceGraphCreateMutation$variables = { - connections: ReadonlyArray; - input: CreateTrustCenterReferenceInput; -}; -export type TrustCenterReferenceGraphCreateMutation$data = { - readonly createTrustCenterReference: { - readonly trustCenterReferenceEdge: { - readonly cursor: string; - readonly node: { - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly createdAt: string; - readonly description: string | null | undefined; - readonly id: string; - readonly logoUrl: string; - readonly name: string; - readonly rank: number; - readonly updatedAt: string; - readonly websiteUrl: string; - }; - }; - }; -}; -export type TrustCenterReferenceGraphCreateMutation = { - response: TrustCenterReferenceGraphCreateMutation$data; - variables: TrustCenterReferenceGraphCreateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "concreteType": "TrustCenterReferenceEdge", - "kind": "LinkedField", - "name": "trustCenterReferenceEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "TrustCenterReference", - "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": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "logoUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "rank", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:trust-center-reference:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:trust-center-reference:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:trust-center-reference:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:trust-center-reference:delete\")" - } - ], - "storageKey": null - } - ], - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "TrustCenterReferenceGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateTrustCenterReferencePayload", - "kind": "LinkedField", - "name": "createTrustCenterReference", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "TrustCenterReferenceGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateTrustCenterReferencePayload", - "kind": "LinkedField", - "name": "createTrustCenterReference", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "appendEdge", - "key": "", - "kind": "LinkedHandle", - "name": "trustCenterReferenceEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "4cffbce769a3af5a0b95188c5fdb1ab1", - "id": null, - "metadata": {}, - "name": "TrustCenterReferenceGraphCreateMutation", - "operationKind": "mutation", - "text": "mutation TrustCenterReferenceGraphCreateMutation(\n $input: CreateTrustCenterReferenceInput!\n) {\n createTrustCenterReference(input: $input) {\n trustCenterReferenceEdge {\n cursor\n node {\n id\n name\n description\n websiteUrl\n logoUrl\n rank\n createdAt\n updatedAt\n canUpdate: permission(action: \"core:trust-center-reference:update\")\n canDelete: permission(action: \"core:trust-center-reference:delete\")\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "2235fdf1f63c55b4a6670eaa0f32fe20"; - -export default node; diff --git a/apps/console/src/__generated__/core/TrustCenterReferenceGraphDeleteMutation.graphql.ts b/apps/console/src/__generated__/core/TrustCenterReferenceGraphDeleteMutation.graphql.ts deleted file mode 100644 index 1c9607dc9..000000000 --- a/apps/console/src/__generated__/core/TrustCenterReferenceGraphDeleteMutation.graphql.ts +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @generated SignedSource<<1f4c8af006c90496e08b285944c83eac>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteTrustCenterReferenceInput = { - id: string; -}; -export type TrustCenterReferenceGraphDeleteMutation$variables = { - connections: ReadonlyArray; - input: DeleteTrustCenterReferenceInput; -}; -export type TrustCenterReferenceGraphDeleteMutation$data = { - readonly deleteTrustCenterReference: { - readonly deletedTrustCenterReferenceId: string; - }; -}; -export type TrustCenterReferenceGraphDeleteMutation = { - response: TrustCenterReferenceGraphDeleteMutation$data; - variables: TrustCenterReferenceGraphDeleteMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedTrustCenterReferenceId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "TrustCenterReferenceGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteTrustCenterReferencePayload", - "kind": "LinkedField", - "name": "deleteTrustCenterReference", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "TrustCenterReferenceGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteTrustCenterReferencePayload", - "kind": "LinkedField", - "name": "deleteTrustCenterReference", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedTrustCenterReferenceId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "6d22b36eb6ce9b568bfc091741a63ea8", - "id": null, - "metadata": {}, - "name": "TrustCenterReferenceGraphDeleteMutation", - "operationKind": "mutation", - "text": "mutation TrustCenterReferenceGraphDeleteMutation(\n $input: DeleteTrustCenterReferenceInput!\n) {\n deleteTrustCenterReference(input: $input) {\n deletedTrustCenterReferenceId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "31a0fcb302daa8f42bc5ecb74fadfd0b"; - -export default node; diff --git a/apps/console/src/__generated__/core/TrustCenterReferenceGraphQuery.graphql.ts b/apps/console/src/__generated__/core/TrustCenterReferenceGraphQuery.graphql.ts deleted file mode 100644 index 6786211be..000000000 --- a/apps/console/src/__generated__/core/TrustCenterReferenceGraphQuery.graphql.ts +++ /dev/null @@ -1,389 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type TrustCenterReferenceGraphQuery$variables = { - trustCenterId: string; -}; -export type TrustCenterReferenceGraphQuery$data = { - readonly node: { - readonly __typename: "TrustCenter"; - readonly id: string; - readonly references: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly cursor: string; - readonly node: { - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly createdAt: string; - readonly description: string | null | undefined; - readonly id: string; - readonly logoUrl: string; - readonly name: string; - readonly rank: number; - readonly updatedAt: string; - readonly websiteUrl: string; - }; - }>; - readonly pageInfo: { - readonly endCursor: string | null | undefined; - readonly hasNextPage: boolean; - readonly hasPreviousPage: boolean; - readonly startCursor: string | null | undefined; - }; - }; - } | { - // This will never be '%other', but we need some - // value in case none of the concrete values match. - readonly __typename: "%other"; - }; -}; -export type TrustCenterReferenceGraphQuery = { - response: TrustCenterReferenceGraphQuery$data; - variables: TrustCenterReferenceGraphQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "trustCenterId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "trustCenterId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v4 = { - "kind": "Literal", - "name": "orderBy", - "value": { - "direction": "ASC", - "field": "RANK" - } -}, -v5 = { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - } - ], - "storageKey": null -}, -v6 = { - "alias": null, - "args": null, - "concreteType": "TrustCenterReferenceEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "TrustCenterReference", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "logoUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "rank", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:trust-center-reference:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:trust-center-reference:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:trust-center-reference:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:trust-center-reference:delete\")" - }, - (v2/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null -}, -v7 = { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] -}, -v8 = [ - { - "kind": "Literal", - "name": "first", - "value": 100 - }, - (v4/*: any*/) -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "TrustCenterReferenceGraphQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/), - { - "kind": "RequiredField", - "field": { - "alias": "references", - "args": [ - (v4/*: any*/) - ], - "concreteType": "TrustCenterReferenceConnection", - "kind": "LinkedField", - "name": "__TrustCenterReferencesSection_references_connection", - "plural": false, - "selections": [ - (v5/*: any*/), - { - "kind": "RequiredField", - "field": (v6/*: any*/), - "action": "THROW" - }, - (v7/*: any*/) - ], - "storageKey": "__TrustCenterReferencesSection_references_connection(orderBy:{\"direction\":\"ASC\",\"field\":\"RANK\"})" - }, - "action": "THROW" - } - ], - "type": "TrustCenter", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "TrustCenterReferenceGraphQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v8/*: any*/), - "concreteType": "TrustCenterReferenceConnection", - "kind": "LinkedField", - "name": "references", - "plural": false, - "selections": [ - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/) - ], - "storageKey": "references(first:100,orderBy:{\"direction\":\"ASC\",\"field\":\"RANK\"})" - }, - { - "alias": null, - "args": (v8/*: any*/), - "filters": [ - "orderBy" - ], - "handle": "connection", - "key": "TrustCenterReferencesSection_references", - "kind": "LinkedHandle", - "name": "references" - } - ], - "type": "TrustCenter", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "3eaf772859927eca50f824a7298fd2d5", - "id": null, - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "forward", - "path": [ - "node", - "references" - ] - } - ] - }, - "name": "TrustCenterReferenceGraphQuery", - "operationKind": "query", - "text": "query TrustCenterReferenceGraphQuery(\n $trustCenterId: ID!\n) {\n node(id: $trustCenterId) {\n __typename\n ... on TrustCenter {\n id\n references(first: 100, orderBy: {field: RANK, direction: ASC}) {\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n edges {\n cursor\n node {\n id\n name\n description\n websiteUrl\n logoUrl\n rank\n createdAt\n updatedAt\n canUpdate: permission(action: \"core:trust-center-reference:update\")\n canDelete: permission(action: \"core:trust-center-reference:delete\")\n __typename\n }\n }\n }\n }\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "5c1e65a30423ec4357ef2cb546bca387"; - -export default node; diff --git a/apps/console/src/__generated__/core/TrustCenterReferenceGraphUpdateMutation.graphql.ts b/apps/console/src/__generated__/core/TrustCenterReferenceGraphUpdateMutation.graphql.ts deleted file mode 100644 index e02ee7e0f..000000000 --- a/apps/console/src/__generated__/core/TrustCenterReferenceGraphUpdateMutation.graphql.ts +++ /dev/null @@ -1,194 +0,0 @@ -/** - * @generated SignedSource<<2bb2430e2a2e063fc21f4f2c7c19910f>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type UpdateTrustCenterReferenceInput = { - description?: string | null | undefined; - id: string; - logoFile?: any | null | undefined; - name?: string | null | undefined; - rank?: number | null | undefined; - websiteUrl?: string | null | undefined; -}; -export type TrustCenterReferenceGraphUpdateMutation$variables = { - input: UpdateTrustCenterReferenceInput; -}; -export type TrustCenterReferenceGraphUpdateMutation$data = { - readonly updateTrustCenterReference: { - readonly trustCenterReference: { - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly createdAt: string; - readonly description: string | null | undefined; - readonly id: string; - readonly logoUrl: string; - readonly name: string; - readonly rank: number; - readonly updatedAt: string; - readonly websiteUrl: string; - }; - }; -}; -export type TrustCenterReferenceGraphUpdateMutation = { - response: TrustCenterReferenceGraphUpdateMutation$data; - variables: TrustCenterReferenceGraphUpdateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UpdateTrustCenterReferencePayload", - "kind": "LinkedField", - "name": "updateTrustCenterReference", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "TrustCenterReference", - "kind": "LinkedField", - "name": "trustCenterReference", - "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": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "logoUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "rank", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:trust-center-reference:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:trust-center-reference:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:trust-center-reference:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:trust-center-reference:delete\")" - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "TrustCenterReferenceGraphUpdateMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "TrustCenterReferenceGraphUpdateMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "7c0e441a6e51c68b72f3dc0b74079da1", - "id": null, - "metadata": {}, - "name": "TrustCenterReferenceGraphUpdateMutation", - "operationKind": "mutation", - "text": "mutation TrustCenterReferenceGraphUpdateMutation(\n $input: UpdateTrustCenterReferenceInput!\n) {\n updateTrustCenterReference(input: $input) {\n trustCenterReference {\n id\n name\n description\n websiteUrl\n logoUrl\n rank\n createdAt\n updatedAt\n canUpdate: permission(action: \"core:trust-center-reference:update\")\n canDelete: permission(action: \"core:trust-center-reference:delete\")\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "f6add85271c2b048654bf586745252fc"; - -export default node; diff --git a/apps/console/src/__generated__/core/TrustCenterReferenceGraphUpdateRankMutation.graphql.ts b/apps/console/src/__generated__/core/TrustCenterReferenceGraphUpdateRankMutation.graphql.ts deleted file mode 100644 index d915e8934..000000000 --- a/apps/console/src/__generated__/core/TrustCenterReferenceGraphUpdateRankMutation.graphql.ts +++ /dev/null @@ -1,118 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type UpdateTrustCenterReferenceInput = { - description?: string | null | undefined; - id: string; - logoFile?: any | null | undefined; - name?: string | null | undefined; - rank?: number | null | undefined; - websiteUrl?: string | null | undefined; -}; -export type TrustCenterReferenceGraphUpdateRankMutation$variables = { - input: UpdateTrustCenterReferenceInput; -}; -export type TrustCenterReferenceGraphUpdateRankMutation$data = { - readonly updateTrustCenterReference: { - readonly trustCenterReference: { - readonly id: string; - readonly rank: number; - }; - }; -}; -export type TrustCenterReferenceGraphUpdateRankMutation = { - response: TrustCenterReferenceGraphUpdateRankMutation$data; - variables: TrustCenterReferenceGraphUpdateRankMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UpdateTrustCenterReferencePayload", - "kind": "LinkedField", - "name": "updateTrustCenterReference", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "TrustCenterReference", - "kind": "LinkedField", - "name": "trustCenterReference", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "rank", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "TrustCenterReferenceGraphUpdateRankMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "TrustCenterReferenceGraphUpdateRankMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "9e3d186eff2bff3d66482ab88f27aead", - "id": null, - "metadata": {}, - "name": "TrustCenterReferenceGraphUpdateRankMutation", - "operationKind": "mutation", - "text": "mutation TrustCenterReferenceGraphUpdateRankMutation(\n $input: UpdateTrustCenterReferenceInput!\n) {\n updateTrustCenterReference(input: $input) {\n trustCenterReference {\n id\n rank\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "72d23bac1e404137890be27bf98bc59e"; - -export default node; diff --git a/apps/console/src/__generated__/core/TrustCenterVendorGraphUpdateMutation.graphql.ts b/apps/console/src/__generated__/core/TrustCenterVendorGraphUpdateMutation.graphql.ts deleted file mode 100644 index 8e6ad5f65..000000000 --- a/apps/console/src/__generated__/core/TrustCenterVendorGraphUpdateMutation.graphql.ts +++ /dev/null @@ -1,210 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type CountryCode = "AD" | "AE" | "AF" | "AG" | "AI" | "AL" | "AM" | "AO" | "AQ" | "AR" | "AS" | "AT" | "AU" | "AW" | "AX" | "AZ" | "BA" | "BB" | "BD" | "BE" | "BF" | "BG" | "BH" | "BI" | "BJ" | "BL" | "BM" | "BN" | "BO" | "BQ" | "BR" | "BS" | "BT" | "BV" | "BW" | "BY" | "BZ" | "CA" | "CC" | "CD" | "CF" | "CG" | "CH" | "CI" | "CK" | "CL" | "CM" | "CN" | "CO" | "CR" | "CU" | "CV" | "CW" | "CX" | "CY" | "CZ" | "DE" | "DJ" | "DK" | "DM" | "DO" | "DZ" | "EC" | "EE" | "EG" | "EH" | "ER" | "ES" | "ET" | "EU" | "FI" | "FJ" | "FK" | "FM" | "FO" | "FR" | "GA" | "GB" | "GD" | "GE" | "GF" | "GG" | "GH" | "GI" | "GL" | "GM" | "GN" | "GP" | "GQ" | "GR" | "GT" | "GU" | "GW" | "GY" | "HK" | "HM" | "HN" | "HR" | "HT" | "HU" | "ID" | "IE" | "IL" | "IM" | "IN" | "IO" | "IQ" | "IR" | "IS" | "IT" | "JE" | "JM" | "JO" | "JP" | "KE" | "KG" | "KH" | "KI" | "KM" | "KN" | "KP" | "KR" | "KW" | "KY" | "KZ" | "LA" | "LB" | "LC" | "LI" | "LK" | "LR" | "LS" | "LT" | "LU" | "LV" | "LY" | "MA" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MK" | "ML" | "MM" | "MN" | "MO" | "MP" | "MQ" | "MR" | "MS" | "MT" | "MU" | "MV" | "MW" | "MX" | "MY" | "MZ" | "NA" | "NC" | "NE" | "NF" | "NG" | "NI" | "NL" | "NO" | "NP" | "NR" | "NU" | "NZ" | "OM" | "PA" | "PE" | "PF" | "PG" | "PH" | "PK" | "PL" | "PM" | "PN" | "PR" | "PS" | "PT" | "PW" | "PY" | "QA" | "RE" | "RO" | "RS" | "RU" | "RW" | "SA" | "SB" | "SC" | "SD" | "SE" | "SG" | "SH" | "SI" | "SJ" | "SK" | "SL" | "SM" | "SN" | "SO" | "SR" | "SS" | "ST" | "SV" | "SX" | "SY" | "SZ" | "TC" | "TD" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TO" | "TR" | "TT" | "TV" | "TW" | "TZ" | "UA" | "UG" | "UM" | "US" | "UY" | "UZ" | "VA" | "VC" | "VE" | "VG" | "VI" | "VN" | "VU" | "WF" | "WS" | "YE" | "YT" | "ZA" | "ZM" | "ZW"; -export type VendorCategory = "ANALYTICS" | "CLOUD_MONITORING" | "CLOUD_PROVIDER" | "COLLABORATION" | "CUSTOMER_SUPPORT" | "DATA_STORAGE_AND_PROCESSING" | "DOCUMENT_MANAGEMENT" | "EMPLOYEE_MANAGEMENT" | "ENGINEERING" | "FINANCE" | "IDENTITY_PROVIDER" | "IT" | "MARKETING" | "OFFICE_OPERATIONS" | "OTHER" | "PASSWORD_MANAGEMENT" | "PRODUCT_AND_DESIGN" | "PROFESSIONAL_SERVICES" | "RECRUITING" | "SALES" | "SECURITY" | "VERSION_CONTROL"; -export type UpdateVendorInput = { - businessAssociateAgreementUrl?: string | null | undefined; - businessOwnerId?: string | null | undefined; - category?: VendorCategory | null | undefined; - certifications?: ReadonlyArray | null | undefined; - countries?: ReadonlyArray | null | undefined; - dataProcessingAgreementUrl?: string | null | undefined; - description?: string | null | undefined; - headquarterAddress?: string | null | undefined; - id: string; - legalName?: string | null | undefined; - name?: string | null | undefined; - privacyPolicyUrl?: string | null | undefined; - securityOwnerId?: string | null | undefined; - securityPageUrl?: string | null | undefined; - serviceLevelAgreementUrl?: string | null | undefined; - showOnTrustCenter?: boolean | null | undefined; - statusPageUrl?: string | null | undefined; - subprocessorsListUrl?: string | null | undefined; - termsOfServiceUrl?: string | null | undefined; - trustPageUrl?: string | null | undefined; - websiteUrl?: string | null | undefined; -}; -export type TrustCenterVendorGraphUpdateMutation$variables = { - input: UpdateVendorInput; -}; -export type TrustCenterVendorGraphUpdateMutation$data = { - readonly updateVendor: { - readonly vendor: { - readonly id: string; - readonly showOnTrustCenter: boolean; - readonly " $fragmentSpreads": FragmentRefs<"TrustCenterVendorsCardFragment">; - }; - }; -}; -export type TrustCenterVendorGraphUpdateMutation = { - response: TrustCenterVendorGraphUpdateMutation$data; - variables: TrustCenterVendorGraphUpdateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "showOnTrustCenter", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "TrustCenterVendorGraphUpdateMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "UpdateVendorPayload", - "kind": "LinkedField", - "name": "updateVendor", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Vendor", - "kind": "LinkedField", - "name": "vendor", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "TrustCenterVendorsCardFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "TrustCenterVendorGraphUpdateMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "UpdateVendorPayload", - "kind": "LinkedField", - "name": "updateVendor", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Vendor", - "kind": "LinkedField", - "name": "vendor", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "category", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor:update\")" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "b2d05d661624daec04a081aebf2dd4e2", - "id": null, - "metadata": {}, - "name": "TrustCenterVendorGraphUpdateMutation", - "operationKind": "mutation", - "text": "mutation TrustCenterVendorGraphUpdateMutation(\n $input: UpdateVendorInput!\n) {\n updateVendor(input: $input) {\n vendor {\n id\n showOnTrustCenter\n ...TrustCenterVendorsCardFragment\n }\n }\n}\n\nfragment TrustCenterVendorsCardFragment on Vendor {\n id\n name\n category\n description\n showOnTrustCenter\n createdAt\n canUpdate: permission(action: \"core:vendor:update\")\n}\n" - } -}; -})(); - -(node as any).hash = "2b4395821fcfbd30bb06448db5429289"; - -export default node; diff --git a/apps/console/src/__generated__/core/TrustCenterVendorsCardFragment.graphql.ts b/apps/console/src/__generated__/core/TrustCenterVendorsCardFragment.graphql.ts deleted file mode 100644 index d4fb8ecd3..000000000 --- a/apps/console/src/__generated__/core/TrustCenterVendorsCardFragment.graphql.ts +++ /dev/null @@ -1,97 +0,0 @@ -/** - * @generated SignedSource<<0138987bbb69846be5f1792b314854e4>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type VendorCategory = "ANALYTICS" | "CLOUD_MONITORING" | "CLOUD_PROVIDER" | "COLLABORATION" | "CUSTOMER_SUPPORT" | "DATA_STORAGE_AND_PROCESSING" | "DOCUMENT_MANAGEMENT" | "EMPLOYEE_MANAGEMENT" | "ENGINEERING" | "FINANCE" | "IDENTITY_PROVIDER" | "IT" | "MARKETING" | "OFFICE_OPERATIONS" | "OTHER" | "PASSWORD_MANAGEMENT" | "PRODUCT_AND_DESIGN" | "PROFESSIONAL_SERVICES" | "RECRUITING" | "SALES" | "SECURITY" | "VERSION_CONTROL"; -import { FragmentRefs } from "relay-runtime"; -export type TrustCenterVendorsCardFragment$data = { - readonly canUpdate: boolean; - readonly category: VendorCategory; - readonly createdAt: string; - readonly description: string | null | undefined; - readonly id: string; - readonly name: string; - readonly showOnTrustCenter: boolean; - readonly " $fragmentType": "TrustCenterVendorsCardFragment"; -}; -export type TrustCenterVendorsCardFragment$key = { - readonly " $data"?: TrustCenterVendorsCardFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"TrustCenterVendorsCardFragment">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "TrustCenterVendorsCardFragment", - "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": "category", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "showOnTrustCenter", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor:update\")" - } - ], - "type": "Vendor", - "abstractKey": null -}; - -(node as any).hash = "bac8046182ce2402a5a20ce27a25f7e6"; - -export default node; diff --git a/apps/console/src/__generated__/core/UpdateVersionDialogCreateMutation.graphql.ts b/apps/console/src/__generated__/core/UpdateVersionDialogCreateMutation.graphql.ts deleted file mode 100644 index e42ce62b7..000000000 --- a/apps/console/src/__generated__/core/UpdateVersionDialogCreateMutation.graphql.ts +++ /dev/null @@ -1,256 +0,0 @@ -/** - * @generated SignedSource<<19fb3f18c8abfaf933f77514a1800538>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DocumentStatus = "DRAFT" | "PUBLISHED"; -export type DocumentVersionSignatureState = "REQUESTED" | "SIGNED"; -export type CreateDraftDocumentVersionInput = { - documentID: string; -}; -export type UpdateVersionDialogCreateMutation$variables = { - connections: ReadonlyArray; - input: CreateDraftDocumentVersionInput; -}; -export type UpdateVersionDialogCreateMutation$data = { - readonly createDraftDocumentVersion: { - readonly documentVersionEdge: { - readonly node: { - readonly content: string; - readonly id: string; - readonly publishedAt: string | null | undefined; - readonly signatures: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly state: DocumentVersionSignatureState; - }; - }>; - }; - readonly status: DocumentStatus; - readonly updatedAt: string; - readonly version: number; - }; - }; - }; -}; -export type UpdateVersionDialogCreateMutation = { - response: UpdateVersionDialogCreateMutation$data; - variables: UpdateVersionDialogCreateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "concreteType": "DocumentVersionEdge", - "kind": "LinkedField", - "name": "documentVersionEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersion", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "content", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "publishedAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "version", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 100 - } - ], - "concreteType": "DocumentVersionSignatureConnection", - "kind": "LinkedField", - "name": "signatures", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionSignatureEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersionSignature", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "signatures(first:100)" - } - ], - "storageKey": null - } - ], - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "UpdateVersionDialogCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateDraftDocumentVersionPayload", - "kind": "LinkedField", - "name": "createDraftDocumentVersion", - "plural": false, - "selections": [ - (v4/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "UpdateVersionDialogCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateDraftDocumentVersionPayload", - "kind": "LinkedField", - "name": "createDraftDocumentVersion", - "plural": false, - "selections": [ - (v4/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "documentVersionEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "1a0f515ea5c0ca4fd3ab1ae969025ca0", - "id": null, - "metadata": {}, - "name": "UpdateVersionDialogCreateMutation", - "operationKind": "mutation", - "text": "mutation UpdateVersionDialogCreateMutation(\n $input: CreateDraftDocumentVersionInput!\n) {\n createDraftDocumentVersion(input: $input) {\n documentVersionEdge {\n node {\n id\n content\n status\n publishedAt\n version\n updatedAt\n signatures(first: 100) {\n edges {\n node {\n id\n state\n }\n }\n }\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "a78a88558effc43ceab6746d8a4fea46"; - -export default node; diff --git a/apps/console/src/__generated__/core/UpdateVersionDialogUpdateMutation.graphql.ts b/apps/console/src/__generated__/core/UpdateVersionDialogUpdateMutation.graphql.ts deleted file mode 100644 index 11877c0a4..000000000 --- a/apps/console/src/__generated__/core/UpdateVersionDialogUpdateMutation.graphql.ts +++ /dev/null @@ -1,114 +0,0 @@ -/** - * @generated SignedSource<<2b90fd4d14e86e5547d7b790a20242c9>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type UpdateDocumentVersionInput = { - content: string; - documentVersionId: string; -}; -export type UpdateVersionDialogUpdateMutation$variables = { - input: UpdateDocumentVersionInput; -}; -export type UpdateVersionDialogUpdateMutation$data = { - readonly updateDocumentVersion: { - readonly documentVersion: { - readonly content: string; - readonly id: string; - }; - }; -}; -export type UpdateVersionDialogUpdateMutation = { - response: UpdateVersionDialogUpdateMutation$data; - variables: UpdateVersionDialogUpdateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UpdateDocumentVersionPayload", - "kind": "LinkedField", - "name": "updateDocumentVersion", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "DocumentVersion", - "kind": "LinkedField", - "name": "documentVersion", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "content", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "UpdateVersionDialogUpdateMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "UpdateVersionDialogUpdateMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "527e45a341f2f991e30e8689ac24403c", - "id": null, - "metadata": {}, - "name": "UpdateVersionDialogUpdateMutation", - "operationKind": "mutation", - "text": "mutation UpdateVersionDialogUpdateMutation(\n $input: UpdateDocumentVersionInput!\n) {\n updateDocumentVersion(input: $input) {\n documentVersion {\n id\n content\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "ffd885c021e9fd91522a494e16e6830d"; - -export default node; diff --git a/apps/console/src/__generated__/core/UploadBusinessAssociateAgreementDialogMutation.graphql.ts b/apps/console/src/__generated__/core/UploadBusinessAssociateAgreementDialogMutation.graphql.ts deleted file mode 100644 index ebcda9ae2..000000000 --- a/apps/console/src/__generated__/core/UploadBusinessAssociateAgreementDialogMutation.graphql.ts +++ /dev/null @@ -1,149 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type UploadVendorBusinessAssociateAgreementInput = { - file: any; - fileName: string; - validFrom?: string | null | undefined; - validUntil?: string | null | undefined; - vendorId: string; -}; -export type UploadBusinessAssociateAgreementDialogMutation$variables = { - input: UploadVendorBusinessAssociateAgreementInput; -}; -export type UploadBusinessAssociateAgreementDialogMutation$data = { - readonly uploadVendorBusinessAssociateAgreement: { - readonly vendorBusinessAssociateAgreement: { - readonly createdAt: string; - readonly fileName: string; - readonly fileUrl: string; - readonly id: string; - readonly validFrom: string | null | undefined; - readonly validUntil: string | null | undefined; - }; - }; -}; -export type UploadBusinessAssociateAgreementDialogMutation = { - response: UploadBusinessAssociateAgreementDialogMutation$data; - variables: UploadBusinessAssociateAgreementDialogMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UploadVendorBusinessAssociateAgreementPayload", - "kind": "LinkedField", - "name": "uploadVendorBusinessAssociateAgreement", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorBusinessAssociateAgreement", - "kind": "LinkedField", - "name": "vendorBusinessAssociateAgreement", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fileName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fileUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validFrom", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validUntil", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "UploadBusinessAssociateAgreementDialogMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "UploadBusinessAssociateAgreementDialogMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "bb7a0f67773da5b3916d08fdeaa2dc8d", - "id": null, - "metadata": {}, - "name": "UploadBusinessAssociateAgreementDialogMutation", - "operationKind": "mutation", - "text": "mutation UploadBusinessAssociateAgreementDialogMutation(\n $input: UploadVendorBusinessAssociateAgreementInput!\n) {\n uploadVendorBusinessAssociateAgreement(input: $input) {\n vendorBusinessAssociateAgreement {\n id\n fileName\n fileUrl\n validFrom\n validUntil\n createdAt\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "e3fce209e1a4006a31996903e4c6cbae"; - -export default node; diff --git a/apps/console/src/__generated__/core/UploadDataPrivacyAgreementDialogMutation.graphql.ts b/apps/console/src/__generated__/core/UploadDataPrivacyAgreementDialogMutation.graphql.ts deleted file mode 100644 index 8c69990a4..000000000 --- a/apps/console/src/__generated__/core/UploadDataPrivacyAgreementDialogMutation.graphql.ts +++ /dev/null @@ -1,149 +0,0 @@ -/** - * @generated SignedSource<<0e9455daba78b038455718505f53a4d7>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type UploadVendorDataPrivacyAgreementInput = { - file: any; - fileName: string; - validFrom?: string | null | undefined; - validUntil?: string | null | undefined; - vendorId: string; -}; -export type UploadDataPrivacyAgreementDialogMutation$variables = { - input: UploadVendorDataPrivacyAgreementInput; -}; -export type UploadDataPrivacyAgreementDialogMutation$data = { - readonly uploadVendorDataPrivacyAgreement: { - readonly vendorDataPrivacyAgreement: { - readonly createdAt: string; - readonly fileName: string; - readonly fileUrl: string; - readonly id: string; - readonly validFrom: string | null | undefined; - readonly validUntil: string | null | undefined; - }; - }; -}; -export type UploadDataPrivacyAgreementDialogMutation = { - response: UploadDataPrivacyAgreementDialogMutation$data; - variables: UploadDataPrivacyAgreementDialogMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UploadVendorDataPrivacyAgreementPayload", - "kind": "LinkedField", - "name": "uploadVendorDataPrivacyAgreement", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorDataPrivacyAgreement", - "kind": "LinkedField", - "name": "vendorDataPrivacyAgreement", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fileName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fileUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validFrom", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validUntil", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "UploadDataPrivacyAgreementDialogMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "UploadDataPrivacyAgreementDialogMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "c59302d882fc9406dd7f09072db552b5", - "id": null, - "metadata": {}, - "name": "UploadDataPrivacyAgreementDialogMutation", - "operationKind": "mutation", - "text": "mutation UploadDataPrivacyAgreementDialogMutation(\n $input: UploadVendorDataPrivacyAgreementInput!\n) {\n uploadVendorDataPrivacyAgreement(input: $input) {\n vendorDataPrivacyAgreement {\n id\n fileName\n fileUrl\n validFrom\n validUntil\n createdAt\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "8e4e70e111836cebd850061a75872980"; - -export default node; diff --git a/apps/console/src/__generated__/core/VendorComplianceTabDeleteReportMutation.graphql.ts b/apps/console/src/__generated__/core/VendorComplianceTabDeleteReportMutation.graphql.ts deleted file mode 100644 index 20b6bb83a..000000000 --- a/apps/console/src/__generated__/core/VendorComplianceTabDeleteReportMutation.graphql.ts +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @generated SignedSource<<6fc7bf1e239dfeccb007ee5a9beefaff>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteVendorComplianceReportInput = { - reportId: string; -}; -export type VendorComplianceTabDeleteReportMutation$variables = { - connections: ReadonlyArray; - input: DeleteVendorComplianceReportInput; -}; -export type VendorComplianceTabDeleteReportMutation$data = { - readonly deleteVendorComplianceReport: { - readonly deletedVendorComplianceReportId: string; - }; -}; -export type VendorComplianceTabDeleteReportMutation = { - response: VendorComplianceTabDeleteReportMutation$data; - variables: VendorComplianceTabDeleteReportMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedVendorComplianceReportId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "VendorComplianceTabDeleteReportMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteVendorComplianceReportPayload", - "kind": "LinkedField", - "name": "deleteVendorComplianceReport", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "VendorComplianceTabDeleteReportMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteVendorComplianceReportPayload", - "kind": "LinkedField", - "name": "deleteVendorComplianceReport", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedVendorComplianceReportId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "3bfaddbf09d2cd72a0bb72687c1e187e", - "id": null, - "metadata": {}, - "name": "VendorComplianceTabDeleteReportMutation", - "operationKind": "mutation", - "text": "mutation VendorComplianceTabDeleteReportMutation(\n $input: DeleteVendorComplianceReportInput!\n) {\n deleteVendorComplianceReport(input: $input) {\n deletedVendorComplianceReportId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "7151aea21838384dc10781b64f0209ae"; - -export default node; diff --git a/apps/console/src/__generated__/core/VendorComplianceTabFragment.graphql.ts b/apps/console/src/__generated__/core/VendorComplianceTabFragment.graphql.ts deleted file mode 100644 index 58bdc1dcb..000000000 --- a/apps/console/src/__generated__/core/VendorComplianceTabFragment.graphql.ts +++ /dev/null @@ -1,239 +0,0 @@ -/** - * @generated SignedSource<<08a3ccf322eccf9d7c86b2f383526687>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type VendorComplianceTabFragment$data = { - readonly complianceReports: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly canDelete: boolean; - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"VendorComplianceTabFragment_report">; - }; - }>; - }; - readonly id: string; - readonly " $fragmentType": "VendorComplianceTabFragment"; -}; -export type VendorComplianceTabFragment$key = { - readonly " $data"?: VendorComplianceTabFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"VendorComplianceTabFragment">; -}; - -import ComplianceReportListQuery_graphql from './ComplianceReportListQuery.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "complianceReports" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" - }, - { - "defaultValue": 50, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "bidirectional", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": { - "count": "last", - "cursor": "before" - }, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": ComplianceReportListQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "VendorComplianceTabFragment", - "selections": [ - { - "alias": "complianceReports", - "args": [ - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } - ], - "concreteType": "VendorComplianceReportConnection", - "kind": "LinkedField", - "name": "__VendorComplianceTabFragment_complianceReports_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorComplianceReportEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorComplianceReport", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-compliance-report:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-compliance-report:delete\")" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "VendorComplianceTabFragment_report" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - (v1/*: any*/) - ], - "type": "Vendor", - "abstractKey": null -}; -})(); - -(node as any).hash = "078c14e9b989c435abf83ec5b4396f6c"; - -export default node; diff --git a/apps/console/src/__generated__/core/VendorComplianceTabFragment_report.graphql.ts b/apps/console/src/__generated__/core/VendorComplianceTabFragment_report.graphql.ts deleted file mode 100644 index 11fd422a8..000000000 --- a/apps/console/src/__generated__/core/VendorComplianceTabFragment_report.graphql.ts +++ /dev/null @@ -1,117 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type VendorComplianceTabFragment_report$data = { - readonly canDelete: boolean; - readonly file: { - readonly fileName: string; - readonly mimeType: string; - readonly size: number; - } | null | undefined; - readonly id: string; - readonly reportDate: string; - readonly reportName: string; - readonly validUntil: string | null | undefined; - readonly " $fragmentType": "VendorComplianceTabFragment_report"; -}; -export type VendorComplianceTabFragment_report$key = { - readonly " $data"?: VendorComplianceTabFragment_report$data; - readonly " $fragmentSpreads": FragmentRefs<"VendorComplianceTabFragment_report">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "VendorComplianceTabFragment_report", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "reportDate", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validUntil", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "reportName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "File", - "kind": "LinkedField", - "name": "file", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fileName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "mimeType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "size", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-compliance-report:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-compliance-report:delete\")" - } - ], - "type": "VendorComplianceReport", - "abstractKey": null -}; - -(node as any).hash = "7676d7b6379940339458e259707c222e"; - -export default node; diff --git a/apps/console/src/__generated__/core/VendorComplianceTabUploadReportMutation.graphql.ts b/apps/console/src/__generated__/core/VendorComplianceTabUploadReportMutation.graphql.ts deleted file mode 100644 index 71ec43de8..000000000 --- a/apps/console/src/__generated__/core/VendorComplianceTabUploadReportMutation.graphql.ts +++ /dev/null @@ -1,258 +0,0 @@ -/** - * @generated SignedSource<<7234ce37ee1c29a4b4546b9f9de471c8>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type UploadVendorComplianceReportInput = { - file: any; - reportDate: string; - reportName: string; - validUntil?: string | null | undefined; - vendorId: string; -}; -export type VendorComplianceTabUploadReportMutation$variables = { - connections: ReadonlyArray; - input: UploadVendorComplianceReportInput; -}; -export type VendorComplianceTabUploadReportMutation$data = { - readonly uploadVendorComplianceReport: { - readonly vendorComplianceReportEdge: { - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"VendorComplianceTabFragment_report">; - }; - }; - }; -}; -export type VendorComplianceTabUploadReportMutation = { - response: VendorComplianceTabUploadReportMutation$data; - variables: VendorComplianceTabUploadReportMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "VendorComplianceTabUploadReportMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "UploadVendorComplianceReportPayload", - "kind": "LinkedField", - "name": "uploadVendorComplianceReport", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorComplianceReportEdge", - "kind": "LinkedField", - "name": "vendorComplianceReportEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorComplianceReport", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "VendorComplianceTabFragment_report" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "VendorComplianceTabUploadReportMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "UploadVendorComplianceReportPayload", - "kind": "LinkedField", - "name": "uploadVendorComplianceReport", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorComplianceReportEdge", - "kind": "LinkedField", - "name": "vendorComplianceReportEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorComplianceReport", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "reportDate", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validUntil", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "reportName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "File", - "kind": "LinkedField", - "name": "file", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fileName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "mimeType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "size", - "storageKey": null - }, - (v3/*: any*/) - ], - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-compliance-report:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-compliance-report:delete\")" - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "filters": null, - "handle": "appendEdge", - "key": "", - "kind": "LinkedHandle", - "name": "vendorComplianceReportEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "404f46e6eabb0fbe406f06ca861414fe", - "id": null, - "metadata": {}, - "name": "VendorComplianceTabUploadReportMutation", - "operationKind": "mutation", - "text": "mutation VendorComplianceTabUploadReportMutation(\n $input: UploadVendorComplianceReportInput!\n) {\n uploadVendorComplianceReport(input: $input) {\n vendorComplianceReportEdge {\n node {\n id\n ...VendorComplianceTabFragment_report\n }\n }\n }\n}\n\nfragment VendorComplianceTabFragment_report on VendorComplianceReport {\n id\n reportDate\n validUntil\n reportName\n file {\n fileName\n mimeType\n size\n id\n }\n canDelete: permission(action: \"core:vendor-compliance-report:delete\")\n}\n" - } -}; -})(); - -(node as any).hash = "4ed863a250b0686340056f4f77eb8ab8"; - -export default node; diff --git a/apps/console/src/__generated__/core/VendorContactsListQuery.graphql.ts b/apps/console/src/__generated__/core/VendorContactsListQuery.graphql.ts deleted file mode 100644 index 5f97fd568..000000000 --- a/apps/console/src/__generated__/core/VendorContactsListQuery.graphql.ts +++ /dev/null @@ -1,384 +0,0 @@ -/** - * @generated SignedSource<<72e8dfdd3ad86ac69f4e631191d994ad>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type OrderDirection = "ASC" | "DESC"; -export type VendorContactOrderField = "CREATED_AT" | "EMAIL" | "FULL_NAME"; -export type VendorContactOrder = { - direction: OrderDirection; - field: VendorContactOrderField; -}; -export type VendorContactsListQuery$variables = { - after?: string | null | undefined; - before?: string | null | undefined; - first?: number | null | undefined; - id: string; - last?: number | null | undefined; - order?: VendorContactOrder | null | undefined; -}; -export type VendorContactsListQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"VendorContactsTabFragment">; - }; -}; -export type VendorContactsListQuery = { - response: VendorContactsListQuery$data; - variables: VendorContactsListQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" -}, -v2 = { - "defaultValue": 50, - "kind": "LocalArgument", - "name": "first" -}, -v3 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v4 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" -}, -v5 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" -}, -v6 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v7 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v8 = { - "kind": "Variable", - "name": "before", - "variableName": "before" -}, -v9 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v10 = { - "kind": "Variable", - "name": "last", - "variableName": "last" -}, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v12 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v13 = [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "VendorContactsListQuery", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "order", - "variableName": "order" - } - ], - "kind": "FragmentSpread", - "name": "VendorContactsTabFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v3/*: any*/) - ], - "kind": "Operation", - "name": "VendorContactsListQuery", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v11/*: any*/), - (v12/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v13/*: any*/), - "concreteType": "VendorContactConnection", - "kind": "LinkedField", - "name": "contacts", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorContactEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorContact", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v12/*: any*/), - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-contact:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-contact:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-contact:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-contact:delete\")" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "email", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "phone", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "role", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - (v11/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v13/*: any*/), - "filters": [ - "orderBy" - ], - "handle": "connection", - "key": "VendorContactsTabFragment_contacts", - "kind": "LinkedHandle", - "name": "contacts" - } - ], - "type": "Vendor", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "99175ca46dc5865d6d7a5f6c55fd8c8d", - "id": null, - "metadata": {}, - "name": "VendorContactsListQuery", - "operationKind": "query", - "text": "query VendorContactsListQuery(\n $after: CursorKey = null\n $before: CursorKey = null\n $first: Int = 50\n $last: Int = null\n $order: VendorContactOrder = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...VendorContactsTabFragment_16fISc\n id\n }\n}\n\nfragment VendorContactsTabFragment_16fISc on Vendor {\n contacts(first: $first, after: $after, last: $last, before: $before, orderBy: $order) {\n edges {\n node {\n id\n canUpdate: permission(action: \"core:vendor-contact:update\")\n canDelete: permission(action: \"core:vendor-contact:delete\")\n ...VendorContactsTabFragment_contact\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n\nfragment VendorContactsTabFragment_contact on VendorContact {\n id\n fullName\n email\n phone\n role\n createdAt\n updatedAt\n canUpdate: permission(action: \"core:vendor-contact:update\")\n canDelete: permission(action: \"core:vendor-contact:delete\")\n}\n" - } -}; -})(); - -(node as any).hash = "b0516167cf827553fe6c6617b2025967"; - -export default node; diff --git a/apps/console/src/__generated__/core/VendorContactsTabDeleteContactMutation.graphql.ts b/apps/console/src/__generated__/core/VendorContactsTabDeleteContactMutation.graphql.ts deleted file mode 100644 index cc5003970..000000000 --- a/apps/console/src/__generated__/core/VendorContactsTabDeleteContactMutation.graphql.ts +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @generated SignedSource<<3824bce11d22a60d1e50f53c699611c5>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteVendorContactInput = { - vendorContactId: string; -}; -export type VendorContactsTabDeleteContactMutation$variables = { - connections: ReadonlyArray; - input: DeleteVendorContactInput; -}; -export type VendorContactsTabDeleteContactMutation$data = { - readonly deleteVendorContact: { - readonly deletedVendorContactId: string; - }; -}; -export type VendorContactsTabDeleteContactMutation = { - response: VendorContactsTabDeleteContactMutation$data; - variables: VendorContactsTabDeleteContactMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedVendorContactId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "VendorContactsTabDeleteContactMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteVendorContactPayload", - "kind": "LinkedField", - "name": "deleteVendorContact", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "VendorContactsTabDeleteContactMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteVendorContactPayload", - "kind": "LinkedField", - "name": "deleteVendorContact", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedVendorContactId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "806c0b076e6da2ac4841d172047c8655", - "id": null, - "metadata": {}, - "name": "VendorContactsTabDeleteContactMutation", - "operationKind": "mutation", - "text": "mutation VendorContactsTabDeleteContactMutation(\n $input: DeleteVendorContactInput!\n) {\n deleteVendorContact(input: $input) {\n deletedVendorContactId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "f0595bed2e2e7527eeac8737a0640a4d"; - -export default node; diff --git a/apps/console/src/__generated__/core/VendorContactsTabFragment.graphql.ts b/apps/console/src/__generated__/core/VendorContactsTabFragment.graphql.ts deleted file mode 100644 index f8e1d7278..000000000 --- a/apps/console/src/__generated__/core/VendorContactsTabFragment.graphql.ts +++ /dev/null @@ -1,253 +0,0 @@ -/** - * @generated SignedSource<<67ebbddf5fa502880ebc8aa6b5f9810c>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type VendorContactsTabFragment$data = { - readonly contacts: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"VendorContactsTabFragment_contact">; - }; - }>; - }; - readonly id: string; - readonly " $fragmentType": "VendorContactsTabFragment"; -}; -export type VendorContactsTabFragment$key = { - readonly " $data"?: VendorContactsTabFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"VendorContactsTabFragment">; -}; - -import VendorContactsListQuery_graphql from './VendorContactsListQuery.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "contacts" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" - }, - { - "defaultValue": 50, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "bidirectional", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": { - "count": "last", - "cursor": "before" - }, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": VendorContactsListQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "VendorContactsTabFragment", - "selections": [ - { - "alias": "contacts", - "args": [ - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } - ], - "concreteType": "VendorContactConnection", - "kind": "LinkedField", - "name": "__VendorContactsTabFragment_contacts_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorContactEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorContact", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-contact:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-contact:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-contact:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-contact:delete\")" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "VendorContactsTabFragment_contact" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - (v1/*: any*/) - ], - "type": "Vendor", - "abstractKey": null -}; -})(); - -(node as any).hash = "b0516167cf827553fe6c6617b2025967"; - -export default node; diff --git a/apps/console/src/__generated__/core/VendorContactsTabFragment_contact.graphql.ts b/apps/console/src/__generated__/core/VendorContactsTabFragment_contact.graphql.ts deleted file mode 100644 index 7bb2c6a21..000000000 --- a/apps/console/src/__generated__/core/VendorContactsTabFragment_contact.graphql.ts +++ /dev/null @@ -1,118 +0,0 @@ -/** - * @generated SignedSource<<2e0270bf6c8a8f1849c2e05463ece19b>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type VendorContactsTabFragment_contact$data = { - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly createdAt: string; - readonly email: string | null | undefined; - readonly fullName: string | null | undefined; - readonly id: string; - readonly phone: string | null | undefined; - readonly role: string | null | undefined; - readonly updatedAt: string; - readonly " $fragmentType": "VendorContactsTabFragment_contact"; -}; -export type VendorContactsTabFragment_contact$key = { - readonly " $data"?: VendorContactsTabFragment_contact$data; - readonly " $fragmentSpreads": FragmentRefs<"VendorContactsTabFragment_contact">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "VendorContactsTabFragment_contact", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "email", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "phone", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "role", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-contact:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-contact:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-contact:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-contact:delete\")" - } - ], - "type": "VendorContact", - "abstractKey": null -}; - -(node as any).hash = "fbcc45db4e2f857e3208ed8dc35e912d"; - -export default node; diff --git a/apps/console/src/__generated__/core/VendorGraphCreateMutation.graphql.ts b/apps/console/src/__generated__/core/VendorGraphCreateMutation.graphql.ts deleted file mode 100644 index f86de1910..000000000 --- a/apps/console/src/__generated__/core/VendorGraphCreateMutation.graphql.ts +++ /dev/null @@ -1,247 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type CountryCode = "AD" | "AE" | "AF" | "AG" | "AI" | "AL" | "AM" | "AO" | "AQ" | "AR" | "AS" | "AT" | "AU" | "AW" | "AX" | "AZ" | "BA" | "BB" | "BD" | "BE" | "BF" | "BG" | "BH" | "BI" | "BJ" | "BL" | "BM" | "BN" | "BO" | "BQ" | "BR" | "BS" | "BT" | "BV" | "BW" | "BY" | "BZ" | "CA" | "CC" | "CD" | "CF" | "CG" | "CH" | "CI" | "CK" | "CL" | "CM" | "CN" | "CO" | "CR" | "CU" | "CV" | "CW" | "CX" | "CY" | "CZ" | "DE" | "DJ" | "DK" | "DM" | "DO" | "DZ" | "EC" | "EE" | "EG" | "EH" | "ER" | "ES" | "ET" | "EU" | "FI" | "FJ" | "FK" | "FM" | "FO" | "FR" | "GA" | "GB" | "GD" | "GE" | "GF" | "GG" | "GH" | "GI" | "GL" | "GM" | "GN" | "GP" | "GQ" | "GR" | "GT" | "GU" | "GW" | "GY" | "HK" | "HM" | "HN" | "HR" | "HT" | "HU" | "ID" | "IE" | "IL" | "IM" | "IN" | "IO" | "IQ" | "IR" | "IS" | "IT" | "JE" | "JM" | "JO" | "JP" | "KE" | "KG" | "KH" | "KI" | "KM" | "KN" | "KP" | "KR" | "KW" | "KY" | "KZ" | "LA" | "LB" | "LC" | "LI" | "LK" | "LR" | "LS" | "LT" | "LU" | "LV" | "LY" | "MA" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MK" | "ML" | "MM" | "MN" | "MO" | "MP" | "MQ" | "MR" | "MS" | "MT" | "MU" | "MV" | "MW" | "MX" | "MY" | "MZ" | "NA" | "NC" | "NE" | "NF" | "NG" | "NI" | "NL" | "NO" | "NP" | "NR" | "NU" | "NZ" | "OM" | "PA" | "PE" | "PF" | "PG" | "PH" | "PK" | "PL" | "PM" | "PN" | "PR" | "PS" | "PT" | "PW" | "PY" | "QA" | "RE" | "RO" | "RS" | "RU" | "RW" | "SA" | "SB" | "SC" | "SD" | "SE" | "SG" | "SH" | "SI" | "SJ" | "SK" | "SL" | "SM" | "SN" | "SO" | "SR" | "SS" | "ST" | "SV" | "SX" | "SY" | "SZ" | "TC" | "TD" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TO" | "TR" | "TT" | "TV" | "TW" | "TZ" | "UA" | "UG" | "UM" | "US" | "UY" | "UZ" | "VA" | "VC" | "VE" | "VG" | "VI" | "VN" | "VU" | "WF" | "WS" | "YE" | "YT" | "ZA" | "ZM" | "ZW"; -export type VendorCategory = "ANALYTICS" | "CLOUD_MONITORING" | "CLOUD_PROVIDER" | "COLLABORATION" | "CUSTOMER_SUPPORT" | "DATA_STORAGE_AND_PROCESSING" | "DOCUMENT_MANAGEMENT" | "EMPLOYEE_MANAGEMENT" | "ENGINEERING" | "FINANCE" | "IDENTITY_PROVIDER" | "IT" | "MARKETING" | "OFFICE_OPERATIONS" | "OTHER" | "PASSWORD_MANAGEMENT" | "PRODUCT_AND_DESIGN" | "PROFESSIONAL_SERVICES" | "RECRUITING" | "SALES" | "SECURITY" | "VERSION_CONTROL"; -export type CreateVendorInput = { - businessAssociateAgreementUrl?: string | null | undefined; - businessOwnerId?: string | null | undefined; - category?: VendorCategory | null | undefined; - certifications?: ReadonlyArray | null | undefined; - countries?: ReadonlyArray | null | undefined; - dataProcessingAgreementUrl?: string | null | undefined; - description?: string | null | undefined; - headquarterAddress?: string | null | undefined; - legalName?: string | null | undefined; - name: string; - organizationId: string; - privacyPolicyUrl?: string | null | undefined; - securityOwnerId?: string | null | undefined; - securityPageUrl?: string | null | undefined; - serviceLevelAgreementUrl?: string | null | undefined; - statusPageUrl?: string | null | undefined; - subprocessorsListUrl?: string | null | undefined; - termsOfServiceUrl?: string | null | undefined; - trustPageUrl?: string | null | undefined; - websiteUrl?: string | null | undefined; -}; -export type VendorGraphCreateMutation$variables = { - connections: ReadonlyArray; - input: CreateVendorInput; -}; -export type VendorGraphCreateMutation$data = { - readonly createVendor: { - readonly vendorEdge: { - readonly node: { - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly createdAt: string; - readonly description: string | null | undefined; - readonly id: string; - readonly name: string; - readonly updatedAt: string; - readonly websiteUrl: string | null | undefined; - }; - }; - }; -}; -export type VendorGraphCreateMutation = { - response: VendorGraphCreateMutation$data; - variables: VendorGraphCreateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "concreteType": "VendorEdge", - "kind": "LinkedField", - "name": "vendorEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Vendor", - "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": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor:delete\")" - } - ], - "storageKey": null - } - ], - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "VendorGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateVendorPayload", - "kind": "LinkedField", - "name": "createVendor", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "VendorGraphCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateVendorPayload", - "kind": "LinkedField", - "name": "createVendor", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "vendorEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "94b1c06e8575dd431ade59add9fdcb8a", - "id": null, - "metadata": {}, - "name": "VendorGraphCreateMutation", - "operationKind": "mutation", - "text": "mutation VendorGraphCreateMutation(\n $input: CreateVendorInput!\n) {\n createVendor(input: $input) {\n vendorEdge {\n node {\n id\n name\n description\n websiteUrl\n createdAt\n updatedAt\n canUpdate: permission(action: \"core:vendor:update\")\n canDelete: permission(action: \"core:vendor:delete\")\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "d4fbc819ee92c20d31400395a924eb7c"; - -export default node; diff --git a/apps/console/src/__generated__/core/VendorGraphDeleteMutation.graphql.ts b/apps/console/src/__generated__/core/VendorGraphDeleteMutation.graphql.ts deleted file mode 100644 index 614aa3cf1..000000000 --- a/apps/console/src/__generated__/core/VendorGraphDeleteMutation.graphql.ts +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @generated SignedSource<<6b924850fd9bad48c4fe32c331a7770b>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteVendorInput = { - vendorId: string; -}; -export type VendorGraphDeleteMutation$variables = { - connections: ReadonlyArray; - input: DeleteVendorInput; -}; -export type VendorGraphDeleteMutation$data = { - readonly deleteVendor: { - readonly deletedVendorId: string; - }; -}; -export type VendorGraphDeleteMutation = { - response: VendorGraphDeleteMutation$data; - variables: VendorGraphDeleteMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedVendorId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "VendorGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteVendorPayload", - "kind": "LinkedField", - "name": "deleteVendor", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "VendorGraphDeleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteVendorPayload", - "kind": "LinkedField", - "name": "deleteVendor", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedVendorId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "866254027729839312bc72c942de3111", - "id": null, - "metadata": {}, - "name": "VendorGraphDeleteMutation", - "operationKind": "mutation", - "text": "mutation VendorGraphDeleteMutation(\n $input: DeleteVendorInput!\n) {\n deleteVendor(input: $input) {\n deletedVendorId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "82648f6825e035f9abe617d5f641d537"; - -export default node; diff --git a/apps/console/src/__generated__/core/VendorGraphListQuery.graphql.ts b/apps/console/src/__generated__/core/VendorGraphListQuery.graphql.ts deleted file mode 100644 index a78b448d2..000000000 --- a/apps/console/src/__generated__/core/VendorGraphListQuery.graphql.ts +++ /dev/null @@ -1,407 +0,0 @@ -/** - * @generated SignedSource<<2fb0056a5c2b8df4604284949b579bff>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type VendorGraphListQuery$variables = { - organizationId: string; - snapshotId?: string | null | undefined; -}; -export type VendorGraphListQuery$data = { - readonly node: { - readonly canCreateVendor?: boolean; - readonly id?: string; - readonly " $fragmentSpreads": FragmentRefs<"VendorGraphPaginatedFragment">; - }; -}; -export type VendorGraphListQuery = { - response: VendorGraphListQuery$data; - variables: VendorGraphListQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": "canCreateVendor", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor:create\")" -}, -v4 = [ - { - "kind": "Variable", - "name": "snapshotId", - "variableName": "snapshotId" - } -], -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v6 = [ - { - "fields": (v4/*: any*/), - "kind": "ObjectValue", - "name": "filter" - }, - { - "kind": "Literal", - "name": "first", - "value": 50 - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "VendorGraphListQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "kind": "InlineFragment", - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - { - "args": (v4/*: any*/), - "kind": "FragmentSpread", - "name": "VendorGraphPaginatedFragment" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "VendorGraphListQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v5/*: any*/), - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": "VendorConnection", - "kind": "LinkedField", - "name": "vendors", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Vendor", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 1 - }, - { - "kind": "Literal", - "name": "orderBy", - "value": { - "direction": "DESC", - "field": "CREATED_AT" - } - } - ], - "concreteType": "VendorRiskAssessmentConnection", - "kind": "LinkedField", - "name": "riskAssessments", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorRiskAssessmentEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorRiskAssessment", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "expiresAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataSensitivity", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "businessImpact", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "riskAssessments(first:1,orderBy:{\"direction\":\"DESC\",\"field\":\"CREATED_AT\"})" - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor:delete\")" - }, - (v5/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v6/*: any*/), - "filters": [ - "filter" - ], - "handle": "connection", - "key": "VendorsListQuery_vendors", - "kind": "LinkedHandle", - "name": "vendors" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "c2264340742570acaecb4b0b7b53723c", - "id": null, - "metadata": {}, - "name": "VendorGraphListQuery", - "operationKind": "query", - "text": "query VendorGraphListQuery(\n $organizationId: ID!\n $snapshotId: ID\n) {\n node(id: $organizationId) {\n __typename\n ... on Organization {\n id\n canCreateVendor: permission(action: \"core:vendor:create\")\n ...VendorGraphPaginatedFragment_3iomuz\n }\n id\n }\n}\n\nfragment VendorGraphPaginatedFragment_3iomuz on Organization {\n vendors(first: 50, filter: {snapshotId: $snapshotId}) {\n edges {\n node {\n id\n snapshotId\n name\n websiteUrl\n updatedAt\n riskAssessments(first: 1, orderBy: {direction: DESC, field: CREATED_AT}) {\n edges {\n node {\n id\n createdAt\n expiresAt\n dataSensitivity\n businessImpact\n }\n }\n }\n canUpdate: permission(action: \"core:vendor:update\")\n canDelete: permission(action: \"core:vendor:delete\")\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n" - } -}; -})(); - -(node as any).hash = "725a4385cbde48d0f8895d1a35ca2135"; - -export default node; diff --git a/apps/console/src/__generated__/core/VendorGraphNodeQuery.graphql.ts b/apps/console/src/__generated__/core/VendorGraphNodeQuery.graphql.ts deleted file mode 100644 index daf56bf27..000000000 --- a/apps/console/src/__generated__/core/VendorGraphNodeQuery.graphql.ts +++ /dev/null @@ -1,1038 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type VendorGraphNodeQuery$variables = { - vendorId: string; -}; -export type VendorGraphNodeQuery$data = { - readonly node: { - readonly canAssess?: boolean; - readonly canCreateContact?: boolean; - readonly canCreateRiskAssessment?: boolean; - readonly canCreateService?: boolean; - readonly canDelete?: boolean; - readonly canUpdate?: boolean; - readonly canUploadBAA?: boolean; - readonly canUploadComplianceReport?: boolean; - readonly canUploadDPA?: boolean; - readonly id: string; - readonly name?: string; - readonly snapshotId?: string | null | undefined; - readonly websiteUrl?: string | null | undefined; - readonly " $fragmentSpreads": FragmentRefs<"VendorComplianceTabFragment" | "VendorContactsTabFragment" | "VendorOverviewTabBusinessAssociateAgreementFragment" | "VendorOverviewTabDataPrivacyAgreementFragment" | "VendorRiskAssessmentTabFragment" | "VendorServicesTabFragment" | "useVendorFormFragment">; - }; - readonly viewer: { - readonly id: string; - }; -}; -export type VendorGraphNodeQuery = { - response: VendorGraphNodeQuery$data; - variables: VendorGraphNodeQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "vendorId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "vendorId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null -}, -v6 = { - "alias": "canAssess", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor:assess" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor:assess\")" -}, -v7 = { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor:update\")" -}, -v8 = { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor:delete\")" -}, -v9 = { - "alias": "canUploadComplianceReport", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-compliance-report:upload" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-compliance-report:upload\")" -}, -v10 = { - "alias": "canCreateRiskAssessment", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-risk-assessment:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-risk-assessment:create\")" -}, -v11 = { - "alias": "canCreateContact", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-contact:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-contact:create\")" -}, -v12 = { - "alias": "canCreateService", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-service:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-service:create\")" -}, -v13 = { - "alias": "canUploadBAA", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-business-associate-agreement:upload" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-business-associate-agreement:upload\")" -}, -v14 = { - "alias": "canUploadDPA", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-data-privacy-agreement:upload" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-data-privacy-agreement:upload\")" -}, -v15 = [ - (v2/*: any*/) -], -v16 = { - "alias": null, - "args": null, - "concreteType": "Viewer", - "kind": "LinkedField", - "name": "viewer", - "plural": false, - "selections": (v15/*: any*/), - "storageKey": null -}, -v17 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v18 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null -}, -v19 = [ - { - "kind": "Literal", - "name": "first", - "value": 50 - } -], -v20 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validUntil", - "storageKey": null -}, -v21 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fileName", - "storageKey": null -}, -v22 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null -}, -v23 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null -}, -v24 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null -}, -v25 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null -}, -v26 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null -}, -v27 = { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - (v23/*: any*/), - (v24/*: any*/), - (v25/*: any*/), - (v26/*: any*/) - ], - "storageKey": null -}, -v28 = { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] -}, -v29 = [ - "orderBy" -], -v30 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null -}, -v31 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null -}, -v32 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fileUrl", - "storageKey": null -}, -v33 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validFrom", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "VendorGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "kind": "InlineFragment", - "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*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "useVendorFormFragment" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "VendorComplianceTabFragment" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "VendorContactsTabFragment" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "VendorServicesTabFragment" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "VendorRiskAssessmentTabFragment" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "VendorOverviewTabBusinessAssociateAgreementFragment" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "VendorOverviewTabDataPrivacyAgreementFragment" - } - ], - "type": "Vendor", - "abstractKey": null - } - ], - "storageKey": null - }, - (v16/*: any*/) - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "VendorGraphNodeQuery", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v17/*: any*/), - (v2/*: any*/), - { - "kind": "InlineFragment", - "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*/), - (v18/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "category", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "statusPageUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "termsOfServiceUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "privacyPolicyUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "serviceLevelAgreementUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataProcessingAgreementUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "legalName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "headquarterAddress", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "certifications", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "countries", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "securityPageUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "trustPageUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "businessOwner", - "plural": false, - "selections": (v15/*: any*/), - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "securityOwner", - "plural": false, - "selections": (v15/*: any*/), - "storageKey": null - }, - { - "alias": null, - "args": (v19/*: any*/), - "concreteType": "VendorComplianceReportConnection", - "kind": "LinkedField", - "name": "complianceReports", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorComplianceReportEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorComplianceReport", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-compliance-report:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-compliance-report:delete\")" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "reportDate", - "storageKey": null - }, - (v20/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "reportName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "File", - "kind": "LinkedField", - "name": "file", - "plural": false, - "selections": [ - (v21/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "mimeType", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "size", - "storageKey": null - }, - (v2/*: any*/) - ], - "storageKey": null - }, - (v17/*: any*/) - ], - "storageKey": null - }, - (v22/*: any*/) - ], - "storageKey": null - }, - (v27/*: any*/), - (v28/*: any*/) - ], - "storageKey": "complianceReports(first:50)" - }, - { - "alias": null, - "args": (v19/*: any*/), - "filters": (v29/*: any*/), - "handle": "connection", - "key": "VendorComplianceTabFragment_complianceReports", - "kind": "LinkedHandle", - "name": "complianceReports" - }, - { - "alias": null, - "args": (v19/*: any*/), - "concreteType": "VendorContactConnection", - "kind": "LinkedField", - "name": "contacts", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorContactEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorContact", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-contact:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-contact:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-contact:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-contact:delete\")" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "email", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "phone", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "role", - "storageKey": null - }, - (v30/*: any*/), - (v31/*: any*/), - (v17/*: any*/) - ], - "storageKey": null - }, - (v22/*: any*/) - ], - "storageKey": null - }, - (v27/*: any*/), - (v28/*: any*/) - ], - "storageKey": "contacts(first:50)" - }, - { - "alias": null, - "args": (v19/*: any*/), - "filters": (v29/*: any*/), - "handle": "connection", - "key": "VendorContactsTabFragment_contacts", - "kind": "LinkedHandle", - "name": "contacts" - }, - { - "alias": null, - "args": (v19/*: any*/), - "concreteType": "VendorServiceConnection", - "kind": "LinkedField", - "name": "services", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorServiceEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorService", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-service:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-service:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-service:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-service:delete\")" - }, - (v4/*: any*/), - (v18/*: any*/), - (v30/*: any*/), - (v31/*: any*/), - (v17/*: any*/) - ], - "storageKey": null - }, - (v22/*: any*/) - ], - "storageKey": null - }, - (v27/*: any*/), - (v28/*: any*/) - ], - "storageKey": "services(first:50)" - }, - { - "alias": null, - "args": (v19/*: any*/), - "filters": (v29/*: any*/), - "handle": "connection", - "key": "VendorServicesTabFragment_services", - "kind": "LinkedHandle", - "name": "services" - }, - { - "alias": null, - "args": (v19/*: any*/), - "concreteType": "VendorRiskAssessmentConnection", - "kind": "LinkedField", - "name": "riskAssessments", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorRiskAssessmentEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorRiskAssessment", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v30/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "expiresAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataSensitivity", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "businessImpact", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "notes", - "storageKey": null - }, - (v17/*: any*/) - ], - "storageKey": null - }, - (v22/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - (v24/*: any*/), - (v23/*: any*/), - (v25/*: any*/), - (v26/*: any*/) - ], - "storageKey": null - }, - (v28/*: any*/) - ], - "storageKey": "riskAssessments(first:50)" - }, - { - "alias": null, - "args": (v19/*: any*/), - "filters": (v29/*: any*/), - "handle": "connection", - "key": "VendorRiskAssessmentTabFragment_riskAssessments", - "kind": "LinkedHandle", - "name": "riskAssessments" - }, - { - "alias": null, - "args": null, - "concreteType": "VendorBusinessAssociateAgreement", - "kind": "LinkedField", - "name": "businessAssociateAgreement", - "plural": false, - "selections": [ - (v2/*: any*/), - (v21/*: any*/), - (v32/*: any*/), - (v33/*: any*/), - (v20/*: any*/), - (v30/*: any*/), - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-business-associate-agreement:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-business-associate-agreement:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-business-associate-agreement:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-business-associate-agreement:delete\")" - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "VendorDataPrivacyAgreement", - "kind": "LinkedField", - "name": "dataPrivacyAgreement", - "plural": false, - "selections": [ - (v2/*: any*/), - (v21/*: any*/), - (v32/*: any*/), - (v33/*: any*/), - (v20/*: any*/), - (v30/*: any*/), - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-data-privacy-agreement:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-data-privacy-agreement:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-data-privacy-agreement:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-data-privacy-agreement:delete\")" - } - ], - "storageKey": null - } - ], - "type": "Vendor", - "abstractKey": null - } - ], - "storageKey": null - }, - (v16/*: any*/) - ] - }, - "params": { - "cacheID": "2e729f8d534ac8b2c3ed86175ef62da7", - "id": null, - "metadata": {}, - "name": "VendorGraphNodeQuery", - "operationKind": "query", - "text": "query VendorGraphNodeQuery(\n $vendorId: ID!\n) {\n node(id: $vendorId) {\n __typename\n id\n ... on Vendor {\n snapshotId\n name\n websiteUrl\n canAssess: permission(action: \"core:vendor:assess\")\n canUpdate: permission(action: \"core:vendor:update\")\n canDelete: permission(action: \"core:vendor:delete\")\n canUploadComplianceReport: permission(action: \"core:vendor-compliance-report:upload\")\n canCreateRiskAssessment: permission(action: \"core:vendor-risk-assessment:create\")\n canCreateContact: permission(action: \"core:vendor-contact:create\")\n canCreateService: permission(action: \"core:vendor-service:create\")\n canUploadBAA: permission(action: \"core:vendor-business-associate-agreement:upload\")\n canUploadDPA: permission(action: \"core:vendor-data-privacy-agreement:upload\")\n ...useVendorFormFragment\n ...VendorComplianceTabFragment\n ...VendorContactsTabFragment\n ...VendorServicesTabFragment\n ...VendorRiskAssessmentTabFragment\n ...VendorOverviewTabBusinessAssociateAgreementFragment\n ...VendorOverviewTabDataPrivacyAgreementFragment\n }\n }\n viewer {\n id\n }\n}\n\nfragment VendorComplianceTabFragment on Vendor {\n complianceReports(first: 50) {\n edges {\n node {\n id\n canDelete: permission(action: \"core:vendor-compliance-report:delete\")\n ...VendorComplianceTabFragment_report\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n\nfragment VendorComplianceTabFragment_report on VendorComplianceReport {\n id\n reportDate\n validUntil\n reportName\n file {\n fileName\n mimeType\n size\n id\n }\n canDelete: permission(action: \"core:vendor-compliance-report:delete\")\n}\n\nfragment VendorContactsTabFragment on Vendor {\n contacts(first: 50) {\n edges {\n node {\n id\n canUpdate: permission(action: \"core:vendor-contact:update\")\n canDelete: permission(action: \"core:vendor-contact:delete\")\n ...VendorContactsTabFragment_contact\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n\nfragment VendorContactsTabFragment_contact on VendorContact {\n id\n fullName\n email\n phone\n role\n createdAt\n updatedAt\n canUpdate: permission(action: \"core:vendor-contact:update\")\n canDelete: permission(action: \"core:vendor-contact:delete\")\n}\n\nfragment VendorOverviewTabBusinessAssociateAgreementFragment on Vendor {\n businessAssociateAgreement {\n id\n fileName\n fileUrl\n validFrom\n validUntil\n createdAt\n canUpdate: permission(action: \"core:vendor-business-associate-agreement:update\")\n canDelete: permission(action: \"core:vendor-business-associate-agreement:delete\")\n }\n}\n\nfragment VendorOverviewTabDataPrivacyAgreementFragment on Vendor {\n dataPrivacyAgreement {\n id\n fileName\n fileUrl\n validFrom\n validUntil\n createdAt\n canUpdate: permission(action: \"core:vendor-data-privacy-agreement:update\")\n canDelete: permission(action: \"core:vendor-data-privacy-agreement:delete\")\n }\n}\n\nfragment VendorRiskAssessmentTabFragment on Vendor {\n id\n riskAssessments(first: 50) {\n edges {\n node {\n id\n ...VendorRiskAssessmentTabFragment_assessment\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n hasPreviousPage\n startCursor\n }\n }\n}\n\nfragment VendorRiskAssessmentTabFragment_assessment on VendorRiskAssessment {\n id\n createdAt\n expiresAt\n dataSensitivity\n businessImpact\n notes\n}\n\nfragment VendorServicesTabFragment on Vendor {\n services(first: 50) {\n edges {\n node {\n id\n canUpdate: permission(action: \"core:vendor-service:update\")\n canDelete: permission(action: \"core:vendor-service:delete\")\n ...VendorServicesTabFragment_service\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n\nfragment VendorServicesTabFragment_service on VendorService {\n id\n name\n description\n createdAt\n updatedAt\n canUpdate: permission(action: \"core:vendor-service:update\")\n canDelete: permission(action: \"core:vendor-service:delete\")\n}\n\nfragment useVendorFormFragment on Vendor {\n id\n name\n description\n category\n statusPageUrl\n termsOfServiceUrl\n privacyPolicyUrl\n serviceLevelAgreementUrl\n dataProcessingAgreementUrl\n websiteUrl\n legalName\n headquarterAddress\n certifications\n countries\n securityPageUrl\n trustPageUrl\n businessOwner {\n id\n }\n securityOwner {\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "4de8ce39d2595e8b9866617badc36cae"; - -export default node; diff --git a/apps/console/src/__generated__/core/VendorGraphPaginatedFragment.graphql.ts b/apps/console/src/__generated__/core/VendorGraphPaginatedFragment.graphql.ts deleted file mode 100644 index 45670645e..000000000 --- a/apps/console/src/__generated__/core/VendorGraphPaginatedFragment.graphql.ts +++ /dev/null @@ -1,379 +0,0 @@ -/** - * @generated SignedSource<<5e319c5022f751db916ef2ba18d368e2>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type BusinessImpact = "CRITICAL" | "HIGH" | "LOW" | "MEDIUM"; -export type DataSensitivity = "CRITICAL" | "HIGH" | "LOW" | "MEDIUM" | "NONE"; -import { FragmentRefs } from "relay-runtime"; -export type VendorGraphPaginatedFragment$data = { - readonly id: string; - readonly vendors: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly id: string; - readonly name: string; - readonly riskAssessments: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly businessImpact: BusinessImpact; - readonly createdAt: string; - readonly dataSensitivity: DataSensitivity; - readonly expiresAt: string; - readonly id: string; - }; - }>; - }; - readonly snapshotId: string | null | undefined; - readonly updatedAt: string; - readonly websiteUrl: string | null | undefined; - }; - }>; - }; - readonly " $fragmentType": "VendorGraphPaginatedFragment"; -}; -export type VendorGraphPaginatedFragment$key = { - readonly " $data"?: VendorGraphPaginatedFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"VendorGraphPaginatedFragment">; -}; - -import VendorsListQuery_graphql from './VendorsListQuery.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "vendors" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" - }, - { - "defaultValue": 50, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "bidirectional", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": { - "count": "last", - "cursor": "before" - }, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": VendorsListQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "VendorGraphPaginatedFragment", - "selections": [ - { - "alias": "vendors", - "args": [ - { - "fields": [ - { - "kind": "Variable", - "name": "snapshotId", - "variableName": "snapshotId" - } - ], - "kind": "ObjectValue", - "name": "filter" - } - ], - "concreteType": "VendorConnection", - "kind": "LinkedField", - "name": "__VendorsListQuery_vendors_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Vendor", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 1 - }, - { - "kind": "Literal", - "name": "orderBy", - "value": { - "direction": "DESC", - "field": "CREATED_AT" - } - } - ], - "concreteType": "VendorRiskAssessmentConnection", - "kind": "LinkedField", - "name": "riskAssessments", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorRiskAssessmentEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorRiskAssessment", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "expiresAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataSensitivity", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "businessImpact", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "riskAssessments(first:1,orderBy:{\"direction\":\"DESC\",\"field\":\"CREATED_AT\"})" - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor:delete\")" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - (v1/*: any*/) - ], - "type": "Organization", - "abstractKey": null -}; -})(); - -(node as any).hash = "023558795ed2a60c50d2c39edbe3db36"; - -export default node; diff --git a/apps/console/src/__generated__/core/VendorGraphSelectQuery.graphql.ts b/apps/console/src/__generated__/core/VendorGraphSelectQuery.graphql.ts deleted file mode 100644 index 0b1a9369b..000000000 --- a/apps/console/src/__generated__/core/VendorGraphSelectQuery.graphql.ts +++ /dev/null @@ -1,188 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type VendorGraphSelectQuery$variables = { - organizationId: string; -}; -export type VendorGraphSelectQuery$data = { - readonly organization: { - readonly vendors?: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly name: string; - readonly websiteUrl: string | null | undefined; - }; - }>; - }; - }; -}; -export type VendorGraphSelectQuery = { - response: VendorGraphSelectQuery$data; - variables: VendorGraphSelectQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 100 - }, - { - "kind": "Literal", - "name": "orderBy", - "value": { - "direction": "ASC", - "field": "NAME" - } - } - ], - "concreteType": "VendorConnection", - "kind": "LinkedField", - "name": "vendors", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Vendor", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "vendors(first:100,orderBy:{\"direction\":\"ASC\",\"field\":\"NAME\"})" - } - ], - "type": "Organization", - "abstractKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "VendorGraphSelectQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "VendorGraphSelectQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - (v3/*: any*/), - (v2/*: any*/) - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "8127e6998fabfabfcc50a290c7ae3ed4", - "id": null, - "metadata": {}, - "name": "VendorGraphSelectQuery", - "operationKind": "query", - "text": "query VendorGraphSelectQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n ... on Organization {\n vendors(first: 100, orderBy: {direction: ASC, field: NAME}) {\n edges {\n node {\n id\n name\n websiteUrl\n }\n }\n }\n }\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "cd161c358ec53aacea5be6d1e7698307"; - -export default node; diff --git a/apps/console/src/__generated__/core/VendorOverviewTabBusinessAssociateAgreementFragment.graphql.ts b/apps/console/src/__generated__/core/VendorOverviewTabBusinessAssociateAgreementFragment.graphql.ts deleted file mode 100644 index cd212b765..000000000 --- a/apps/console/src/__generated__/core/VendorOverviewTabBusinessAssociateAgreementFragment.graphql.ts +++ /dev/null @@ -1,123 +0,0 @@ -/** - * @generated SignedSource<<92455d5992a9e72cb7d395f570ad308c>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type VendorOverviewTabBusinessAssociateAgreementFragment$data = { - readonly businessAssociateAgreement: { - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly createdAt: string; - readonly fileName: string; - readonly fileUrl: string; - readonly id: string; - readonly validFrom: string | null | undefined; - readonly validUntil: string | null | undefined; - } | null | undefined; - readonly " $fragmentType": "VendorOverviewTabBusinessAssociateAgreementFragment"; -}; -export type VendorOverviewTabBusinessAssociateAgreementFragment$key = { - readonly " $data"?: VendorOverviewTabBusinessAssociateAgreementFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"VendorOverviewTabBusinessAssociateAgreementFragment">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "VendorOverviewTabBusinessAssociateAgreementFragment", - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorBusinessAssociateAgreement", - "kind": "LinkedField", - "name": "businessAssociateAgreement", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fileName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fileUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validFrom", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validUntil", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-business-associate-agreement:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-business-associate-agreement:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-business-associate-agreement:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-business-associate-agreement:delete\")" - } - ], - "storageKey": null - } - ], - "type": "Vendor", - "abstractKey": null -}; - -(node as any).hash = "3c3bb156f86684d1834ec63cf43dc99f"; - -export default node; diff --git a/apps/console/src/__generated__/core/VendorOverviewTabDataPrivacyAgreementFragment.graphql.ts b/apps/console/src/__generated__/core/VendorOverviewTabDataPrivacyAgreementFragment.graphql.ts deleted file mode 100644 index 8d6b5cffb..000000000 --- a/apps/console/src/__generated__/core/VendorOverviewTabDataPrivacyAgreementFragment.graphql.ts +++ /dev/null @@ -1,123 +0,0 @@ -/** - * @generated SignedSource<<3cf0d5be883754321b4278ac59d77a54>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type VendorOverviewTabDataPrivacyAgreementFragment$data = { - readonly dataPrivacyAgreement: { - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly createdAt: string; - readonly fileName: string; - readonly fileUrl: string; - readonly id: string; - readonly validFrom: string | null | undefined; - readonly validUntil: string | null | undefined; - } | null | undefined; - readonly " $fragmentType": "VendorOverviewTabDataPrivacyAgreementFragment"; -}; -export type VendorOverviewTabDataPrivacyAgreementFragment$key = { - readonly " $data"?: VendorOverviewTabDataPrivacyAgreementFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"VendorOverviewTabDataPrivacyAgreementFragment">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "VendorOverviewTabDataPrivacyAgreementFragment", - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorDataPrivacyAgreement", - "kind": "LinkedField", - "name": "dataPrivacyAgreement", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fileName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fileUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validFrom", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "validUntil", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-data-privacy-agreement:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-data-privacy-agreement:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-data-privacy-agreement:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-data-privacy-agreement:delete\")" - } - ], - "storageKey": null - } - ], - "type": "Vendor", - "abstractKey": null -}; - -(node as any).hash = "c07606a63a9dc76f5cfad938c9d54268"; - -export default node; diff --git a/apps/console/src/__generated__/core/VendorRiskAssessmentTabFragment.graphql.ts b/apps/console/src/__generated__/core/VendorRiskAssessmentTabFragment.graphql.ts deleted file mode 100644 index 64503df84..000000000 --- a/apps/console/src/__generated__/core/VendorRiskAssessmentTabFragment.graphql.ts +++ /dev/null @@ -1,229 +0,0 @@ -/** - * @generated SignedSource<<48a58e84cc3d767baf9ac8e346864db8>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type VendorRiskAssessmentTabFragment$data = { - readonly id: string; - readonly riskAssessments: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"VendorRiskAssessmentTabFragment_assessment">; - }; - }>; - readonly pageInfo: { - readonly endCursor: string | null | undefined; - readonly hasNextPage: boolean; - }; - }; - readonly " $fragmentType": "VendorRiskAssessmentTabFragment"; -}; -export type VendorRiskAssessmentTabFragment$key = { - readonly " $data"?: VendorRiskAssessmentTabFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"VendorRiskAssessmentTabFragment">; -}; - -import VendorRiskAssessmentTabQuery_graphql from './VendorRiskAssessmentTabQuery.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "riskAssessments" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" - }, - { - "defaultValue": 50, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "bidirectional", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": { - "count": "last", - "cursor": "before" - }, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": VendorRiskAssessmentTabQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "VendorRiskAssessmentTabFragment", - "selections": [ - (v1/*: any*/), - { - "alias": "riskAssessments", - "args": [ - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } - ], - "concreteType": "VendorRiskAssessmentConnection", - "kind": "LinkedField", - "name": "__VendorRiskAssessmentTabFragment_riskAssessments_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorRiskAssessmentEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorRiskAssessment", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "VendorRiskAssessmentTabFragment_assessment" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - } - ], - "type": "Vendor", - "abstractKey": null -}; -})(); - -(node as any).hash = "0677e45996571e06b832e4600939db5b"; - -export default node; diff --git a/apps/console/src/__generated__/core/VendorRiskAssessmentTabFragment_assessment.graphql.ts b/apps/console/src/__generated__/core/VendorRiskAssessmentTabFragment_assessment.graphql.ts deleted file mode 100644 index 7eff7f622..000000000 --- a/apps/console/src/__generated__/core/VendorRiskAssessmentTabFragment_assessment.graphql.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type BusinessImpact = "CRITICAL" | "HIGH" | "LOW" | "MEDIUM"; -export type DataSensitivity = "CRITICAL" | "HIGH" | "LOW" | "MEDIUM" | "NONE"; -import { FragmentRefs } from "relay-runtime"; -export type VendorRiskAssessmentTabFragment_assessment$data = { - readonly businessImpact: BusinessImpact; - readonly createdAt: string; - readonly dataSensitivity: DataSensitivity; - readonly expiresAt: string; - readonly id: string; - readonly notes: string | null | undefined; - readonly " $fragmentType": "VendorRiskAssessmentTabFragment_assessment"; -}; -export type VendorRiskAssessmentTabFragment_assessment$key = { - readonly " $data"?: VendorRiskAssessmentTabFragment_assessment$data; - readonly " $fragmentSpreads": FragmentRefs<"VendorRiskAssessmentTabFragment_assessment">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "VendorRiskAssessmentTabFragment_assessment", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "expiresAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataSensitivity", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "businessImpact", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "notes", - "storageKey": null - } - ], - "type": "VendorRiskAssessment", - "abstractKey": null -}; - -(node as any).hash = "533771f5fac9e732556929fa2b1d0dc5"; - -export default node; diff --git a/apps/console/src/__generated__/core/VendorRiskAssessmentTabQuery.graphql.ts b/apps/console/src/__generated__/core/VendorRiskAssessmentTabQuery.graphql.ts deleted file mode 100644 index 4ad1a7539..000000000 --- a/apps/console/src/__generated__/core/VendorRiskAssessmentTabQuery.graphql.ts +++ /dev/null @@ -1,351 +0,0 @@ -/** - * @generated SignedSource<<6303a33c70cf6072bad533f5362a8944>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type OrderDirection = "ASC" | "DESC"; -export type VendorRiskAssessmentOrderField = "CREATED_AT" | "EXPIRES_AT"; -export type VendorRiskAssessmentOrder = { - direction: OrderDirection; - field: VendorRiskAssessmentOrderField; -}; -export type VendorRiskAssessmentTabQuery$variables = { - after?: string | null | undefined; - before?: string | null | undefined; - first?: number | null | undefined; - id: string; - last?: number | null | undefined; - order?: VendorRiskAssessmentOrder | null | undefined; -}; -export type VendorRiskAssessmentTabQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"VendorRiskAssessmentTabFragment">; - }; -}; -export type VendorRiskAssessmentTabQuery = { - response: VendorRiskAssessmentTabQuery$data; - variables: VendorRiskAssessmentTabQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" -}, -v2 = { - "defaultValue": 50, - "kind": "LocalArgument", - "name": "first" -}, -v3 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v4 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" -}, -v5 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" -}, -v6 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v7 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v8 = { - "kind": "Variable", - "name": "before", - "variableName": "before" -}, -v9 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v10 = { - "kind": "Variable", - "name": "last", - "variableName": "last" -}, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v12 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v13 = [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "VendorRiskAssessmentTabQuery", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "order", - "variableName": "order" - } - ], - "kind": "FragmentSpread", - "name": "VendorRiskAssessmentTabFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v3/*: any*/) - ], - "kind": "Operation", - "name": "VendorRiskAssessmentTabQuery", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v11/*: any*/), - (v12/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v13/*: any*/), - "concreteType": "VendorRiskAssessmentConnection", - "kind": "LinkedField", - "name": "riskAssessments", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorRiskAssessmentEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorRiskAssessment", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v12/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "expiresAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataSensitivity", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "businessImpact", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "notes", - "storageKey": null - }, - (v11/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v13/*: any*/), - "filters": [ - "orderBy" - ], - "handle": "connection", - "key": "VendorRiskAssessmentTabFragment_riskAssessments", - "kind": "LinkedHandle", - "name": "riskAssessments" - } - ], - "type": "Vendor", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "5bf6eff01e3ca53e8da78cba59316a0c", - "id": null, - "metadata": {}, - "name": "VendorRiskAssessmentTabQuery", - "operationKind": "query", - "text": "query VendorRiskAssessmentTabQuery(\n $after: CursorKey = null\n $before: CursorKey = null\n $first: Int = 50\n $last: Int = null\n $order: VendorRiskAssessmentOrder = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...VendorRiskAssessmentTabFragment_16fISc\n id\n }\n}\n\nfragment VendorRiskAssessmentTabFragment_16fISc on Vendor {\n id\n riskAssessments(first: $first, after: $after, last: $last, before: $before, orderBy: $order) {\n edges {\n node {\n id\n ...VendorRiskAssessmentTabFragment_assessment\n __typename\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n hasPreviousPage\n startCursor\n }\n }\n}\n\nfragment VendorRiskAssessmentTabFragment_assessment on VendorRiskAssessment {\n id\n createdAt\n expiresAt\n dataSensitivity\n businessImpact\n notes\n}\n" - } -}; -})(); - -(node as any).hash = "0677e45996571e06b832e4600939db5b"; - -export default node; diff --git a/apps/console/src/__generated__/core/VendorServicesListQuery.graphql.ts b/apps/console/src/__generated__/core/VendorServicesListQuery.graphql.ts deleted file mode 100644 index f8217a2ea..000000000 --- a/apps/console/src/__generated__/core/VendorServicesListQuery.graphql.ts +++ /dev/null @@ -1,370 +0,0 @@ -/** - * @generated SignedSource<<5eb43de8b9e005e9d6a505932b1e2bfd>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type OrderDirection = "ASC" | "DESC"; -export type VendorServiceOrderField = "CREATED_AT" | "NAME"; -export type VendorServiceOrder = { - direction: OrderDirection; - field: VendorServiceOrderField; -}; -export type VendorServicesListQuery$variables = { - after?: string | null | undefined; - before?: string | null | undefined; - first?: number | null | undefined; - id: string; - last?: number | null | undefined; - order?: VendorServiceOrder | null | undefined; -}; -export type VendorServicesListQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"VendorServicesTabFragment">; - }; -}; -export type VendorServicesListQuery = { - response: VendorServicesListQuery$data; - variables: VendorServicesListQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" -}, -v2 = { - "defaultValue": 50, - "kind": "LocalArgument", - "name": "first" -}, -v3 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v4 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" -}, -v5 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" -}, -v6 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v7 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v8 = { - "kind": "Variable", - "name": "before", - "variableName": "before" -}, -v9 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v10 = { - "kind": "Variable", - "name": "last", - "variableName": "last" -}, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v12 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v13 = [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "VendorServicesListQuery", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "order", - "variableName": "order" - } - ], - "kind": "FragmentSpread", - "name": "VendorServicesTabFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v3/*: any*/) - ], - "kind": "Operation", - "name": "VendorServicesListQuery", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v11/*: any*/), - (v12/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v13/*: any*/), - "concreteType": "VendorServiceConnection", - "kind": "LinkedField", - "name": "services", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorServiceEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorService", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v12/*: any*/), - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-service:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-service:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-service:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-service:delete\")" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - (v11/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v13/*: any*/), - "filters": [ - "orderBy" - ], - "handle": "connection", - "key": "VendorServicesTabFragment_services", - "kind": "LinkedHandle", - "name": "services" - } - ], - "type": "Vendor", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "94e552f4d7ee637234214d9277109b51", - "id": null, - "metadata": {}, - "name": "VendorServicesListQuery", - "operationKind": "query", - "text": "query VendorServicesListQuery(\n $after: CursorKey = null\n $before: CursorKey = null\n $first: Int = 50\n $last: Int = null\n $order: VendorServiceOrder = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...VendorServicesTabFragment_16fISc\n id\n }\n}\n\nfragment VendorServicesTabFragment_16fISc on Vendor {\n services(first: $first, after: $after, last: $last, before: $before, orderBy: $order) {\n edges {\n node {\n id\n canUpdate: permission(action: \"core:vendor-service:update\")\n canDelete: permission(action: \"core:vendor-service:delete\")\n ...VendorServicesTabFragment_service\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n\nfragment VendorServicesTabFragment_service on VendorService {\n id\n name\n description\n createdAt\n updatedAt\n canUpdate: permission(action: \"core:vendor-service:update\")\n canDelete: permission(action: \"core:vendor-service:delete\")\n}\n" - } -}; -})(); - -(node as any).hash = "9ef8673eefe25a94bb6e02b564c2f1aa"; - -export default node; diff --git a/apps/console/src/__generated__/core/VendorServicesTabDeleteServiceMutation.graphql.ts b/apps/console/src/__generated__/core/VendorServicesTabDeleteServiceMutation.graphql.ts deleted file mode 100644 index baa90fc88..000000000 --- a/apps/console/src/__generated__/core/VendorServicesTabDeleteServiceMutation.graphql.ts +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteVendorServiceInput = { - vendorServiceId: string; -}; -export type VendorServicesTabDeleteServiceMutation$variables = { - connections: ReadonlyArray; - input: DeleteVendorServiceInput; -}; -export type VendorServicesTabDeleteServiceMutation$data = { - readonly deleteVendorService: { - readonly deletedVendorServiceId: string; - }; -}; -export type VendorServicesTabDeleteServiceMutation = { - response: VendorServicesTabDeleteServiceMutation$data; - variables: VendorServicesTabDeleteServiceMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedVendorServiceId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "VendorServicesTabDeleteServiceMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteVendorServicePayload", - "kind": "LinkedField", - "name": "deleteVendorService", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "VendorServicesTabDeleteServiceMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteVendorServicePayload", - "kind": "LinkedField", - "name": "deleteVendorService", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedVendorServiceId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "fef00196f74b15a5528a0974541f1ec4", - "id": null, - "metadata": {}, - "name": "VendorServicesTabDeleteServiceMutation", - "operationKind": "mutation", - "text": "mutation VendorServicesTabDeleteServiceMutation(\n $input: DeleteVendorServiceInput!\n) {\n deleteVendorService(input: $input) {\n deletedVendorServiceId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "73d14c22b95d031b2c07b18dbbeb64d4"; - -export default node; diff --git a/apps/console/src/__generated__/core/VendorServicesTabFragment.graphql.ts b/apps/console/src/__generated__/core/VendorServicesTabFragment.graphql.ts deleted file mode 100644 index 6b78a9168..000000000 --- a/apps/console/src/__generated__/core/VendorServicesTabFragment.graphql.ts +++ /dev/null @@ -1,253 +0,0 @@ -/** - * @generated SignedSource<<63a5d7d63f436c96a8f7d9b66a4f708d>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type VendorServicesTabFragment$data = { - readonly id: string; - readonly services: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"VendorServicesTabFragment_service">; - }; - }>; - }; - readonly " $fragmentType": "VendorServicesTabFragment"; -}; -export type VendorServicesTabFragment$key = { - readonly " $data"?: VendorServicesTabFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"VendorServicesTabFragment">; -}; - -import VendorServicesListQuery_graphql from './VendorServicesListQuery.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "services" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" - }, - { - "defaultValue": 50, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "bidirectional", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": { - "count": "last", - "cursor": "before" - }, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": VendorServicesListQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "VendorServicesTabFragment", - "selections": [ - { - "alias": "services", - "args": [ - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } - ], - "concreteType": "VendorServiceConnection", - "kind": "LinkedField", - "name": "__VendorServicesTabFragment_services_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorServiceEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorService", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-service:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-service:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-service:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-service:delete\")" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "VendorServicesTabFragment_service" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - (v1/*: any*/) - ], - "type": "Vendor", - "abstractKey": null -}; -})(); - -(node as any).hash = "9ef8673eefe25a94bb6e02b564c2f1aa"; - -export default node; diff --git a/apps/console/src/__generated__/core/VendorServicesTabFragment_service.graphql.ts b/apps/console/src/__generated__/core/VendorServicesTabFragment_service.graphql.ts deleted file mode 100644 index a4e67da8f..000000000 --- a/apps/console/src/__generated__/core/VendorServicesTabFragment_service.graphql.ts +++ /dev/null @@ -1,102 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type VendorServicesTabFragment_service$data = { - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly createdAt: string; - readonly description: string | null | undefined; - readonly id: string; - readonly name: string; - readonly updatedAt: string; - readonly " $fragmentType": "VendorServicesTabFragment_service"; -}; -export type VendorServicesTabFragment_service$key = { - readonly " $data"?: VendorServicesTabFragment_service$data; - readonly " $fragmentSpreads": FragmentRefs<"VendorServicesTabFragment_service">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "VendorServicesTabFragment_service", - "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": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-service:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-service:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor-service:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor-service:delete\")" - } - ], - "type": "VendorService", - "abstractKey": null -}; - -(node as any).hash = "6371ec5f43c5d090c72fa50ca7ec1686"; - -export default node; diff --git a/apps/console/src/__generated__/core/VendorsListQuery.graphql.ts b/apps/console/src/__generated__/core/VendorsListQuery.graphql.ts deleted file mode 100644 index a97c33354..000000000 --- a/apps/console/src/__generated__/core/VendorsListQuery.graphql.ts +++ /dev/null @@ -1,467 +0,0 @@ -/** - * @generated SignedSource<<32bbeab909437ba96ded84710a198413>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type OrderDirection = "ASC" | "DESC"; -export type VendorOrderField = "CREATED_AT" | "NAME" | "UPDATED_AT"; -export type VendorOrder = { - direction: OrderDirection; - field: VendorOrderField; -}; -export type VendorsListQuery$variables = { - after?: string | null | undefined; - before?: string | null | undefined; - first?: number | null | undefined; - id: string; - last?: number | null | undefined; - order?: VendorOrder | null | undefined; - snapshotId?: string | null | undefined; -}; -export type VendorsListQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"VendorGraphPaginatedFragment">; - }; -}; -export type VendorsListQuery = { - response: VendorsListQuery$data; - variables: VendorsListQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" -}, -v2 = { - "defaultValue": 50, - "kind": "LocalArgument", - "name": "first" -}, -v3 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v4 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" -}, -v5 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" -}, -v6 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "snapshotId" -}, -v7 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v8 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v9 = { - "kind": "Variable", - "name": "before", - "variableName": "before" -}, -v10 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v11 = { - "kind": "Variable", - "name": "last", - "variableName": "last" -}, -v12 = { - "kind": "Variable", - "name": "snapshotId", - "variableName": "snapshotId" -}, -v13 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v14 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v15 = [ - (v8/*: any*/), - (v9/*: any*/), - { - "fields": [ - (v12/*: any*/) - ], - "kind": "ObjectValue", - "name": "filter" - }, - (v10/*: any*/), - (v11/*: any*/), - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "VendorsListQuery", - "selections": [ - { - "alias": null, - "args": (v7/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - { - "kind": "Variable", - "name": "order", - "variableName": "order" - }, - (v12/*: any*/) - ], - "kind": "FragmentSpread", - "name": "VendorGraphPaginatedFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v3/*: any*/) - ], - "kind": "Operation", - "name": "VendorsListQuery", - "selections": [ - { - "alias": null, - "args": (v7/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v13/*: any*/), - (v14/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v15/*: any*/), - "concreteType": "VendorConnection", - "kind": "LinkedField", - "name": "vendors", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Vendor", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v14/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "snapshotId", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "updatedAt", - "storageKey": null - }, - { - "alias": null, - "args": [ - { - "kind": "Literal", - "name": "first", - "value": 1 - }, - { - "kind": "Literal", - "name": "orderBy", - "value": { - "direction": "DESC", - "field": "CREATED_AT" - } - } - ], - "concreteType": "VendorRiskAssessmentConnection", - "kind": "LinkedField", - "name": "riskAssessments", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorRiskAssessmentEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "VendorRiskAssessment", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v14/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "expiresAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataSensitivity", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "businessImpact", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "riskAssessments(first:1,orderBy:{\"direction\":\"DESC\",\"field\":\"CREATED_AT\"})" - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor:delete\")" - }, - (v13/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v15/*: any*/), - "filters": [ - "filter" - ], - "handle": "connection", - "key": "VendorsListQuery_vendors", - "kind": "LinkedHandle", - "name": "vendors" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "04d4f2010cbc972eea3c0b464a7d2ad8", - "id": null, - "metadata": {}, - "name": "VendorsListQuery", - "operationKind": "query", - "text": "query VendorsListQuery(\n $after: CursorKey = null\n $before: CursorKey = null\n $first: Int = 50\n $last: Int = null\n $order: VendorOrder = null\n $snapshotId: ID = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...VendorGraphPaginatedFragment_25MC8O\n id\n }\n}\n\nfragment VendorGraphPaginatedFragment_25MC8O on Organization {\n vendors(first: $first, after: $after, last: $last, before: $before, orderBy: $order, filter: {snapshotId: $snapshotId}) {\n edges {\n node {\n id\n snapshotId\n name\n websiteUrl\n updatedAt\n riskAssessments(first: 1, orderBy: {direction: DESC, field: CREATED_AT}) {\n edges {\n node {\n id\n createdAt\n expiresAt\n dataSensitivity\n businessImpact\n }\n }\n }\n canUpdate: permission(action: \"core:vendor:update\")\n canDelete: permission(action: \"core:vendor:delete\")\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n" - } -}; -})(); - -(node as any).hash = "023558795ed2a60c50d2c39edbe3db36"; - -export default node; diff --git a/apps/console/src/__generated__/core/VersionActionsFragment.graphql.ts b/apps/console/src/__generated__/core/VersionActionsFragment.graphql.ts deleted file mode 100644 index 17fe23b88..000000000 --- a/apps/console/src/__generated__/core/VersionActionsFragment.graphql.ts +++ /dev/null @@ -1,50 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type VersionActionsFragment$data = { - readonly id: string; - readonly signed: boolean; - readonly " $fragmentType": "VersionActionsFragment"; -}; -export type VersionActionsFragment$key = { - readonly " $data"?: VersionActionsFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"VersionActionsFragment">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "VersionActionsFragment", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "signed", - "storageKey": null - } - ], - "type": "DocumentVersion", - "abstractKey": null -}; - -(node as any).hash = "9d3f7cc67712ad429dc0b1072fe2fe97"; - -export default node; diff --git a/apps/console/src/__generated__/core/VersionRowFragment.graphql.ts b/apps/console/src/__generated__/core/VersionRowFragment.graphql.ts deleted file mode 100644 index cbcc61854..000000000 --- a/apps/console/src/__generated__/core/VersionRowFragment.graphql.ts +++ /dev/null @@ -1,66 +0,0 @@ -/** - * @generated SignedSource<<9e7dea0ad7cddb603d16a2fbbe71e4dc>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type VersionRowFragment$data = { - readonly id: string; - readonly publishedAt: string | null | undefined; - readonly signed: boolean; - readonly version: number; - readonly " $fragmentType": "VersionRowFragment"; -}; -export type VersionRowFragment$key = { - readonly " $data"?: VersionRowFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"VersionRowFragment">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "VersionRowFragment", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "version", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "signed", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "publishedAt", - "storageKey": null - } - ], - "type": "DocumentVersion", - "abstractKey": null -}; - -(node as any).hash = "421d770febb7c38b46562e03ecd95a41"; - -export default node; diff --git a/apps/console/src/__generated__/core/usePaginatedMeasuresFragment.graphql.ts b/apps/console/src/__generated__/core/usePaginatedMeasuresFragment.graphql.ts deleted file mode 100644 index 129675f8d..000000000 --- a/apps/console/src/__generated__/core/usePaginatedMeasuresFragment.graphql.ts +++ /dev/null @@ -1,239 +0,0 @@ -/** - * @generated SignedSource<<53e0a105a9b28a70a1083500cd6b4577>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type MeasureState = "IMPLEMENTED" | "IN_PROGRESS" | "NOT_APPLICABLE" | "NOT_STARTED"; -import { FragmentRefs } from "relay-runtime"; -export type usePaginatedMeasuresFragment$data = { - readonly id: string; - readonly measures: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly category: string; - readonly description: string | null | undefined; - readonly id: string; - readonly name: string; - readonly state: MeasureState; - }; - }>; - }; - readonly " $fragmentType": "usePaginatedMeasuresFragment"; -}; -export type usePaginatedMeasuresFragment$key = { - readonly " $data"?: usePaginatedMeasuresFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"usePaginatedMeasuresFragment">; -}; - -import usePaginatedMeasuresQuery_fragment_graphql from './usePaginatedMeasuresQuery_fragment.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "measures" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" - }, - { - "defaultValue": 20, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "bidirectional", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": { - "count": "last", - "cursor": "before" - }, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": usePaginatedMeasuresQuery_fragment_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "usePaginatedMeasuresFragment", - "selections": [ - { - "alias": "measures", - "args": [ - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } - ], - "concreteType": "MeasureConnection", - "kind": "LinkedField", - "name": "__usePaginatedMeasuresQuery_measures_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "MeasureEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Measure", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "category", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - (v1/*: any*/) - ], - "type": "Organization", - "abstractKey": null -}; -})(); - -(node as any).hash = "7d9401a3b7aad78951093dcac34df06e"; - -export default node; diff --git a/apps/console/src/__generated__/core/usePaginatedMeasuresQuery.graphql.ts b/apps/console/src/__generated__/core/usePaginatedMeasuresQuery.graphql.ts deleted file mode 100644 index 39075a929..000000000 --- a/apps/console/src/__generated__/core/usePaginatedMeasuresQuery.graphql.ts +++ /dev/null @@ -1,259 +0,0 @@ -/** - * @generated SignedSource<<30fa378f7e73bf788828131ecfccb812>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type usePaginatedMeasuresQuery$variables = { - organizationId: string; -}; -export type usePaginatedMeasuresQuery$data = { - readonly organization: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"usePaginatedMeasuresFragment">; - }; -}; -export type usePaginatedMeasuresQuery = { - response: usePaginatedMeasuresQuery$data; - variables: usePaginatedMeasuresQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v4 = [ - { - "kind": "Literal", - "name": "first", - "value": 20 - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "usePaginatedMeasuresQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "args": null, - "kind": "FragmentSpread", - "name": "usePaginatedMeasuresFragment" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "usePaginatedMeasuresQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v4/*: any*/), - "concreteType": "MeasureConnection", - "kind": "LinkedField", - "name": "measures", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "MeasureEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Measure", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "category", - "storageKey": null - }, - (v3/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "measures(first:20)" - }, - { - "alias": null, - "args": (v4/*: any*/), - "filters": [ - "orderBy" - ], - "handle": "connection", - "key": "usePaginatedMeasuresQuery_measures", - "kind": "LinkedHandle", - "name": "measures" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "5e37746b5ff660a2b5c817eb64ec0f6e", - "id": null, - "metadata": {}, - "name": "usePaginatedMeasuresQuery", - "operationKind": "query", - "text": "query usePaginatedMeasuresQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n id\n ... on Organization {\n ...usePaginatedMeasuresFragment\n }\n }\n}\n\nfragment usePaginatedMeasuresFragment on Organization {\n measures(first: 20) {\n edges {\n node {\n id\n name\n state\n description\n category\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n" - } -}; -})(); - -(node as any).hash = "49bbe1012e06a7c38d335da0defc0270"; - -export default node; diff --git a/apps/console/src/__generated__/core/usePaginatedMeasuresQuery_fragment.graphql.ts b/apps/console/src/__generated__/core/usePaginatedMeasuresQuery_fragment.graphql.ts deleted file mode 100644 index 8fb070b76..000000000 --- a/apps/console/src/__generated__/core/usePaginatedMeasuresQuery_fragment.graphql.ts +++ /dev/null @@ -1,332 +0,0 @@ -/** - * @generated SignedSource<<6c86702e8005adfb32ab18b122d37fba>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type MeasureOrderField = "CREATED_AT" | "NAME"; -export type OrderDirection = "ASC" | "DESC"; -export type MeasureOrder = { - direction: OrderDirection; - field: MeasureOrderField; -}; -export type usePaginatedMeasuresQuery_fragment$variables = { - after?: string | null | undefined; - before?: string | null | undefined; - first?: number | null | undefined; - id: string; - last?: number | null | undefined; - order?: MeasureOrder | null | undefined; -}; -export type usePaginatedMeasuresQuery_fragment$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"usePaginatedMeasuresFragment">; - }; -}; -export type usePaginatedMeasuresQuery_fragment = { - response: usePaginatedMeasuresQuery_fragment$data; - variables: usePaginatedMeasuresQuery_fragment$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" -}, -v2 = { - "defaultValue": 20, - "kind": "LocalArgument", - "name": "first" -}, -v3 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v4 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" -}, -v5 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "order" -}, -v6 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v7 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v8 = { - "kind": "Variable", - "name": "before", - "variableName": "before" -}, -v9 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v10 = { - "kind": "Variable", - "name": "last", - "variableName": "last" -}, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v12 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v13 = [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "usePaginatedMeasuresQuery_fragment", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "order", - "variableName": "order" - } - ], - "kind": "FragmentSpread", - "name": "usePaginatedMeasuresFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v3/*: any*/) - ], - "kind": "Operation", - "name": "usePaginatedMeasuresQuery_fragment", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v11/*: any*/), - (v12/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v13/*: any*/), - "concreteType": "MeasureConnection", - "kind": "LinkedField", - "name": "measures", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "MeasureEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Measure", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v12/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "state", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "category", - "storageKey": null - }, - (v11/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v13/*: any*/), - "filters": [ - "orderBy" - ], - "handle": "connection", - "key": "usePaginatedMeasuresQuery_measures", - "kind": "LinkedHandle", - "name": "measures" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "c37a9764fcf0b587ae467395a5af84e4", - "id": null, - "metadata": {}, - "name": "usePaginatedMeasuresQuery_fragment", - "operationKind": "query", - "text": "query usePaginatedMeasuresQuery_fragment(\n $after: CursorKey = null\n $before: CursorKey = null\n $first: Int = 20\n $last: Int = null\n $order: MeasureOrder = null\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...usePaginatedMeasuresFragment_16fISc\n id\n }\n}\n\nfragment usePaginatedMeasuresFragment_16fISc on Organization {\n measures(first: $first, after: $after, last: $last, before: $before, orderBy: $order) {\n edges {\n node {\n id\n name\n state\n description\n category\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n" - } -}; -})(); - -(node as any).hash = "7d9401a3b7aad78951093dcac34df06e"; - -export default node; diff --git a/apps/console/src/__generated__/core/useRiskFormFragment.graphql.ts b/apps/console/src/__generated__/core/useRiskFormFragment.graphql.ts deleted file mode 100644 index f787a5c77..000000000 --- a/apps/console/src/__generated__/core/useRiskFormFragment.graphql.ts +++ /dev/null @@ -1,149 +0,0 @@ -/** - * @generated SignedSource<<759f9a511cc5c589b3ac366de83adbfe>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type RiskTreatment = "ACCEPTED" | "AVOIDED" | "MITIGATED" | "TRANSFERRED"; -import { FragmentRefs } from "relay-runtime"; -export type useRiskFormFragment$data = { - readonly category: string; - readonly description: string | null | undefined; - readonly id: string; - readonly inherentImpact: number; - readonly inherentLikelihood: number; - readonly inherentRiskScore: number; - readonly name: string; - readonly note: string; - readonly owner: { - readonly id: string; - } | null | undefined; - readonly residualImpact: number; - readonly residualLikelihood: number; - readonly residualRiskScore: number; - readonly treatment: RiskTreatment; - readonly " $fragmentType": "useRiskFormFragment"; -}; -export type useRiskFormFragment$key = { - readonly " $data"?: useRiskFormFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"useRiskFormFragment">; -}; - -const node: ReaderFragment = (function(){ -var v0 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "useRiskFormFragment", - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "category", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "treatment", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "inherentLikelihood", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "inherentImpact", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualLikelihood", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualImpact", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "inherentRiskScore", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "residualRiskScore", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "note", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "owner", - "plural": false, - "selections": [ - (v0/*: any*/) - ], - "storageKey": null - } - ], - "type": "Risk", - "abstractKey": null -}; -})(); - -(node as any).hash = "d9b52f879eadba5f7b1c18dcdbf85559"; - -export default node; diff --git a/apps/console/src/__generated__/core/useVendorFormFragment.graphql.ts b/apps/console/src/__generated__/core/useVendorFormFragment.graphql.ts deleted file mode 100644 index 5201b1734..000000000 --- a/apps/console/src/__generated__/core/useVendorFormFragment.graphql.ts +++ /dev/null @@ -1,196 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type CountryCode = "AD" | "AE" | "AF" | "AG" | "AI" | "AL" | "AM" | "AO" | "AQ" | "AR" | "AS" | "AT" | "AU" | "AW" | "AX" | "AZ" | "BA" | "BB" | "BD" | "BE" | "BF" | "BG" | "BH" | "BI" | "BJ" | "BL" | "BM" | "BN" | "BO" | "BQ" | "BR" | "BS" | "BT" | "BV" | "BW" | "BY" | "BZ" | "CA" | "CC" | "CD" | "CF" | "CG" | "CH" | "CI" | "CK" | "CL" | "CM" | "CN" | "CO" | "CR" | "CU" | "CV" | "CW" | "CX" | "CY" | "CZ" | "DE" | "DJ" | "DK" | "DM" | "DO" | "DZ" | "EC" | "EE" | "EG" | "EH" | "ER" | "ES" | "ET" | "EU" | "FI" | "FJ" | "FK" | "FM" | "FO" | "FR" | "GA" | "GB" | "GD" | "GE" | "GF" | "GG" | "GH" | "GI" | "GL" | "GM" | "GN" | "GP" | "GQ" | "GR" | "GT" | "GU" | "GW" | "GY" | "HK" | "HM" | "HN" | "HR" | "HT" | "HU" | "ID" | "IE" | "IL" | "IM" | "IN" | "IO" | "IQ" | "IR" | "IS" | "IT" | "JE" | "JM" | "JO" | "JP" | "KE" | "KG" | "KH" | "KI" | "KM" | "KN" | "KP" | "KR" | "KW" | "KY" | "KZ" | "LA" | "LB" | "LC" | "LI" | "LK" | "LR" | "LS" | "LT" | "LU" | "LV" | "LY" | "MA" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MK" | "ML" | "MM" | "MN" | "MO" | "MP" | "MQ" | "MR" | "MS" | "MT" | "MU" | "MV" | "MW" | "MX" | "MY" | "MZ" | "NA" | "NC" | "NE" | "NF" | "NG" | "NI" | "NL" | "NO" | "NP" | "NR" | "NU" | "NZ" | "OM" | "PA" | "PE" | "PF" | "PG" | "PH" | "PK" | "PL" | "PM" | "PN" | "PR" | "PS" | "PT" | "PW" | "PY" | "QA" | "RE" | "RO" | "RS" | "RU" | "RW" | "SA" | "SB" | "SC" | "SD" | "SE" | "SG" | "SH" | "SI" | "SJ" | "SK" | "SL" | "SM" | "SN" | "SO" | "SR" | "SS" | "ST" | "SV" | "SX" | "SY" | "SZ" | "TC" | "TD" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TO" | "TR" | "TT" | "TV" | "TW" | "TZ" | "UA" | "UG" | "UM" | "US" | "UY" | "UZ" | "VA" | "VC" | "VE" | "VG" | "VI" | "VN" | "VU" | "WF" | "WS" | "YE" | "YT" | "ZA" | "ZM" | "ZW"; -export type VendorCategory = "ANALYTICS" | "CLOUD_MONITORING" | "CLOUD_PROVIDER" | "COLLABORATION" | "CUSTOMER_SUPPORT" | "DATA_STORAGE_AND_PROCESSING" | "DOCUMENT_MANAGEMENT" | "EMPLOYEE_MANAGEMENT" | "ENGINEERING" | "FINANCE" | "IDENTITY_PROVIDER" | "IT" | "MARKETING" | "OFFICE_OPERATIONS" | "OTHER" | "PASSWORD_MANAGEMENT" | "PRODUCT_AND_DESIGN" | "PROFESSIONAL_SERVICES" | "RECRUITING" | "SALES" | "SECURITY" | "VERSION_CONTROL"; -import { FragmentRefs } from "relay-runtime"; -export type useVendorFormFragment$data = { - readonly businessOwner: { - readonly id: string; - } | null | undefined; - readonly category: VendorCategory; - readonly certifications: ReadonlyArray; - readonly countries: ReadonlyArray; - readonly dataProcessingAgreementUrl: string | null | undefined; - readonly description: string | null | undefined; - readonly headquarterAddress: string | null | undefined; - readonly id: string; - readonly legalName: string | null | undefined; - readonly name: string; - readonly privacyPolicyUrl: string | null | undefined; - readonly securityOwner: { - readonly id: string; - } | null | undefined; - readonly securityPageUrl: string | null | undefined; - readonly serviceLevelAgreementUrl: string | null | undefined; - readonly statusPageUrl: string | null | undefined; - readonly termsOfServiceUrl: string | null | undefined; - readonly trustPageUrl: string | null | undefined; - readonly websiteUrl: string | null | undefined; - readonly " $fragmentType": "useVendorFormFragment"; -}; -export type useVendorFormFragment$key = { - readonly " $data"?: useVendorFormFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"useVendorFormFragment">; -}; - -const node: ReaderFragment = (function(){ -var v0 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v1 = [ - (v0/*: any*/) -]; -return { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "useVendorFormFragment", - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "category", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "statusPageUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "termsOfServiceUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "privacyPolicyUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "serviceLevelAgreementUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataProcessingAgreementUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "legalName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "headquarterAddress", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "certifications", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "countries", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "securityPageUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "trustPageUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "businessOwner", - "plural": false, - "selections": (v1/*: any*/), - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "securityOwner", - "plural": false, - "selections": (v1/*: any*/), - "storageKey": null - } - ], - "type": "Vendor", - "abstractKey": null -}; -})(); - -(node as any).hash = "89148658660d29dbe0ab6761300c6771"; - -export default node; diff --git a/apps/console/src/__generated__/core/useVendorFormMutation.graphql.ts b/apps/console/src/__generated__/core/useVendorFormMutation.graphql.ts deleted file mode 100644 index fc86d8be6..000000000 --- a/apps/console/src/__generated__/core/useVendorFormMutation.graphql.ts +++ /dev/null @@ -1,285 +0,0 @@ -/** - * @generated SignedSource<<186b7bb61950ba6e7a05d0e16ce4d2c6>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type CountryCode = "AD" | "AE" | "AF" | "AG" | "AI" | "AL" | "AM" | "AO" | "AQ" | "AR" | "AS" | "AT" | "AU" | "AW" | "AX" | "AZ" | "BA" | "BB" | "BD" | "BE" | "BF" | "BG" | "BH" | "BI" | "BJ" | "BL" | "BM" | "BN" | "BO" | "BQ" | "BR" | "BS" | "BT" | "BV" | "BW" | "BY" | "BZ" | "CA" | "CC" | "CD" | "CF" | "CG" | "CH" | "CI" | "CK" | "CL" | "CM" | "CN" | "CO" | "CR" | "CU" | "CV" | "CW" | "CX" | "CY" | "CZ" | "DE" | "DJ" | "DK" | "DM" | "DO" | "DZ" | "EC" | "EE" | "EG" | "EH" | "ER" | "ES" | "ET" | "EU" | "FI" | "FJ" | "FK" | "FM" | "FO" | "FR" | "GA" | "GB" | "GD" | "GE" | "GF" | "GG" | "GH" | "GI" | "GL" | "GM" | "GN" | "GP" | "GQ" | "GR" | "GT" | "GU" | "GW" | "GY" | "HK" | "HM" | "HN" | "HR" | "HT" | "HU" | "ID" | "IE" | "IL" | "IM" | "IN" | "IO" | "IQ" | "IR" | "IS" | "IT" | "JE" | "JM" | "JO" | "JP" | "KE" | "KG" | "KH" | "KI" | "KM" | "KN" | "KP" | "KR" | "KW" | "KY" | "KZ" | "LA" | "LB" | "LC" | "LI" | "LK" | "LR" | "LS" | "LT" | "LU" | "LV" | "LY" | "MA" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MK" | "ML" | "MM" | "MN" | "MO" | "MP" | "MQ" | "MR" | "MS" | "MT" | "MU" | "MV" | "MW" | "MX" | "MY" | "MZ" | "NA" | "NC" | "NE" | "NF" | "NG" | "NI" | "NL" | "NO" | "NP" | "NR" | "NU" | "NZ" | "OM" | "PA" | "PE" | "PF" | "PG" | "PH" | "PK" | "PL" | "PM" | "PN" | "PR" | "PS" | "PT" | "PW" | "PY" | "QA" | "RE" | "RO" | "RS" | "RU" | "RW" | "SA" | "SB" | "SC" | "SD" | "SE" | "SG" | "SH" | "SI" | "SJ" | "SK" | "SL" | "SM" | "SN" | "SO" | "SR" | "SS" | "ST" | "SV" | "SX" | "SY" | "SZ" | "TC" | "TD" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TO" | "TR" | "TT" | "TV" | "TW" | "TZ" | "UA" | "UG" | "UM" | "US" | "UY" | "UZ" | "VA" | "VC" | "VE" | "VG" | "VI" | "VN" | "VU" | "WF" | "WS" | "YE" | "YT" | "ZA" | "ZM" | "ZW"; -export type VendorCategory = "ANALYTICS" | "CLOUD_MONITORING" | "CLOUD_PROVIDER" | "COLLABORATION" | "CUSTOMER_SUPPORT" | "DATA_STORAGE_AND_PROCESSING" | "DOCUMENT_MANAGEMENT" | "EMPLOYEE_MANAGEMENT" | "ENGINEERING" | "FINANCE" | "IDENTITY_PROVIDER" | "IT" | "MARKETING" | "OFFICE_OPERATIONS" | "OTHER" | "PASSWORD_MANAGEMENT" | "PRODUCT_AND_DESIGN" | "PROFESSIONAL_SERVICES" | "RECRUITING" | "SALES" | "SECURITY" | "VERSION_CONTROL"; -export type UpdateVendorInput = { - businessAssociateAgreementUrl?: string | null | undefined; - businessOwnerId?: string | null | undefined; - category?: VendorCategory | null | undefined; - certifications?: ReadonlyArray | null | undefined; - countries?: ReadonlyArray | null | undefined; - dataProcessingAgreementUrl?: string | null | undefined; - description?: string | null | undefined; - headquarterAddress?: string | null | undefined; - id: string; - legalName?: string | null | undefined; - name?: string | null | undefined; - privacyPolicyUrl?: string | null | undefined; - securityOwnerId?: string | null | undefined; - securityPageUrl?: string | null | undefined; - serviceLevelAgreementUrl?: string | null | undefined; - showOnTrustCenter?: boolean | null | undefined; - statusPageUrl?: string | null | undefined; - subprocessorsListUrl?: string | null | undefined; - termsOfServiceUrl?: string | null | undefined; - trustPageUrl?: string | null | undefined; - websiteUrl?: string | null | undefined; -}; -export type useVendorFormMutation$variables = { - input: UpdateVendorInput; -}; -export type useVendorFormMutation$data = { - readonly updateVendor: { - readonly vendor: { - readonly " $fragmentSpreads": FragmentRefs<"useVendorFormFragment">; - }; - }; -}; -export type useVendorFormMutation = { - response: useVendorFormMutation$data; - variables: useVendorFormMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v3 = [ - (v2/*: any*/) -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "useVendorFormMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "UpdateVendorPayload", - "kind": "LinkedField", - "name": "updateVendor", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Vendor", - "kind": "LinkedField", - "name": "vendor", - "plural": false, - "selections": [ - { - "args": null, - "kind": "FragmentSpread", - "name": "useVendorFormFragment" - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "useVendorFormMutation", - "selections": [ - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "UpdateVendorPayload", - "kind": "LinkedField", - "name": "updateVendor", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Vendor", - "kind": "LinkedField", - "name": "vendor", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "category", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "statusPageUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "termsOfServiceUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "privacyPolicyUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "serviceLevelAgreementUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "dataProcessingAgreementUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "legalName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "headquarterAddress", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "certifications", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "countries", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "securityPageUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "trustPageUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "businessOwner", - "plural": false, - "selections": (v3/*: any*/), - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "People", - "kind": "LinkedField", - "name": "securityOwner", - "plural": false, - "selections": (v3/*: any*/), - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "35a5e6d13ef172a9a8640740a5606b46", - "id": null, - "metadata": {}, - "name": "useVendorFormMutation", - "operationKind": "mutation", - "text": "mutation useVendorFormMutation(\n $input: UpdateVendorInput!\n) {\n updateVendor(input: $input) {\n vendor {\n ...useVendorFormFragment\n id\n }\n }\n}\n\nfragment useVendorFormFragment on Vendor {\n id\n name\n description\n category\n statusPageUrl\n termsOfServiceUrl\n privacyPolicyUrl\n serviceLevelAgreementUrl\n dataProcessingAgreementUrl\n websiteUrl\n legalName\n headquarterAddress\n certifications\n countries\n securityPageUrl\n trustPageUrl\n businessOwner {\n id\n }\n securityOwner {\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "f49cfca25ffd99e8bbdc2e2e3c78b400"; - -export default node; diff --git a/apps/console/src/__generated__/iam/APIKeysPageQuery.graphql.ts b/apps/console/src/__generated__/iam/APIKeysPageQuery.graphql.ts deleted file mode 100644 index 00877c258..000000000 --- a/apps/console/src/__generated__/iam/APIKeysPageQuery.graphql.ts +++ /dev/null @@ -1,202 +0,0 @@ -/** - * @generated SignedSource<<76057cc6f78c32b15c6e580c7a0c30da>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type APIKeysPageQuery$variables = Record; -export type APIKeysPageQuery$data = { - readonly viewer: { - readonly " $fragmentSpreads": FragmentRefs<"PersonalAPIKeyListFragment">; - } | null | undefined; -}; -export type APIKeysPageQuery = { - response: APIKeysPageQuery$data; - variables: APIKeysPageQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v1 = [ - { - "kind": "Literal", - "name": "first", - "value": 1000 - } -]; -return { - "fragment": { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "APIKeysPageQuery", - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Identity", - "kind": "LinkedField", - "name": "viewer", - "plural": false, - "selections": [ - { - "args": null, - "kind": "FragmentSpread", - "name": "PersonalAPIKeyListFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [], - "kind": "Operation", - "name": "APIKeysPageQuery", - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Identity", - "kind": "LinkedField", - "name": "viewer", - "plural": false, - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": (v1/*: any*/), - "concreteType": "PersonalAPIKeyConnection", - "kind": "LinkedField", - "name": "personalAPIKeys", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "PersonalAPIKeyEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "PersonalAPIKey", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "expiresAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "personalAPIKeys(first:1000)" - }, - { - "alias": null, - "args": (v1/*: any*/), - "filters": null, - "handle": "connection", - "key": "PersonalAPIKeyListFragment_personalAPIKeys", - "kind": "LinkedHandle", - "name": "personalAPIKeys" - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "cf6f6f621bdcb1bd24a2dd94f856729f", - "id": null, - "metadata": {}, - "name": "APIKeysPageQuery", - "operationKind": "query", - "text": "query APIKeysPageQuery {\n viewer {\n ...PersonalAPIKeyListFragment\n id\n }\n}\n\nfragment PersonalAPIKeyListFragment on Identity {\n id\n personalAPIKeys(first: 1000) {\n edges {\n node {\n id\n ...PersonalAPIKeyRowFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n\nfragment PersonalAPIKeyRowFragment on PersonalAPIKey {\n id\n name\n createdAt\n expiresAt\n}\n" - } -}; -})(); - -(node as any).hash = "e99d7224e11d4e9060518c3155f98a7d"; - -export default node; diff --git a/apps/console/src/__generated__/iam/EditMemberDialog_updateMutation.graphql.ts b/apps/console/src/__generated__/iam/EditMemberDialog_updateMutation.graphql.ts deleted file mode 100644 index 737d88ee5..000000000 --- a/apps/console/src/__generated__/iam/EditMemberDialog_updateMutation.graphql.ts +++ /dev/null @@ -1,116 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type MembershipRole = "ADMIN" | "AUDITOR" | "EMPLOYEE" | "OWNER" | "VIEWER"; -export type UpdateMembershipInput = { - membershipId: string; - organizationId: string; - role: MembershipRole; -}; -export type EditMemberDialog_updateMutation$variables = { - input: UpdateMembershipInput; -}; -export type EditMemberDialog_updateMutation$data = { - readonly updateMembership: { - readonly membership: { - readonly id: string; - readonly role: MembershipRole; - }; - }; -}; -export type EditMemberDialog_updateMutation = { - response: EditMemberDialog_updateMutation$data; - variables: EditMemberDialog_updateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UpdateMembershipPayload", - "kind": "LinkedField", - "name": "updateMembership", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Membership", - "kind": "LinkedField", - "name": "membership", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "role", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "EditMemberDialog_updateMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "EditMemberDialog_updateMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "696ec9f74220b92171bf60630e5c8d7f", - "id": null, - "metadata": {}, - "name": "EditMemberDialog_updateMutation", - "operationKind": "mutation", - "text": "mutation EditMemberDialog_updateMutation(\n $input: UpdateMembershipInput!\n) {\n updateMembership(input: $input) {\n membership {\n id\n role\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "fc971ff69092912586c14c7f6e2111ed"; - -export default node; diff --git a/apps/console/src/__generated__/iam/EditSAMLConfigurationFormQuery.graphql.ts b/apps/console/src/__generated__/iam/EditSAMLConfigurationFormQuery.graphql.ts deleted file mode 100644 index 969023dfc..000000000 --- a/apps/console/src/__generated__/iam/EditSAMLConfigurationFormQuery.graphql.ts +++ /dev/null @@ -1,273 +0,0 @@ -/** - * @generated SignedSource<<9f5f726789193f7af37d789c8b324a1e>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type SAMLEnforcementPolicy = "OFF" | "OPTIONAL" | "REQUIRED"; -export type EditSAMLConfigurationFormQuery$variables = { - samlConfigurationId: string; -}; -export type EditSAMLConfigurationFormQuery$data = { - readonly samlConfiguration: { - readonly __typename: "SAMLConfiguration"; - readonly attributeMappings: { - readonly email: string; - readonly firstName: string; - readonly lastName: string; - readonly role: string; - }; - readonly autoSignupEnabled: boolean; - readonly domainVerificationToken: string | null | undefined; - readonly domainVerifiedAt: string | null | undefined; - readonly emailDomain: string; - readonly enforcementPolicy: SAMLEnforcementPolicy; - readonly id: string; - readonly idpCertificate: string; - readonly idpEntityId: string; - readonly idpSsoUrl: string; - readonly testLoginUrl: string; - } | { - // This will never be '%other', but we need some - // value in case none of the concrete values match. - readonly __typename: "%other"; - }; -}; -export type EditSAMLConfigurationFormQuery = { - response: EditSAMLConfigurationFormQuery$data; - variables: EditSAMLConfigurationFormQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "samlConfigurationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "samlConfigurationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "emailDomain", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "enforcementPolicy", - "storageKey": null -}, -v6 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "domainVerificationToken", - "storageKey": null -}, -v7 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "domainVerifiedAt", - "storageKey": null -}, -v8 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "testLoginUrl", - "storageKey": null -}, -v9 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "idpEntityId", - "storageKey": null -}, -v10 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "idpSsoUrl", - "storageKey": null -}, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "idpCertificate", - "storageKey": null -}, -v12 = { - "alias": null, - "args": null, - "concreteType": "SAMLAttributeMappings", - "kind": "LinkedField", - "name": "attributeMappings", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "email", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "firstName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "lastName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "role", - "storageKey": null - } - ], - "storageKey": null -}, -v13 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "autoSignupEnabled", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "EditSAMLConfigurationFormQuery", - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": "samlConfiguration", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v12/*: any*/), - (v13/*: any*/) - ], - "type": "SAMLConfiguration", - "abstractKey": null - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "EditSAMLConfigurationFormQuery", - "selections": [ - { - "alias": "samlConfiguration", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v4/*: any*/), - (v5/*: any*/), - (v6/*: any*/), - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - (v11/*: any*/), - (v12/*: any*/), - (v13/*: any*/) - ], - "type": "SAMLConfiguration", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "47c1ce92e8ba0395fa803b343d093879", - "id": null, - "metadata": {}, - "name": "EditSAMLConfigurationFormQuery", - "operationKind": "query", - "text": "query EditSAMLConfigurationFormQuery(\n $samlConfigurationId: ID!\n) {\n samlConfiguration: node(id: $samlConfigurationId) {\n __typename\n ... on SAMLConfiguration {\n id\n emailDomain\n enforcementPolicy\n domainVerificationToken\n domainVerifiedAt\n testLoginUrl\n idpEntityId\n idpSsoUrl\n idpCertificate\n attributeMappings {\n email\n firstName\n lastName\n role\n }\n autoSignupEnabled\n }\n id\n }\n}\n" - } -}; -})(); - -(node as any).hash = "d31326e3e4423e62d8acde5735d9b578"; - -export default node; diff --git a/apps/console/src/__generated__/iam/EditSAMLConfigurationForm_updateMutation.graphql.ts b/apps/console/src/__generated__/iam/EditSAMLConfigurationForm_updateMutation.graphql.ts deleted file mode 100644 index 23d9f8cf1..000000000 --- a/apps/console/src/__generated__/iam/EditSAMLConfigurationForm_updateMutation.graphql.ts +++ /dev/null @@ -1,159 +0,0 @@ -/** - * @generated SignedSource<<9e0e298dd1e700d70d3f054b62b43d87>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type SAMLEnforcementPolicy = "OFF" | "OPTIONAL" | "REQUIRED"; -export type UpdateSAMLConfigurationInput = { - attributeMappings?: SAMLAttributeMappingsInput | null | undefined; - autoSignupEnabled?: boolean | null | undefined; - enforcementPolicy: SAMLEnforcementPolicy; - idpCertificate?: string | null | undefined; - idpEntityId?: string | null | undefined; - idpSsoUrl?: string | null | undefined; - organizationId: string; - samlConfigurationId: string; -}; -export type SAMLAttributeMappingsInput = { - email?: string | null | undefined; - firstName?: string | null | undefined; - lastName?: string | null | undefined; - role?: string | null | undefined; -}; -export type EditSAMLConfigurationForm_updateMutation$variables = { - input: UpdateSAMLConfigurationInput; -}; -export type EditSAMLConfigurationForm_updateMutation$data = { - readonly updateSAMLConfiguration: { - readonly samlConfiguration: { - readonly domainVerificationToken: string | null | undefined; - readonly domainVerifiedAt: string | null | undefined; - readonly emailDomain: string; - readonly enforcementPolicy: SAMLEnforcementPolicy; - readonly id: string; - readonly testLoginUrl: string; - } | null | undefined; - } | null | undefined; -}; -export type EditSAMLConfigurationForm_updateMutation = { - response: EditSAMLConfigurationForm_updateMutation$data; - variables: EditSAMLConfigurationForm_updateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UpdateSAMLConfigurationPayload", - "kind": "LinkedField", - "name": "updateSAMLConfiguration", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "SAMLConfiguration", - "kind": "LinkedField", - "name": "samlConfiguration", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "emailDomain", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "enforcementPolicy", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "domainVerificationToken", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "domainVerifiedAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "testLoginUrl", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "EditSAMLConfigurationForm_updateMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "EditSAMLConfigurationForm_updateMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "56d29623294c243a01bfbc2ab4310d28", - "id": null, - "metadata": {}, - "name": "EditSAMLConfigurationForm_updateMutation", - "operationKind": "mutation", - "text": "mutation EditSAMLConfigurationForm_updateMutation(\n $input: UpdateSAMLConfigurationInput!\n) {\n updateSAMLConfiguration(input: $input) {\n samlConfiguration {\n id\n emailDomain\n enforcementPolicy\n domainVerificationToken\n domainVerifiedAt\n testLoginUrl\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "b98e701514c179bba0f0ce63aae0c0b8"; - -export default node; diff --git a/apps/console/src/__generated__/iam/GeneralSettingsPageQuery.graphql.ts b/apps/console/src/__generated__/iam/GeneralSettingsPageQuery.graphql.ts deleted file mode 100644 index d7b859cd8..000000000 --- a/apps/console/src/__generated__/iam/GeneralSettingsPageQuery.graphql.ts +++ /dev/null @@ -1,227 +0,0 @@ -/** - * @generated SignedSource<<125407dec78c8db89ee91aa12a097cf0>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type GeneralSettingsPageQuery$variables = { - organizationId: string; -}; -export type GeneralSettingsPageQuery$data = { - readonly organization: { - readonly __typename: "Organization"; - readonly canDelete: boolean; - readonly id: string; - readonly name: string; - readonly " $fragmentSpreads": FragmentRefs<"OrganizationFormFragment">; - } | { - // This will never be '%other', but we need some - // value in case none of the concrete values match. - readonly __typename: "%other"; - }; -}; -export type GeneralSettingsPageQuery = { - response: GeneralSettingsPageQuery$data; - variables: GeneralSettingsPageQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}, -v5 = { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "iam:organization:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"iam:organization:delete\")" -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "GeneralSettingsPageQuery", - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/), - { - "kind": "RequiredField", - "field": (v4/*: any*/), - "action": "THROW" - }, - (v5/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "OrganizationFormFragment" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "GeneralSettingsPageQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v3/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v4/*: any*/), - (v5/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "logoUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "horizontalLogoUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "email", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "headquarterAddress", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "iam:organization:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"iam:organization:update\")" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "0d8f14524ef2e72d138e5bb5a42a8f8d", - "id": null, - "metadata": {}, - "name": "GeneralSettingsPageQuery", - "operationKind": "query", - "text": "query GeneralSettingsPageQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n ... on Organization {\n id\n name\n canDelete: permission(action: \"iam:organization:delete\")\n ...OrganizationFormFragment\n }\n id\n }\n}\n\nfragment OrganizationFormFragment on Organization {\n id\n name\n logoUrl\n horizontalLogoUrl\n description\n websiteUrl\n email\n headquarterAddress\n canUpdate: permission(action: \"iam:organization:update\")\n}\n" - } -}; -})(); - -(node as any).hash = "307473752dd5dc91caaa7536b7b3e69a"; - -export default node; diff --git a/apps/console/src/__generated__/iam/GeneralSettingsPage_deleteMutation.graphql.ts b/apps/console/src/__generated__/iam/GeneralSettingsPage_deleteMutation.graphql.ts deleted file mode 100644 index 2630e9695..000000000 --- a/apps/console/src/__generated__/iam/GeneralSettingsPage_deleteMutation.graphql.ts +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @generated SignedSource<<71619b1be320df410e3ebe2157b11ed4>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteOrganizationInput = { - organizationId: string; -}; -export type GeneralSettingsPage_deleteMutation$variables = { - connections: ReadonlyArray; - input: DeleteOrganizationInput; -}; -export type GeneralSettingsPage_deleteMutation$data = { - readonly deleteOrganization: { - readonly deletedOrganizationId: string; - } | null | undefined; -}; -export type GeneralSettingsPage_deleteMutation = { - response: GeneralSettingsPage_deleteMutation$data; - variables: GeneralSettingsPage_deleteMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedOrganizationId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "GeneralSettingsPage_deleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteOrganizationPayload", - "kind": "LinkedField", - "name": "deleteOrganization", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "GeneralSettingsPage_deleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteOrganizationPayload", - "kind": "LinkedField", - "name": "deleteOrganization", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedOrganizationId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "53d34f4a9fe61e454f0ca80e8f34d88a", - "id": null, - "metadata": {}, - "name": "GeneralSettingsPage_deleteMutation", - "operationKind": "mutation", - "text": "mutation GeneralSettingsPage_deleteMutation(\n $input: DeleteOrganizationInput!\n) {\n deleteOrganization(input: $input) {\n deletedOrganizationId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "c473475817881aaa4adee8f183faf580"; - -export default node; diff --git a/apps/console/src/__generated__/iam/InvitationCardFragment.graphql.ts b/apps/console/src/__generated__/iam/InvitationCardFragment.graphql.ts deleted file mode 100644 index c9b260a60..000000000 --- a/apps/console/src/__generated__/iam/InvitationCardFragment.graphql.ts +++ /dev/null @@ -1,89 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type MembershipRole = "ADMIN" | "AUDITOR" | "EMPLOYEE" | "OWNER" | "VIEWER"; -import { FragmentRefs } from "relay-runtime"; -export type InvitationCardFragment$data = { - readonly createdAt: string; - readonly id: string; - readonly organization: { - readonly id: string; - readonly name: string; - }; - readonly role: MembershipRole; - readonly " $fragmentType": "InvitationCardFragment"; -}; -export type InvitationCardFragment$key = { - readonly " $data"?: InvitationCardFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"InvitationCardFragment">; -}; - -const node: ReaderFragment = (function(){ -var v0 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "InvitationCardFragment", - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "role", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "Organization", - "kind": "LinkedField", - "name": "organization", - "plural": false, - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "type": "Invitation", - "abstractKey": null -}; -})(); - -(node as any).hash = "57aedeabc62e474c6e5b995af1d31888"; - -export default node; diff --git a/apps/console/src/__generated__/iam/InvitationCardMutation.graphql.ts b/apps/console/src/__generated__/iam/InvitationCardMutation.graphql.ts deleted file mode 100644 index 246dcbd9c..000000000 --- a/apps/console/src/__generated__/iam/InvitationCardMutation.graphql.ts +++ /dev/null @@ -1,118 +0,0 @@ -/** - * @generated SignedSource<<8c8ece60966bd2f39668d4ee4459ae86>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type AcceptInvitationInput = { - invitationId: string; -}; -export type InvitationCardMutation$variables = { - input: AcceptInvitationInput; -}; -export type InvitationCardMutation$data = { - readonly acceptInvitation: { - readonly membershipEdge: { - readonly node: { - readonly id: string; - }; - }; - } | null | undefined; -}; -export type InvitationCardMutation = { - response: InvitationCardMutation$data; - variables: InvitationCardMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "AcceptInvitationPayload", - "kind": "LinkedField", - "name": "acceptInvitation", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "MembershipEdge", - "kind": "LinkedField", - "name": "membershipEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Membership", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "InvitationCardMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "InvitationCardMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "592fad5ce23af0f457d7e0ccf5f7123f", - "id": null, - "metadata": {}, - "name": "InvitationCardMutation", - "operationKind": "mutation", - "text": "mutation InvitationCardMutation(\n $input: AcceptInvitationInput!\n) {\n acceptInvitation(input: $input) {\n membershipEdge {\n node {\n id\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "00a20b1db5dd8e98838c8c9659560bb9"; - -export default node; diff --git a/apps/console/src/__generated__/iam/InvitationListFragment.graphql.ts b/apps/console/src/__generated__/iam/InvitationListFragment.graphql.ts deleted file mode 100644 index 6f0ecd6cc..000000000 --- a/apps/console/src/__generated__/iam/InvitationListFragment.graphql.ts +++ /dev/null @@ -1,238 +0,0 @@ -/** - * @generated SignedSource<<37b59716fa1aba5ed805ce03278ce01d>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type InvitationListFragment$data = { - readonly id: string; - readonly invitations: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"InvitationListItemFragment">; - }; - }>; - readonly totalCount: number | null | undefined; - }; - readonly " $fragmentType": "InvitationListFragment"; -}; -export type InvitationListFragment$key = { - readonly " $data"?: InvitationListFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"InvitationListFragment">; -}; - -import InvitationListFragment_RefetchQuery_graphql from './InvitationListFragment_RefetchQuery.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "invitations" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" - }, - { - "defaultValue": 20, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" - }, - { - "defaultValue": { - "direction": "ASC", - "field": "CREATED_AT" - }, - "kind": "LocalArgument", - "name": "order" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "bidirectional", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": { - "count": "last", - "cursor": "before" - }, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": InvitationListFragment_RefetchQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "InvitationListFragment", - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": "invitations", - "args": null, - "concreteType": "InvitationConnection", - "kind": "LinkedField", - "name": "__InvitationListFragment_invitations_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - }, - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "InvitationEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Invitation", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "InvitationListItemFragment" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - "action": "THROW" - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - "action": "THROW" - }, - (v1/*: any*/) - ], - "type": "Organization", - "abstractKey": null -}; -})(); - -(node as any).hash = "6a1b77bc8b0e5f345de9865ec78ef7e9"; - -export default node; diff --git a/apps/console/src/__generated__/iam/InvitationListFragment_RefetchQuery.graphql.ts b/apps/console/src/__generated__/iam/InvitationListFragment_RefetchQuery.graphql.ts deleted file mode 100644 index 2a2ca9684..000000000 --- a/apps/console/src/__generated__/iam/InvitationListFragment_RefetchQuery.graphql.ts +++ /dev/null @@ -1,386 +0,0 @@ -/** - * @generated SignedSource<<26a05edf635e281469d5498e24879e00>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type InvitationOrderField = "ACCEPTED_AT" | "CREATED_AT" | "EMAIL" | "EXPIRES_AT" | "ROLE"; -export type OrderDirection = "ASC" | "DESC"; -export type InvitationOrder = { - direction: OrderDirection; - field: InvitationOrderField; -}; -export type InvitationListFragment_RefetchQuery$variables = { - after?: string | null | undefined; - before?: string | null | undefined; - first?: number | null | undefined; - id: string; - last?: number | null | undefined; - order?: InvitationOrder | null | undefined; -}; -export type InvitationListFragment_RefetchQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"InvitationListFragment">; - } | null | undefined; -}; -export type InvitationListFragment_RefetchQuery = { - response: InvitationListFragment_RefetchQuery$data; - variables: InvitationListFragment_RefetchQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" -}, -v2 = { - "defaultValue": 20, - "kind": "LocalArgument", - "name": "first" -}, -v3 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v4 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" -}, -v5 = { - "defaultValue": { - "direction": "ASC", - "field": "CREATED_AT" - }, - "kind": "LocalArgument", - "name": "order" -}, -v6 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v7 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v8 = { - "kind": "Variable", - "name": "before", - "variableName": "before" -}, -v9 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v10 = { - "kind": "Variable", - "name": "last", - "variableName": "last" -}, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v12 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v13 = [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "InvitationListFragment_RefetchQuery", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "order", - "variableName": "order" - } - ], - "kind": "FragmentSpread", - "name": "InvitationListFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v3/*: any*/) - ], - "kind": "Operation", - "name": "InvitationListFragment_RefetchQuery", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v11/*: any*/), - (v12/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v13/*: any*/), - "concreteType": "InvitationConnection", - "kind": "LinkedField", - "name": "invitations", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "InvitationEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Invitation", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v12/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "email", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "role", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "expiresAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "acceptedAt", - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "iam:invitation:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"iam:invitation:delete\")" - }, - (v11/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v13/*: any*/), - "filters": [], - "handle": "connection", - "key": "InvitationListFragment_invitations", - "kind": "LinkedHandle", - "name": "invitations" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "2f419e2fcb92f5a188dcd35ff5661fd7", - "id": null, - "metadata": {}, - "name": "InvitationListFragment_RefetchQuery", - "operationKind": "query", - "text": "query InvitationListFragment_RefetchQuery(\n $after: CursorKey = null\n $before: CursorKey = null\n $first: Int = 20\n $last: Int = null\n $order: InvitationOrder = {direction: ASC, field: CREATED_AT}\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...InvitationListFragment_16fISc\n id\n }\n}\n\nfragment InvitationListFragment_16fISc on Organization {\n invitations(first: $first, after: $after, last: $last, before: $before, orderBy: $order) {\n totalCount\n edges {\n node {\n id\n ...InvitationListItemFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n\nfragment InvitationListItemFragment on Invitation {\n id\n fullName\n email\n role\n status\n createdAt\n expiresAt\n acceptedAt\n canDelete: permission(action: \"iam:invitation:delete\")\n}\n" - } -}; -})(); - -(node as any).hash = "6a1b77bc8b0e5f345de9865ec78ef7e9"; - -export default node; diff --git a/apps/console/src/__generated__/iam/InvitationListItemFragment.graphql.ts b/apps/console/src/__generated__/iam/InvitationListItemFragment.graphql.ts deleted file mode 100644 index 8760b5721..000000000 --- a/apps/console/src/__generated__/iam/InvitationListItemFragment.graphql.ts +++ /dev/null @@ -1,114 +0,0 @@ -/** - * @generated SignedSource<<5b60de19e893c841d45ecd555eecf65a>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type InvitationStatus = "ACCEPTED" | "EXPIRED" | "PENDING"; -export type MembershipRole = "ADMIN" | "AUDITOR" | "EMPLOYEE" | "OWNER" | "VIEWER"; -import { FragmentRefs } from "relay-runtime"; -export type InvitationListItemFragment$data = { - readonly acceptedAt: string | null | undefined; - readonly canDelete: boolean; - readonly createdAt: string; - readonly email: string; - readonly expiresAt: string; - readonly fullName: string; - readonly id: string; - readonly role: MembershipRole; - readonly status: InvitationStatus; - readonly " $fragmentType": "InvitationListItemFragment"; -}; -export type InvitationListItemFragment$key = { - readonly " $data"?: InvitationListItemFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"InvitationListItemFragment">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "InvitationListItemFragment", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "email", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "role", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "expiresAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "acceptedAt", - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "iam:invitation:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"iam:invitation:delete\")" - } - ], - "type": "Invitation", - "abstractKey": null -}; - -(node as any).hash = "c0e21d5dd227cd3fff739dc9f0922657"; - -export default node; diff --git a/apps/console/src/__generated__/iam/InvitationListItem_DeleteInvitationMutation.graphql.ts b/apps/console/src/__generated__/iam/InvitationListItem_DeleteInvitationMutation.graphql.ts deleted file mode 100644 index e86a9f30d..000000000 --- a/apps/console/src/__generated__/iam/InvitationListItem_DeleteInvitationMutation.graphql.ts +++ /dev/null @@ -1,133 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteInvitationInput = { - invitationId: string; - organizationId: string; -}; -export type InvitationListItem_DeleteInvitationMutation$variables = { - connections: ReadonlyArray; - input: DeleteInvitationInput; -}; -export type InvitationListItem_DeleteInvitationMutation$data = { - readonly deleteInvitation: { - readonly deletedInvitationId: string; - } | null | undefined; -}; -export type InvitationListItem_DeleteInvitationMutation = { - response: InvitationListItem_DeleteInvitationMutation$data; - variables: InvitationListItem_DeleteInvitationMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedInvitationId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "InvitationListItem_DeleteInvitationMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteInvitationPayload", - "kind": "LinkedField", - "name": "deleteInvitation", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "InvitationListItem_DeleteInvitationMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteInvitationPayload", - "kind": "LinkedField", - "name": "deleteInvitation", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedInvitationId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "35736b4156c15bb9eeb863b4d40fc4e6", - "id": null, - "metadata": {}, - "name": "InvitationListItem_DeleteInvitationMutation", - "operationKind": "mutation", - "text": "mutation InvitationListItem_DeleteInvitationMutation(\n $input: DeleteInvitationInput!\n) {\n deleteInvitation(input: $input) {\n deletedInvitationId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "2191c08f6c6bf5bace0d70a6481124bb"; - -export default node; diff --git a/apps/console/src/__generated__/iam/InviteUserDialogMutation.graphql.ts b/apps/console/src/__generated__/iam/InviteUserDialogMutation.graphql.ts deleted file mode 100644 index 7cb5e6059..000000000 --- a/apps/console/src/__generated__/iam/InviteUserDialogMutation.graphql.ts +++ /dev/null @@ -1,224 +0,0 @@ -/** - * @generated SignedSource<<14b3e1990be5f8333046dffcada56516>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type MembershipRole = "ADMIN" | "AUDITOR" | "EMPLOYEE" | "OWNER" | "VIEWER"; -export type InviteMemberInput = { - email: string; - fullName: string; - organizationId: string; - role: MembershipRole; -}; -export type InviteUserDialogMutation$variables = { - connections: ReadonlyArray; - input: InviteMemberInput; -}; -export type InviteUserDialogMutation$data = { - readonly inviteMember: { - readonly invitationEdge: { - readonly node: { - readonly acceptedAt: string | null | undefined; - readonly canDelete: boolean; - readonly createdAt: string; - readonly email: string; - readonly expiresAt: string; - readonly fullName: string; - readonly id: string; - readonly role: MembershipRole; - }; - }; - } | null | undefined; -}; -export type InviteUserDialogMutation = { - response: InviteUserDialogMutation$data; - variables: InviteUserDialogMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "concreteType": "InvitationEdge", - "kind": "LinkedField", - "name": "invitationEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Invitation", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "email", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "role", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "expiresAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "acceptedAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "iam:invitation:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"iam:invitation:delete\")" - } - ], - "storageKey": null - } - ], - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "InviteUserDialogMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "InviteMemberPayload", - "kind": "LinkedField", - "name": "inviteMember", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "InviteUserDialogMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "InviteMemberPayload", - "kind": "LinkedField", - "name": "inviteMember", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "invitationEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "8d9e447c08739bef2460474225fb77bf", - "id": null, - "metadata": {}, - "name": "InviteUserDialogMutation", - "operationKind": "mutation", - "text": "mutation InviteUserDialogMutation(\n $input: InviteMemberInput!\n) {\n inviteMember(input: $input) {\n invitationEdge {\n node {\n id\n email\n fullName\n role\n expiresAt\n acceptedAt\n createdAt\n canDelete: permission(action: \"iam:invitation:delete\")\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "dc2446f51b33dbab3a348e1250a25049"; - -export default node; diff --git a/apps/console/src/__generated__/iam/InviteUserDialog_currentRoleFragment.graphql.ts b/apps/console/src/__generated__/iam/InviteUserDialog_currentRoleFragment.graphql.ts deleted file mode 100644 index b9981c585..000000000 --- a/apps/console/src/__generated__/iam/InviteUserDialog_currentRoleFragment.graphql.ts +++ /dev/null @@ -1,60 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type MembershipRole = "ADMIN" | "AUDITOR" | "EMPLOYEE" | "OWNER" | "VIEWER"; -import { FragmentRefs } from "relay-runtime"; -export type InviteUserDialog_currentRoleFragment$data = { - readonly viewerMembership: { - readonly role: MembershipRole; - }; - readonly " $fragmentType": "InviteUserDialog_currentRoleFragment"; -}; -export type InviteUserDialog_currentRoleFragment$key = { - readonly " $data"?: InviteUserDialog_currentRoleFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"InviteUserDialog_currentRoleFragment">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "InviteUserDialog_currentRoleFragment", - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "Membership", - "kind": "LinkedField", - "name": "viewerMembership", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "role", - "storageKey": null - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "type": "Organization", - "abstractKey": null -}; - -(node as any).hash = "167528734d4ad650128d5ed8f201c97e"; - -export default node; diff --git a/apps/console/src/__generated__/iam/MemberListFragment.graphql.ts b/apps/console/src/__generated__/iam/MemberListFragment.graphql.ts deleted file mode 100644 index 99901ad1d..000000000 --- a/apps/console/src/__generated__/iam/MemberListFragment.graphql.ts +++ /dev/null @@ -1,244 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type MemberListFragment$data = { - readonly id: string; - readonly members: { - readonly __id: string; - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"MemberListItemFragment">; - }; - }>; - readonly totalCount: number | null | undefined; - }; - readonly " $fragmentType": "MemberListFragment"; -}; -export type MemberListFragment$key = { - readonly " $data"?: MemberListFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"MemberListFragment">; -}; - -import MemberListFragment_RefetchQuery_graphql from './MemberListFragment_RefetchQuery.graphql'; - -const node: ReaderFragment = (function(){ -var v0 = [ - "members" -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" - }, - { - "defaultValue": 20, - "kind": "LocalArgument", - "name": "first" - }, - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" - }, - { - "defaultValue": { - "direction": "ASC", - "field": "CREATED_AT" - }, - "kind": "LocalArgument", - "name": "order" - } - ], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "bidirectional", - "path": (v0/*: any*/) - } - ], - "refetch": { - "connection": { - "forward": { - "count": "first", - "cursor": "after" - }, - "backward": { - "count": "last", - "cursor": "before" - }, - "path": (v0/*: any*/) - }, - "fragmentPathInResult": [ - "node" - ], - "operation": MemberListFragment_RefetchQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "MemberListFragment", - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": "members", - "args": [ - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } - ], - "concreteType": "MembershipConnection", - "kind": "LinkedField", - "name": "__MemberListFragment_members_connection", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - }, - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "MembershipEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Membership", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "MemberListItemFragment" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - "action": "THROW" - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - "action": "THROW" - }, - (v1/*: any*/) - ], - "type": "Organization", - "abstractKey": null -}; -})(); - -(node as any).hash = "763331f25e735e2645b0c6949ecad362"; - -export default node; diff --git a/apps/console/src/__generated__/iam/MemberListFragment_RefetchQuery.graphql.ts b/apps/console/src/__generated__/iam/MemberListFragment_RefetchQuery.graphql.ts deleted file mode 100644 index 186d3b6e1..000000000 --- a/apps/console/src/__generated__/iam/MemberListFragment_RefetchQuery.graphql.ts +++ /dev/null @@ -1,411 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type MembershipOrderField = "CREATED_AT" | "ROLE"; -export type OrderDirection = "ASC" | "DESC"; -export type MembershipOrder = { - direction: OrderDirection; - field: MembershipOrderField; -}; -export type MemberListFragment_RefetchQuery$variables = { - after?: string | null | undefined; - before?: string | null | undefined; - first?: number | null | undefined; - id: string; - last?: number | null | undefined; - order?: MembershipOrder | null | undefined; -}; -export type MemberListFragment_RefetchQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"MemberListFragment">; - } | null | undefined; -}; -export type MemberListFragment_RefetchQuery = { - response: MemberListFragment_RefetchQuery$data; - variables: MemberListFragment_RefetchQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "after" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "before" -}, -v2 = { - "defaultValue": 20, - "kind": "LocalArgument", - "name": "first" -}, -v3 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v4 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "last" -}, -v5 = { - "defaultValue": { - "direction": "ASC", - "field": "CREATED_AT" - }, - "kind": "LocalArgument", - "name": "order" -}, -v6 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -], -v7 = { - "kind": "Variable", - "name": "after", - "variableName": "after" -}, -v8 = { - "kind": "Variable", - "name": "before", - "variableName": "before" -}, -v9 = { - "kind": "Variable", - "name": "first", - "variableName": "first" -}, -v10 = { - "kind": "Variable", - "name": "last", - "variableName": "last" -}, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v12 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v13 = [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "orderBy", - "variableName": "order" - } -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v3/*: any*/), - (v4/*: any*/), - (v5/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "MemberListFragment_RefetchQuery", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - (v7/*: any*/), - (v8/*: any*/), - (v9/*: any*/), - (v10/*: any*/), - { - "kind": "Variable", - "name": "order", - "variableName": "order" - } - ], - "kind": "FragmentSpread", - "name": "MemberListFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/), - (v2/*: any*/), - (v4/*: any*/), - (v5/*: any*/), - (v3/*: any*/) - ], - "kind": "Operation", - "name": "MemberListFragment_RefetchQuery", - "selections": [ - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v11/*: any*/), - (v12/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": (v13/*: any*/), - "concreteType": "MembershipConnection", - "kind": "LinkedField", - "name": "members", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "MembershipEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Membership", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v12/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "role", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "source", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "MembershipProfile", - "kind": "LinkedField", - "name": "profile", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - }, - (v12/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Identity", - "kind": "LinkedField", - "name": "identity", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "email", - "storageKey": null - }, - (v12/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "iam:membership:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"iam:membership:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "iam:membership:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"iam:membership:delete\")" - }, - (v11/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] - } - ], - "storageKey": null - }, - { - "alias": null, - "args": (v13/*: any*/), - "filters": [ - "orderBy" - ], - "handle": "connection", - "key": "MemberListFragment_members", - "kind": "LinkedHandle", - "name": "members" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "bdedd349fa3a3dec43d7cb6171d1cc6d", - "id": null, - "metadata": {}, - "name": "MemberListFragment_RefetchQuery", - "operationKind": "query", - "text": "query MemberListFragment_RefetchQuery(\n $after: CursorKey = null\n $before: CursorKey = null\n $first: Int = 20\n $last: Int = null\n $order: MembershipOrder = {direction: ASC, field: CREATED_AT}\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...MemberListFragment_16fISc\n id\n }\n}\n\nfragment MemberListFragment_16fISc on Organization {\n members(first: $first, after: $after, last: $last, before: $before, orderBy: $order) {\n totalCount\n edges {\n node {\n id\n ...MemberListItemFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n\nfragment MemberListItemFragment on Membership {\n id\n role\n source\n profile {\n fullName\n id\n }\n identity {\n email\n id\n }\n createdAt\n canUpdate: permission(action: \"iam:membership:update\")\n canDelete: permission(action: \"iam:membership:delete\")\n}\n" - } -}; -})(); - -(node as any).hash = "763331f25e735e2645b0c6949ecad362"; - -export default node; diff --git a/apps/console/src/__generated__/iam/MemberListItemFragment.graphql.ts b/apps/console/src/__generated__/iam/MemberListItemFragment.graphql.ts deleted file mode 100644 index fd4112573..000000000 --- a/apps/console/src/__generated__/iam/MemberListItemFragment.graphql.ts +++ /dev/null @@ -1,146 +0,0 @@ -/** - * @generated SignedSource<<8ffe3696f618050456f80b7a7098a882>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type MembershipRole = "ADMIN" | "AUDITOR" | "EMPLOYEE" | "OWNER" | "VIEWER"; -export type MembershipSource = "MANUAL" | "SAML"; -import { FragmentRefs } from "relay-runtime"; -export type MemberListItemFragment$data = { - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly createdAt: string; - readonly id: string; - readonly identity: { - readonly email: string; - }; - readonly profile: { - readonly fullName: string; - }; - readonly role: MembershipRole; - readonly source: MembershipSource; - readonly " $fragmentType": "MemberListItemFragment"; -}; -export type MemberListItemFragment$key = { - readonly " $data"?: MemberListItemFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"MemberListItemFragment">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "MemberListItemFragment", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "role", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "source", - "storageKey": null - }, - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "MembershipProfile", - "kind": "LinkedField", - "name": "profile", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - "action": "THROW" - }, - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "Identity", - "kind": "LinkedField", - "name": "identity", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "email", - "storageKey": null - } - ], - "storageKey": null - }, - "action": "THROW" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "iam:membership:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"iam:membership:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "iam:membership:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"iam:membership:delete\")" - } - ], - "type": "Membership", - "abstractKey": null -}; - -(node as any).hash = "573655b969ddacac10dc8beb4585a4a1"; - -export default node; diff --git a/apps/console/src/__generated__/iam/MemberListItem_removeMutation.graphql.ts b/apps/console/src/__generated__/iam/MemberListItem_removeMutation.graphql.ts deleted file mode 100644 index b2f142f0d..000000000 --- a/apps/console/src/__generated__/iam/MemberListItem_removeMutation.graphql.ts +++ /dev/null @@ -1,133 +0,0 @@ -/** - * @generated SignedSource<<1eebc63e903c6dd5ab9f0178d2aaaa90>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type RemoveMemberInput = { - membershipId: string; - organizationId: string; -}; -export type MemberListItem_removeMutation$variables = { - connections: ReadonlyArray; - input: RemoveMemberInput; -}; -export type MemberListItem_removeMutation$data = { - readonly removeMember: { - readonly deletedMembershipId: string; - } | null | undefined; -}; -export type MemberListItem_removeMutation = { - response: MemberListItem_removeMutation$data; - variables: MemberListItem_removeMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedMembershipId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "MemberListItem_removeMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "RemoveMemberPayload", - "kind": "LinkedField", - "name": "removeMember", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "MemberListItem_removeMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "RemoveMemberPayload", - "kind": "LinkedField", - "name": "removeMember", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedMembershipId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "6bf37e12e069385eabd2bba63e0e980f", - "id": null, - "metadata": {}, - "name": "MemberListItem_removeMutation", - "operationKind": "mutation", - "text": "mutation MemberListItem_removeMutation(\n $input: RemoveMemberInput!\n) {\n removeMember(input: $input) {\n deletedMembershipId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "9732b5ce9ca9de5c31e71a690e1763ed"; - -export default node; diff --git a/apps/console/src/__generated__/iam/MembersPageQuery.graphql.ts b/apps/console/src/__generated__/iam/MembersPageQuery.graphql.ts deleted file mode 100644 index 4f01330b3..000000000 --- a/apps/console/src/__generated__/iam/MembersPageQuery.graphql.ts +++ /dev/null @@ -1,531 +0,0 @@ -/** - * @generated SignedSource<<0f7c89bd92b5743593efd542812568a7>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type MembersPageQuery$variables = { - organizationId: string; -}; -export type MembersPageQuery$data = { - readonly organization: { - readonly __typename: "Organization"; - readonly canInviteUser: boolean; - readonly invitations: { - readonly totalCount: number | null | undefined; - }; - readonly members: { - readonly totalCount: number | null | undefined; - }; - readonly " $fragmentSpreads": FragmentRefs<"InvitationListFragment" | "InviteUserDialog_currentRoleFragment" | "MemberListFragment">; - } | { - // This will never be '%other', but we need some - // value in case none of the concrete values match. - readonly __typename: "%other"; - }; -}; -export type MembersPageQuery = { - response: MembersPageQuery$data; - variables: MembersPageQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v3 = { - "kind": "Literal", - "name": "first", - "value": 20 -}, -v4 = { - "direction": "ASC", - "field": "CREATED_AT" -}, -v5 = [ - (v3/*: any*/), - { - "kind": "Literal", - "name": "order", - "value": (v4/*: any*/) - } -], -v6 = [ - (v3/*: any*/), - { - "kind": "Literal", - "name": "orderBy", - "value": (v4/*: any*/) - } -], -v7 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null -}, -v8 = [ - (v7/*: any*/) -], -v9 = { - "alias": "canInviteUser", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "iam:invitation:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"iam:invitation:create\")" -}, -v10 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v11 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "role", - "storageKey": null -}, -v12 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null -}, -v13 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "email", - "storageKey": null -}, -v14 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null -}, -v15 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null -}, -v16 = { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasPreviousPage", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "startCursor", - "storageKey": null - } - ], - "storageKey": null -}, -v17 = { - "kind": "ClientExtension", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__id", - "storageKey": null - } - ] -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "MembersPageQuery", - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "args": null, - "kind": "FragmentSpread", - "name": "InviteUserDialog_currentRoleFragment" - }, - { - "args": (v5/*: any*/), - "kind": "FragmentSpread", - "name": "MemberListFragment" - }, - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": (v6/*: any*/), - "concreteType": "MembershipConnection", - "kind": "LinkedField", - "name": "members", - "plural": false, - "selections": (v8/*: any*/), - "storageKey": "members(first:20,orderBy:{\"direction\":\"ASC\",\"field\":\"CREATED_AT\"})" - }, - "action": "THROW" - }, - { - "args": (v5/*: any*/), - "kind": "FragmentSpread", - "name": "InvitationListFragment" - }, - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": (v6/*: any*/), - "concreteType": "InvitationConnection", - "kind": "LinkedField", - "name": "invitations", - "plural": false, - "selections": (v8/*: any*/), - "storageKey": "invitations(first:20,orderBy:{\"direction\":\"ASC\",\"field\":\"CREATED_AT\"})" - }, - "action": "THROW" - }, - (v9/*: any*/) - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "MembersPageQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - (v10/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Membership", - "kind": "LinkedField", - "name": "viewerMembership", - "plural": false, - "selections": [ - (v11/*: any*/), - (v10/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": "MembershipConnection", - "kind": "LinkedField", - "name": "members", - "plural": false, - "selections": [ - (v7/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "MembershipEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Membership", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v10/*: any*/), - (v11/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "source", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "MembershipProfile", - "kind": "LinkedField", - "name": "profile", - "plural": false, - "selections": [ - (v12/*: any*/), - (v10/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Identity", - "kind": "LinkedField", - "name": "identity", - "plural": false, - "selections": [ - (v13/*: any*/), - (v10/*: any*/) - ], - "storageKey": null - }, - (v14/*: any*/), - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "iam:membership:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"iam:membership:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "iam:membership:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"iam:membership:delete\")" - }, - (v2/*: any*/) - ], - "storageKey": null - }, - (v15/*: any*/) - ], - "storageKey": null - }, - (v16/*: any*/), - (v17/*: any*/) - ], - "storageKey": "members(first:20,orderBy:{\"direction\":\"ASC\",\"field\":\"CREATED_AT\"})" - }, - { - "alias": null, - "args": (v6/*: any*/), - "filters": [ - "orderBy" - ], - "handle": "connection", - "key": "MemberListFragment_members", - "kind": "LinkedHandle", - "name": "members" - }, - { - "alias": null, - "args": (v6/*: any*/), - "concreteType": "InvitationConnection", - "kind": "LinkedField", - "name": "invitations", - "plural": false, - "selections": [ - (v7/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "InvitationEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Invitation", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v10/*: any*/), - (v12/*: any*/), - (v13/*: any*/), - (v11/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "status", - "storageKey": null - }, - (v14/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "expiresAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "acceptedAt", - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "iam:invitation:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"iam:invitation:delete\")" - }, - (v2/*: any*/) - ], - "storageKey": null - }, - (v15/*: any*/) - ], - "storageKey": null - }, - (v16/*: any*/), - (v17/*: any*/) - ], - "storageKey": "invitations(first:20,orderBy:{\"direction\":\"ASC\",\"field\":\"CREATED_AT\"})" - }, - { - "alias": null, - "args": (v6/*: any*/), - "filters": [], - "handle": "connection", - "key": "InvitationListFragment_invitations", - "kind": "LinkedHandle", - "name": "invitations" - }, - (v9/*: any*/) - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "b7d449bd737c6165219640affcc0260a", - "id": null, - "metadata": {}, - "name": "MembersPageQuery", - "operationKind": "query", - "text": "query MembersPageQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n ... on Organization {\n ...InviteUserDialog_currentRoleFragment\n ...MemberListFragment_1jRT0c\n members(first: 20, orderBy: {direction: ASC, field: CREATED_AT}) {\n totalCount\n }\n ...InvitationListFragment_1jRT0c\n invitations(first: 20, orderBy: {direction: ASC, field: CREATED_AT}) {\n totalCount\n }\n canInviteUser: permission(action: \"iam:invitation:create\")\n }\n id\n }\n}\n\nfragment InvitationListFragment_1jRT0c on Organization {\n invitations(first: 20, orderBy: {direction: ASC, field: CREATED_AT}) {\n totalCount\n edges {\n node {\n id\n ...InvitationListItemFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n\nfragment InvitationListItemFragment on Invitation {\n id\n fullName\n email\n role\n status\n createdAt\n expiresAt\n acceptedAt\n canDelete: permission(action: \"iam:invitation:delete\")\n}\n\nfragment InviteUserDialog_currentRoleFragment on Organization {\n viewerMembership {\n role\n id\n }\n}\n\nfragment MemberListFragment_1jRT0c on Organization {\n members(first: 20, orderBy: {direction: ASC, field: CREATED_AT}) {\n totalCount\n edges {\n node {\n id\n ...MemberListItemFragment\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n hasPreviousPage\n startCursor\n }\n }\n id\n}\n\nfragment MemberListItemFragment on Membership {\n id\n role\n source\n profile {\n fullName\n id\n }\n identity {\n email\n id\n }\n createdAt\n canUpdate: permission(action: \"iam:membership:update\")\n canDelete: permission(action: \"iam:membership:delete\")\n}\n" - } -}; -})(); - -(node as any).hash = "591a88a5e1b0bd427daff74dc27ac512"; - -export default node; diff --git a/apps/console/src/__generated__/iam/MembershipCardFragment.graphql.ts b/apps/console/src/__generated__/iam/MembershipCardFragment.graphql.ts deleted file mode 100644 index a77adbf87..000000000 --- a/apps/console/src/__generated__/iam/MembershipCardFragment.graphql.ts +++ /dev/null @@ -1,101 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type MembershipCardFragment$data = { - readonly lastSession: { - readonly expiresAt: string; - readonly id: string; - } | null | undefined; - readonly organization: { - readonly id: string; - readonly logoUrl: string | null | undefined; - readonly name: string; - }; - readonly " $fragmentType": "MembershipCardFragment"; -}; -export type MembershipCardFragment$key = { - readonly " $data"?: MembershipCardFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"MembershipCardFragment">; -}; - -const node: ReaderFragment = (function(){ -var v0 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "MembershipCardFragment", - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Session", - "kind": "LinkedField", - "name": "lastSession", - "plural": false, - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "expiresAt", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "Organization", - "kind": "LinkedField", - "name": "organization", - "plural": false, - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "logoUrl", - "storageKey": null - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "type": "Membership", - "abstractKey": null -}; -})(); - -(node as any).hash = "5a2532aed755a94df49c2f9ce0929a1f"; - -export default node; diff --git a/apps/console/src/__generated__/iam/MembershipCard_assumeMutation.graphql.ts b/apps/console/src/__generated__/iam/MembershipCard_assumeMutation.graphql.ts deleted file mode 100644 index aaf659144..000000000 --- a/apps/console/src/__generated__/iam/MembershipCard_assumeMutation.graphql.ts +++ /dev/null @@ -1,145 +0,0 @@ -/** - * @generated SignedSource<<2574b3b6a557336992dff4f923fc0870>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type ReauthenticationReason = "POLICY_REQUIREMENT" | "SENSITIVE_ACTION" | "SESSION_EXPIRED"; -export type AssumeOrganizationSessionInput = { - organizationId: string; -}; -export type MembershipCard_assumeMutation$variables = { - input: AssumeOrganizationSessionInput; -}; -export type MembershipCard_assumeMutation$data = { - readonly assumeOrganizationSession: { - readonly result: { - readonly __typename: "PasswordRequired"; - readonly reason: ReauthenticationReason; - } | { - readonly __typename: "SAMLAuthenticationRequired"; - readonly reason: ReauthenticationReason; - readonly redirectUrl: string; - } | { - // This will never be '%other', but we need some - // value in case none of the concrete values match. - readonly __typename: "%other"; - }; - } | null | undefined; -}; -export type MembershipCard_assumeMutation = { - response: MembershipCard_assumeMutation$data; - variables: MembershipCard_assumeMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "reason", - "storageKey": null -}, -v2 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "AssumeOrganizationSessionPayload", - "kind": "LinkedField", - "name": "assumeOrganizationSession", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": null, - "kind": "LinkedField", - "name": "result", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - { - "kind": "InlineFragment", - "selections": [ - (v1/*: any*/) - ], - "type": "PasswordRequired", - "abstractKey": null - }, - { - "kind": "InlineFragment", - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "redirectUrl", - "storageKey": null - } - ], - "type": "SAMLAuthenticationRequired", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "MembershipCard_assumeMutation", - "selections": (v2/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "MembershipCard_assumeMutation", - "selections": (v2/*: any*/) - }, - "params": { - "cacheID": "0d93c6ee32107a4263a910e21597e982", - "id": null, - "metadata": {}, - "name": "MembershipCard_assumeMutation", - "operationKind": "mutation", - "text": "mutation MembershipCard_assumeMutation(\n $input: AssumeOrganizationSessionInput!\n) {\n assumeOrganizationSession(input: $input) {\n result {\n __typename\n ... on PasswordRequired {\n reason\n }\n ... on SAMLAuthenticationRequired {\n reason\n redirectUrl\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "aa7a5daec98d5fa51a56da0a7e0b2178"; - -export default node; diff --git a/apps/console/src/__generated__/iam/MembershipLayoutQuery.graphql.ts b/apps/console/src/__generated__/iam/MembershipLayoutQuery.graphql.ts deleted file mode 100644 index c3fccbdbb..000000000 --- a/apps/console/src/__generated__/iam/MembershipLayoutQuery.graphql.ts +++ /dev/null @@ -1,633 +0,0 @@ -/** - * @generated SignedSource<<4268d9e187cf29b47f9438cf48cc3e73>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type MembershipRole = "ADMIN" | "AUDITOR" | "EMPLOYEE" | "OWNER" | "VIEWER"; -export type MembershipLayoutQuery$variables = { - hideSidebar: boolean; - organizationId: string; -}; -export type MembershipLayoutQuery$data = { - readonly organization: { - readonly __typename: "Organization"; - readonly viewerMembership: { - readonly profile: { - readonly fullName: string; - }; - readonly role: MembershipRole; - }; - readonly " $fragmentSpreads": FragmentRefs<"MembershipsDropdown_organizationFragment" | "SessionDropdownFragment" | "SidebarFragment">; - } | { - // This will never be '%other', but we need some - // value in case none of the concrete values match. - readonly __typename: "%other"; - }; - readonly viewer: { - readonly email: string; - readonly pendingInvitations: { - readonly totalCount: number; - }; - readonly " $fragmentSpreads": FragmentRefs<"MembershipsDropdown_viewerFragment">; - }; -}; -export type MembershipLayoutQuery = { - response: MembershipLayoutQuery$data; - variables: MembershipLayoutQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "hideSidebar" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" -}, -v2 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "role", - "storageKey": null -}, -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null -}, -v6 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "email", - "storageKey": null -}, -v7 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null -}, -v8 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "MembershipLayoutQuery", - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": "organization", - "args": (v2/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "args": null, - "kind": "FragmentSpread", - "name": "MembershipsDropdown_organizationFragment" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "SessionDropdownFragment" - }, - { - "condition": "hideSidebar", - "kind": "Condition", - "passingValue": false, - "selections": [ - { - "args": null, - "kind": "FragmentSpread", - "name": "SidebarFragment" - } - ] - }, - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "Membership", - "kind": "LinkedField", - "name": "viewerMembership", - "plural": false, - "selections": [ - (v4/*: any*/), - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "MembershipProfile", - "kind": "LinkedField", - "name": "profile", - "plural": false, - "selections": [ - (v5/*: any*/) - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - }, - "action": "THROW" - }, - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "Identity", - "kind": "LinkedField", - "name": "viewer", - "plural": false, - "selections": [ - (v6/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "MembershipsDropdown_viewerFragment" - }, - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "InvitationConnection", - "kind": "LinkedField", - "name": "pendingInvitations", - "plural": false, - "selections": [ - { - "kind": "RequiredField", - "field": (v7/*: any*/), - "action": "THROW" - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "MembershipLayoutQuery", - "selections": [ - { - "alias": "organization", - "args": (v2/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "iam:organization:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"iam:organization:delete\")" - }, - { - "alias": null, - "args": null, - "concreteType": "Membership", - "kind": "LinkedField", - "name": "viewerMembership", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Identity", - "kind": "LinkedField", - "name": "identity", - "plural": false, - "selections": [ - (v6/*: any*/), - (v8/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "MembershipProfile", - "kind": "LinkedField", - "name": "profile", - "plural": false, - "selections": [ - (v5/*: any*/), - (v8/*: any*/) - ], - "storageKey": null - }, - (v8/*: any*/), - (v4/*: any*/) - ], - "storageKey": null - }, - { - "condition": "hideSidebar", - "kind": "Condition", - "passingValue": false, - "selections": [ - { - "alias": "canListMeetings", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:meeting:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:meeting:list\")" - }, - { - "alias": "canListTasks", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:task:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:task:list\")" - }, - { - "alias": "canListMeasures", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:measures:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:measures:list\")" - }, - { - "alias": "canListRisks", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:risk:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:risk:list\")" - }, - { - "alias": "canListFrameworks", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:frameworks:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:frameworks:list\")" - }, - { - "alias": "canListPeople", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:people:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:people:list\")" - }, - { - "alias": "canListVendors", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor:list\")" - }, - { - "alias": "canListDocuments", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document:list\")" - }, - { - "alias": "canListAssets", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:asset:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:asset:list\")" - }, - { - "alias": "canListData", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:datum:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:datum:list\")" - }, - { - "alias": "canListAudits", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:audit:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:audit:list\")" - }, - { - "alias": "canListNonconformities", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:nonconformity:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:nonconformity:list\")" - }, - { - "alias": "canListObligations", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:obligation:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:obligation:list\")" - }, - { - "alias": "canListContinualImprovements", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:continual-improvement:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:continual-improvement:list\")" - }, - { - "alias": "canListProcessingActivities", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:processing-activity:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:processing-activity:list\")" - }, - { - "alias": "canListRightsRequests", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:rights-request:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:rights-request:list\")" - }, - { - "alias": "canListSnapshots", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:snapshot:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:snapshot:list\")" - }, - { - "alias": "canGetTrustCenter", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:trust-center:get" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:trust-center:get\")" - }, - { - "alias": "canUpdateOrganization", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "iam:organization:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"iam:organization:update\")" - }, - { - "alias": "canListStatesOfApplicability", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:state-of-applicability:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:state-of-applicability:list\")" - } - ] - } - ], - "type": "Organization", - "abstractKey": null - }, - (v8/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Identity", - "kind": "LinkedField", - "name": "viewer", - "plural": false, - "selections": [ - (v6/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "InvitationConnection", - "kind": "LinkedField", - "name": "pendingInvitations", - "plural": false, - "selections": [ - (v7/*: any*/) - ], - "storageKey": null - }, - (v8/*: any*/) - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "5f50873fa9c14115e307b43d7c1ae822", - "id": null, - "metadata": {}, - "name": "MembershipLayoutQuery", - "operationKind": "query", - "text": "query MembershipLayoutQuery(\n $organizationId: ID!\n $hideSidebar: Boolean!\n) {\n organization: node(id: $organizationId) {\n __typename\n ... on Organization {\n ...MembershipsDropdown_organizationFragment\n ...SessionDropdownFragment\n ...SidebarFragment @skip(if: $hideSidebar)\n viewerMembership {\n role\n profile {\n fullName\n id\n }\n id\n }\n }\n id\n }\n viewer {\n email\n ...MembershipsDropdown_viewerFragment\n pendingInvitations {\n totalCount\n }\n id\n }\n}\n\nfragment MembershipsDropdown_organizationFragment on Organization {\n name\n}\n\nfragment MembershipsDropdown_viewerFragment on Identity {\n pendingInvitations {\n totalCount\n }\n}\n\nfragment SessionDropdownFragment on Organization {\n canDelete: permission(action: \"iam:organization:delete\")\n viewerMembership {\n identity {\n email\n id\n }\n profile {\n fullName\n id\n }\n id\n }\n}\n\nfragment SidebarFragment on Organization {\n canListMeetings: permission(action: \"core:meeting:list\")\n canListTasks: permission(action: \"core:task:list\")\n canListMeasures: permission(action: \"core:measures:list\")\n canListRisks: permission(action: \"core:risk:list\")\n canListFrameworks: permission(action: \"core:frameworks:list\")\n canListPeople: permission(action: \"core:people:list\")\n canListVendors: permission(action: \"core:vendor:list\")\n canListDocuments: permission(action: \"core:document:list\")\n canListAssets: permission(action: \"core:asset:list\")\n canListData: permission(action: \"core:datum:list\")\n canListAudits: permission(action: \"core:audit:list\")\n canListNonconformities: permission(action: \"core:nonconformity:list\")\n canListObligations: permission(action: \"core:obligation:list\")\n canListContinualImprovements: permission(action: \"core:continual-improvement:list\")\n canListProcessingActivities: permission(action: \"core:processing-activity:list\")\n canListRightsRequests: permission(action: \"core:rights-request:list\")\n canListSnapshots: permission(action: \"core:snapshot:list\")\n canGetTrustCenter: permission(action: \"core:trust-center:get\")\n canUpdateOrganization: permission(action: \"iam:organization:update\")\n canListStatesOfApplicability: permission(action: \"core:state-of-applicability:list\")\n}\n" - } -}; -})(); - -(node as any).hash = "e52fc7540b2908e5b4f2c4cef33b5b81"; - -export default node; diff --git a/apps/console/src/__generated__/iam/MembershipsDropdownMenuItemFragment.graphql.ts b/apps/console/src/__generated__/iam/MembershipsDropdownMenuItemFragment.graphql.ts deleted file mode 100644 index 1e49f94f4..000000000 --- a/apps/console/src/__generated__/iam/MembershipsDropdownMenuItemFragment.graphql.ts +++ /dev/null @@ -1,103 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type MembershipsDropdownMenuItemFragment$data = { - readonly id: string; - readonly lastSession: { - readonly expiresAt: string; - readonly id: string; - } | null | undefined; - readonly organization: { - readonly id: string; - readonly logoUrl: string | null | undefined; - readonly name: string; - }; - readonly " $fragmentType": "MembershipsDropdownMenuItemFragment"; -}; -export type MembershipsDropdownMenuItemFragment$key = { - readonly " $data"?: MembershipsDropdownMenuItemFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"MembershipsDropdownMenuItemFragment">; -}; - -const node: ReaderFragment = (function(){ -var v0 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "MembershipsDropdownMenuItemFragment", - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Session", - "kind": "LinkedField", - "name": "lastSession", - "plural": false, - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "expiresAt", - "storageKey": null - } - ], - "storageKey": null - }, - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "Organization", - "kind": "LinkedField", - "name": "organization", - "plural": false, - "selections": [ - (v0/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "logoUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "type": "Membership", - "abstractKey": null -}; -})(); - -(node as any).hash = "915a6fb0071b4890010401a56f3affa6"; - -export default node; diff --git a/apps/console/src/__generated__/iam/MembershipsDropdownMenuItem_assumeMutation.graphql.ts b/apps/console/src/__generated__/iam/MembershipsDropdownMenuItem_assumeMutation.graphql.ts deleted file mode 100644 index 7a06d5dd3..000000000 --- a/apps/console/src/__generated__/iam/MembershipsDropdownMenuItem_assumeMutation.graphql.ts +++ /dev/null @@ -1,145 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type ReauthenticationReason = "POLICY_REQUIREMENT" | "SENSITIVE_ACTION" | "SESSION_EXPIRED"; -export type AssumeOrganizationSessionInput = { - organizationId: string; -}; -export type MembershipsDropdownMenuItem_assumeMutation$variables = { - input: AssumeOrganizationSessionInput; -}; -export type MembershipsDropdownMenuItem_assumeMutation$data = { - readonly assumeOrganizationSession: { - readonly result: { - readonly __typename: "PasswordRequired"; - readonly reason: ReauthenticationReason; - } | { - readonly __typename: "SAMLAuthenticationRequired"; - readonly reason: ReauthenticationReason; - readonly redirectUrl: string; - } | { - // This will never be '%other', but we need some - // value in case none of the concrete values match. - readonly __typename: "%other"; - }; - } | null | undefined; -}; -export type MembershipsDropdownMenuItem_assumeMutation = { - response: MembershipsDropdownMenuItem_assumeMutation$data; - variables: MembershipsDropdownMenuItem_assumeMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "reason", - "storageKey": null -}, -v2 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "AssumeOrganizationSessionPayload", - "kind": "LinkedField", - "name": "assumeOrganizationSession", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": null, - "kind": "LinkedField", - "name": "result", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - { - "kind": "InlineFragment", - "selections": [ - (v1/*: any*/) - ], - "type": "PasswordRequired", - "abstractKey": null - }, - { - "kind": "InlineFragment", - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "redirectUrl", - "storageKey": null - } - ], - "type": "SAMLAuthenticationRequired", - "abstractKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "MembershipsDropdownMenuItem_assumeMutation", - "selections": (v2/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "MembershipsDropdownMenuItem_assumeMutation", - "selections": (v2/*: any*/) - }, - "params": { - "cacheID": "21ebf9c598bd39f2abcb0ace0d9c0c4b", - "id": null, - "metadata": {}, - "name": "MembershipsDropdownMenuItem_assumeMutation", - "operationKind": "mutation", - "text": "mutation MembershipsDropdownMenuItem_assumeMutation(\n $input: AssumeOrganizationSessionInput!\n) {\n assumeOrganizationSession(input: $input) {\n result {\n __typename\n ... on PasswordRequired {\n reason\n }\n ... on SAMLAuthenticationRequired {\n reason\n redirectUrl\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "416f824d526d3f92797fec0eb9c2e590"; - -export default node; diff --git a/apps/console/src/__generated__/iam/MembershipsDropdownMenuQuery.graphql.ts b/apps/console/src/__generated__/iam/MembershipsDropdownMenuQuery.graphql.ts deleted file mode 100644 index f99afb41c..000000000 --- a/apps/console/src/__generated__/iam/MembershipsDropdownMenuQuery.graphql.ts +++ /dev/null @@ -1,263 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type MembershipsDropdownMenuQuery$variables = Record; -export type MembershipsDropdownMenuQuery$data = { - readonly viewer: { - readonly memberships: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly organization: { - readonly name: string; - }; - readonly " $fragmentSpreads": FragmentRefs<"MembershipsDropdownMenuItemFragment">; - }; - }>; - }; - }; -}; -export type MembershipsDropdownMenuQuery = { - response: MembershipsDropdownMenuQuery$data; - variables: MembershipsDropdownMenuQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "kind": "Literal", - "name": "first", - "value": 1000 - }, - { - "kind": "Literal", - "name": "orderBy", - "value": { - "direction": "DESC", - "field": "CREATED_AT" - } - } -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "MembershipsDropdownMenuQuery", - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "Identity", - "kind": "LinkedField", - "name": "viewer", - "plural": false, - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": (v0/*: any*/), - "concreteType": "MembershipConnection", - "kind": "LinkedField", - "name": "memberships", - "plural": false, - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "MembershipEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "Membership", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "Organization", - "kind": "LinkedField", - "name": "organization", - "plural": false, - "selections": [ - (v2/*: any*/) - ], - "storageKey": null - }, - "action": "THROW" - }, - { - "args": null, - "kind": "FragmentSpread", - "name": "MembershipsDropdownMenuItemFragment" - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "storageKey": "memberships(first:1000,orderBy:{\"direction\":\"DESC\",\"field\":\"CREATED_AT\"})" - }, - "action": "THROW" - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [], - "kind": "Operation", - "name": "MembershipsDropdownMenuQuery", - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Identity", - "kind": "LinkedField", - "name": "viewer", - "plural": false, - "selections": [ - { - "alias": null, - "args": (v0/*: any*/), - "concreteType": "MembershipConnection", - "kind": "LinkedField", - "name": "memberships", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "MembershipEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Membership", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Organization", - "kind": "LinkedField", - "name": "organization", - "plural": false, - "selections": [ - (v2/*: any*/), - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "logoUrl", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Session", - "kind": "LinkedField", - "name": "lastSession", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "expiresAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "memberships(first:1000,orderBy:{\"direction\":\"DESC\",\"field\":\"CREATED_AT\"})" - }, - (v1/*: any*/) - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "edb71632c35f1f8aefa1bb426c81a985", - "id": null, - "metadata": {}, - "name": "MembershipsDropdownMenuQuery", - "operationKind": "query", - "text": "query MembershipsDropdownMenuQuery {\n viewer {\n memberships(first: 1000, orderBy: {direction: DESC, field: CREATED_AT}) {\n edges {\n node {\n id\n organization {\n name\n id\n }\n ...MembershipsDropdownMenuItemFragment\n }\n }\n }\n id\n }\n}\n\nfragment MembershipsDropdownMenuItemFragment on Membership {\n id\n lastSession {\n id\n expiresAt\n }\n organization {\n id\n logoUrl\n name\n }\n}\n" - } -}; -})(); - -(node as any).hash = "aa787b33a7cb3046d30fd638f4850621"; - -export default node; diff --git a/apps/console/src/__generated__/iam/MembershipsDropdown_organizationFragment.graphql.ts b/apps/console/src/__generated__/iam/MembershipsDropdown_organizationFragment.graphql.ts deleted file mode 100644 index 546c98c95..000000000 --- a/apps/console/src/__generated__/iam/MembershipsDropdown_organizationFragment.graphql.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * @generated SignedSource<<84862118e94833cec2ce241e7329ba04>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type MembershipsDropdown_organizationFragment$data = { - readonly name: string; - readonly " $fragmentType": "MembershipsDropdown_organizationFragment"; -}; -export type MembershipsDropdown_organizationFragment$key = { - readonly " $data"?: MembershipsDropdown_organizationFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"MembershipsDropdown_organizationFragment">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "MembershipsDropdown_organizationFragment", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - } - ], - "type": "Organization", - "abstractKey": null -}; - -(node as any).hash = "89ef8f037f10c51776df8e5add87cc29"; - -export default node; diff --git a/apps/console/src/__generated__/iam/MembershipsDropdown_viewerFragment.graphql.ts b/apps/console/src/__generated__/iam/MembershipsDropdown_viewerFragment.graphql.ts deleted file mode 100644 index d2c4d5fdd..000000000 --- a/apps/console/src/__generated__/iam/MembershipsDropdown_viewerFragment.graphql.ts +++ /dev/null @@ -1,63 +0,0 @@ -/** - * @generated SignedSource<<842fffc896db6311ff3c5901eae70176>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type MembershipsDropdown_viewerFragment$data = { - readonly pendingInvitations: { - readonly totalCount: number; - }; - readonly " $fragmentType": "MembershipsDropdown_viewerFragment"; -}; -export type MembershipsDropdown_viewerFragment$key = { - readonly " $data"?: MembershipsDropdown_viewerFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"MembershipsDropdown_viewerFragment">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "MembershipsDropdown_viewerFragment", - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "InvitationConnection", - "kind": "LinkedField", - "name": "pendingInvitations", - "plural": false, - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "totalCount", - "storageKey": null - }, - "action": "THROW" - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "type": "Identity", - "abstractKey": null -}; - -(node as any).hash = "96b64fbc2481273728051e42d74bc8b5"; - -export default node; diff --git a/apps/console/src/__generated__/iam/MembershipsPageQuery.graphql.ts b/apps/console/src/__generated__/iam/MembershipsPageQuery.graphql.ts deleted file mode 100644 index d80724a9d..000000000 --- a/apps/console/src/__generated__/iam/MembershipsPageQuery.graphql.ts +++ /dev/null @@ -1,383 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type MembershipsPageQuery$variables = Record; -export type MembershipsPageQuery$data = { - readonly viewer: { - readonly memberships: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly organization: { - readonly name: string; - }; - readonly " $fragmentSpreads": FragmentRefs<"MembershipCardFragment">; - }; - }>; - }; - readonly pendingInvitations: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"InvitationCardFragment">; - }; - }>; - }; - }; -}; -export type MembershipsPageQuery = { - response: MembershipsPageQuery$data; - variables: MembershipsPageQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "kind": "Literal", - "name": "first", - "value": 1000 - }, - { - "kind": "Literal", - "name": "orderBy", - "value": { - "direction": "DESC", - "field": "CREATED_AT" - } - } -], -v1 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}, -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "MembershipsPageQuery", - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "Identity", - "kind": "LinkedField", - "name": "viewer", - "plural": false, - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": (v0/*: any*/), - "concreteType": "MembershipConnection", - "kind": "LinkedField", - "name": "memberships", - "plural": false, - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "MembershipEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "Membership", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "MembershipCardFragment" - }, - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "Organization", - "kind": "LinkedField", - "name": "organization", - "plural": false, - "selections": [ - (v2/*: any*/) - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "storageKey": "memberships(first:1000,orderBy:{\"direction\":\"DESC\",\"field\":\"CREATED_AT\"})" - }, - "action": "THROW" - }, - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": (v0/*: any*/), - "concreteType": "InvitationConnection", - "kind": "LinkedField", - "name": "pendingInvitations", - "plural": false, - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "InvitationEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "Invitation", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "InvitationCardFragment" - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "storageKey": "pendingInvitations(first:1000,orderBy:{\"direction\":\"DESC\",\"field\":\"CREATED_AT\"})" - }, - "action": "THROW" - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [], - "kind": "Operation", - "name": "MembershipsPageQuery", - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Identity", - "kind": "LinkedField", - "name": "viewer", - "plural": false, - "selections": [ - { - "alias": null, - "args": (v0/*: any*/), - "concreteType": "MembershipConnection", - "kind": "LinkedField", - "name": "memberships", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "MembershipEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Membership", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "concreteType": "Session", - "kind": "LinkedField", - "name": "lastSession", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "expiresAt", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Organization", - "kind": "LinkedField", - "name": "organization", - "plural": false, - "selections": [ - (v1/*: any*/), - (v2/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "logoUrl", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "memberships(first:1000,orderBy:{\"direction\":\"DESC\",\"field\":\"CREATED_AT\"})" - }, - { - "alias": null, - "args": (v0/*: any*/), - "concreteType": "InvitationConnection", - "kind": "LinkedField", - "name": "pendingInvitations", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "InvitationEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Invitation", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v1/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "role", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "Organization", - "kind": "LinkedField", - "name": "organization", - "plural": false, - "selections": [ - (v1/*: any*/), - (v2/*: any*/) - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "pendingInvitations(first:1000,orderBy:{\"direction\":\"DESC\",\"field\":\"CREATED_AT\"})" - }, - (v1/*: any*/) - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "70ba2b8cec46ba8154cf7a6a51e03932", - "id": null, - "metadata": {}, - "name": "MembershipsPageQuery", - "operationKind": "query", - "text": "query MembershipsPageQuery {\n viewer {\n memberships(first: 1000, orderBy: {direction: DESC, field: CREATED_AT}) {\n edges {\n node {\n id\n ...MembershipCardFragment\n organization {\n name\n id\n }\n }\n }\n }\n pendingInvitations(first: 1000, orderBy: {direction: DESC, field: CREATED_AT}) {\n edges {\n node {\n id\n ...InvitationCardFragment\n }\n }\n }\n id\n }\n}\n\nfragment InvitationCardFragment on Invitation {\n id\n role\n createdAt\n organization {\n id\n name\n }\n}\n\nfragment MembershipCardFragment on Membership {\n lastSession {\n id\n expiresAt\n }\n organization {\n id\n name\n logoUrl\n }\n}\n" - } -}; -})(); - -(node as any).hash = "4148521eb3eaba1670a2d181b6d2468f"; - -export default node; diff --git a/apps/console/src/__generated__/iam/NewOrganizationPageMutation.graphql.ts b/apps/console/src/__generated__/iam/NewOrganizationPageMutation.graphql.ts deleted file mode 100644 index 3c0bbc451..000000000 --- a/apps/console/src/__generated__/iam/NewOrganizationPageMutation.graphql.ts +++ /dev/null @@ -1,115 +0,0 @@ -/** - * @generated SignedSource<<3c4bf3ac3f3eff32d0c86fe61190576e>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type CreateOrganizationInput = { - horizontalLogoFile?: any | null | undefined; - logoFile?: any | null | undefined; - name: string; -}; -export type NewOrganizationPageMutation$variables = { - input: CreateOrganizationInput; -}; -export type NewOrganizationPageMutation$data = { - readonly createOrganization: { - readonly organization: { - readonly id: string; - readonly name: string; - } | null | undefined; - } | null | undefined; -}; -export type NewOrganizationPageMutation = { - response: NewOrganizationPageMutation$data; - variables: NewOrganizationPageMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "CreateOrganizationPayload", - "kind": "LinkedField", - "name": "createOrganization", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Organization", - "kind": "LinkedField", - "name": "organization", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "NewOrganizationPageMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "NewOrganizationPageMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "e4d07eba4c1791eeb6e5e1e627c79593", - "id": null, - "metadata": {}, - "name": "NewOrganizationPageMutation", - "operationKind": "mutation", - "text": "mutation NewOrganizationPageMutation(\n $input: CreateOrganizationInput!\n) {\n createOrganization(input: $input) {\n organization {\n id\n name\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "68737a40f2993357fb169e9aac6a4262"; - -export default node; diff --git a/apps/console/src/__generated__/iam/NewSAMLConfigurationForm_createMutation.graphql.ts b/apps/console/src/__generated__/iam/NewSAMLConfigurationForm_createMutation.graphql.ts deleted file mode 100644 index d09fcd0b5..000000000 --- a/apps/console/src/__generated__/iam/NewSAMLConfigurationForm_createMutation.graphql.ts +++ /dev/null @@ -1,211 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type SAMLEnforcementPolicy = "OFF" | "OPTIONAL" | "REQUIRED"; -export type CreateSAMLConfigurationInput = { - attributeMappings?: SAMLAttributeMappingsInput | null | undefined; - autoSignupEnabled: boolean; - emailDomain: string; - idpCertificate: string; - idpEntityId: string; - idpSsoUrl: string; - organizationId: string; -}; -export type SAMLAttributeMappingsInput = { - email?: string | null | undefined; - firstName?: string | null | undefined; - lastName?: string | null | undefined; - role?: string | null | undefined; -}; -export type NewSAMLConfigurationForm_createMutation$variables = { - connections: ReadonlyArray; - input: CreateSAMLConfigurationInput; -}; -export type NewSAMLConfigurationForm_createMutation$data = { - readonly createSAMLConfiguration: { - readonly samlConfigurationEdge: { - readonly node: { - readonly domainVerificationToken: string | null | undefined; - readonly domainVerifiedAt: string | null | undefined; - readonly emailDomain: string; - readonly enforcementPolicy: SAMLEnforcementPolicy; - readonly id: string; - readonly testLoginUrl: string; - }; - }; - } | null | undefined; -}; -export type NewSAMLConfigurationForm_createMutation = { - response: NewSAMLConfigurationForm_createMutation$data; - variables: NewSAMLConfigurationForm_createMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "concreteType": "SAMLConfigurationEdge", - "kind": "LinkedField", - "name": "samlConfigurationEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "SAMLConfiguration", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "emailDomain", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "enforcementPolicy", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "domainVerificationToken", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "domainVerifiedAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "testLoginUrl", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "NewSAMLConfigurationForm_createMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateSAMLConfigurationPayload", - "kind": "LinkedField", - "name": "createSAMLConfiguration", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "NewSAMLConfigurationForm_createMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreateSAMLConfigurationPayload", - "kind": "LinkedField", - "name": "createSAMLConfiguration", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "samlConfigurationEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "969d5fb34995f5cce359c792cbe1ff49", - "id": null, - "metadata": {}, - "name": "NewSAMLConfigurationForm_createMutation", - "operationKind": "mutation", - "text": "mutation NewSAMLConfigurationForm_createMutation(\n $input: CreateSAMLConfigurationInput!\n) {\n createSAMLConfiguration(input: $input) {\n samlConfigurationEdge {\n node {\n id\n emailDomain\n enforcementPolicy\n domainVerificationToken\n domainVerifiedAt\n testLoginUrl\n }\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "5a3b2e5d219b40ca096eece75d7b63b3"; - -export default node; diff --git a/apps/console/src/__generated__/iam/OrganizationFormFragment.graphql.ts b/apps/console/src/__generated__/iam/OrganizationFormFragment.graphql.ts deleted file mode 100644 index 2eb28465a..000000000 --- a/apps/console/src/__generated__/iam/OrganizationFormFragment.graphql.ts +++ /dev/null @@ -1,116 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type OrganizationFormFragment$data = { - readonly canUpdate: boolean; - readonly description: string | null | undefined; - readonly email: string | null | undefined; - readonly headquarterAddress: string | null | undefined; - readonly horizontalLogoUrl: string | null | undefined; - readonly id: string; - readonly logoUrl: string | null | undefined; - readonly name: string; - readonly websiteUrl: string | null | undefined; - readonly " $fragmentType": "OrganizationFormFragment"; -}; -export type OrganizationFormFragment$key = { - readonly " $data"?: OrganizationFormFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"OrganizationFormFragment">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "OrganizationFormFragment", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - "action": "THROW" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "logoUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "horizontalLogoUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "email", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "headquarterAddress", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "iam:organization:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"iam:organization:update\")" - } - ], - "type": "Organization", - "abstractKey": null -}; - -(node as any).hash = "d1a518b08167fdd53901c4b842fa2e9c"; - -export default node; diff --git a/apps/console/src/__generated__/iam/OrganizationForm_deleteHorizontalLogoMutation.graphql.ts b/apps/console/src/__generated__/iam/OrganizationForm_deleteHorizontalLogoMutation.graphql.ts deleted file mode 100644 index 6427d6714..000000000 --- a/apps/console/src/__generated__/iam/OrganizationForm_deleteHorizontalLogoMutation.graphql.ts +++ /dev/null @@ -1,113 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteOrganizationHorizontalLogoInput = { - organizationId: string; -}; -export type OrganizationForm_deleteHorizontalLogoMutation$variables = { - input: DeleteOrganizationHorizontalLogoInput; -}; -export type OrganizationForm_deleteHorizontalLogoMutation$data = { - readonly deleteOrganizationHorizontalLogo: { - readonly organization: { - readonly horizontalLogoUrl: string | null | undefined; - readonly id: string; - }; - } | null | undefined; -}; -export type OrganizationForm_deleteHorizontalLogoMutation = { - response: OrganizationForm_deleteHorizontalLogoMutation$data; - variables: OrganizationForm_deleteHorizontalLogoMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "DeleteOrganizationHorizontalLogoPayload", - "kind": "LinkedField", - "name": "deleteOrganizationHorizontalLogo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Organization", - "kind": "LinkedField", - "name": "organization", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "horizontalLogoUrl", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "OrganizationForm_deleteHorizontalLogoMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "OrganizationForm_deleteHorizontalLogoMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "2ec98faaaf8317f642f5db54c7bbed80", - "id": null, - "metadata": {}, - "name": "OrganizationForm_deleteHorizontalLogoMutation", - "operationKind": "mutation", - "text": "mutation OrganizationForm_deleteHorizontalLogoMutation(\n $input: DeleteOrganizationHorizontalLogoInput!\n) {\n deleteOrganizationHorizontalLogo(input: $input) {\n organization {\n id\n horizontalLogoUrl\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "9ea67e345e506fef9d85ee31bc360d51"; - -export default node; diff --git a/apps/console/src/__generated__/iam/OrganizationForm_updateMutation.graphql.ts b/apps/console/src/__generated__/iam/OrganizationForm_updateMutation.graphql.ts deleted file mode 100644 index 65590121e..000000000 --- a/apps/console/src/__generated__/iam/OrganizationForm_updateMutation.graphql.ts +++ /dev/null @@ -1,168 +0,0 @@ -/** - * @generated SignedSource<<9602c1a0ad55d4889431c8e5f54f4461>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type UpdateOrganizationInput = { - description?: string | null | undefined; - email?: string | null | undefined; - headquarterAddress?: string | null | undefined; - horizontalLogoFile?: any | null | undefined; - logoFile?: any | null | undefined; - name?: string | null | undefined; - organizationId: string; - websiteUrl?: string | null | undefined; -}; -export type OrganizationForm_updateMutation$variables = { - input: UpdateOrganizationInput; -}; -export type OrganizationForm_updateMutation$data = { - readonly updateOrganization: { - readonly organization: { - readonly description: string | null | undefined; - readonly email: string | null | undefined; - readonly headquarterAddress: string | null | undefined; - readonly horizontalLogoUrl: string | null | undefined; - readonly id: string; - readonly logoUrl: string | null | undefined; - readonly name: string; - readonly websiteUrl: string | null | undefined; - } | null | undefined; - } | null | undefined; -}; -export type OrganizationForm_updateMutation = { - response: OrganizationForm_updateMutation$data; - variables: OrganizationForm_updateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "UpdateOrganizationPayload", - "kind": "LinkedField", - "name": "updateOrganization", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Organization", - "kind": "LinkedField", - "name": "organization", - "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": "logoUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "horizontalLogoUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "description", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "websiteUrl", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "email", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "headquarterAddress", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "OrganizationForm_updateMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "OrganizationForm_updateMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "f2a249d13ff38645cb858b494c05c59d", - "id": null, - "metadata": {}, - "name": "OrganizationForm_updateMutation", - "operationKind": "mutation", - "text": "mutation OrganizationForm_updateMutation(\n $input: UpdateOrganizationInput!\n) {\n updateOrganization(input: $input) {\n organization {\n id\n name\n logoUrl\n horizontalLogoUrl\n description\n websiteUrl\n email\n headquarterAddress\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "c4dd7a42f611fa210594017a5a63d159"; - -export default node; diff --git a/apps/console/src/__generated__/iam/PersonalAPIKeyListCreateMutation.graphql.ts b/apps/console/src/__generated__/iam/PersonalAPIKeyListCreateMutation.graphql.ts deleted file mode 100644 index 803955bd0..000000000 --- a/apps/console/src/__generated__/iam/PersonalAPIKeyListCreateMutation.graphql.ts +++ /dev/null @@ -1,193 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type CreatePersonalAPIKeyInput = { - expiresAt: string; - name: string; -}; -export type PersonalAPIKeyListCreateMutation$variables = { - connections: ReadonlyArray; - input: CreatePersonalAPIKeyInput; -}; -export type PersonalAPIKeyListCreateMutation$data = { - readonly createPersonalAPIKey: { - readonly personalAPIKeyEdge: { - readonly node: { - readonly createdAt: string; - readonly expiresAt: string; - readonly id: string; - readonly name: string; - }; - }; - readonly token: string; - } | null | undefined; -}; -export type PersonalAPIKeyListCreateMutation = { - response: PersonalAPIKeyListCreateMutation$data; - variables: PersonalAPIKeyListCreateMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "concreteType": "PersonalAPIKeyEdge", - "kind": "LinkedField", - "name": "personalAPIKeyEdge", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "PersonalAPIKey", - "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": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "expiresAt", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null -}, -v4 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "token", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "PersonalAPIKeyListCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreatePersonalAPIKeyPayload", - "kind": "LinkedField", - "name": "createPersonalAPIKey", - "plural": false, - "selections": [ - (v3/*: any*/), - (v4/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "PersonalAPIKeyListCreateMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "CreatePersonalAPIKeyPayload", - "kind": "LinkedField", - "name": "createPersonalAPIKey", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "prependEdge", - "key": "", - "kind": "LinkedHandle", - "name": "personalAPIKeyEdge", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - }, - (v4/*: any*/) - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "1ec09abe9f3a61e13ba2deacf1a273fb", - "id": null, - "metadata": {}, - "name": "PersonalAPIKeyListCreateMutation", - "operationKind": "mutation", - "text": "mutation PersonalAPIKeyListCreateMutation(\n $input: CreatePersonalAPIKeyInput!\n) {\n createPersonalAPIKey(input: $input) {\n personalAPIKeyEdge {\n node {\n id\n name\n createdAt\n expiresAt\n }\n }\n token\n }\n}\n" - } -}; -})(); - -(node as any).hash = "86df62e5e5f2d9f347f41648d7af9c32"; - -export default node; diff --git a/apps/console/src/__generated__/iam/PersonalAPIKeyListFragment.graphql.ts b/apps/console/src/__generated__/iam/PersonalAPIKeyListFragment.graphql.ts deleted file mode 100644 index 05c0c6eb0..000000000 --- a/apps/console/src/__generated__/iam/PersonalAPIKeyListFragment.graphql.ts +++ /dev/null @@ -1,150 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type PersonalAPIKeyListFragment$data = { - readonly id: string; - readonly personalAPIKeys: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly id: string; - readonly " $fragmentSpreads": FragmentRefs<"PersonalAPIKeyRowFragment">; - }; - }>; - }; - readonly " $fragmentType": "PersonalAPIKeyListFragment"; -}; -export type PersonalAPIKeyListFragment$key = { - readonly " $data"?: PersonalAPIKeyListFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"PersonalAPIKeyListFragment">; -}; - -const node: ReaderFragment = (function(){ -var v0 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "forward", - "path": [ - "personalAPIKeys" - ] - } - ] - }, - "name": "PersonalAPIKeyListFragment", - "selections": [ - (v0/*: any*/), - { - "kind": "RequiredField", - "field": { - "alias": "personalAPIKeys", - "args": null, - "concreteType": "PersonalAPIKeyConnection", - "kind": "LinkedField", - "name": "__PersonalAPIKeyListFragment_personalAPIKeys_connection", - "plural": false, - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "PersonalAPIKeyEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "PersonalAPIKey", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v0/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "PersonalAPIKeyRowFragment" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - "action": "THROW" - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "type": "Identity", - "abstractKey": null -}; -})(); - -(node as any).hash = "eac59db5cdb5d77813236a90e7fb4d94"; - -export default node; diff --git a/apps/console/src/__generated__/iam/PersonalAPIKeyRowFragment.graphql.ts b/apps/console/src/__generated__/iam/PersonalAPIKeyRowFragment.graphql.ts deleted file mode 100644 index 0feffd696..000000000 --- a/apps/console/src/__generated__/iam/PersonalAPIKeyRowFragment.graphql.ts +++ /dev/null @@ -1,101 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type PersonalAPIKeyRowFragment$data = { - readonly createdAt: string; - readonly expiresAt: string; - readonly id: string; - readonly name: string; - readonly token?: string | null | undefined; - readonly " $fragmentType": "PersonalAPIKeyRowFragment"; -}; -export type PersonalAPIKeyRowFragment$key = { - readonly " $data"?: PersonalAPIKeyRowFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"PersonalAPIKeyRowFragment">; -}; - -import PersonalAPIKeyRowRefetchQuery_graphql from './PersonalAPIKeyRowRefetchQuery.graphql'; - -const node: ReaderFragment = { - "argumentDefinitions": [ - { - "defaultValue": false, - "kind": "LocalArgument", - "name": "includeToken" - } - ], - "kind": "Fragment", - "metadata": { - "refetch": { - "connection": null, - "fragmentPathInResult": [ - "node" - ], - "operation": PersonalAPIKeyRowRefetchQuery_graphql, - "identifierInfo": { - "identifierField": "id", - "identifierQueryVariableName": "id" - } - } - }, - "name": "PersonalAPIKeyRowFragment", - "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": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "expiresAt", - "storageKey": null - }, - { - "condition": "includeToken", - "kind": "Condition", - "passingValue": true, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "token", - "storageKey": null - } - ] - } - ], - "type": "PersonalAPIKey", - "abstractKey": null -}; - -(node as any).hash = "d17db443fa203ee5f9c7d0f4576295f0"; - -export default node; diff --git a/apps/console/src/__generated__/iam/PersonalAPIKeyRowRefetchQuery.graphql.ts b/apps/console/src/__generated__/iam/PersonalAPIKeyRowRefetchQuery.graphql.ts deleted file mode 100644 index 3ffad672e..000000000 --- a/apps/console/src/__generated__/iam/PersonalAPIKeyRowRefetchQuery.graphql.ts +++ /dev/null @@ -1,172 +0,0 @@ -/** - * @generated SignedSource<<2d413d4e4cf2528a45ff243c0fa733bb>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type PersonalAPIKeyRowRefetchQuery$variables = { - id: string; - includeToken?: boolean | null | undefined; -}; -export type PersonalAPIKeyRowRefetchQuery$data = { - readonly node: { - readonly " $fragmentSpreads": FragmentRefs<"PersonalAPIKeyRowFragment">; - } | null | undefined; -}; -export type PersonalAPIKeyRowRefetchQuery = { - response: PersonalAPIKeyRowRefetchQuery$data; - variables: PersonalAPIKeyRowRefetchQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "id" -}, -v1 = { - "defaultValue": false, - "kind": "LocalArgument", - "name": "includeToken" -}, -v2 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "id" - } -]; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "PersonalAPIKeyRowRefetchQuery", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "args": [ - { - "kind": "Variable", - "name": "includeToken", - "variableName": "includeToken" - } - ], - "kind": "FragmentSpread", - "name": "PersonalAPIKeyRowFragment" - } - ], - "storageKey": null - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "PersonalAPIKeyRowRefetchQuery", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "kind": "InlineFragment", - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "name", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "createdAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "expiresAt", - "storageKey": null - }, - { - "condition": "includeToken", - "kind": "Condition", - "passingValue": true, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "token", - "storageKey": null - } - ] - } - ], - "type": "PersonalAPIKey", - "abstractKey": null - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "b4732244e28d5847baaa5520a95a4cfb", - "id": null, - "metadata": {}, - "name": "PersonalAPIKeyRowRefetchQuery", - "operationKind": "query", - "text": "query PersonalAPIKeyRowRefetchQuery(\n $includeToken: Boolean = false\n $id: ID!\n) {\n node(id: $id) {\n __typename\n ...PersonalAPIKeyRowFragment_2T7Twf\n id\n }\n}\n\nfragment PersonalAPIKeyRowFragment_2T7Twf on PersonalAPIKey {\n id\n name\n createdAt\n expiresAt\n token @include(if: $includeToken)\n}\n" - } -}; -})(); - -(node as any).hash = "d17db443fa203ee5f9c7d0f4576295f0"; - -export default node; diff --git a/apps/console/src/__generated__/iam/PersonalAPIKeyRow_revokeMutation.graphql.ts b/apps/console/src/__generated__/iam/PersonalAPIKeyRow_revokeMutation.graphql.ts deleted file mode 100644 index 9d9b3cbcf..000000000 --- a/apps/console/src/__generated__/iam/PersonalAPIKeyRow_revokeMutation.graphql.ts +++ /dev/null @@ -1,132 +0,0 @@ -/** - * @generated SignedSource<<64ad5ad6ff333dffc7b2d5d578028d7f>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type RevokePersonalAPIKeyInput = { - personalAPIKeyId: string; -}; -export type PersonalAPIKeyRow_revokeMutation$variables = { - connections: ReadonlyArray; - input: RevokePersonalAPIKeyInput; -}; -export type PersonalAPIKeyRow_revokeMutation$data = { - readonly revokePersonalAPIKey: { - readonly personalAPIKeyId: string; - } | null | undefined; -}; -export type PersonalAPIKeyRow_revokeMutation = { - response: PersonalAPIKeyRow_revokeMutation$data; - variables: PersonalAPIKeyRow_revokeMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "personalAPIKeyId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "PersonalAPIKeyRow_revokeMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "RevokePersonalAPIKeyPayload", - "kind": "LinkedField", - "name": "revokePersonalAPIKey", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "PersonalAPIKeyRow_revokeMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "RevokePersonalAPIKeyPayload", - "kind": "LinkedField", - "name": "revokePersonalAPIKey", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "personalAPIKeyId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "29dfd9de3537585482c2863a1d547031", - "id": null, - "metadata": {}, - "name": "PersonalAPIKeyRow_revokeMutation", - "operationKind": "mutation", - "text": "mutation PersonalAPIKeyRow_revokeMutation(\n $input: RevokePersonalAPIKeyInput!\n) {\n revokePersonalAPIKey(input: $input) {\n personalAPIKeyId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "258ca02064f55b6fd4a3630ba1f904a4"; - -export default node; diff --git a/apps/console/src/__generated__/iam/SAMLConfigurationListFragment.graphql.ts b/apps/console/src/__generated__/iam/SAMLConfigurationListFragment.graphql.ts deleted file mode 100644 index 401dd8429..000000000 --- a/apps/console/src/__generated__/iam/SAMLConfigurationListFragment.graphql.ts +++ /dev/null @@ -1,208 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -export type SAMLEnforcementPolicy = "OFF" | "OPTIONAL" | "REQUIRED"; -import { FragmentRefs } from "relay-runtime"; -export type SAMLConfigurationListFragment$data = { - readonly samlConfigurations: { - readonly edges: ReadonlyArray<{ - readonly node: { - readonly canDelete: boolean; - readonly canUpdate: boolean; - readonly domainVerificationToken: string | null | undefined; - readonly domainVerifiedAt: string | null | undefined; - readonly emailDomain: string; - readonly enforcementPolicy: SAMLEnforcementPolicy; - readonly id: string; - readonly testLoginUrl: string; - }; - }>; - }; - readonly " $fragmentType": "SAMLConfigurationListFragment"; -}; -export type SAMLConfigurationListFragment$key = { - readonly " $data"?: SAMLConfigurationListFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"SAMLConfigurationListFragment">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": { - "connection": [ - { - "count": null, - "cursor": null, - "direction": "forward", - "path": [ - "samlConfigurations" - ] - } - ] - }, - "name": "SAMLConfigurationListFragment", - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": "samlConfigurations", - "args": null, - "concreteType": "SAMLConfigurationConnection", - "kind": "LinkedField", - "name": "__SAMLConfigurationListFragment_samlConfigurations_connection", - "plural": false, - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "SAMLConfigurationEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "SAMLConfiguration", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "emailDomain", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "enforcementPolicy", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "domainVerificationToken", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "domainVerifiedAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "testLoginUrl", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "iam:saml-configuration:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"iam:saml-configuration:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "iam:saml-configuration:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"iam:saml-configuration:delete\")" - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - "action": "THROW" - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "type": "Organization", - "abstractKey": null -}; - -(node as any).hash = "3adfb13b2a908c93602b219ef1d0cf50"; - -export default node; diff --git a/apps/console/src/__generated__/iam/SAMLConfigurationList_deleteMutation.graphql.ts b/apps/console/src/__generated__/iam/SAMLConfigurationList_deleteMutation.graphql.ts deleted file mode 100644 index a633dbc0d..000000000 --- a/apps/console/src/__generated__/iam/SAMLConfigurationList_deleteMutation.graphql.ts +++ /dev/null @@ -1,133 +0,0 @@ -/** - * @generated SignedSource<<6466caf236dccf64aadc80e85172d8e3>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type DeleteSAMLConfigurationInput = { - organizationId: string; - samlConfigurationId: string; -}; -export type SAMLConfigurationList_deleteMutation$variables = { - connections: ReadonlyArray; - input: DeleteSAMLConfigurationInput; -}; -export type SAMLConfigurationList_deleteMutation$data = { - readonly deleteSAMLConfiguration: { - readonly deletedSamlConfigurationId: string; - } | null | undefined; -}; -export type SAMLConfigurationList_deleteMutation = { - response: SAMLConfigurationList_deleteMutation$data; - variables: SAMLConfigurationList_deleteMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "connections" -}, -v1 = { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" -}, -v2 = [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } -], -v3 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "deletedSamlConfigurationId", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": [ - (v0/*: any*/), - (v1/*: any*/) - ], - "kind": "Fragment", - "metadata": null, - "name": "SAMLConfigurationList_deleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteSAMLConfigurationPayload", - "kind": "LinkedField", - "name": "deleteSAMLConfiguration", - "plural": false, - "selections": [ - (v3/*: any*/) - ], - "storageKey": null - } - ], - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [ - (v1/*: any*/), - (v0/*: any*/) - ], - "kind": "Operation", - "name": "SAMLConfigurationList_deleteMutation", - "selections": [ - { - "alias": null, - "args": (v2/*: any*/), - "concreteType": "DeleteSAMLConfigurationPayload", - "kind": "LinkedField", - "name": "deleteSAMLConfiguration", - "plural": false, - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": null, - "filters": null, - "handle": "deleteEdge", - "key": "", - "kind": "ScalarHandle", - "name": "deletedSamlConfigurationId", - "handleArgs": [ - { - "kind": "Variable", - "name": "connections", - "variableName": "connections" - } - ] - } - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "cb46bb31e5d10f0ddad38795a72b1ab1", - "id": null, - "metadata": {}, - "name": "SAMLConfigurationList_deleteMutation", - "operationKind": "mutation", - "text": "mutation SAMLConfigurationList_deleteMutation(\n $input: DeleteSAMLConfigurationInput!\n) {\n deleteSAMLConfiguration(input: $input) {\n deletedSamlConfigurationId\n }\n}\n" - } -}; -})(); - -(node as any).hash = "aba27afc1e97268478c5159cedf70026"; - -export default node; diff --git a/apps/console/src/__generated__/iam/SAMLSettingsPageQuery.graphql.ts b/apps/console/src/__generated__/iam/SAMLSettingsPageQuery.graphql.ts deleted file mode 100644 index 47782e492..000000000 --- a/apps/console/src/__generated__/iam/SAMLSettingsPageQuery.graphql.ts +++ /dev/null @@ -1,300 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type SAMLSettingsPageQuery$variables = { - organizationId: string; -}; -export type SAMLSettingsPageQuery$data = { - readonly organization: { - readonly __typename: "Organization"; - readonly canCreateSAMLConfiguration: boolean; - readonly " $fragmentSpreads": FragmentRefs<"SAMLConfigurationListFragment">; - } | { - // This will never be '%other', but we need some - // value in case none of the concrete values match. - readonly __typename: "%other"; - }; -}; -export type SAMLSettingsPageQuery = { - response: SAMLSettingsPageQuery$data; - variables: SAMLSettingsPageQuery$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "organizationId" - } -], -v1 = [ - { - "kind": "Variable", - "name": "id", - "variableName": "organizationId" - } -], -v2 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "__typename", - "storageKey": null -}, -v3 = { - "alias": "canCreateSAMLConfiguration", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "iam:saml-configuration:create" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"iam:saml-configuration:create\")" -}, -v4 = [ - { - "kind": "Literal", - "name": "first", - "value": 1000 - } -], -v5 = { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null -}; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "SAMLSettingsPageQuery", - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/), - { - "args": null, - "kind": "FragmentSpread", - "name": "SAMLConfigurationListFragment" - } - ], - "type": "Organization", - "abstractKey": null - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "type": "Query", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "SAMLSettingsPageQuery", - "selections": [ - { - "alias": "organization", - "args": (v1/*: any*/), - "concreteType": null, - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v2/*: any*/), - { - "kind": "InlineFragment", - "selections": [ - (v3/*: any*/), - { - "alias": null, - "args": (v4/*: any*/), - "concreteType": "SAMLConfigurationConnection", - "kind": "LinkedField", - "name": "samlConfigurations", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "SAMLConfigurationEdge", - "kind": "LinkedField", - "name": "edges", - "plural": true, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "SAMLConfiguration", - "kind": "LinkedField", - "name": "node", - "plural": false, - "selections": [ - (v5/*: any*/), - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "emailDomain", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "enforcementPolicy", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "domainVerificationToken", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "domainVerifiedAt", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "testLoginUrl", - "storageKey": null - }, - { - "alias": "canUpdate", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "iam:saml-configuration:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"iam:saml-configuration:update\")" - }, - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "iam:saml-configuration:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"iam:saml-configuration:delete\")" - }, - (v2/*: any*/) - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "cursor", - "storageKey": null - } - ], - "storageKey": null - }, - { - "alias": null, - "args": null, - "concreteType": "PageInfo", - "kind": "LinkedField", - "name": "pageInfo", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "endCursor", - "storageKey": null - }, - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "hasNextPage", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": "samlConfigurations(first:1000)" - }, - { - "alias": null, - "args": (v4/*: any*/), - "filters": null, - "handle": "connection", - "key": "SAMLConfigurationListFragment_samlConfigurations", - "kind": "LinkedHandle", - "name": "samlConfigurations" - } - ], - "type": "Organization", - "abstractKey": null - }, - (v5/*: any*/) - ], - "storageKey": null - } - ] - }, - "params": { - "cacheID": "1a2bfe52dd42459b83e7f99e9b790218", - "id": null, - "metadata": {}, - "name": "SAMLSettingsPageQuery", - "operationKind": "query", - "text": "query SAMLSettingsPageQuery(\n $organizationId: ID!\n) {\n organization: node(id: $organizationId) {\n __typename\n ... on Organization {\n canCreateSAMLConfiguration: permission(action: \"iam:saml-configuration:create\")\n ...SAMLConfigurationListFragment\n }\n id\n }\n}\n\nfragment SAMLConfigurationListFragment on Organization {\n samlConfigurations(first: 1000) {\n edges {\n node {\n id\n emailDomain\n enforcementPolicy\n domainVerificationToken\n domainVerifiedAt\n testLoginUrl\n canUpdate: permission(action: \"iam:saml-configuration:update\")\n canDelete: permission(action: \"iam:saml-configuration:delete\")\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "d0fd8fe9afb6ff650cce48c89eb83c46"; - -export default node; diff --git a/apps/console/src/__generated__/iam/SessionDropdownFragment.graphql.ts b/apps/console/src/__generated__/iam/SessionDropdownFragment.graphql.ts deleted file mode 100644 index f50ce6d87..000000000 --- a/apps/console/src/__generated__/iam/SessionDropdownFragment.graphql.ts +++ /dev/null @@ -1,115 +0,0 @@ -/** - * @generated SignedSource<<73d5a0059348fd0c5950ae3a873cc383>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type SessionDropdownFragment$data = { - readonly canDelete: boolean; - readonly viewerMembership: { - readonly identity: { - readonly email: string; - }; - readonly profile: { - readonly fullName: string; - }; - }; - readonly " $fragmentType": "SessionDropdownFragment"; -}; -export type SessionDropdownFragment$key = { - readonly " $data"?: SessionDropdownFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"SessionDropdownFragment">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "SessionDropdownFragment", - "selections": [ - { - "alias": "canDelete", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "iam:organization:delete" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"iam:organization:delete\")" - }, - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "Membership", - "kind": "LinkedField", - "name": "viewerMembership", - "plural": false, - "selections": [ - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "Identity", - "kind": "LinkedField", - "name": "identity", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "email", - "storageKey": null - } - ], - "storageKey": null - }, - "action": "THROW" - }, - { - "kind": "RequiredField", - "field": { - "alias": null, - "args": null, - "concreteType": "MembershipProfile", - "kind": "LinkedField", - "name": "profile", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "fullName", - "storageKey": null - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "storageKey": null - }, - "action": "THROW" - } - ], - "type": "Organization", - "abstractKey": null -}; - -(node as any).hash = "51810eafbf165e7b5eeec42cb268ae54"; - -export default node; diff --git a/apps/console/src/__generated__/iam/SessionDropdownSignOutMutation.graphql.ts b/apps/console/src/__generated__/iam/SessionDropdownSignOutMutation.graphql.ts deleted file mode 100644 index 04d693a3a..000000000 --- a/apps/console/src/__generated__/iam/SessionDropdownSignOutMutation.graphql.ts +++ /dev/null @@ -1,74 +0,0 @@ -/** - * @generated SignedSource<<8cb399eb2f38eaf3059531ea4bc3fa30>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type SessionDropdownSignOutMutation$variables = Record; -export type SessionDropdownSignOutMutation$data = { - readonly signOut: { - readonly success: boolean; - } | null | undefined; -}; -export type SessionDropdownSignOutMutation = { - response: SessionDropdownSignOutMutation$data; - variables: SessionDropdownSignOutMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "alias": null, - "args": null, - "concreteType": "SignOutPayload", - "kind": "LinkedField", - "name": "signOut", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "success", - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "SessionDropdownSignOutMutation", - "selections": (v0/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": [], - "kind": "Operation", - "name": "SessionDropdownSignOutMutation", - "selections": (v0/*: any*/) - }, - "params": { - "cacheID": "a677190a127d7f75d5c629fab236a7a3", - "id": null, - "metadata": {}, - "name": "SessionDropdownSignOutMutation", - "operationKind": "mutation", - "text": "mutation SessionDropdownSignOutMutation {\n signOut {\n success\n }\n}\n" - } -}; -})(); - -(node as any).hash = "10c9bdf35ab3961c7488973e052cf978"; - -export default node; diff --git a/apps/console/src/__generated__/iam/SidebarFragment.graphql.ts b/apps/console/src/__generated__/iam/SidebarFragment.graphql.ts deleted file mode 100644 index 38d346843..000000000 --- a/apps/console/src/__generated__/iam/SidebarFragment.graphql.ts +++ /dev/null @@ -1,314 +0,0 @@ -/** - * @generated SignedSource<> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ReaderFragment } from 'relay-runtime'; -import { FragmentRefs } from "relay-runtime"; -export type SidebarFragment$data = { - readonly canGetTrustCenter: boolean; - readonly canListAssets: boolean; - readonly canListAudits: boolean; - readonly canListContinualImprovements: boolean; - readonly canListData: boolean; - readonly canListDocuments: boolean; - readonly canListFrameworks: boolean; - readonly canListMeasures: boolean; - readonly canListMeetings: boolean; - readonly canListNonconformities: boolean; - readonly canListObligations: boolean; - readonly canListPeople: boolean; - readonly canListProcessingActivities: boolean; - readonly canListRightsRequests: boolean; - readonly canListRisks: boolean; - readonly canListSnapshots: boolean; - readonly canListStatesOfApplicability: boolean; - readonly canListTasks: boolean; - readonly canListVendors: boolean; - readonly canUpdateOrganization: boolean; - readonly " $fragmentType": "SidebarFragment"; -}; -export type SidebarFragment$key = { - readonly " $data"?: SidebarFragment$data; - readonly " $fragmentSpreads": FragmentRefs<"SidebarFragment">; -}; - -const node: ReaderFragment = { - "argumentDefinitions": [], - "kind": "Fragment", - "metadata": null, - "name": "SidebarFragment", - "selections": [ - { - "alias": "canListMeetings", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:meeting:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:meeting:list\")" - }, - { - "alias": "canListTasks", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:task:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:task:list\")" - }, - { - "alias": "canListMeasures", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:measures:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:measures:list\")" - }, - { - "alias": "canListRisks", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:risk:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:risk:list\")" - }, - { - "alias": "canListFrameworks", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:frameworks:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:frameworks:list\")" - }, - { - "alias": "canListPeople", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:people:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:people:list\")" - }, - { - "alias": "canListVendors", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:vendor:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:vendor:list\")" - }, - { - "alias": "canListDocuments", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:document:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:document:list\")" - }, - { - "alias": "canListAssets", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:asset:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:asset:list\")" - }, - { - "alias": "canListData", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:datum:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:datum:list\")" - }, - { - "alias": "canListAudits", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:audit:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:audit:list\")" - }, - { - "alias": "canListNonconformities", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:nonconformity:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:nonconformity:list\")" - }, - { - "alias": "canListObligations", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:obligation:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:obligation:list\")" - }, - { - "alias": "canListContinualImprovements", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:continual-improvement:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:continual-improvement:list\")" - }, - { - "alias": "canListProcessingActivities", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:processing-activity:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:processing-activity:list\")" - }, - { - "alias": "canListRightsRequests", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:rights-request:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:rights-request:list\")" - }, - { - "alias": "canListSnapshots", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:snapshot:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:snapshot:list\")" - }, - { - "alias": "canGetTrustCenter", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:trust-center:get" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:trust-center:get\")" - }, - { - "alias": "canUpdateOrganization", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "iam:organization:update" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"iam:organization:update\")" - }, - { - "alias": "canListStatesOfApplicability", - "args": [ - { - "kind": "Literal", - "name": "action", - "value": "core:state-of-applicability:list" - } - ], - "kind": "ScalarField", - "name": "permission", - "storageKey": "permission(action:\"core:state-of-applicability:list\")" - } - ], - "type": "Organization", - "abstractKey": null -}; - -(node as any).hash = "3a7071a1d9ed4ffc115f5bc22e283a50"; - -export default node; diff --git a/apps/console/src/__generated__/iam/SignInPageMutation.graphql.ts b/apps/console/src/__generated__/iam/SignInPageMutation.graphql.ts deleted file mode 100644 index 7d2edfe6b..000000000 --- a/apps/console/src/__generated__/iam/SignInPageMutation.graphql.ts +++ /dev/null @@ -1,106 +0,0 @@ -/** - * @generated SignedSource<<02b9c661a564d47f4821ff67a4dae9b0>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type SignInInput = { - email: string; - password: string; -}; -export type SignInPageMutation$variables = { - input: SignInInput; -}; -export type SignInPageMutation$data = { - readonly signIn: { - readonly session: { - readonly id: string; - } | null | undefined; - } | null | undefined; -}; -export type SignInPageMutation = { - response: SignInPageMutation$data; - variables: SignInPageMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "SignInPayload", - "kind": "LinkedField", - "name": "signIn", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Session", - "kind": "LinkedField", - "name": "session", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "SignInPageMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "SignInPageMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "8e13b6ebdfd4ca6bde158dff53f596db", - "id": null, - "metadata": {}, - "name": "SignInPageMutation", - "operationKind": "mutation", - "text": "mutation SignInPageMutation(\n $input: SignInInput!\n) {\n signIn(input: $input) {\n session {\n id\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "6424104df106b64a6237d92299239a63"; - -export default node; diff --git a/apps/console/src/__generated__/iam/SignUpFromInvitationPageMutation.graphql.ts b/apps/console/src/__generated__/iam/SignUpFromInvitationPageMutation.graphql.ts deleted file mode 100644 index e814bbf38..000000000 --- a/apps/console/src/__generated__/iam/SignUpFromInvitationPageMutation.graphql.ts +++ /dev/null @@ -1,107 +0,0 @@ -/** - * @generated SignedSource<<59df18257cc2bae52aefd576c20f03cf>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type SignUpFromInvitationInput = { - fullName: string; - password: string; - token: string; -}; -export type SignUpFromInvitationPageMutation$variables = { - input: SignUpFromInvitationInput; -}; -export type SignUpFromInvitationPageMutation$data = { - readonly signUpFromInvitation: { - readonly identity: { - readonly id: string; - } | null | undefined; - } | null | undefined; -}; -export type SignUpFromInvitationPageMutation = { - response: SignUpFromInvitationPageMutation$data; - variables: SignUpFromInvitationPageMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "SignUpFromInvitationPayload", - "kind": "LinkedField", - "name": "signUpFromInvitation", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Identity", - "kind": "LinkedField", - "name": "identity", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "SignUpFromInvitationPageMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "SignUpFromInvitationPageMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "9bdca3bd56cb86a2e9c0627379f7f58f", - "id": null, - "metadata": {}, - "name": "SignUpFromInvitationPageMutation", - "operationKind": "mutation", - "text": "mutation SignUpFromInvitationPageMutation(\n $input: SignUpFromInvitationInput!\n) {\n signUpFromInvitation(input: $input) {\n identity {\n id\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "418fe53fbdc92e4ce5d2256062f08322"; - -export default node; diff --git a/apps/console/src/__generated__/iam/SignUpPageMutation.graphql.ts b/apps/console/src/__generated__/iam/SignUpPageMutation.graphql.ts deleted file mode 100644 index a7ff47518..000000000 --- a/apps/console/src/__generated__/iam/SignUpPageMutation.graphql.ts +++ /dev/null @@ -1,107 +0,0 @@ -/** - * @generated SignedSource<<450f7808784d82c4ee82e21f72c57465>> - * @lightSyntaxTransform - * @nogrep - */ - -/* tslint:disable */ -/* eslint-disable */ -// @ts-nocheck - -import { ConcreteRequest } from 'relay-runtime'; -export type SignUpInput = { - email: string; - fullName: string; - password: string; -}; -export type SignUpPageMutation$variables = { - input: SignUpInput; -}; -export type SignUpPageMutation$data = { - readonly signUp: { - readonly identity: { - readonly id: string; - } | null | undefined; - } | null | undefined; -}; -export type SignUpPageMutation = { - response: SignUpPageMutation$data; - variables: SignUpPageMutation$variables; -}; - -const node: ConcreteRequest = (function(){ -var v0 = [ - { - "defaultValue": null, - "kind": "LocalArgument", - "name": "input" - } -], -v1 = [ - { - "alias": null, - "args": [ - { - "kind": "Variable", - "name": "input", - "variableName": "input" - } - ], - "concreteType": "SignUpPayload", - "kind": "LinkedField", - "name": "signUp", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "concreteType": "Identity", - "kind": "LinkedField", - "name": "identity", - "plural": false, - "selections": [ - { - "alias": null, - "args": null, - "kind": "ScalarField", - "name": "id", - "storageKey": null - } - ], - "storageKey": null - } - ], - "storageKey": null - } -]; -return { - "fragment": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Fragment", - "metadata": null, - "name": "SignUpPageMutation", - "selections": (v1/*: any*/), - "type": "Mutation", - "abstractKey": null - }, - "kind": "Request", - "operation": { - "argumentDefinitions": (v0/*: any*/), - "kind": "Operation", - "name": "SignUpPageMutation", - "selections": (v1/*: any*/) - }, - "params": { - "cacheID": "266f2f87a14a72bb166348ae9142a885", - "id": null, - "metadata": {}, - "name": "SignUpPageMutation", - "operationKind": "mutation", - "text": "mutation SignUpPageMutation(\n $input: SignUpInput!\n) {\n signUp(input: $input) {\n identity {\n id\n }\n }\n}\n" - } -}; -})(); - -(node as any).hash = "b8ec213c1c715d5a7fbfa5896047785d"; - -export default node; diff --git a/apps/console/src/pages/iam/organizations/settings/SCIMSettingsPage.tsx b/apps/console/src/pages/iam/organizations/settings/SCIMSettingsPage.tsx new file mode 100644 index 000000000..c125ba3d1 --- /dev/null +++ b/apps/console/src/pages/iam/organizations/settings/SCIMSettingsPage.tsx @@ -0,0 +1,60 @@ +import { graphql, usePreloadedQuery, type PreloadedQuery } from "react-relay"; +import type { SCIMSettingsPageQuery } from "/__generated__/iam/SCIMSettingsPageQuery.graphql"; +import { useTranslate } from "@probo/i18n"; +import { SCIMConfiguration } from "./_components/SCIMConfiguration"; +import { SCIMEventList } from "./_components/SCIMEventList"; + +export const scimSettingsPageQuery = graphql` + query SCIMSettingsPageQuery($organizationId: ID!) { + organization: node(id: $organizationId) @required(action: THROW) { + __typename + ... on Organization { + id + canCreateSCIMConfiguration: permission( + action: "iam:scim-configuration:create" + ) + canDeleteSCIMConfiguration: permission( + action: "iam:scim-configuration:delete" + ) + + scimConfiguration { + ...SCIMConfigurationFragment + ...SCIMEventListFragment + } + } + } + } +`; + +export function SCIMSettingsPage(props: { + queryRef: PreloadedQuery; +}) { + const { queryRef } = props; + const { __ } = useTranslate(); + + const { organization } = usePreloadedQuery(scimSettingsPageQuery, queryRef); + if (organization.__typename !== "Organization") { + throw new Error("invalid node type"); + } + + return ( +
+
+

{__("SCIM Provisioning")}

+ +
+ + {organization.scimConfiguration && ( +
+

{__("SCIM Event History")}

+ +
+ )} +
+ ); +} diff --git a/apps/console/src/pages/iam/organizations/settings/SCIMSettingsPageLoader.tsx b/apps/console/src/pages/iam/organizations/settings/SCIMSettingsPageLoader.tsx new file mode 100644 index 000000000..47b3b94e0 --- /dev/null +++ b/apps/console/src/pages/iam/organizations/settings/SCIMSettingsPageLoader.tsx @@ -0,0 +1,33 @@ +import { useQueryLoader } from "react-relay"; +import { SCIMSettingsPage, scimSettingsPageQuery } from "./SCIMSettingsPage"; +import { useOrganizationId } from "/hooks/useOrganizationId"; +import { IAMRelayProvider } from "/providers/IAMRelayProvider"; +import { useEffect } from "react"; +import type { SCIMSettingsPageQuery } from "/__generated__/iam/SCIMSettingsPageQuery.graphql"; + +function SCIMSettingsPageLoader() { + const organizationId = useOrganizationId(); + const [queryRef, loadQuery] = useQueryLoader( + scimSettingsPageQuery + ); + + useEffect(() => { + loadQuery({ + organizationId, + }); + }, [loadQuery, organizationId]); + + if (!queryRef) { + return null; + } + + return ; +} + +export default function () { + return ( + + + + ); +} diff --git a/apps/console/src/pages/iam/organizations/settings/SettingsLayout.tsx b/apps/console/src/pages/iam/organizations/settings/SettingsLayout.tsx index e1e6fbc8d..e844a50a9 100644 --- a/apps/console/src/pages/iam/organizations/settings/SettingsLayout.tsx +++ b/apps/console/src/pages/iam/organizations/settings/SettingsLayout.tsx @@ -1,4 +1,5 @@ import { + IconKey, IconLock, IconPeopleAdd, IconSettingsGear2, @@ -36,6 +37,10 @@ export default function () { {__("SAML SSO")} + + + {__("SCIM")} + diff --git a/apps/console/src/pages/iam/organizations/settings/_components/SCIMConfiguration.tsx b/apps/console/src/pages/iam/organizations/settings/_components/SCIMConfiguration.tsx new file mode 100644 index 000000000..3847cc1a2 --- /dev/null +++ b/apps/console/src/pages/iam/organizations/settings/_components/SCIMConfiguration.tsx @@ -0,0 +1,354 @@ +import { useState } from "react"; +import { graphql, useFragment, useMutation } from "react-relay"; +import { useTranslate } from "@probo/i18n"; +import { + Button, + Card, + Dialog, + useDialogRef, + useToast, + IconSquareBehindSquare2, + IconRotateCw, + IconTrashCan, +} from "@probo/ui"; +import type { SCIMConfigurationCreateMutation } from "/__generated__/iam/SCIMConfigurationCreateMutation.graphql"; +import type { SCIMConfigurationDeleteMutation } from "/__generated__/iam/SCIMConfigurationDeleteMutation.graphql"; +import type { SCIMConfigurationRegenerateTokenMutation } from "/__generated__/iam/SCIMConfigurationRegenerateTokenMutation.graphql"; +import type { SCIMConfigurationFragment$key } from "/__generated__/iam/SCIMConfigurationFragment.graphql"; + +const SCIMConfigurationFragment = graphql` + fragment SCIMConfigurationFragment on SCIMConfiguration { + id + endpointUrl + } +`; + +const createSCIMConfigurationMutation = graphql` + mutation SCIMConfigurationCreateMutation( + $input: CreateSCIMConfigurationInput! + ) { + createSCIMConfiguration(input: $input) { + scimConfiguration { + organization { + id + scimConfiguration { + id + endpointUrl + createdAt + updatedAt + } + } + } + token + } + } +`; + +const deleteSCIMConfigurationMutation = graphql` + mutation SCIMConfigurationDeleteMutation( + $input: DeleteSCIMConfigurationInput! + ) { + deleteSCIMConfiguration(input: $input) { + deletedScimConfigurationId @deleteRecord + } + } +`; + +const regenerateSCIMTokenMutation = graphql` + mutation SCIMConfigurationRegenerateTokenMutation( + $input: RegenerateSCIMTokenInput! + ) { + regenerateSCIMToken(input: $input) { + scimConfiguration { + id + endpointUrl + createdAt + updatedAt + } + token + } + } +`; + +export function SCIMConfiguration(props: { + organizationId: string; + fKey: SCIMConfigurationFragment$key | null; + canCreate: boolean; + canDelete: boolean; +}) { + const { organizationId, canCreate, canDelete, fKey } = props; + const scimConfiguration = useFragment(SCIMConfigurationFragment, fKey); + const { __ } = useTranslate(); + const { toast } = useToast(); + + const [token, setToken] = useState(null); + + const deleteDialogRef = useDialogRef(); + + const [createSCIMConfiguration, isCreatingSAMLConfiguration] = + useMutation( + createSCIMConfigurationMutation + ); + const [deleteSCIMConfiguration, isDeletingSCIMConfiguration] = + useMutation( + deleteSCIMConfigurationMutation + ); + const [regenerateSCIMToken, isRegeneratingSCIMToken] = + useMutation( + regenerateSCIMTokenMutation + ); + + const handleCreate = () => { + createSCIMConfiguration({ + variables: { + input: { + organizationId, + }, + }, + onCompleted: (response) => { + if (response.createSCIMConfiguration) { + setToken(response.createSCIMConfiguration.token); + } + toast({ + title: __("SCIM Configuration Created"), + description: __( + "Copy the bearer token now. It will not be shown again." + ), + variant: "success", + }); + }, + onError: (error: Error) => { + toast({ + variant: "error", + title: __("Error"), + description: error.message, + }); + }, + }); + }; + + const handleDelete = () => { + if (!scimConfiguration) return; + + deleteSCIMConfiguration({ + variables: { + input: { + organizationId, + scimConfigurationId: scimConfiguration.id, + }, + }, + onCompleted: () => { + deleteDialogRef.current?.close(); + setToken(null); + toast({ + title: __("SCIM Configuration Deleted"), + description: __( + "All SCIM-provisioned memberships have been changed to manual source." + ), + variant: "success", + }); + }, + onError: (error: Error) => { + toast({ + variant: "error", + title: __("Error"), + description: error.message, + }); + }, + }); + }; + + const handleRegenerate = () => { + if (!scimConfiguration) return; + + regenerateSCIMToken({ + variables: { + input: { + organizationId, + scimConfigurationId: scimConfiguration.id, + }, + }, + onCompleted: (response) => { + if (response.regenerateSCIMToken) { + setToken(response.regenerateSCIMToken.token); + } + toast({ + title: __("Bearer Token Regenerated"), + description: __( + "Copy the new bearer token now. It will not be shown again." + ), + variant: "success", + }); + }, + onError: (error: Error) => { + toast({ + variant: "error", + title: __("Error"), + description: error.message, + }); + }, + }); + }; + + const copyToClipboard = (text: string, label: string) => { + navigator.clipboard.writeText(text); + toast({ + title: __("Copied to clipboard"), + description: label, + variant: "success", + }); + }; + + if (!scimConfiguration) { + return ( + +
+
+

{__("SCIM is not configured")}

+

+ {__( + "Enable SCIM to automatically provision users from your identity provider." + )} +

+
+ {canCreate && ( + + )} +
+
+ ); + } + + return ( + <> + +
+
+
+

{__("SCIM Provisioning Active")}

+

+ {__( + "Automatic user provisioning is enabled for this organization." + )} +

+
+
+ +
+
+ +
+ + {scimConfiguration.endpointUrl} + +
+
+ + {token && ( +
+ +

+ {__("This token will only be shown once. Copy it now.")} +

+
+ + {token} + +
+
+ )} + +
+ + {canDelete && ( + + )} +
+
+
+
+ + deleteDialogRef.current?.close()} + > +
+

+ {__( + "Are you sure you want to delete the SCIM configuration? This will:" + )} +

+
    +
  • {__("Disable automatic user provisioning")}
  • +
  • + {__("Change all SCIM-provisioned memberships to manual source")} +
  • +
  • {__("Invalidate the current bearer token")}
  • +
+

+ {__( + "Existing users will not be removed, only their membership source will change." + )} +

+
+ + +
+
+
+ + ); +} diff --git a/apps/console/src/routes.tsx b/apps/console/src/routes.tsx index 841fa62b4..375a47a8e 100644 --- a/apps/console/src/routes.tsx +++ b/apps/console/src/routes.tsx @@ -78,7 +78,7 @@ const routes = [ { path: "signup-from-invitation", Component: lazy( - () => import("./pages/iam/auth/SignUpFromInvitationPage"), + () => import("./pages/iam/auth/SignUpFromInvitationPage") ), }, { @@ -100,13 +100,13 @@ const routes = [ { index: true, Component: lazy( - () => import("./pages/iam/memberships/MembershipsPageLoader"), + () => import("./pages/iam/memberships/MembershipsPageLoader") ), }, { path: "organizations/new", Component: lazy( - () => import("./pages/iam/organizations/NewOrganizationPage"), + () => import("./pages/iam/organizations/NewOrganizationPage") ), }, { @@ -123,7 +123,7 @@ const routes = [ path: "/organizations/:organizationId/employee", Fallback: () => "fallback employee...", Component: lazy( - () => import("./pages/organizations/employee/EmployeeLayoutLoader"), + () => import("./pages/organizations/employee/EmployeeLayoutLoader") ), ErrorBoundary: ErrorBoundary, children: [ @@ -132,7 +132,7 @@ const routes = [ // Component: () => "hello world", Component: lazy( () => - import("./pages/organizations/employee/EmployeeDocumentsPageLoader"), + import("./pages/organizations/employee/EmployeeDocumentsPageLoader") ), }, { @@ -140,7 +140,7 @@ const routes = [ ErrorBoundary: ErrorBoundary, Component: lazy( () => - import("./pages/organizations/employee/EmployeeDocumentSignaturePageLoader"), + import("./pages/organizations/employee/EmployeeDocumentSignaturePageLoader") ), }, ], @@ -148,7 +148,7 @@ const routes = [ { path: "/organizations/:organizationId", Component: lazy( - () => import("./pages/iam/memberships/MembershipLayoutLoader"), + () => import("./pages/iam/memberships/MembershipLayoutLoader") ), ErrorBoundary: ErrorBoundary, children: [ @@ -170,7 +170,7 @@ const routes = [ path: "settings", Fallback: PageSkeleton, Component: lazy( - () => import("./pages/iam/organizations/settings/SettingsLayout"), + () => import("./pages/iam/organizations/settings/SettingsLayout") ), children: [ { @@ -183,28 +183,35 @@ const routes = [ path: "general", Component: lazy( () => - import("./pages/iam/organizations/settings/GeneralSettingsPageLoader"), + import("./pages/iam/organizations/settings/GeneralSettingsPageLoader") ), }, { path: "members", Component: lazy( () => - import("./pages/iam/organizations/settings/MembersPageLoader"), + import("./pages/iam/organizations/settings/MembersPageLoader") ), }, { path: "domain", Component: lazy( () => - import("./pages/organizations/settings/DomainSettingsPageLoader"), + import("./pages/organizations/settings/DomainSettingsPageLoader") ), }, { path: "saml-sso", Component: lazy( () => - import("./pages/iam/organizations/settings/SAMLSettingsPageLoader"), + import("./pages/iam/organizations/settings/SAMLSettingsPageLoader") + ), + }, + { + path: "scim", + Component: lazy( + () => + import("./pages/iam/organizations/settings/SCIMSettingsPageLoader") ), }, ], diff --git a/pkg/coredata/entity_type_reg.go b/pkg/coredata/entity_type_reg.go index 0794bba7e..0c6346ac0 100644 --- a/pkg/coredata/entity_type_reg.go +++ b/pkg/coredata/entity_type_reg.go @@ -75,6 +75,8 @@ const ( StateOfApplicabilityEntityType uint16 = 49 StateOfApplicabilityControlEntityType uint16 = 50 MembershipProfileEntityType uint16 = 51 + SCIMConfigurationEntityType uint16 = 52 + SCIMEventEntityType uint16 = 53 ) func NewEntityFromID(id gid.GID) (any, bool) { @@ -173,8 +175,14 @@ func NewEntityFromID(id gid.GID) (any, bool) { return &DataProtectionImpactAssessment{ID: id}, true case TransferImpactAssessmentEntityType: return &TransferImpactAssessment{ID: id}, true + case RightsRequestEntityType: + return &RightsRequest{ID: id}, true case MembershipProfileEntityType: return &MembershipProfile{ID: id}, true + case SCIMConfigurationEntityType: + return &SCIMConfiguration{ID: id}, true + case SCIMEventEntityType: + return &SCIMEvent{ID: id}, true default: return nil, false } @@ -390,6 +398,14 @@ var entityRegistry = map[uint16]EntityInfo{ Model: "MembershipProfile", Table: "iam_membership_profiles", }, + SCIMConfigurationEntityType: { + Model: "SCIMConfiguration", + Table: "iam_scim_configurations", + }, + SCIMEventEntityType: { + Model: "SCIMEvent", + Table: "iam_scim_events", + }, } func EntityTable(entityType uint16) (string, bool) { diff --git a/pkg/coredata/membership.go b/pkg/coredata/membership.go index 4a9ba6b41..2096bec63 100644 --- a/pkg/coredata/membership.go +++ b/pkg/coredata/membership.go @@ -393,6 +393,7 @@ UPDATE iam_memberships SET role = @role, + source = @source, updated_at = @updated_at WHERE id = @id @@ -404,6 +405,7 @@ WHERE args := pgx.StrictNamedArgs{ "id": m.ID, "role": m.Role, + "source": m.Source, "updated_at": m.UpdatedAt, } maps.Copy(args, scope.SQLArguments()) @@ -672,3 +674,35 @@ WHERE *m = memberships return nil } + +func (m *Memberships) ResetSCIMSources( + ctx context.Context, + conn pg.Conn, + scope Scoper, + organizationID gid.GID, +) error { + q := ` +UPDATE iam_memberships +SET + source = 'MANUAL', + updated_at = @updated_at +WHERE + %s + AND organization_id = @organization_id + AND source = 'SCIM' +` + q = fmt.Sprintf(q, scope.SQLFragment()) + + args := pgx.NamedArgs{ + "organization_id": organizationID, + "updated_at": time.Now(), + } + maps.Copy(args, scope.SQLArguments()) + + _, err := conn.Exec(ctx, q, args) + if err != nil { + return fmt.Errorf("cannot reset SCIM membership sources: %w", err) + } + + return nil +} diff --git a/pkg/coredata/membership_source.go b/pkg/coredata/membership_source.go index 52bd39ea8..a624a693a 100644 --- a/pkg/coredata/membership_source.go +++ b/pkg/coredata/membership_source.go @@ -24,6 +24,7 @@ type MembershipSource string const ( MembershipSourceManual MembershipSource = "MANUAL" MembershipSourceSAML MembershipSource = "SAML" + MembershipSourceSCIM MembershipSource = "SCIM" ) func (s MembershipSource) String() string { @@ -46,6 +47,8 @@ func (s *MembershipSource) Scan(value any) error { *s = MembershipSourceManual case "SAML": *s = MembershipSourceSAML + case "SCIM": + *s = MembershipSourceSCIM default: return fmt.Errorf("invalid MembershipSource value: %q", str) } diff --git a/pkg/coredata/migrations/20260104T155201Z.sql b/pkg/coredata/migrations/20260104T155201Z.sql new file mode 100644 index 000000000..464f4e7f3 --- /dev/null +++ b/pkg/coredata/migrations/20260104T155201Z.sql @@ -0,0 +1,14 @@ +-- Create SCIM configurations table +CREATE TABLE iam_scim_configurations ( + id TEXT PRIMARY KEY, + tenant_id TEXT NOT NULL, + organization_id TEXT NOT NULL REFERENCES organizations(id) ON DELETE CASCADE, + hashed_token BYTEA NOT NULL, + created_at TIMESTAMP WITH TIME ZONE NOT NULL, + updated_at TIMESTAMP WITH TIME ZONE NOT NULL, + CONSTRAINT iam_scim_configurations_organization_unique UNIQUE (organization_id) +); + +CREATE INDEX idx_iam_scim_configurations_tenant_id ON iam_scim_configurations(tenant_id); +CREATE INDEX idx_iam_scim_configurations_organization_id ON iam_scim_configurations(organization_id); + diff --git a/pkg/coredata/migrations/20260104T155202Z.sql b/pkg/coredata/migrations/20260104T155202Z.sql new file mode 100644 index 000000000..abc6f915a --- /dev/null +++ b/pkg/coredata/migrations/20260104T155202Z.sql @@ -0,0 +1,22 @@ +-- Create SCIM events table for debugging/audit +CREATE TABLE iam_scim_events ( + id TEXT PRIMARY KEY, + tenant_id TEXT NOT NULL, + organization_id TEXT NOT NULL REFERENCES organizations(id) ON DELETE CASCADE, + scim_configuration_id TEXT NOT NULL REFERENCES iam_scim_configurations(id) ON DELETE CASCADE, + method TEXT NOT NULL, + path TEXT NOT NULL, + request_body TEXT, + response_body TEXT, + status_code INTEGER NOT NULL, + error_message TEXT, + membership_id TEXT REFERENCES iam_memberships(id) ON DELETE SET NULL, + ip_address INET NOT NULL, + created_at TIMESTAMP WITH TIME ZONE NOT NULL +); + +CREATE INDEX idx_iam_scim_events_tenant_id ON iam_scim_events(tenant_id); +CREATE INDEX idx_iam_scim_events_organization_id ON iam_scim_events(organization_id); +CREATE INDEX idx_iam_scim_events_scim_configuration_id ON iam_scim_events(scim_configuration_id); +CREATE INDEX idx_iam_scim_events_created_at ON iam_scim_events(created_at DESC); + diff --git a/pkg/coredata/scim_configuration.go b/pkg/coredata/scim_configuration.go new file mode 100644 index 000000000..2aa7688a7 --- /dev/null +++ b/pkg/coredata/scim_configuration.go @@ -0,0 +1,299 @@ +// Copyright (c) 2025 Probo Inc . +// +// Permission to use, copy, modify, and/or distribute this software for any +// purpose with or without fee is hereby granted, provided that the above +// copyright notice and this permission notice appear in all copies. +// +// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +// LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +// OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +// PERFORMANCE OF THIS SOFTWARE. + +package coredata + +import ( + "context" + "errors" + "fmt" + "maps" + "time" + + "github.com/jackc/pgx/v5" + "github.com/jackc/pgx/v5/pgconn" + "go.gearno.de/kit/pg" + "go.probo.inc/probo/pkg/gid" + "go.probo.inc/probo/pkg/page" +) + +type ( + SCIMConfiguration struct { + ID gid.GID `db:"id"` + OrganizationID gid.GID `db:"organization_id"` + HashedToken []byte `db:"hashed_token"` + CreatedAt time.Time `db:"created_at"` + UpdatedAt time.Time `db:"updated_at"` + } + + SCIMConfigurations []*SCIMConfiguration +) + +func (s *SCIMConfiguration) CursorKey(orderBy SCIMConfigurationOrderField) page.CursorKey { + switch orderBy { + case SCIMConfigurationOrderFieldCreatedAt: + return page.NewCursorKey(s.ID, s.CreatedAt) + } + + panic(fmt.Sprintf("unsupported order by: %s", orderBy)) +} + +func (s *SCIMConfiguration) AuthorizationAttributes(ctx context.Context, conn pg.Conn) (map[string]string, error) { + q := `SELECT organization_id FROM iam_scim_configurations WHERE id = $1 LIMIT 1;` + + var organizationID gid.GID + if err := conn.QueryRow(ctx, q, s.ID).Scan(&organizationID); err != nil { + if errors.Is(err, pgx.ErrNoRows) { + return nil, ErrResourceNotFound + } + return nil, fmt.Errorf("cannot query scim configuration authorization attributes: %w", err) + } + + return map[string]string{"organization_id": organizationID.String()}, nil +} + +func (s *SCIMConfiguration) LoadByID( + ctx context.Context, + conn pg.Conn, + scope Scoper, + configID gid.GID, +) error { + q := ` +SELECT + id, + organization_id, + hashed_token, + created_at, + updated_at +FROM + iam_scim_configurations +WHERE + %s + AND id = @id +LIMIT 1; +` + + q = fmt.Sprintf(q, scope.SQLFragment()) + + args := pgx.StrictNamedArgs{"id": configID} + maps.Copy(args, scope.SQLArguments()) + + rows, err := conn.Query(ctx, q, args) + if err != nil { + return fmt.Errorf("cannot query iam_scim_configurations: %w", err) + } + + config, err := pgx.CollectExactlyOneRow(rows, pgx.RowToStructByName[SCIMConfiguration]) + if err != nil { + if errors.Is(err, pgx.ErrNoRows) { + return ErrResourceNotFound + } + + return fmt.Errorf("cannot collect scim_configuration: %w", err) + } + + *s = config + + return nil +} + +func (s *SCIMConfiguration) LoadByOrganizationID( + ctx context.Context, + conn pg.Conn, + scope Scoper, + organizationID gid.GID, +) error { + q := ` +SELECT + id, + organization_id, + hashed_token, + created_at, + updated_at +FROM + iam_scim_configurations +WHERE + %s + AND organization_id = @organization_id +LIMIT 1; +` + + q = fmt.Sprintf(q, scope.SQLFragment()) + + args := pgx.StrictNamedArgs{"organization_id": organizationID} + maps.Copy(args, scope.SQLArguments()) + + rows, err := conn.Query(ctx, q, args) + if err != nil { + return fmt.Errorf("cannot query iam_scim_configurations: %w", err) + } + + config, err := pgx.CollectExactlyOneRow(rows, pgx.RowToStructByName[SCIMConfiguration]) + if err != nil { + if errors.Is(err, pgx.ErrNoRows) { + return ErrResourceNotFound + } + + return fmt.Errorf("cannot collect scim_configuration: %w", err) + } + + *s = config + + return nil +} + +func (s *SCIMConfiguration) LoadByHashedToken( + ctx context.Context, + conn pg.Conn, + hashedToken []byte, +) error { + q := ` +SELECT + id, + organization_id, + hashed_token, + created_at, + updated_at +FROM + iam_scim_configurations +WHERE + hashed_token = @hashed_token +LIMIT 1; +` + + args := pgx.StrictNamedArgs{"hashed_token": hashedToken} + + rows, err := conn.Query(ctx, q, args) + if err != nil { + return fmt.Errorf("cannot query iam_scim_configurations: %w", err) + } + + config, err := pgx.CollectExactlyOneRow(rows, pgx.RowToStructByName[SCIMConfiguration]) + if err != nil { + if errors.Is(err, pgx.ErrNoRows) { + return ErrResourceNotFound + } + + return fmt.Errorf("cannot collect scim_configuration: %w", err) + } + + *s = config + + return nil +} + +func (s *SCIMConfiguration) Insert( + ctx context.Context, + conn pg.Conn, + scope Scoper, +) error { + q := ` +INSERT INTO iam_scim_configurations ( + id, + tenant_id, + organization_id, + hashed_token, + created_at, + updated_at +) VALUES ( + @id, + @tenant_id, + @organization_id, + @hashed_token, + @created_at, + @updated_at +) +` + + args := pgx.StrictNamedArgs{ + "id": s.ID, + "tenant_id": scope.GetTenantID(), + "organization_id": s.OrganizationID, + "hashed_token": s.HashedToken, + "created_at": s.CreatedAt, + "updated_at": s.UpdatedAt, + } + + _, err := conn.Exec(ctx, q, args) + if err != nil { + var pgErr *pgconn.PgError + if errors.As(err, &pgErr) { + if pgErr.Code == "23505" && pgErr.ConstraintName == "iam_scim_configurations_organization_unique" { + return ErrResourceAlreadyExists + } + } + + return fmt.Errorf("cannot insert scim_configuration: %w", err) + } + + return nil +} + +func (s *SCIMConfiguration) Update( + ctx context.Context, + conn pg.Conn, + scope Scoper, +) error { + q := ` +UPDATE iam_scim_configurations +SET + hashed_token = @hashed_token, + updated_at = @updated_at +WHERE + %s + AND id = @id +` + + q = fmt.Sprintf(q, scope.SQLFragment()) + + args := pgx.StrictNamedArgs{ + "id": s.ID, + "hashed_token": s.HashedToken, + "updated_at": s.UpdatedAt, + } + + maps.Copy(args, scope.SQLArguments()) + + _, err := conn.Exec(ctx, q, args) + if err != nil { + return fmt.Errorf("cannot update scim_configuration: %w", err) + } + + return nil +} + +func (s *SCIMConfiguration) Delete( + ctx context.Context, + conn pg.Conn, + scope Scoper, +) error { + q := ` +DELETE FROM iam_scim_configurations +WHERE + %s + AND id = @id +` + + q = fmt.Sprintf(q, scope.SQLFragment()) + + args := pgx.StrictNamedArgs{"id": s.ID} + maps.Copy(args, scope.SQLArguments()) + + _, err := conn.Exec(ctx, q, args) + if err != nil { + return fmt.Errorf("cannot delete scim_configuration: %w", err) + } + + return nil +} diff --git a/pkg/coredata/scim_configuration_order_field.go b/pkg/coredata/scim_configuration_order_field.go new file mode 100644 index 000000000..55625115e --- /dev/null +++ b/pkg/coredata/scim_configuration_order_field.go @@ -0,0 +1,40 @@ +// Copyright (c) 2025 Probo Inc . +// +// Permission to use, copy, modify, and/or distribute this software for any +// purpose with or without fee is hereby granted, provided that the above +// copyright notice and this permission notice appear in all copies. +// +// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +// LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +// OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +// PERFORMANCE OF THIS SOFTWARE. + +package coredata + +type ( + SCIMConfigurationOrderField string +) + +const ( + SCIMConfigurationOrderFieldCreatedAt SCIMConfigurationOrderField = "CREATED_AT" +) + +func (p SCIMConfigurationOrderField) Column() string { + return string(p) +} + +func (p SCIMConfigurationOrderField) String() string { + return string(p) +} + +func (p SCIMConfigurationOrderField) MarshalText() ([]byte, error) { + return []byte(p.String()), nil +} + +func (p *SCIMConfigurationOrderField) UnmarshalText(text []byte) error { + *p = SCIMConfigurationOrderField(text) + return nil +} diff --git a/pkg/coredata/scim_event.go b/pkg/coredata/scim_event.go new file mode 100644 index 000000000..0550ba4b3 --- /dev/null +++ b/pkg/coredata/scim_event.go @@ -0,0 +1,344 @@ +// Copyright (c) 2025 Probo Inc . +// +// Permission to use, copy, modify, and/or distribute this software for any +// purpose with or without fee is hereby granted, provided that the above +// copyright notice and this permission notice appear in all copies. +// +// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +// LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +// OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +// PERFORMANCE OF THIS SOFTWARE. + +package coredata + +import ( + "context" + "errors" + "fmt" + "maps" + "net" + "time" + + "github.com/jackc/pgx/v5" + "go.gearno.de/kit/pg" + "go.probo.inc/probo/pkg/gid" + "go.probo.inc/probo/pkg/page" +) + +type ( + SCIMEvent struct { + ID gid.GID `db:"id"` + OrganizationID gid.GID `db:"organization_id"` + SCIMConfigurationID gid.GID `db:"scim_configuration_id"` + Method string `db:"method"` + Path string `db:"path"` + RequestBody *string `db:"request_body"` + ResponseBody *string `db:"response_body"` + StatusCode int `db:"status_code"` + ErrorMessage *string `db:"error_message"` + MembershipID *gid.GID `db:"membership_id"` + IPAddress net.IP `db:"ip_address"` + CreatedAt time.Time `db:"created_at"` + } + + SCIMEvents []*SCIMEvent +) + +func (s *SCIMEvent) CursorKey(orderBy SCIMEventOrderField) page.CursorKey { + switch orderBy { + case SCIMEventOrderFieldCreatedAt: + return page.NewCursorKey(s.ID, s.CreatedAt) + } + + panic(fmt.Sprintf("unsupported order by: %s", orderBy)) +} + +func (s *SCIMEvent) AuthorizationAttributes(ctx context.Context, conn pg.Conn) (map[string]string, error) { + q := `SELECT organization_id FROM iam_scim_events WHERE id = $1 LIMIT 1;` + + var organizationID gid.GID + if err := conn.QueryRow(ctx, q, s.ID).Scan(&organizationID); err != nil { + if errors.Is(err, pgx.ErrNoRows) { + return nil, ErrResourceNotFound + } + return nil, fmt.Errorf("cannot query scim event authorization attributes: %w", err) + } + + return map[string]string{"organization_id": organizationID.String()}, nil +} + +func (s *SCIMEvent) LoadByID( + ctx context.Context, + conn pg.Conn, + scope Scoper, + eventID gid.GID, +) error { + q := ` +SELECT + id, + organization_id, + scim_configuration_id, + method, + path, + request_body, + response_body, + status_code, + error_message, + membership_id, + ip_address, + created_at +FROM + iam_scim_events +WHERE + %s + AND id = @id +LIMIT 1; +` + + q = fmt.Sprintf(q, scope.SQLFragment()) + + args := pgx.StrictNamedArgs{"id": eventID} + maps.Copy(args, scope.SQLArguments()) + + rows, err := conn.Query(ctx, q, args) + if err != nil { + return fmt.Errorf("cannot query iam_scim_events: %w", err) + } + + event, err := pgx.CollectExactlyOneRow(rows, pgx.RowToStructByName[SCIMEvent]) + if err != nil { + if errors.Is(err, pgx.ErrNoRows) { + return ErrResourceNotFound + } + + return fmt.Errorf("cannot collect scim_event: %w", err) + } + + *s = event + + return nil +} + +func (s *SCIMEvent) Insert( + ctx context.Context, + conn pg.Conn, + scope Scoper, +) error { + q := ` +INSERT INTO iam_scim_events ( + id, + tenant_id, + organization_id, + scim_configuration_id, + method, + path, + request_body, + response_body, + status_code, + error_message, + membership_id, + ip_address, + created_at +) VALUES ( + @id, + @tenant_id, + @organization_id, + @scim_configuration_id, + @method, + @path, + @request_body, + @response_body, + @status_code, + @error_message, + @membership_id, + @ip_address, + @created_at +) +` + + args := pgx.StrictNamedArgs{ + "id": s.ID, + "tenant_id": scope.GetTenantID(), + "organization_id": s.OrganizationID, + "scim_configuration_id": s.SCIMConfigurationID, + "method": s.Method, + "path": s.Path, + "request_body": s.RequestBody, + "response_body": s.ResponseBody, + "status_code": s.StatusCode, + "error_message": s.ErrorMessage, + "membership_id": s.MembershipID, + "ip_address": s.IPAddress, + "created_at": s.CreatedAt, + } + + _, err := conn.Exec(ctx, q, args) + if err != nil { + return fmt.Errorf("cannot insert scim_event: %w", err) + } + + return nil +} + +func (s *SCIMEvents) LoadByOrganizationID( + ctx context.Context, + conn pg.Conn, + scope Scoper, + organizationID gid.GID, + cursor *page.Cursor[SCIMEventOrderField], +) error { + q := ` +SELECT + id, + organization_id, + scim_configuration_id, + method, + path, + request_body, + response_body, + status_code, + error_message, + membership_id, + ip_address, + created_at +FROM + iam_scim_events +WHERE + %s + AND organization_id = @organization_id + AND %s +` + + q = fmt.Sprintf(q, scope.SQLFragment(), cursor.SQLFragment()) + + args := pgx.StrictNamedArgs{"organization_id": organizationID} + maps.Copy(args, scope.SQLArguments()) + maps.Copy(args, cursor.SQLArguments()) + + rows, err := conn.Query(ctx, q, args) + if err != nil { + return fmt.Errorf("cannot query iam_scim_events: %w", err) + } + + events, err := pgx.CollectRows(rows, pgx.RowToAddrOfStructByName[SCIMEvent]) + if err != nil { + return fmt.Errorf("cannot collect scim_events: %w", err) + } + + *s = events + + return nil +} + +func (s *SCIMEvents) CountByOrganizationID( + ctx context.Context, + conn pg.Conn, + scope Scoper, + organizationID gid.GID, +) (int, error) { + q := ` +SELECT + COUNT(*) +FROM + iam_scim_events +WHERE + %s + AND organization_id = @organization_id +` + + q = fmt.Sprintf(q, scope.SQLFragment()) + + args := pgx.StrictNamedArgs{"organization_id": organizationID} + maps.Copy(args, scope.SQLArguments()) + + row := conn.QueryRow(ctx, q, args) + var count int + if err := row.Scan(&count); err != nil { + return 0, fmt.Errorf("cannot count scim_events: %w", err) + } + + return count, nil +} + +func (s *SCIMEvents) LoadBySCIMConfigurationID( + ctx context.Context, + conn pg.Conn, + scope Scoper, + scimConfigurationID gid.GID, + cursor *page.Cursor[SCIMEventOrderField], +) error { + q := ` +SELECT + id, + organization_id, + scim_configuration_id, + method, + path, + request_body, + response_body, + status_code, + error_message, + membership_id, + ip_address, + created_at +FROM + iam_scim_events +WHERE + %s + AND scim_configuration_id = @scim_configuration_id + AND %s +` + + q = fmt.Sprintf(q, scope.SQLFragment(), cursor.SQLFragment()) + + args := pgx.StrictNamedArgs{"scim_configuration_id": scimConfigurationID} + maps.Copy(args, scope.SQLArguments()) + maps.Copy(args, cursor.SQLArguments()) + + rows, err := conn.Query(ctx, q, args) + if err != nil { + return fmt.Errorf("cannot query iam_scim_events: %w", err) + } + + events, err := pgx.CollectRows(rows, pgx.RowToAddrOfStructByName[SCIMEvent]) + if err != nil { + return fmt.Errorf("cannot collect scim_events: %w", err) + } + + *s = events + + return nil +} + +func (s *SCIMEvents) CountBySCIMConfigurationID( + ctx context.Context, + conn pg.Conn, + scope Scoper, + scimConfigurationID gid.GID, +) (int, error) { + q := ` +SELECT + COUNT(*) +FROM + iam_scim_events +WHERE + %s + AND scim_configuration_id = @scim_configuration_id +` + + q = fmt.Sprintf(q, scope.SQLFragment()) + + args := pgx.StrictNamedArgs{"scim_configuration_id": scimConfigurationID} + maps.Copy(args, scope.SQLArguments()) + + row := conn.QueryRow(ctx, q, args) + var count int + if err := row.Scan(&count); err != nil { + return 0, fmt.Errorf("cannot count scim_events: %w", err) + } + + return count, nil +} diff --git a/pkg/coredata/scim_event_order_field.go b/pkg/coredata/scim_event_order_field.go new file mode 100644 index 000000000..16883d5fe --- /dev/null +++ b/pkg/coredata/scim_event_order_field.go @@ -0,0 +1,40 @@ +// Copyright (c) 2025 Probo Inc . +// +// Permission to use, copy, modify, and/or distribute this software for any +// purpose with or without fee is hereby granted, provided that the above +// copyright notice and this permission notice appear in all copies. +// +// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +// LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +// OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +// PERFORMANCE OF THIS SOFTWARE. + +package coredata + +type ( + SCIMEventOrderField string +) + +const ( + SCIMEventOrderFieldCreatedAt SCIMEventOrderField = "CREATED_AT" +) + +func (p SCIMEventOrderField) Column() string { + return string(p) +} + +func (p SCIMEventOrderField) String() string { + return string(p) +} + +func (p SCIMEventOrderField) MarshalText() ([]byte, error) { + return []byte(p.String()), nil +} + +func (p *SCIMEventOrderField) UnmarshalText(text []byte) error { + *p = SCIMEventOrderField(text) + return nil +} diff --git a/pkg/iam/errors.go b/pkg/iam/errors.go index 078e0b57e..af2aa368e 100644 --- a/pkg/iam/errors.go +++ b/pkg/iam/errors.go @@ -318,6 +318,16 @@ func (e ErrSAMLConfigurationEmailDomainAlreadyExists) Error() string { return fmt.Sprintf("SAML configuration email domain %q already exists", e.EmailDomain) } +type ErrNoSCIMConfigurationFound struct{ OrganizationID gid.GID } + +func NewNoSCIMConfigurationFoundError(organizationID gid.GID) error { + return &ErrNoSCIMConfigurationFound{OrganizationID: organizationID} +} + +func (e ErrNoSCIMConfigurationFound) Error() string { + return fmt.Sprintf("SCIM configuration not found for organization %q", e.OrganizationID) +} + // TenantAccessError is used by API recovery middleware to translate authorization/tenant failures // into a consistent client-facing error response. // diff --git a/pkg/iam/iam_actions.go b/pkg/iam/iam_actions.go index 7d0b88086..8d48b62f2 100644 --- a/pkg/iam/iam_actions.go +++ b/pkg/iam/iam_actions.go @@ -64,4 +64,14 @@ const ( ActionSAMLConfigurationUpdate = "iam:saml-configuration:update" ActionSAMLConfigurationDelete = "iam:saml-configuration:delete" ActionSAMLConfigurationList = "iam:saml-configuration:list" + + // SCIM Configuration actions + ActionSCIMConfigurationCreate = "iam:scim-configuration:create" + ActionSCIMConfigurationGet = "iam:scim-configuration:get" + ActionSCIMConfigurationUpdate = "iam:scim-configuration:update" + ActionSCIMConfigurationDelete = "iam:scim-configuration:delete" + + // SCIM Event actions + ActionSCIMEventList = "iam:scim-event:list" + ActionSCIMEventGet = "iam:scim-event:get" ) diff --git a/pkg/iam/iam_policies.go b/pkg/iam/iam_policies.go index 2bcc062c6..b211bb265 100644 --- a/pkg/iam/iam_policies.go +++ b/pkg/iam/iam_policies.go @@ -153,6 +153,16 @@ var IAMOwnerPolicy = policy.NewPolicy( policy.Allow("iam:saml-configuration:*"). WithSID("full-saml-access"). When(policy.Equals("principal.organization_id", "resource.organization_id")), + + // Full access to SCIM configuration management (scoped to own organization) + policy.Allow("iam:scim-configuration:*"). + WithSID("full-scim-configuration-access"). + When(policy.Equals("principal.organization_id", "resource.organization_id")), + + // Full access to SCIM event viewing (scoped to own organization) + policy.Allow("iam:scim-event:*"). + WithSID("full-scim-event-access"). + When(policy.Equals("principal.organization_id", "resource.organization_id")), ). WithDescription("Full IAM access for organization owners") @@ -218,8 +228,25 @@ var IAMAdminPolicy = policy.NewPolicy( ActionSAMLConfigurationDelete, ). WithSID("deny-saml-management"), + + // Can view SCIM configuration and events (scoped to own organization) + policy.Allow( + ActionSCIMConfigurationGet, + ActionSCIMEventList, + ActionSCIMEventGet, + ). + WithSID("scim-admin-view-access"). + When(policy.Equals("principal.organization_id", "resource.organization_id")), + + // Cannot manage SCIM configurations (only owner can) + policy.Deny( + ActionSCIMConfigurationCreate, + ActionSCIMConfigurationUpdate, + ActionSCIMConfigurationDelete, + ). + WithSID("deny-scim-management"), ). - WithDescription("IAM admin access - can manage members but cannot delete organization or manage SAML") + WithDescription("IAM admin access - can manage members but cannot delete organization or manage SAML/SCIM") // IAMViewerPolicy defines permissions for organization viewers. var IAMViewerPolicy = policy.NewPolicy( diff --git a/pkg/iam/organization_service.go b/pkg/iam/organization_service.go index 134a8fd60..2d1e18697 100644 --- a/pkg/iam/organization_service.go +++ b/pkg/iam/organization_service.go @@ -28,6 +28,7 @@ import ( "go.probo.inc/probo/pkg/coredata" "go.probo.inc/probo/pkg/filevalidation" "go.probo.inc/probo/pkg/gid" + "go.probo.inc/probo/pkg/iam/scim" "go.probo.inc/probo/pkg/mail" "go.probo.inc/probo/pkg/page" "go.probo.inc/probo/pkg/statelesstoken" @@ -1089,6 +1090,275 @@ func (s OrganizationService) CountSAMLConfigurations( return count, err } +func (s OrganizationService) ListSCIMEvents( + ctx context.Context, + organizationID gid.GID, + cursor *page.Cursor[coredata.SCIMEventOrderField], +) (*page.Page[*coredata.SCIMEvent, coredata.SCIMEventOrderField], error) { + var ( + scope = coredata.NewScopeFromObjectID(organizationID) + scimEvents = coredata.SCIMEvents{} + ) + + err := s.pg.WithConn( + ctx, + func(conn pg.Conn) error { + err := scimEvents.LoadByOrganizationID(ctx, conn, scope, organizationID, cursor) + if err != nil { + return fmt.Errorf("cannot load scim events: %w", err) + } + + return nil + }, + ) + if err != nil { + return nil, err + } + + return page.NewPage(scimEvents, cursor), nil +} + +func (s OrganizationService) CountSCIMEvents( + ctx context.Context, + organizationID gid.GID, +) (int, error) { + var ( + scope = coredata.NewScopeFromObjectID(organizationID) + count int + ) + + err := s.pg.WithConn( + ctx, + func(conn pg.Conn) (err error) { + scimEvents := coredata.SCIMEvents{} + count, err = scimEvents.CountByOrganizationID(ctx, conn, scope, organizationID) + if err != nil { + return fmt.Errorf("cannot count scim events: %w", err) + } + + return nil + }, + ) + + return count, err +} + +func (s OrganizationService) GetSCIMConfiguration( + ctx context.Context, + organizationID gid.GID, +) (*coredata.SCIMConfiguration, error) { + var ( + scope = coredata.NewScopeFromObjectID(organizationID) + config = &coredata.SCIMConfiguration{} + ) + + err := s.pg.WithConn( + ctx, + func(conn pg.Conn) error { + err := config.LoadByOrganizationID(ctx, conn, scope, organizationID) + if err != nil { + if err == coredata.ErrResourceNotFound { + return NewNoSCIMConfigurationFoundError(organizationID) + } + + return fmt.Errorf("cannot load SCIM configuration: %w", err) + } + return nil + }, + ) + + if err != nil { + return nil, err + } + + return config, nil +} + +func (s OrganizationService) CreateSCIMConfiguration( + ctx context.Context, + organizationID gid.GID, +) (*coredata.SCIMConfiguration, string, error) { + token, err := scim.GenerateToken() + if err != nil { + return nil, "", err + } + + hashedToken := scim.HashToken(token) + now := time.Now() + + config := &coredata.SCIMConfiguration{ + ID: gid.New(organizationID.TenantID(), coredata.SCIMConfigurationEntityType), + OrganizationID: organizationID, + HashedToken: hashedToken, + CreatedAt: now, + UpdatedAt: now, + } + + scope := coredata.NewScopeFromObjectID(organizationID) + + err = s.pg.WithTx( + ctx, + func(tx pg.Conn) error { + err := config.Insert(ctx, tx, scope) + if err != nil { + if err == coredata.ErrResourceAlreadyExists { + return scim.NewSCIMConfigurationAlreadyExistsError(organizationID) + } + return fmt.Errorf("cannot insert SCIM configuration: %w", err) + } + return nil + }, + ) + + if err != nil { + return nil, "", err + } + + return config, token, nil +} + +func (s OrganizationService) DeleteSCIMConfiguration( + ctx context.Context, + organizationID gid.GID, + configID gid.GID, +) error { + scope := coredata.NewScopeFromObjectID(configID) + + return s.pg.WithTx( + ctx, + func(tx pg.Conn) error { + config := &coredata.SCIMConfiguration{} + err := config.LoadByID(ctx, tx, scope, configID) + if err != nil { + if err == coredata.ErrResourceNotFound { + return scim.NewSCIMConfigurationNotFoundError(configID) + } + + return fmt.Errorf("cannot load SCIM configuration: %w", err) + } + + if config.OrganizationID != organizationID { + return scim.NewSCIMConfigurationNotFoundError(configID) + } + + memberships := &coredata.Memberships{} + err = memberships.ResetSCIMSources(ctx, tx, scope, config.OrganizationID) + if err != nil { + return fmt.Errorf("cannot reset membership sources: %w", err) + } + + err = config.Delete(ctx, tx, scope) + if err != nil { + return fmt.Errorf("cannot delete SCIM configuration: %w", err) + } + + return nil + }, + ) +} + +func (s OrganizationService) RegenerateSCIMToken( + ctx context.Context, + organizationID gid.GID, + configID gid.GID, +) (*coredata.SCIMConfiguration, string, error) { + token, err := scim.GenerateToken() + if err != nil { + return nil, "", err + } + + hashedToken := scim.HashToken(token) + config := &coredata.SCIMConfiguration{} + scope := coredata.NewScopeFromObjectID(configID) + + err = s.pg.WithTx( + ctx, + func(tx pg.Conn) error { + err := config.LoadByID(ctx, tx, scope, configID) + if err != nil { + if err == coredata.ErrResourceNotFound { + return scim.NewSCIMConfigurationNotFoundError(configID) + } + + return fmt.Errorf("cannot load SCIM configuration: %w", err) + } + + if config.OrganizationID != organizationID { + return scim.NewSCIMConfigurationNotFoundError(configID) + } + + config.HashedToken = hashedToken + config.UpdatedAt = time.Now() + + err = config.Update(ctx, tx, scope) + if err != nil { + return fmt.Errorf("cannot update SCIM configuration: %w", err) + } + + return nil + }, + ) + + if err != nil { + return nil, "", err + } + + return config, token, nil +} + +func (s OrganizationService) ListSCIMEventsByConfigID( + ctx context.Context, + scimConfigurationID gid.GID, + cursor *page.Cursor[coredata.SCIMEventOrderField], +) (*page.Page[*coredata.SCIMEvent, coredata.SCIMEventOrderField], error) { + var ( + scope = coredata.NewScopeFromObjectID(scimConfigurationID) + scimEvents = coredata.SCIMEvents{} + ) + + err := s.pg.WithConn( + ctx, + func(conn pg.Conn) error { + err := scimEvents.LoadBySCIMConfigurationID(ctx, conn, scope, scimConfigurationID, cursor) + if err != nil { + return fmt.Errorf("cannot load scim events: %w", err) + } + + return nil + }, + ) + if err != nil { + return nil, err + } + + return page.NewPage(scimEvents, cursor), nil +} + +func (s OrganizationService) CountSCIMEventsByConfigID( + ctx context.Context, + scimConfigurationID gid.GID, +) (int, error) { + var ( + scope = coredata.NewScopeFromObjectID(scimConfigurationID) + count int + ) + + err := s.pg.WithConn( + ctx, + func(conn pg.Conn) (err error) { + scimEvents := coredata.SCIMEvents{} + count, err = scimEvents.CountBySCIMConfigurationID(ctx, conn, scope, scimConfigurationID) + if err != nil { + return fmt.Errorf("cannot count scim events: %w", err) + } + + return nil + }, + ) + + return count, err +} + func (s OrganizationService) CreateSAMLConfiguration( ctx context.Context, organizationID gid.GID, diff --git a/pkg/iam/saml/service.go b/pkg/iam/saml/service.go index 8fbf7dc9f..34b25a020 100644 --- a/pkg/iam/saml/service.go +++ b/pkg/iam/saml/service.go @@ -322,27 +322,40 @@ func (s *Service) HandleAssertion( } } - if role != nil { - membership.Role = *role - membership.UpdatedAt = now + if membership.Source != coredata.MembershipSourceSCIM { + needsUpdate := false - err = membership.Update(ctx, tx, scope) - if err != nil { - return fmt.Errorf("cannot update membership: %w", err) + if role != nil { + membership.Role = *role + membership.UpdatedAt = now + needsUpdate = true } - } - memberProfile := &coredata.MembershipProfile{} - err = memberProfile.LoadByMembershipID(ctx, tx, scope, membership.ID) - if err != nil { - return fmt.Errorf("cannot load membership profile: %w", err) - } + if membership.Source == coredata.MembershipSourceManual { + membership.Source = coredata.MembershipSourceSAML + membership.UpdatedAt = now + needsUpdate = true + } - memberProfile.FullName = fullname - memberProfile.UpdatedAt = now - err = memberProfile.Update(ctx, tx, scope) - if err != nil { - return fmt.Errorf("cannot update membership profile: %w", err) + if needsUpdate { + err = membership.Update(ctx, tx, scope) + if err != nil { + return fmt.Errorf("cannot update membership: %w", err) + } + } + + memberProfile := &coredata.MembershipProfile{} + err = memberProfile.LoadByMembershipID(ctx, tx, scope, membership.ID) + if err != nil { + return fmt.Errorf("cannot load membership profile: %w", err) + } + + memberProfile.FullName = fullname + memberProfile.UpdatedAt = now + err = memberProfile.Update(ctx, tx, scope) + if err != nil { + return fmt.Errorf("cannot update membership profile: %w", err) + } } return nil diff --git a/pkg/iam/service.go b/pkg/iam/service.go index 2838bd9b3..78cbdbede 100644 --- a/pkg/iam/service.go +++ b/pkg/iam/service.go @@ -272,3 +272,59 @@ func (s *Service) GetPersonalAPIKey(ctx context.Context, personalAPIKeyID gid.GI return personalAPIKey, nil } + +func (s *Service) GetSCIMConfiguration(ctx context.Context, scimConfigurationID gid.GID) (*coredata.SCIMConfiguration, error) { + var ( + scope = coredata.NewScopeFromObjectID(scimConfigurationID) + scimConfiguration = &coredata.SCIMConfiguration{} + ) + + err := s.pg.WithConn( + ctx, + func(conn pg.Conn) error { + err := scimConfiguration.LoadByID(ctx, conn, scope, scimConfigurationID) + if err != nil { + if err == coredata.ErrResourceNotFound { + return scim.NewSCIMConfigurationNotFoundError(scimConfigurationID) + } + + return fmt.Errorf("cannot load SCIM configuration: %w", err) + } + + return nil + }, + ) + if err != nil { + return nil, err + } + + return scimConfiguration, nil +} + +func (s *Service) GetSCIMEvent(ctx context.Context, scimEventID gid.GID) (*coredata.SCIMEvent, error) { + var ( + scope = coredata.NewScopeFromObjectID(scimEventID) + scimEvent = &coredata.SCIMEvent{} + ) + + err := s.pg.WithConn( + ctx, + func(conn pg.Conn) error { + err := scimEvent.LoadByID(ctx, conn, scope, scimEventID) + if err != nil { + if err == coredata.ErrResourceNotFound { + return fmt.Errorf("SCIM event not found: %s", scimEventID) + } + + return fmt.Errorf("cannot load SCIM event: %w", err) + } + + return nil + }, + ) + if err != nil { + return nil, err + } + + return scimEvent, nil +} diff --git a/pkg/probo/actions.go b/pkg/probo/actions.go index e266a4637..00207b0ff 100644 --- a/pkg/probo/actions.go +++ b/pkg/probo/actions.go @@ -284,6 +284,7 @@ const ( ActionDataProtectionImpactAssessmentCreate = "core:data-protection-impact-assessment:create" ActionDataProtectionImpactAssessmentUpdate = "core:data-protection-impact-assessment:update" ActionDataProtectionImpactAssessmentDelete = "core:data-protection-impact-assessment:delete" + ActionDataProtectionImpactAssessmentExport = "core:data-protection-impact-assessment:export" // TransferImpactAssessment actions ActionTransferImpactAssessmentList = "core:transfer-impact-assessment:list" diff --git a/pkg/server/api/connect/v1/schema.graphql b/pkg/server/api/connect/v1/schema.graphql index c530bfe48..64f2dd114 100644 --- a/pkg/server/api/connect/v1/schema.graphql +++ b/pkg/server/api/connect/v1/schema.graphql @@ -123,6 +123,16 @@ type Mutation { deleteSAMLConfiguration( input: DeleteSAMLConfigurationInput! ): DeleteSAMLConfigurationPayload @session(required: PRESENT) + + createSCIMConfiguration( + input: CreateSCIMConfigurationInput! + ): CreateSCIMConfigurationPayload @session(required: PRESENT) + deleteSCIMConfiguration( + input: DeleteSCIMConfigurationInput! + ): DeleteSCIMConfigurationPayload @session(required: PRESENT) + regenerateSCIMToken( + input: RegenerateSCIMTokenInput! + ): RegenerateSCIMTokenPayload @session(required: PRESENT) } type Identity implements Node { @@ -216,6 +226,8 @@ type Organization implements Node { before: CursorKey ): SAMLConfigurationConnection @goField(forceResolver: true) + scimConfiguration: SCIMConfiguration @goField(forceResolver: true) + viewerMembership: Membership @goField(forceResolver: true) permission(action: String!): Boolean! @@ -239,6 +251,7 @@ enum MembershipSource MANUAL @goEnum(value: "go.probo.inc/probo/pkg/coredata.MembershipSourceManual") SAML @goEnum(value: "go.probo.inc/probo/pkg/coredata.MembershipSourceSAML") + SCIM @goEnum(value: "go.probo.inc/probo/pkg/coredata.MembershipSourceSCIM") } type Membership implements Node { @@ -333,6 +346,43 @@ type SSOAvailability { organizationId: ID } +type SCIMConfiguration implements Node { + id: ID! + endpointUrl: String! @goField(forceResolver: true) + createdAt: Datetime! + updatedAt: Datetime! + organization: Organization @goField(forceResolver: true) + + events( + first: Int + after: CursorKey + last: Int + before: CursorKey + orderBy: SCIMEventOrder + ): SCIMEventConnection @goField(forceResolver: true) + + permission(action: String!): Boolean! + @goField(forceResolver: true) + @session(required: PRESENT) +} + +type SCIMEvent implements Node { + id: ID! + method: String! + path: String! + statusCode: Int! + requestBody: String + responseBody: String + errorMessage: String + membership: Membership @goField(forceResolver: true) + ipAddress: String! + createdAt: Datetime! + + permission(action: String!): Boolean! + @goField(forceResolver: true) + @session(required: PRESENT) +} + enum InvitationStatus @goModel(model: "go.probo.inc/probo/pkg/coredata.InvitationStatus") { PENDING @@ -478,6 +528,36 @@ type SAMLConfigurationEdge { cursor: CursorKey! } +enum SCIMEventOrderField + @goModel(model: "go.probo.inc/probo/pkg/coredata.SCIMEventOrderField") { + CREATED_AT + @goEnum( + value: "go.probo.inc/probo/pkg/coredata.SCIMEventOrderFieldCreatedAt" + ) +} + +input SCIMEventOrder + @goModel( + model: "go.probo.inc/probo/pkg/server/api/connect/v1/types.SCIMEventOrderBy" + ) { + direction: OrderDirection! + field: SCIMEventOrderField! +} + +type SCIMEventConnection + @goModel( + model: "go.probo.inc/probo/pkg/server/api/connect/v1/types.SCIMEventConnection" + ) { + edges: [SCIMEventEdge!]! + pageInfo: PageInfo! + totalCount: Int @goField(forceResolver: true) +} + +type SCIMEventEdge { + node: SCIMEvent! + cursor: CursorKey! +} + type PageInfo { hasNextPage: Boolean! hasPreviousPage: Boolean! @@ -752,3 +832,31 @@ type UpdateSAMLConfigurationPayload { type DeleteSAMLConfigurationPayload { deletedSamlConfigurationId: ID! } + +input CreateSCIMConfigurationInput { + organizationId: ID! +} + +input DeleteSCIMConfigurationInput { + organizationId: ID! + scimConfigurationId: ID! +} + +input RegenerateSCIMTokenInput { + organizationId: ID! + scimConfigurationId: ID! +} + +type CreateSCIMConfigurationPayload { + scimConfiguration: SCIMConfiguration! + token: String! +} + +type DeleteSCIMConfigurationPayload { + deletedScimConfigurationId: ID! +} + +type RegenerateSCIMTokenPayload { + scimConfiguration: SCIMConfiguration! + token: String! +} diff --git a/pkg/server/api/connect/v1/schema/schema.go b/pkg/server/api/connect/v1/schema/schema.go index 892ee9344..1052df3c3 100644 --- a/pkg/server/api/connect/v1/schema/schema.go +++ b/pkg/server/api/connect/v1/schema/schema.go @@ -59,6 +59,9 @@ type ResolverRoot interface { Query() QueryResolver SAMLConfiguration() SAMLConfigurationResolver SAMLConfigurationConnection() SAMLConfigurationConnectionResolver + SCIMConfiguration() SCIMConfigurationResolver + SCIMEvent() SCIMEventResolver + SCIMEventConnection() SCIMEventConnectionResolver Session() SessionResolver SessionConnection() SessionConnectionResolver } @@ -99,6 +102,11 @@ type ComplexityRoot struct { SamlConfigurationEdge func(childComplexity int) int } + CreateSCIMConfigurationPayload struct { + ScimConfiguration func(childComplexity int) int + Token func(childComplexity int) int + } + DeleteInvitationPayload struct { DeletedInvitationID func(childComplexity int) int } @@ -115,6 +123,10 @@ type ComplexityRoot struct { DeletedSamlConfigurationID func(childComplexity int) int } + DeleteSCIMConfigurationPayload struct { + DeletedScimConfigurationID func(childComplexity int) int + } + ForgotPasswordPayload struct { Success func(childComplexity int) int } @@ -200,12 +212,15 @@ type ComplexityRoot struct { CreateOrganization func(childComplexity int, input types.CreateOrganizationInput) int CreatePersonalAPIKey func(childComplexity int, input types.CreatePersonalAPIKeyInput) int CreateSAMLConfiguration func(childComplexity int, input types.CreateSAMLConfigurationInput) int + CreateSCIMConfiguration func(childComplexity int, input types.CreateSCIMConfigurationInput) int DeleteInvitation func(childComplexity int, input types.DeleteInvitationInput) int DeleteOrganization func(childComplexity int, input types.DeleteOrganizationInput) int DeleteOrganizationHorizontalLogo func(childComplexity int, input types.DeleteOrganizationHorizontalLogoInput) int DeleteSAMLConfiguration func(childComplexity int, input types.DeleteSAMLConfigurationInput) int + DeleteSCIMConfiguration func(childComplexity int, input types.DeleteSCIMConfigurationInput) int ForgotPassword func(childComplexity int, input types.ForgotPasswordInput) int InviteMember func(childComplexity int, input types.InviteMemberInput) int + RegenerateSCIMToken func(childComplexity int, input types.RegenerateSCIMTokenInput) int RemoveMember func(childComplexity int, input types.RemoveMemberInput) int ResetPassword func(childComplexity int, input types.ResetPasswordInput) int RevokeAllSessions func(childComplexity int) int @@ -234,6 +249,7 @@ type ComplexityRoot struct { Name func(childComplexity int) int Permission func(childComplexity int, action string) int SamlConfigurations func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey) int + ScimConfiguration func(childComplexity int) int UpdatedAt func(childComplexity int) int ViewerMembership func(childComplexity int) int WebsiteURL func(childComplexity int) int @@ -281,6 +297,11 @@ type ComplexityRoot struct { Viewer func(childComplexity int) int } + RegenerateSCIMTokenPayload struct { + ScimConfiguration func(childComplexity int) int + Token func(childComplexity int) int + } + RemoveMemberPayload struct { DeletedMembershipID func(childComplexity int) int } @@ -341,6 +362,41 @@ type ComplexityRoot struct { Node func(childComplexity int) int } + SCIMConfiguration struct { + CreatedAt func(childComplexity int) int + EndpointURL func(childComplexity int) int + Events func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.SCIMEventOrderBy) int + ID func(childComplexity int) int + Organization func(childComplexity int) int + Permission func(childComplexity int, action string) int + UpdatedAt func(childComplexity int) int + } + + SCIMEvent struct { + CreatedAt func(childComplexity int) int + ErrorMessage func(childComplexity int) int + ID func(childComplexity int) int + IPAddress func(childComplexity int) int + Membership func(childComplexity int) int + Method func(childComplexity int) int + Path func(childComplexity int) int + Permission func(childComplexity int, action string) int + RequestBody func(childComplexity int) int + ResponseBody func(childComplexity int) int + StatusCode func(childComplexity int) int + } + + SCIMEventConnection struct { + Edges func(childComplexity int) int + PageInfo func(childComplexity int) int + TotalCount func(childComplexity int) int + } + + SCIMEventEdge struct { + Cursor func(childComplexity int) int + Node func(childComplexity int) int + } + SSOAvailability struct { Available func(childComplexity int) int OrganizationID func(childComplexity int) int @@ -458,6 +514,9 @@ type MutationResolver interface { CreateSAMLConfiguration(ctx context.Context, input types.CreateSAMLConfigurationInput) (*types.CreateSAMLConfigurationPayload, error) UpdateSAMLConfiguration(ctx context.Context, input types.UpdateSAMLConfigurationInput) (*types.UpdateSAMLConfigurationPayload, error) DeleteSAMLConfiguration(ctx context.Context, input types.DeleteSAMLConfigurationInput) (*types.DeleteSAMLConfigurationPayload, error) + CreateSCIMConfiguration(ctx context.Context, input types.CreateSCIMConfigurationInput) (*types.CreateSCIMConfigurationPayload, error) + DeleteSCIMConfiguration(ctx context.Context, input types.DeleteSCIMConfigurationInput) (*types.DeleteSCIMConfigurationPayload, error) + RegenerateSCIMToken(ctx context.Context, input types.RegenerateSCIMTokenInput) (*types.RegenerateSCIMTokenPayload, error) } type OrganizationResolver interface { LogoURL(ctx context.Context, obj *types.Organization) (*string, error) @@ -466,6 +525,7 @@ type OrganizationResolver interface { Members(ctx context.Context, obj *types.Organization, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.MembershipOrderBy) (*types.MembershipConnection, error) Invitations(ctx context.Context, obj *types.Organization, first *int, after *page.CursorKey, last *int, before *page.CursorKey, status *coredata.InvitationStatus, orderBy *types.InvitationOrderBy) (*types.InvitationConnection, error) SamlConfigurations(ctx context.Context, obj *types.Organization, first *int, after *page.CursorKey, last *int, before *page.CursorKey) (*types.SAMLConfigurationConnection, error) + ScimConfiguration(ctx context.Context, obj *types.Organization) (*types.SCIMConfiguration, error) ViewerMembership(ctx context.Context, obj *types.Organization) (*types.Membership, error) Permission(ctx context.Context, obj *types.Organization, action string) (bool, error) } @@ -489,6 +549,21 @@ type SAMLConfigurationResolver interface { type SAMLConfigurationConnectionResolver interface { TotalCount(ctx context.Context, obj *types.SAMLConfigurationConnection) (*int, error) } +type SCIMConfigurationResolver interface { + EndpointURL(ctx context.Context, obj *types.SCIMConfiguration) (string, error) + + Organization(ctx context.Context, obj *types.SCIMConfiguration) (*types.Organization, error) + Events(ctx context.Context, obj *types.SCIMConfiguration, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.SCIMEventOrderBy) (*types.SCIMEventConnection, error) + Permission(ctx context.Context, obj *types.SCIMConfiguration, action string) (bool, error) +} +type SCIMEventResolver interface { + Membership(ctx context.Context, obj *types.SCIMEvent) (*types.Membership, error) + + Permission(ctx context.Context, obj *types.SCIMEvent, action string) (bool, error) +} +type SCIMEventConnectionResolver interface { + TotalCount(ctx context.Context, obj *types.SCIMEventConnection) (*int, error) +} type SessionResolver interface { Identity(ctx context.Context, obj *types.Session) (*types.Identity, error) @@ -578,6 +653,19 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return e.complexity.CreateSAMLConfigurationPayload.SamlConfigurationEdge(childComplexity), true + case "CreateSCIMConfigurationPayload.scimConfiguration": + if e.complexity.CreateSCIMConfigurationPayload.ScimConfiguration == nil { + break + } + + return e.complexity.CreateSCIMConfigurationPayload.ScimConfiguration(childComplexity), true + case "CreateSCIMConfigurationPayload.token": + if e.complexity.CreateSCIMConfigurationPayload.Token == nil { + break + } + + return e.complexity.CreateSCIMConfigurationPayload.Token(childComplexity), true + case "DeleteInvitationPayload.deletedInvitationId": if e.complexity.DeleteInvitationPayload.DeletedInvitationID == nil { break @@ -606,6 +694,13 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return e.complexity.DeleteSAMLConfigurationPayload.DeletedSamlConfigurationID(childComplexity), true + case "DeleteSCIMConfigurationPayload.deletedScimConfigurationId": + if e.complexity.DeleteSCIMConfigurationPayload.DeletedScimConfigurationID == nil { + break + } + + return e.complexity.DeleteSCIMConfigurationPayload.DeletedScimConfigurationID(childComplexity), true + case "ForgotPasswordPayload.success": if e.complexity.ForgotPasswordPayload.Success == nil { break @@ -1015,6 +1110,17 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin } return e.complexity.Mutation.CreateSAMLConfiguration(childComplexity, args["input"].(types.CreateSAMLConfigurationInput)), true + case "Mutation.createSCIMConfiguration": + if e.complexity.Mutation.CreateSCIMConfiguration == nil { + break + } + + args, err := ec.field_Mutation_createSCIMConfiguration_args(ctx, rawArgs) + if err != nil { + return 0, false + } + + return e.complexity.Mutation.CreateSCIMConfiguration(childComplexity, args["input"].(types.CreateSCIMConfigurationInput)), true case "Mutation.deleteInvitation": if e.complexity.Mutation.DeleteInvitation == nil { break @@ -1059,6 +1165,17 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin } return e.complexity.Mutation.DeleteSAMLConfiguration(childComplexity, args["input"].(types.DeleteSAMLConfigurationInput)), true + case "Mutation.deleteSCIMConfiguration": + if e.complexity.Mutation.DeleteSCIMConfiguration == nil { + break + } + + args, err := ec.field_Mutation_deleteSCIMConfiguration_args(ctx, rawArgs) + if err != nil { + return 0, false + } + + return e.complexity.Mutation.DeleteSCIMConfiguration(childComplexity, args["input"].(types.DeleteSCIMConfigurationInput)), true case "Mutation.forgotPassword": if e.complexity.Mutation.ForgotPassword == nil { break @@ -1081,6 +1198,17 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin } return e.complexity.Mutation.InviteMember(childComplexity, args["input"].(types.InviteMemberInput)), true + case "Mutation.regenerateSCIMToken": + if e.complexity.Mutation.RegenerateSCIMToken == nil { + break + } + + args, err := ec.field_Mutation_regenerateSCIMToken_args(ctx, rawArgs) + if err != nil { + return 0, false + } + + return e.complexity.Mutation.RegenerateSCIMToken(childComplexity, args["input"].(types.RegenerateSCIMTokenInput)), true case "Mutation.removeMember": if e.complexity.Mutation.RemoveMember == nil { break @@ -1307,6 +1435,12 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin } return e.complexity.Organization.SamlConfigurations(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey)), true + case "Organization.scimConfiguration": + if e.complexity.Organization.ScimConfiguration == nil { + break + } + + return e.complexity.Organization.ScimConfiguration(childComplexity), true case "Organization.updatedAt": if e.complexity.Organization.UpdatedAt == nil { break @@ -1474,6 +1608,19 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return e.complexity.Query.Viewer(childComplexity), true + case "RegenerateSCIMTokenPayload.scimConfiguration": + if e.complexity.RegenerateSCIMTokenPayload.ScimConfiguration == nil { + break + } + + return e.complexity.RegenerateSCIMTokenPayload.ScimConfiguration(childComplexity), true + case "RegenerateSCIMTokenPayload.token": + if e.complexity.RegenerateSCIMTokenPayload.Token == nil { + break + } + + return e.complexity.RegenerateSCIMTokenPayload.Token(childComplexity), true + case "RemoveMemberPayload.deletedMembershipId": if e.complexity.RemoveMemberPayload.DeletedMembershipID == nil { break @@ -1669,6 +1816,163 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin return e.complexity.SAMLConfigurationEdge.Node(childComplexity), true + case "SCIMConfiguration.createdAt": + if e.complexity.SCIMConfiguration.CreatedAt == nil { + break + } + + return e.complexity.SCIMConfiguration.CreatedAt(childComplexity), true + case "SCIMConfiguration.endpointUrl": + if e.complexity.SCIMConfiguration.EndpointURL == nil { + break + } + + return e.complexity.SCIMConfiguration.EndpointURL(childComplexity), true + case "SCIMConfiguration.events": + if e.complexity.SCIMConfiguration.Events == nil { + break + } + + args, err := ec.field_SCIMConfiguration_events_args(ctx, rawArgs) + if err != nil { + return 0, false + } + + return e.complexity.SCIMConfiguration.Events(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.SCIMEventOrderBy)), true + case "SCIMConfiguration.id": + if e.complexity.SCIMConfiguration.ID == nil { + break + } + + return e.complexity.SCIMConfiguration.ID(childComplexity), true + case "SCIMConfiguration.organization": + if e.complexity.SCIMConfiguration.Organization == nil { + break + } + + return e.complexity.SCIMConfiguration.Organization(childComplexity), true + case "SCIMConfiguration.permission": + if e.complexity.SCIMConfiguration.Permission == nil { + break + } + + args, err := ec.field_SCIMConfiguration_permission_args(ctx, rawArgs) + if err != nil { + return 0, false + } + + return e.complexity.SCIMConfiguration.Permission(childComplexity, args["action"].(string)), true + case "SCIMConfiguration.updatedAt": + if e.complexity.SCIMConfiguration.UpdatedAt == nil { + break + } + + return e.complexity.SCIMConfiguration.UpdatedAt(childComplexity), true + + case "SCIMEvent.createdAt": + if e.complexity.SCIMEvent.CreatedAt == nil { + break + } + + return e.complexity.SCIMEvent.CreatedAt(childComplexity), true + case "SCIMEvent.errorMessage": + if e.complexity.SCIMEvent.ErrorMessage == nil { + break + } + + return e.complexity.SCIMEvent.ErrorMessage(childComplexity), true + case "SCIMEvent.id": + if e.complexity.SCIMEvent.ID == nil { + break + } + + return e.complexity.SCIMEvent.ID(childComplexity), true + case "SCIMEvent.ipAddress": + if e.complexity.SCIMEvent.IPAddress == nil { + break + } + + return e.complexity.SCIMEvent.IPAddress(childComplexity), true + case "SCIMEvent.membership": + if e.complexity.SCIMEvent.Membership == nil { + break + } + + return e.complexity.SCIMEvent.Membership(childComplexity), true + case "SCIMEvent.method": + if e.complexity.SCIMEvent.Method == nil { + break + } + + return e.complexity.SCIMEvent.Method(childComplexity), true + case "SCIMEvent.path": + if e.complexity.SCIMEvent.Path == nil { + break + } + + return e.complexity.SCIMEvent.Path(childComplexity), true + case "SCIMEvent.permission": + if e.complexity.SCIMEvent.Permission == nil { + break + } + + args, err := ec.field_SCIMEvent_permission_args(ctx, rawArgs) + if err != nil { + return 0, false + } + + return e.complexity.SCIMEvent.Permission(childComplexity, args["action"].(string)), true + case "SCIMEvent.requestBody": + if e.complexity.SCIMEvent.RequestBody == nil { + break + } + + return e.complexity.SCIMEvent.RequestBody(childComplexity), true + case "SCIMEvent.responseBody": + if e.complexity.SCIMEvent.ResponseBody == nil { + break + } + + return e.complexity.SCIMEvent.ResponseBody(childComplexity), true + case "SCIMEvent.statusCode": + if e.complexity.SCIMEvent.StatusCode == nil { + break + } + + return e.complexity.SCIMEvent.StatusCode(childComplexity), true + + case "SCIMEventConnection.edges": + if e.complexity.SCIMEventConnection.Edges == nil { + break + } + + return e.complexity.SCIMEventConnection.Edges(childComplexity), true + case "SCIMEventConnection.pageInfo": + if e.complexity.SCIMEventConnection.PageInfo == nil { + break + } + + return e.complexity.SCIMEventConnection.PageInfo(childComplexity), true + case "SCIMEventConnection.totalCount": + if e.complexity.SCIMEventConnection.TotalCount == nil { + break + } + + return e.complexity.SCIMEventConnection.TotalCount(childComplexity), true + + case "SCIMEventEdge.cursor": + if e.complexity.SCIMEventEdge.Cursor == nil { + break + } + + return e.complexity.SCIMEventEdge.Cursor(childComplexity), true + case "SCIMEventEdge.node": + if e.complexity.SCIMEventEdge.Node == nil { + break + } + + return e.complexity.SCIMEventEdge.Node(childComplexity), true + case "SSOAvailability.available": if e.complexity.SSOAvailability.Available == nil { break @@ -1851,19 +2155,23 @@ func (e *executableSchema) Exec(ctx context.Context) graphql.ResponseHandler { ec.unmarshalInputCreateOrganizationInput, ec.unmarshalInputCreatePersonalAPIKeyInput, ec.unmarshalInputCreateSAMLConfigurationInput, + ec.unmarshalInputCreateSCIMConfigurationInput, ec.unmarshalInputDeleteInvitationInput, ec.unmarshalInputDeleteOrganizationHorizontalLogoInput, ec.unmarshalInputDeleteOrganizationInput, ec.unmarshalInputDeleteSAMLConfigurationInput, + ec.unmarshalInputDeleteSCIMConfigurationInput, ec.unmarshalInputForgotPasswordInput, ec.unmarshalInputInvitationOrder, ec.unmarshalInputInviteMemberInput, ec.unmarshalInputMembershipOrder, + ec.unmarshalInputRegenerateSCIMTokenInput, ec.unmarshalInputRemoveMemberInput, ec.unmarshalInputResetPasswordInput, ec.unmarshalInputRevokePersonalAPIKeyInput, ec.unmarshalInputRevokeSessionInput, ec.unmarshalInputSAMLAttributeMappingsInput, + ec.unmarshalInputSCIMEventOrder, ec.unmarshalInputSessionOrder, ec.unmarshalInputSignInInput, ec.unmarshalInputSignUpFromInvitationInput, @@ -2094,6 +2402,16 @@ type Mutation { deleteSAMLConfiguration( input: DeleteSAMLConfigurationInput! ): DeleteSAMLConfigurationPayload @session(required: PRESENT) + + createSCIMConfiguration( + input: CreateSCIMConfigurationInput! + ): CreateSCIMConfigurationPayload @session(required: PRESENT) + deleteSCIMConfiguration( + input: DeleteSCIMConfigurationInput! + ): DeleteSCIMConfigurationPayload @session(required: PRESENT) + regenerateSCIMToken( + input: RegenerateSCIMTokenInput! + ): RegenerateSCIMTokenPayload @session(required: PRESENT) } type Identity implements Node { @@ -2187,6 +2505,8 @@ type Organization implements Node { before: CursorKey ): SAMLConfigurationConnection @goField(forceResolver: true) + scimConfiguration: SCIMConfiguration @goField(forceResolver: true) + viewerMembership: Membership @goField(forceResolver: true) permission(action: String!): Boolean! @@ -2210,6 +2530,7 @@ enum MembershipSource MANUAL @goEnum(value: "go.probo.inc/probo/pkg/coredata.MembershipSourceManual") SAML @goEnum(value: "go.probo.inc/probo/pkg/coredata.MembershipSourceSAML") + SCIM @goEnum(value: "go.probo.inc/probo/pkg/coredata.MembershipSourceSCIM") } type Membership implements Node { @@ -2304,6 +2625,43 @@ type SSOAvailability { organizationId: ID } +type SCIMConfiguration implements Node { + id: ID! + endpointUrl: String! @goField(forceResolver: true) + createdAt: Datetime! + updatedAt: Datetime! + organization: Organization @goField(forceResolver: true) + + events( + first: Int + after: CursorKey + last: Int + before: CursorKey + orderBy: SCIMEventOrder + ): SCIMEventConnection @goField(forceResolver: true) + + permission(action: String!): Boolean! + @goField(forceResolver: true) + @session(required: PRESENT) +} + +type SCIMEvent implements Node { + id: ID! + method: String! + path: String! + statusCode: Int! + requestBody: String + responseBody: String + errorMessage: String + membership: Membership @goField(forceResolver: true) + ipAddress: String! + createdAt: Datetime! + + permission(action: String!): Boolean! + @goField(forceResolver: true) + @session(required: PRESENT) +} + enum InvitationStatus @goModel(model: "go.probo.inc/probo/pkg/coredata.InvitationStatus") { PENDING @@ -2449,6 +2807,36 @@ type SAMLConfigurationEdge { cursor: CursorKey! } +enum SCIMEventOrderField + @goModel(model: "go.probo.inc/probo/pkg/coredata.SCIMEventOrderField") { + CREATED_AT + @goEnum( + value: "go.probo.inc/probo/pkg/coredata.SCIMEventOrderFieldCreatedAt" + ) +} + +input SCIMEventOrder + @goModel( + model: "go.probo.inc/probo/pkg/server/api/connect/v1/types.SCIMEventOrderBy" + ) { + direction: OrderDirection! + field: SCIMEventOrderField! +} + +type SCIMEventConnection + @goModel( + model: "go.probo.inc/probo/pkg/server/api/connect/v1/types.SCIMEventConnection" + ) { + edges: [SCIMEventEdge!]! + pageInfo: PageInfo! + totalCount: Int @goField(forceResolver: true) +} + +type SCIMEventEdge { + node: SCIMEvent! + cursor: CursorKey! +} + type PageInfo { hasNextPage: Boolean! hasPreviousPage: Boolean! @@ -2723,6 +3111,34 @@ type UpdateSAMLConfigurationPayload { type DeleteSAMLConfigurationPayload { deletedSamlConfigurationId: ID! } + +input CreateSCIMConfigurationInput { + organizationId: ID! +} + +input DeleteSCIMConfigurationInput { + organizationId: ID! + scimConfigurationId: ID! +} + +input RegenerateSCIMTokenInput { + organizationId: ID! + scimConfigurationId: ID! +} + +type CreateSCIMConfigurationPayload { + scimConfiguration: SCIMConfiguration! + token: String! +} + +type DeleteSCIMConfigurationPayload { + deletedScimConfigurationId: ID! +} + +type RegenerateSCIMTokenPayload { + scimConfiguration: SCIMConfiguration! + token: String! +} `, BuiltIn: false}, } var parsedSchema = gqlparser.MustLoadSchema(sources...) @@ -2982,6 +3398,17 @@ func (ec *executionContext) field_Mutation_createSAMLConfiguration_args(ctx cont return args, nil } +func (ec *executionContext) field_Mutation_createSCIMConfiguration_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { + var err error + args := map[string]any{} + arg0, err := graphql.ProcessArgField(ctx, rawArgs, "input", ec.unmarshalNCreateSCIMConfigurationInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐCreateSCIMConfigurationInput) + if err != nil { + return nil, err + } + args["input"] = arg0 + return args, nil +} + func (ec *executionContext) field_Mutation_deleteInvitation_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error args := map[string]any{} @@ -3026,6 +3453,17 @@ func (ec *executionContext) field_Mutation_deleteSAMLConfiguration_args(ctx cont return args, nil } +func (ec *executionContext) field_Mutation_deleteSCIMConfiguration_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { + var err error + args := map[string]any{} + arg0, err := graphql.ProcessArgField(ctx, rawArgs, "input", ec.unmarshalNDeleteSCIMConfigurationInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐDeleteSCIMConfigurationInput) + if err != nil { + return nil, err + } + args["input"] = arg0 + return args, nil +} + func (ec *executionContext) field_Mutation_forgotPassword_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error args := map[string]any{} @@ -3048,6 +3486,17 @@ func (ec *executionContext) field_Mutation_inviteMember_args(ctx context.Context return args, nil } +func (ec *executionContext) field_Mutation_regenerateSCIMToken_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { + var err error + args := map[string]any{} + arg0, err := graphql.ProcessArgField(ctx, rawArgs, "input", ec.unmarshalNRegenerateSCIMTokenInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐRegenerateSCIMTokenInput) + if err != nil { + return nil, err + } + args["input"] = arg0 + return args, nil +} + func (ec *executionContext) field_Mutation_removeMember_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error args := map[string]any{} @@ -3328,6 +3777,59 @@ func (ec *executionContext) field_SAMLConfiguration_permission_args(ctx context. return args, nil } +func (ec *executionContext) field_SCIMConfiguration_events_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { + var err error + args := map[string]any{} + arg0, err := graphql.ProcessArgField(ctx, rawArgs, "first", ec.unmarshalOInt2ᚖint) + if err != nil { + return nil, err + } + args["first"] = arg0 + arg1, err := graphql.ProcessArgField(ctx, rawArgs, "after", ec.unmarshalOCursorKey2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋpageᚐCursorKey) + if err != nil { + return nil, err + } + args["after"] = arg1 + arg2, err := graphql.ProcessArgField(ctx, rawArgs, "last", ec.unmarshalOInt2ᚖint) + if err != nil { + return nil, err + } + args["last"] = arg2 + arg3, err := graphql.ProcessArgField(ctx, rawArgs, "before", ec.unmarshalOCursorKey2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋpageᚐCursorKey) + if err != nil { + return nil, err + } + args["before"] = arg3 + arg4, err := graphql.ProcessArgField(ctx, rawArgs, "orderBy", ec.unmarshalOSCIMEventOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐSCIMEventOrderBy) + if err != nil { + return nil, err + } + args["orderBy"] = arg4 + return args, nil +} + +func (ec *executionContext) field_SCIMConfiguration_permission_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { + var err error + args := map[string]any{} + arg0, err := graphql.ProcessArgField(ctx, rawArgs, "action", ec.unmarshalNString2string) + if err != nil { + return nil, err + } + args["action"] = arg0 + return args, nil +} + +func (ec *executionContext) field_SCIMEvent_permission_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { + var err error + args := map[string]any{} + arg0, err := graphql.ProcessArgField(ctx, rawArgs, "action", ec.unmarshalNString2string) + if err != nil { + return nil, err + } + args["action"] = arg0 + return args, nil +} + func (ec *executionContext) field_Session_permission_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error args := map[string]any{} @@ -3563,6 +4065,8 @@ func (ec *executionContext) fieldContext_CreateOrganizationPayload_organization( return ec.fieldContext_Organization_invitations(ctx, field) case "samlConfigurations": return ec.fieldContext_Organization_samlConfigurations(ctx, field) + case "scimConfiguration": + return ec.fieldContext_Organization_scimConfiguration(ctx, field) case "viewerMembership": return ec.fieldContext_Organization_viewerMembership(ctx, field) case "permission": @@ -3708,6 +4212,80 @@ func (ec *executionContext) fieldContext_CreateSAMLConfigurationPayload_samlConf return fc, nil } +func (ec *executionContext) _CreateSCIMConfigurationPayload_scimConfiguration(ctx context.Context, field graphql.CollectedField, obj *types.CreateSCIMConfigurationPayload) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_CreateSCIMConfigurationPayload_scimConfiguration, + func(ctx context.Context) (any, error) { + return obj.ScimConfiguration, nil + }, + nil, + ec.marshalNSCIMConfiguration2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐSCIMConfiguration, + true, + true, + ) +} + +func (ec *executionContext) fieldContext_CreateSCIMConfigurationPayload_scimConfiguration(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "CreateSCIMConfigurationPayload", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + switch field.Name { + case "id": + return ec.fieldContext_SCIMConfiguration_id(ctx, field) + case "endpointUrl": + return ec.fieldContext_SCIMConfiguration_endpointUrl(ctx, field) + case "createdAt": + return ec.fieldContext_SCIMConfiguration_createdAt(ctx, field) + case "updatedAt": + return ec.fieldContext_SCIMConfiguration_updatedAt(ctx, field) + case "organization": + return ec.fieldContext_SCIMConfiguration_organization(ctx, field) + case "events": + return ec.fieldContext_SCIMConfiguration_events(ctx, field) + case "permission": + return ec.fieldContext_SCIMConfiguration_permission(ctx, field) + } + return nil, fmt.Errorf("no field named %q was found under type SCIMConfiguration", field.Name) + }, + } + return fc, nil +} + +func (ec *executionContext) _CreateSCIMConfigurationPayload_token(ctx context.Context, field graphql.CollectedField, obj *types.CreateSCIMConfigurationPayload) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_CreateSCIMConfigurationPayload_token, + func(ctx context.Context) (any, error) { + return obj.Token, nil + }, + nil, + ec.marshalNString2string, + true, + true, + ) +} + +func (ec *executionContext) fieldContext_CreateSCIMConfigurationPayload_token(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "CreateSCIMConfigurationPayload", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type String does not have child fields") + }, + } + return fc, nil +} + func (ec *executionContext) _DeleteInvitationPayload_deletedInvitationId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteInvitationPayload) (ret graphql.Marshaler) { return graphql.ResolveField( ctx, @@ -3787,6 +4365,8 @@ func (ec *executionContext) fieldContext_DeleteOrganizationHorizontalLogoPayload return ec.fieldContext_Organization_invitations(ctx, field) case "samlConfigurations": return ec.fieldContext_Organization_samlConfigurations(ctx, field) + case "scimConfiguration": + return ec.fieldContext_Organization_scimConfiguration(ctx, field) case "viewerMembership": return ec.fieldContext_Organization_viewerMembership(ctx, field) case "permission": @@ -3856,6 +4436,35 @@ func (ec *executionContext) fieldContext_DeleteSAMLConfigurationPayload_deletedS return fc, nil } +func (ec *executionContext) _DeleteSCIMConfigurationPayload_deletedScimConfigurationId(ctx context.Context, field graphql.CollectedField, obj *types.DeleteSCIMConfigurationPayload) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_DeleteSCIMConfigurationPayload_deletedScimConfigurationId, + func(ctx context.Context) (any, error) { + return obj.DeletedScimConfigurationID, nil + }, + nil, + ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID, + true, + true, + ) +} + +func (ec *executionContext) fieldContext_DeleteSCIMConfigurationPayload_deletedScimConfigurationId(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "DeleteSCIMConfigurationPayload", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type ID does not have child fields") + }, + } + return fc, nil +} + func (ec *executionContext) _ForgotPasswordPayload_success(ctx context.Context, field graphql.CollectedField, obj *types.ForgotPasswordPayload) (ret graphql.Marshaler) { return graphql.ResolveField( ctx, @@ -4648,6 +5257,8 @@ func (ec *executionContext) fieldContext_Invitation_organization(_ context.Conte return ec.fieldContext_Organization_invitations(ctx, field) case "samlConfigurations": return ec.fieldContext_Organization_samlConfigurations(ctx, field) + case "scimConfiguration": + return ec.fieldContext_Organization_scimConfiguration(ctx, field) case "viewerMembership": return ec.fieldContext_Organization_viewerMembership(ctx, field) case "permission": @@ -5138,6 +5749,8 @@ func (ec *executionContext) fieldContext_Membership_organization(_ context.Conte return ec.fieldContext_Organization_invitations(ctx, field) case "samlConfigurations": return ec.fieldContext_Organization_samlConfigurations(ctx, field) + case "scimConfiguration": + return ec.fieldContext_Organization_scimConfiguration(ctx, field) case "viewerMembership": return ec.fieldContext_Organization_viewerMembership(ctx, field) case "permission": @@ -7284,6 +7897,199 @@ func (ec *executionContext) fieldContext_Mutation_deleteSAMLConfiguration(ctx co return fc, nil } +func (ec *executionContext) _Mutation_createSCIMConfiguration(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_Mutation_createSCIMConfiguration, + func(ctx context.Context) (any, error) { + fc := graphql.GetFieldContext(ctx) + return ec.resolvers.Mutation().CreateSCIMConfiguration(ctx, fc.Args["input"].(types.CreateSCIMConfigurationInput)) + }, + func(ctx context.Context, next graphql.Resolver) graphql.Resolver { + directive0 := next + + directive1 := func(ctx context.Context) (any, error) { + required, err := ec.unmarshalNSessionRequirement2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐSessionRequirement(ctx, "PRESENT") + if err != nil { + var zeroVal *types.CreateSCIMConfigurationPayload + return zeroVal, err + } + if ec.directives.Session == nil { + var zeroVal *types.CreateSCIMConfigurationPayload + return zeroVal, errors.New("directive session is not implemented") + } + return ec.directives.Session(ctx, nil, directive0, required) + } + + next = directive1 + return next + }, + ec.marshalOCreateSCIMConfigurationPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐCreateSCIMConfigurationPayload, + true, + false, + ) +} + +func (ec *executionContext) fieldContext_Mutation_createSCIMConfiguration(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "Mutation", + Field: field, + IsMethod: true, + IsResolver: true, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + switch field.Name { + case "scimConfiguration": + return ec.fieldContext_CreateSCIMConfigurationPayload_scimConfiguration(ctx, field) + case "token": + return ec.fieldContext_CreateSCIMConfigurationPayload_token(ctx, field) + } + return nil, fmt.Errorf("no field named %q was found under type CreateSCIMConfigurationPayload", field.Name) + }, + } + defer func() { + if r := recover(); r != nil { + err = ec.Recover(ctx, r) + ec.Error(ctx, err) + } + }() + ctx = graphql.WithFieldContext(ctx, fc) + if fc.Args, err = ec.field_Mutation_createSCIMConfiguration_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { + ec.Error(ctx, err) + return fc, err + } + return fc, nil +} + +func (ec *executionContext) _Mutation_deleteSCIMConfiguration(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_Mutation_deleteSCIMConfiguration, + func(ctx context.Context) (any, error) { + fc := graphql.GetFieldContext(ctx) + return ec.resolvers.Mutation().DeleteSCIMConfiguration(ctx, fc.Args["input"].(types.DeleteSCIMConfigurationInput)) + }, + func(ctx context.Context, next graphql.Resolver) graphql.Resolver { + directive0 := next + + directive1 := func(ctx context.Context) (any, error) { + required, err := ec.unmarshalNSessionRequirement2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐSessionRequirement(ctx, "PRESENT") + if err != nil { + var zeroVal *types.DeleteSCIMConfigurationPayload + return zeroVal, err + } + if ec.directives.Session == nil { + var zeroVal *types.DeleteSCIMConfigurationPayload + return zeroVal, errors.New("directive session is not implemented") + } + return ec.directives.Session(ctx, nil, directive0, required) + } + + next = directive1 + return next + }, + ec.marshalODeleteSCIMConfigurationPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐDeleteSCIMConfigurationPayload, + true, + false, + ) +} + +func (ec *executionContext) fieldContext_Mutation_deleteSCIMConfiguration(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "Mutation", + Field: field, + IsMethod: true, + IsResolver: true, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + switch field.Name { + case "deletedScimConfigurationId": + return ec.fieldContext_DeleteSCIMConfigurationPayload_deletedScimConfigurationId(ctx, field) + } + return nil, fmt.Errorf("no field named %q was found under type DeleteSCIMConfigurationPayload", field.Name) + }, + } + defer func() { + if r := recover(); r != nil { + err = ec.Recover(ctx, r) + ec.Error(ctx, err) + } + }() + ctx = graphql.WithFieldContext(ctx, fc) + if fc.Args, err = ec.field_Mutation_deleteSCIMConfiguration_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { + ec.Error(ctx, err) + return fc, err + } + return fc, nil +} + +func (ec *executionContext) _Mutation_regenerateSCIMToken(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_Mutation_regenerateSCIMToken, + func(ctx context.Context) (any, error) { + fc := graphql.GetFieldContext(ctx) + return ec.resolvers.Mutation().RegenerateSCIMToken(ctx, fc.Args["input"].(types.RegenerateSCIMTokenInput)) + }, + func(ctx context.Context, next graphql.Resolver) graphql.Resolver { + directive0 := next + + directive1 := func(ctx context.Context) (any, error) { + required, err := ec.unmarshalNSessionRequirement2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐSessionRequirement(ctx, "PRESENT") + if err != nil { + var zeroVal *types.RegenerateSCIMTokenPayload + return zeroVal, err + } + if ec.directives.Session == nil { + var zeroVal *types.RegenerateSCIMTokenPayload + return zeroVal, errors.New("directive session is not implemented") + } + return ec.directives.Session(ctx, nil, directive0, required) + } + + next = directive1 + return next + }, + ec.marshalORegenerateSCIMTokenPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐRegenerateSCIMTokenPayload, + true, + false, + ) +} + +func (ec *executionContext) fieldContext_Mutation_regenerateSCIMToken(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "Mutation", + Field: field, + IsMethod: true, + IsResolver: true, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + switch field.Name { + case "scimConfiguration": + return ec.fieldContext_RegenerateSCIMTokenPayload_scimConfiguration(ctx, field) + case "token": + return ec.fieldContext_RegenerateSCIMTokenPayload_token(ctx, field) + } + return nil, fmt.Errorf("no field named %q was found under type RegenerateSCIMTokenPayload", field.Name) + }, + } + defer func() { + if r := recover(); r != nil { + err = ec.Recover(ctx, r) + ec.Error(ctx, err) + } + }() + ctx = graphql.WithFieldContext(ctx, fc) + if fc.Args, err = ec.field_Mutation_regenerateSCIMToken_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { + ec.Error(ctx, err) + return fc, err + } + return fc, nil +} + func (ec *executionContext) _Organization_id(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) { return graphql.ResolveField( ctx, @@ -7721,6 +8527,51 @@ func (ec *executionContext) fieldContext_Organization_samlConfigurations(ctx con return fc, nil } +func (ec *executionContext) _Organization_scimConfiguration(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_Organization_scimConfiguration, + func(ctx context.Context) (any, error) { + return ec.resolvers.Organization().ScimConfiguration(ctx, obj) + }, + nil, + ec.marshalOSCIMConfiguration2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐSCIMConfiguration, + true, + false, + ) +} + +func (ec *executionContext) fieldContext_Organization_scimConfiguration(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "Organization", + Field: field, + IsMethod: true, + IsResolver: true, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + switch field.Name { + case "id": + return ec.fieldContext_SCIMConfiguration_id(ctx, field) + case "endpointUrl": + return ec.fieldContext_SCIMConfiguration_endpointUrl(ctx, field) + case "createdAt": + return ec.fieldContext_SCIMConfiguration_createdAt(ctx, field) + case "updatedAt": + return ec.fieldContext_SCIMConfiguration_updatedAt(ctx, field) + case "organization": + return ec.fieldContext_SCIMConfiguration_organization(ctx, field) + case "events": + return ec.fieldContext_SCIMConfiguration_events(ctx, field) + case "permission": + return ec.fieldContext_SCIMConfiguration_permission(ctx, field) + } + return nil, fmt.Errorf("no field named %q was found under type SCIMConfiguration", field.Name) + }, + } + return fc, nil +} + func (ec *executionContext) _Organization_viewerMembership(ctx context.Context, field graphql.CollectedField, obj *types.Organization) (ret graphql.Marshaler) { return graphql.ResolveField( ctx, @@ -8754,6 +9605,80 @@ func (ec *executionContext) fieldContext_Query___schema(_ context.Context, field return fc, nil } +func (ec *executionContext) _RegenerateSCIMTokenPayload_scimConfiguration(ctx context.Context, field graphql.CollectedField, obj *types.RegenerateSCIMTokenPayload) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_RegenerateSCIMTokenPayload_scimConfiguration, + func(ctx context.Context) (any, error) { + return obj.ScimConfiguration, nil + }, + nil, + ec.marshalNSCIMConfiguration2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐSCIMConfiguration, + true, + true, + ) +} + +func (ec *executionContext) fieldContext_RegenerateSCIMTokenPayload_scimConfiguration(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "RegenerateSCIMTokenPayload", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + switch field.Name { + case "id": + return ec.fieldContext_SCIMConfiguration_id(ctx, field) + case "endpointUrl": + return ec.fieldContext_SCIMConfiguration_endpointUrl(ctx, field) + case "createdAt": + return ec.fieldContext_SCIMConfiguration_createdAt(ctx, field) + case "updatedAt": + return ec.fieldContext_SCIMConfiguration_updatedAt(ctx, field) + case "organization": + return ec.fieldContext_SCIMConfiguration_organization(ctx, field) + case "events": + return ec.fieldContext_SCIMConfiguration_events(ctx, field) + case "permission": + return ec.fieldContext_SCIMConfiguration_permission(ctx, field) + } + return nil, fmt.Errorf("no field named %q was found under type SCIMConfiguration", field.Name) + }, + } + return fc, nil +} + +func (ec *executionContext) _RegenerateSCIMTokenPayload_token(ctx context.Context, field graphql.CollectedField, obj *types.RegenerateSCIMTokenPayload) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_RegenerateSCIMTokenPayload_token, + func(ctx context.Context) (any, error) { + return obj.Token, nil + }, + nil, + ec.marshalNString2string, + true, + true, + ) +} + +func (ec *executionContext) fieldContext_RegenerateSCIMTokenPayload_token(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "RegenerateSCIMTokenPayload", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type String does not have child fields") + }, + } + return fc, nil +} + func (ec *executionContext) _RemoveMemberPayload_deletedMembershipId(ctx context.Context, field graphql.CollectedField, obj *types.RemoveMemberPayload) (ret graphql.Marshaler) { return graphql.ResolveField( ctx, @@ -9710,6 +10635,847 @@ func (ec *executionContext) fieldContext_SAMLConfigurationEdge_cursor(_ context. return fc, nil } +func (ec *executionContext) _SCIMConfiguration_id(ctx context.Context, field graphql.CollectedField, obj *types.SCIMConfiguration) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_SCIMConfiguration_id, + func(ctx context.Context) (any, error) { + return obj.ID, nil + }, + nil, + ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID, + true, + true, + ) +} + +func (ec *executionContext) fieldContext_SCIMConfiguration_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SCIMConfiguration", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type ID does not have child fields") + }, + } + return fc, nil +} + +func (ec *executionContext) _SCIMConfiguration_endpointUrl(ctx context.Context, field graphql.CollectedField, obj *types.SCIMConfiguration) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_SCIMConfiguration_endpointUrl, + func(ctx context.Context) (any, error) { + return ec.resolvers.SCIMConfiguration().EndpointURL(ctx, obj) + }, + nil, + ec.marshalNString2string, + true, + true, + ) +} + +func (ec *executionContext) fieldContext_SCIMConfiguration_endpointUrl(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SCIMConfiguration", + Field: field, + IsMethod: true, + IsResolver: true, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type String does not have child fields") + }, + } + return fc, nil +} + +func (ec *executionContext) _SCIMConfiguration_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.SCIMConfiguration) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_SCIMConfiguration_createdAt, + func(ctx context.Context) (any, error) { + return obj.CreatedAt, nil + }, + nil, + ec.marshalNDatetime2timeᚐTime, + true, + true, + ) +} + +func (ec *executionContext) fieldContext_SCIMConfiguration_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SCIMConfiguration", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type Datetime does not have child fields") + }, + } + return fc, nil +} + +func (ec *executionContext) _SCIMConfiguration_updatedAt(ctx context.Context, field graphql.CollectedField, obj *types.SCIMConfiguration) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_SCIMConfiguration_updatedAt, + func(ctx context.Context) (any, error) { + return obj.UpdatedAt, nil + }, + nil, + ec.marshalNDatetime2timeᚐTime, + true, + true, + ) +} + +func (ec *executionContext) fieldContext_SCIMConfiguration_updatedAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SCIMConfiguration", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type Datetime does not have child fields") + }, + } + return fc, nil +} + +func (ec *executionContext) _SCIMConfiguration_organization(ctx context.Context, field graphql.CollectedField, obj *types.SCIMConfiguration) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_SCIMConfiguration_organization, + func(ctx context.Context) (any, error) { + return ec.resolvers.SCIMConfiguration().Organization(ctx, obj) + }, + nil, + ec.marshalOOrganization2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐOrganization, + true, + false, + ) +} + +func (ec *executionContext) fieldContext_SCIMConfiguration_organization(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SCIMConfiguration", + Field: field, + IsMethod: true, + IsResolver: true, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + switch field.Name { + case "id": + return ec.fieldContext_Organization_id(ctx, field) + case "name": + return ec.fieldContext_Organization_name(ctx, field) + case "logoUrl": + return ec.fieldContext_Organization_logoUrl(ctx, field) + case "horizontalLogoUrl": + return ec.fieldContext_Organization_horizontalLogoUrl(ctx, field) + case "email": + return ec.fieldContext_Organization_email(ctx, field) + case "description": + return ec.fieldContext_Organization_description(ctx, field) + case "websiteUrl": + return ec.fieldContext_Organization_websiteUrl(ctx, field) + case "headquarterAddress": + return ec.fieldContext_Organization_headquarterAddress(ctx, field) + case "createdAt": + return ec.fieldContext_Organization_createdAt(ctx, field) + case "updatedAt": + return ec.fieldContext_Organization_updatedAt(ctx, field) + case "members": + return ec.fieldContext_Organization_members(ctx, field) + case "invitations": + return ec.fieldContext_Organization_invitations(ctx, field) + case "samlConfigurations": + return ec.fieldContext_Organization_samlConfigurations(ctx, field) + case "scimConfiguration": + return ec.fieldContext_Organization_scimConfiguration(ctx, field) + case "viewerMembership": + return ec.fieldContext_Organization_viewerMembership(ctx, field) + case "permission": + return ec.fieldContext_Organization_permission(ctx, field) + } + return nil, fmt.Errorf("no field named %q was found under type Organization", field.Name) + }, + } + return fc, nil +} + +func (ec *executionContext) _SCIMConfiguration_events(ctx context.Context, field graphql.CollectedField, obj *types.SCIMConfiguration) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_SCIMConfiguration_events, + func(ctx context.Context) (any, error) { + fc := graphql.GetFieldContext(ctx) + return ec.resolvers.SCIMConfiguration().Events(ctx, obj, fc.Args["first"].(*int), fc.Args["after"].(*page.CursorKey), fc.Args["last"].(*int), fc.Args["before"].(*page.CursorKey), fc.Args["orderBy"].(*types.SCIMEventOrderBy)) + }, + nil, + ec.marshalOSCIMEventConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐSCIMEventConnection, + true, + false, + ) +} + +func (ec *executionContext) fieldContext_SCIMConfiguration_events(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SCIMConfiguration", + Field: field, + IsMethod: true, + IsResolver: true, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + switch field.Name { + case "edges": + return ec.fieldContext_SCIMEventConnection_edges(ctx, field) + case "pageInfo": + return ec.fieldContext_SCIMEventConnection_pageInfo(ctx, field) + case "totalCount": + return ec.fieldContext_SCIMEventConnection_totalCount(ctx, field) + } + return nil, fmt.Errorf("no field named %q was found under type SCIMEventConnection", field.Name) + }, + } + defer func() { + if r := recover(); r != nil { + err = ec.Recover(ctx, r) + ec.Error(ctx, err) + } + }() + ctx = graphql.WithFieldContext(ctx, fc) + if fc.Args, err = ec.field_SCIMConfiguration_events_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { + ec.Error(ctx, err) + return fc, err + } + return fc, nil +} + +func (ec *executionContext) _SCIMConfiguration_permission(ctx context.Context, field graphql.CollectedField, obj *types.SCIMConfiguration) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_SCIMConfiguration_permission, + func(ctx context.Context) (any, error) { + fc := graphql.GetFieldContext(ctx) + return ec.resolvers.SCIMConfiguration().Permission(ctx, obj, fc.Args["action"].(string)) + }, + func(ctx context.Context, next graphql.Resolver) graphql.Resolver { + directive0 := next + + directive1 := func(ctx context.Context) (any, error) { + required, err := ec.unmarshalNSessionRequirement2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐSessionRequirement(ctx, "PRESENT") + if err != nil { + var zeroVal bool + return zeroVal, err + } + if ec.directives.Session == nil { + var zeroVal bool + return zeroVal, errors.New("directive session is not implemented") + } + return ec.directives.Session(ctx, obj, directive0, required) + } + + next = directive1 + return next + }, + ec.marshalNBoolean2bool, + true, + true, + ) +} + +func (ec *executionContext) fieldContext_SCIMConfiguration_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SCIMConfiguration", + Field: field, + IsMethod: true, + IsResolver: true, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type Boolean does not have child fields") + }, + } + defer func() { + if r := recover(); r != nil { + err = ec.Recover(ctx, r) + ec.Error(ctx, err) + } + }() + ctx = graphql.WithFieldContext(ctx, fc) + if fc.Args, err = ec.field_SCIMConfiguration_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { + ec.Error(ctx, err) + return fc, err + } + return fc, nil +} + +func (ec *executionContext) _SCIMEvent_id(ctx context.Context, field graphql.CollectedField, obj *types.SCIMEvent) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_SCIMEvent_id, + func(ctx context.Context) (any, error) { + return obj.ID, nil + }, + nil, + ec.marshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID, + true, + true, + ) +} + +func (ec *executionContext) fieldContext_SCIMEvent_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SCIMEvent", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type ID does not have child fields") + }, + } + return fc, nil +} + +func (ec *executionContext) _SCIMEvent_method(ctx context.Context, field graphql.CollectedField, obj *types.SCIMEvent) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_SCIMEvent_method, + func(ctx context.Context) (any, error) { + return obj.Method, nil + }, + nil, + ec.marshalNString2string, + true, + true, + ) +} + +func (ec *executionContext) fieldContext_SCIMEvent_method(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SCIMEvent", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type String does not have child fields") + }, + } + return fc, nil +} + +func (ec *executionContext) _SCIMEvent_path(ctx context.Context, field graphql.CollectedField, obj *types.SCIMEvent) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_SCIMEvent_path, + func(ctx context.Context) (any, error) { + return obj.Path, nil + }, + nil, + ec.marshalNString2string, + true, + true, + ) +} + +func (ec *executionContext) fieldContext_SCIMEvent_path(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SCIMEvent", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type String does not have child fields") + }, + } + return fc, nil +} + +func (ec *executionContext) _SCIMEvent_statusCode(ctx context.Context, field graphql.CollectedField, obj *types.SCIMEvent) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_SCIMEvent_statusCode, + func(ctx context.Context) (any, error) { + return obj.StatusCode, nil + }, + nil, + ec.marshalNInt2int, + true, + true, + ) +} + +func (ec *executionContext) fieldContext_SCIMEvent_statusCode(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SCIMEvent", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type Int does not have child fields") + }, + } + return fc, nil +} + +func (ec *executionContext) _SCIMEvent_requestBody(ctx context.Context, field graphql.CollectedField, obj *types.SCIMEvent) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_SCIMEvent_requestBody, + func(ctx context.Context) (any, error) { + return obj.RequestBody, nil + }, + nil, + ec.marshalOString2ᚖstring, + true, + false, + ) +} + +func (ec *executionContext) fieldContext_SCIMEvent_requestBody(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SCIMEvent", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type String does not have child fields") + }, + } + return fc, nil +} + +func (ec *executionContext) _SCIMEvent_responseBody(ctx context.Context, field graphql.CollectedField, obj *types.SCIMEvent) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_SCIMEvent_responseBody, + func(ctx context.Context) (any, error) { + return obj.ResponseBody, nil + }, + nil, + ec.marshalOString2ᚖstring, + true, + false, + ) +} + +func (ec *executionContext) fieldContext_SCIMEvent_responseBody(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SCIMEvent", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type String does not have child fields") + }, + } + return fc, nil +} + +func (ec *executionContext) _SCIMEvent_errorMessage(ctx context.Context, field graphql.CollectedField, obj *types.SCIMEvent) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_SCIMEvent_errorMessage, + func(ctx context.Context) (any, error) { + return obj.ErrorMessage, nil + }, + nil, + ec.marshalOString2ᚖstring, + true, + false, + ) +} + +func (ec *executionContext) fieldContext_SCIMEvent_errorMessage(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SCIMEvent", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type String does not have child fields") + }, + } + return fc, nil +} + +func (ec *executionContext) _SCIMEvent_membership(ctx context.Context, field graphql.CollectedField, obj *types.SCIMEvent) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_SCIMEvent_membership, + func(ctx context.Context) (any, error) { + return ec.resolvers.SCIMEvent().Membership(ctx, obj) + }, + nil, + ec.marshalOMembership2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐMembership, + true, + false, + ) +} + +func (ec *executionContext) fieldContext_SCIMEvent_membership(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SCIMEvent", + Field: field, + IsMethod: true, + IsResolver: true, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + switch field.Name { + case "id": + return ec.fieldContext_Membership_id(ctx, field) + case "createdAt": + return ec.fieldContext_Membership_createdAt(ctx, field) + case "identity": + return ec.fieldContext_Membership_identity(ctx, field) + case "profile": + return ec.fieldContext_Membership_profile(ctx, field) + case "organization": + return ec.fieldContext_Membership_organization(ctx, field) + case "role": + return ec.fieldContext_Membership_role(ctx, field) + case "source": + return ec.fieldContext_Membership_source(ctx, field) + case "lastSession": + return ec.fieldContext_Membership_lastSession(ctx, field) + case "permission": + return ec.fieldContext_Membership_permission(ctx, field) + } + return nil, fmt.Errorf("no field named %q was found under type Membership", field.Name) + }, + } + return fc, nil +} + +func (ec *executionContext) _SCIMEvent_ipAddress(ctx context.Context, field graphql.CollectedField, obj *types.SCIMEvent) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_SCIMEvent_ipAddress, + func(ctx context.Context) (any, error) { + return obj.IPAddress, nil + }, + nil, + ec.marshalNString2string, + true, + true, + ) +} + +func (ec *executionContext) fieldContext_SCIMEvent_ipAddress(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SCIMEvent", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type String does not have child fields") + }, + } + return fc, nil +} + +func (ec *executionContext) _SCIMEvent_createdAt(ctx context.Context, field graphql.CollectedField, obj *types.SCIMEvent) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_SCIMEvent_createdAt, + func(ctx context.Context) (any, error) { + return obj.CreatedAt, nil + }, + nil, + ec.marshalNDatetime2timeᚐTime, + true, + true, + ) +} + +func (ec *executionContext) fieldContext_SCIMEvent_createdAt(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SCIMEvent", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type Datetime does not have child fields") + }, + } + return fc, nil +} + +func (ec *executionContext) _SCIMEvent_permission(ctx context.Context, field graphql.CollectedField, obj *types.SCIMEvent) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_SCIMEvent_permission, + func(ctx context.Context) (any, error) { + fc := graphql.GetFieldContext(ctx) + return ec.resolvers.SCIMEvent().Permission(ctx, obj, fc.Args["action"].(string)) + }, + func(ctx context.Context, next graphql.Resolver) graphql.Resolver { + directive0 := next + + directive1 := func(ctx context.Context) (any, error) { + required, err := ec.unmarshalNSessionRequirement2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐSessionRequirement(ctx, "PRESENT") + if err != nil { + var zeroVal bool + return zeroVal, err + } + if ec.directives.Session == nil { + var zeroVal bool + return zeroVal, errors.New("directive session is not implemented") + } + return ec.directives.Session(ctx, obj, directive0, required) + } + + next = directive1 + return next + }, + ec.marshalNBoolean2bool, + true, + true, + ) +} + +func (ec *executionContext) fieldContext_SCIMEvent_permission(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SCIMEvent", + Field: field, + IsMethod: true, + IsResolver: true, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type Boolean does not have child fields") + }, + } + defer func() { + if r := recover(); r != nil { + err = ec.Recover(ctx, r) + ec.Error(ctx, err) + } + }() + ctx = graphql.WithFieldContext(ctx, fc) + if fc.Args, err = ec.field_SCIMEvent_permission_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { + ec.Error(ctx, err) + return fc, err + } + return fc, nil +} + +func (ec *executionContext) _SCIMEventConnection_edges(ctx context.Context, field graphql.CollectedField, obj *types.SCIMEventConnection) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_SCIMEventConnection_edges, + func(ctx context.Context) (any, error) { + return obj.Edges, nil + }, + nil, + ec.marshalNSCIMEventEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐSCIMEventEdgeᚄ, + true, + true, + ) +} + +func (ec *executionContext) fieldContext_SCIMEventConnection_edges(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SCIMEventConnection", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + switch field.Name { + case "node": + return ec.fieldContext_SCIMEventEdge_node(ctx, field) + case "cursor": + return ec.fieldContext_SCIMEventEdge_cursor(ctx, field) + } + return nil, fmt.Errorf("no field named %q was found under type SCIMEventEdge", field.Name) + }, + } + return fc, nil +} + +func (ec *executionContext) _SCIMEventConnection_pageInfo(ctx context.Context, field graphql.CollectedField, obj *types.SCIMEventConnection) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_SCIMEventConnection_pageInfo, + func(ctx context.Context) (any, error) { + return obj.PageInfo, nil + }, + nil, + ec.marshalNPageInfo2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐPageInfo, + true, + true, + ) +} + +func (ec *executionContext) fieldContext_SCIMEventConnection_pageInfo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SCIMEventConnection", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + switch field.Name { + case "hasNextPage": + return ec.fieldContext_PageInfo_hasNextPage(ctx, field) + case "hasPreviousPage": + return ec.fieldContext_PageInfo_hasPreviousPage(ctx, field) + case "startCursor": + return ec.fieldContext_PageInfo_startCursor(ctx, field) + case "endCursor": + return ec.fieldContext_PageInfo_endCursor(ctx, field) + } + return nil, fmt.Errorf("no field named %q was found under type PageInfo", field.Name) + }, + } + return fc, nil +} + +func (ec *executionContext) _SCIMEventConnection_totalCount(ctx context.Context, field graphql.CollectedField, obj *types.SCIMEventConnection) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_SCIMEventConnection_totalCount, + func(ctx context.Context) (any, error) { + return ec.resolvers.SCIMEventConnection().TotalCount(ctx, obj) + }, + nil, + ec.marshalOInt2ᚖint, + true, + false, + ) +} + +func (ec *executionContext) fieldContext_SCIMEventConnection_totalCount(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SCIMEventConnection", + Field: field, + IsMethod: true, + IsResolver: true, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type Int does not have child fields") + }, + } + return fc, nil +} + +func (ec *executionContext) _SCIMEventEdge_node(ctx context.Context, field graphql.CollectedField, obj *types.SCIMEventEdge) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_SCIMEventEdge_node, + func(ctx context.Context) (any, error) { + return obj.Node, nil + }, + nil, + ec.marshalNSCIMEvent2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐSCIMEvent, + true, + true, + ) +} + +func (ec *executionContext) fieldContext_SCIMEventEdge_node(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SCIMEventEdge", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + switch field.Name { + case "id": + return ec.fieldContext_SCIMEvent_id(ctx, field) + case "method": + return ec.fieldContext_SCIMEvent_method(ctx, field) + case "path": + return ec.fieldContext_SCIMEvent_path(ctx, field) + case "statusCode": + return ec.fieldContext_SCIMEvent_statusCode(ctx, field) + case "requestBody": + return ec.fieldContext_SCIMEvent_requestBody(ctx, field) + case "responseBody": + return ec.fieldContext_SCIMEvent_responseBody(ctx, field) + case "errorMessage": + return ec.fieldContext_SCIMEvent_errorMessage(ctx, field) + case "membership": + return ec.fieldContext_SCIMEvent_membership(ctx, field) + case "ipAddress": + return ec.fieldContext_SCIMEvent_ipAddress(ctx, field) + case "createdAt": + return ec.fieldContext_SCIMEvent_createdAt(ctx, field) + case "permission": + return ec.fieldContext_SCIMEvent_permission(ctx, field) + } + return nil, fmt.Errorf("no field named %q was found under type SCIMEvent", field.Name) + }, + } + return fc, nil +} + +func (ec *executionContext) _SCIMEventEdge_cursor(ctx context.Context, field graphql.CollectedField, obj *types.SCIMEventEdge) (ret graphql.Marshaler) { + return graphql.ResolveField( + ctx, + ec.OperationContext, + field, + ec.fieldContext_SCIMEventEdge_cursor, + func(ctx context.Context) (any, error) { + return obj.Cursor, nil + }, + nil, + ec.marshalNCursorKey2goᚗproboᚗincᚋproboᚋpkgᚋpageᚐCursorKey, + true, + true, + ) +} + +func (ec *executionContext) fieldContext_SCIMEventEdge_cursor(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SCIMEventEdge", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type CursorKey does not have child fields") + }, + } + return fc, nil +} + func (ec *executionContext) _SSOAvailability_available(ctx context.Context, field graphql.CollectedField, obj *types.SSOAvailability) (ret graphql.Marshaler) { return graphql.ResolveField( ctx, @@ -10609,6 +12375,8 @@ func (ec *executionContext) fieldContext_UpdateOrganizationPayload_organization( return ec.fieldContext_Organization_invitations(ctx, field) case "samlConfigurations": return ec.fieldContext_Organization_samlConfigurations(ctx, field) + case "scimConfiguration": + return ec.fieldContext_Organization_scimConfiguration(ctx, field) case "viewerMembership": return ec.fieldContext_Organization_viewerMembership(ctx, field) case "permission": @@ -12420,6 +14188,33 @@ func (ec *executionContext) unmarshalInputCreateSAMLConfigurationInput(ctx conte return it, nil } +func (ec *executionContext) unmarshalInputCreateSCIMConfigurationInput(ctx context.Context, obj any) (types.CreateSCIMConfigurationInput, error) { + var it types.CreateSCIMConfigurationInput + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { + asMap[k] = v + } + + fieldsInOrder := [...]string{"organizationId"} + for _, k := range fieldsInOrder { + v, ok := asMap[k] + if !ok { + continue + } + switch k { + case "organizationId": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("organizationId")) + data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v) + if err != nil { + return it, err + } + it.OrganizationID = data + } + } + + return it, nil +} + func (ec *executionContext) unmarshalInputDeleteInvitationInput(ctx context.Context, obj any) (types.DeleteInvitationInput, error) { var it types.DeleteInvitationInput asMap := map[string]any{} @@ -12542,6 +14337,40 @@ func (ec *executionContext) unmarshalInputDeleteSAMLConfigurationInput(ctx conte return it, nil } +func (ec *executionContext) unmarshalInputDeleteSCIMConfigurationInput(ctx context.Context, obj any) (types.DeleteSCIMConfigurationInput, error) { + var it types.DeleteSCIMConfigurationInput + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { + asMap[k] = v + } + + fieldsInOrder := [...]string{"organizationId", "scimConfigurationId"} + for _, k := range fieldsInOrder { + v, ok := asMap[k] + if !ok { + continue + } + switch k { + case "organizationId": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("organizationId")) + data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v) + if err != nil { + return it, err + } + it.OrganizationID = data + case "scimConfigurationId": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("scimConfigurationId")) + data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v) + if err != nil { + return it, err + } + it.ScimConfigurationID = data + } + } + + return it, nil +} + func (ec *executionContext) unmarshalInputForgotPasswordInput(ctx context.Context, obj any) (types.ForgotPasswordInput, error) { var it types.ForgotPasswordInput asMap := map[string]any{} @@ -12685,6 +14514,40 @@ func (ec *executionContext) unmarshalInputMembershipOrder(ctx context.Context, o return it, nil } +func (ec *executionContext) unmarshalInputRegenerateSCIMTokenInput(ctx context.Context, obj any) (types.RegenerateSCIMTokenInput, error) { + var it types.RegenerateSCIMTokenInput + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { + asMap[k] = v + } + + fieldsInOrder := [...]string{"organizationId", "scimConfigurationId"} + for _, k := range fieldsInOrder { + v, ok := asMap[k] + if !ok { + continue + } + switch k { + case "organizationId": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("organizationId")) + data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v) + if err != nil { + return it, err + } + it.OrganizationID = data + case "scimConfigurationId": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("scimConfigurationId")) + data, err := ec.unmarshalNID2goᚗproboᚗincᚋproboᚋpkgᚋgidᚐGID(ctx, v) + if err != nil { + return it, err + } + it.ScimConfigurationID = data + } + } + + return it, nil +} + func (ec *executionContext) unmarshalInputRemoveMemberInput(ctx context.Context, obj any) (types.RemoveMemberInput, error) { var it types.RemoveMemberInput asMap := map[string]any{} @@ -12855,6 +14718,40 @@ func (ec *executionContext) unmarshalInputSAMLAttributeMappingsInput(ctx context return it, nil } +func (ec *executionContext) unmarshalInputSCIMEventOrder(ctx context.Context, obj any) (types.SCIMEventOrderBy, error) { + var it types.SCIMEventOrderBy + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { + asMap[k] = v + } + + fieldsInOrder := [...]string{"direction", "field"} + for _, k := range fieldsInOrder { + v, ok := asMap[k] + if !ok { + continue + } + switch k { + case "direction": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("direction")) + data, err := ec.unmarshalNOrderDirection2goᚗproboᚗincᚋproboᚋpkgᚋpageᚐOrderDirection(ctx, v) + if err != nil { + return it, err + } + it.Direction = data + case "field": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("field")) + data, err := ec.unmarshalNSCIMEventOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐSCIMEventOrderField(ctx, v) + if err != nil { + return it, err + } + it.Field = data + } + } + + return it, nil +} + func (ec *executionContext) unmarshalInputSessionOrder(ctx context.Context, obj any) (types.SessionOrder, error) { var it types.SessionOrder asMap := map[string]any{} @@ -13270,6 +15167,20 @@ func (ec *executionContext) _Node(ctx context.Context, sel ast.SelectionSet, obj return graphql.Null } return ec._Session(ctx, sel, obj) + case types.SCIMEvent: + return ec._SCIMEvent(ctx, sel, &obj) + case *types.SCIMEvent: + if obj == nil { + return graphql.Null + } + return ec._SCIMEvent(ctx, sel, obj) + case types.SCIMConfiguration: + return ec._SCIMConfiguration(ctx, sel, &obj) + case *types.SCIMConfiguration: + if obj == nil { + return graphql.Null + } + return ec._SCIMConfiguration(ctx, sel, obj) case types.SAMLConfiguration: return ec._SAMLConfiguration(ctx, sel, &obj) case *types.SAMLConfiguration: @@ -13608,6 +15519,50 @@ func (ec *executionContext) _CreateSAMLConfigurationPayload(ctx context.Context, return out } +var createSCIMConfigurationPayloadImplementors = []string{"CreateSCIMConfigurationPayload"} + +func (ec *executionContext) _CreateSCIMConfigurationPayload(ctx context.Context, sel ast.SelectionSet, obj *types.CreateSCIMConfigurationPayload) graphql.Marshaler { + fields := graphql.CollectFields(ec.OperationContext, sel, createSCIMConfigurationPayloadImplementors) + + out := graphql.NewFieldSet(fields) + deferred := make(map[string]*graphql.FieldSet) + for i, field := range fields { + switch field.Name { + case "__typename": + out.Values[i] = graphql.MarshalString("CreateSCIMConfigurationPayload") + case "scimConfiguration": + out.Values[i] = ec._CreateSCIMConfigurationPayload_scimConfiguration(ctx, field, obj) + if out.Values[i] == graphql.Null { + out.Invalids++ + } + case "token": + out.Values[i] = ec._CreateSCIMConfigurationPayload_token(ctx, field, obj) + if out.Values[i] == graphql.Null { + out.Invalids++ + } + default: + panic("unknown field " + strconv.Quote(field.Name)) + } + } + out.Dispatch(ctx) + if out.Invalids > 0 { + return graphql.Null + } + + atomic.AddInt32(&ec.deferred, int32(len(deferred))) + + for label, dfs := range deferred { + ec.processDeferredGroup(graphql.DeferredGroup{ + Label: label, + Path: graphql.GetPath(ctx), + FieldSet: dfs, + Context: ctx, + }) + } + + return out +} + var deleteInvitationPayloadImplementors = []string{"DeleteInvitationPayload"} func (ec *executionContext) _DeleteInvitationPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteInvitationPayload) graphql.Marshaler { @@ -13764,6 +15719,45 @@ func (ec *executionContext) _DeleteSAMLConfigurationPayload(ctx context.Context, return out } +var deleteSCIMConfigurationPayloadImplementors = []string{"DeleteSCIMConfigurationPayload"} + +func (ec *executionContext) _DeleteSCIMConfigurationPayload(ctx context.Context, sel ast.SelectionSet, obj *types.DeleteSCIMConfigurationPayload) graphql.Marshaler { + fields := graphql.CollectFields(ec.OperationContext, sel, deleteSCIMConfigurationPayloadImplementors) + + out := graphql.NewFieldSet(fields) + deferred := make(map[string]*graphql.FieldSet) + for i, field := range fields { + switch field.Name { + case "__typename": + out.Values[i] = graphql.MarshalString("DeleteSCIMConfigurationPayload") + case "deletedScimConfigurationId": + out.Values[i] = ec._DeleteSCIMConfigurationPayload_deletedScimConfigurationId(ctx, field, obj) + if out.Values[i] == graphql.Null { + out.Invalids++ + } + default: + panic("unknown field " + strconv.Quote(field.Name)) + } + } + out.Dispatch(ctx) + if out.Invalids > 0 { + return graphql.Null + } + + atomic.AddInt32(&ec.deferred, int32(len(deferred))) + + for label, dfs := range deferred { + ec.processDeferredGroup(graphql.DeferredGroup{ + Label: label, + Path: graphql.GetPath(ctx), + FieldSet: dfs, + Context: ctx, + }) + } + + return out +} + var forgotPasswordPayloadImplementors = []string{"ForgotPasswordPayload"} func (ec *executionContext) _ForgotPasswordPayload(ctx context.Context, sel ast.SelectionSet, obj *types.ForgotPasswordPayload) graphql.Marshaler { @@ -14897,6 +16891,18 @@ func (ec *executionContext) _Mutation(ctx context.Context, sel ast.SelectionSet) out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { return ec._Mutation_deleteSAMLConfiguration(ctx, field) }) + case "createSCIMConfiguration": + out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { + return ec._Mutation_createSCIMConfiguration(ctx, field) + }) + case "deleteSCIMConfiguration": + out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { + return ec._Mutation_deleteSCIMConfiguration(ctx, field) + }) + case "regenerateSCIMToken": + out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { + return ec._Mutation_regenerateSCIMToken(ctx, field) + }) default: panic("unknown field " + strconv.Quote(field.Name)) } @@ -15123,6 +17129,39 @@ func (ec *executionContext) _Organization(ctx context.Context, sel ast.Selection continue } + out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) + case "scimConfiguration": + field := field + + innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + } + }() + res = ec._Organization_scimConfiguration(ctx, field, obj) + return res + } + + if field.Deferrable != nil { + dfs, ok := deferred[field.Deferrable.Label] + di := 0 + if ok { + dfs.AddField(field) + di = len(dfs.Values) - 1 + } else { + dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) + deferred[field.Deferrable.Label] = dfs + } + dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { + return innerFunc(ctx, dfs) + }) + + // don't run the out.Concurrently() call below + out.Values[i] = graphql.Null + continue + } + out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) case "viewerMembership": field := field @@ -15701,6 +17740,50 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr return out } +var regenerateSCIMTokenPayloadImplementors = []string{"RegenerateSCIMTokenPayload"} + +func (ec *executionContext) _RegenerateSCIMTokenPayload(ctx context.Context, sel ast.SelectionSet, obj *types.RegenerateSCIMTokenPayload) graphql.Marshaler { + fields := graphql.CollectFields(ec.OperationContext, sel, regenerateSCIMTokenPayloadImplementors) + + out := graphql.NewFieldSet(fields) + deferred := make(map[string]*graphql.FieldSet) + for i, field := range fields { + switch field.Name { + case "__typename": + out.Values[i] = graphql.MarshalString("RegenerateSCIMTokenPayload") + case "scimConfiguration": + out.Values[i] = ec._RegenerateSCIMTokenPayload_scimConfiguration(ctx, field, obj) + if out.Values[i] == graphql.Null { + out.Invalids++ + } + case "token": + out.Values[i] = ec._RegenerateSCIMTokenPayload_token(ctx, field, obj) + if out.Values[i] == graphql.Null { + out.Invalids++ + } + default: + panic("unknown field " + strconv.Quote(field.Name)) + } + } + out.Dispatch(ctx) + if out.Invalids > 0 { + return graphql.Null + } + + atomic.AddInt32(&ec.deferred, int32(len(deferred))) + + for label, dfs := range deferred { + ec.processDeferredGroup(graphql.DeferredGroup{ + Label: label, + Path: graphql.GetPath(ctx), + FieldSet: dfs, + Context: ctx, + }) + } + + return out +} + var removeMemberPayloadImplementors = []string{"RemoveMemberPayload"} func (ec *executionContext) _RemoveMemberPayload(ctx context.Context, sel ast.SelectionSet, obj *types.RemoveMemberPayload) graphql.Marshaler { @@ -16275,6 +18358,453 @@ func (ec *executionContext) _SAMLConfigurationEdge(ctx context.Context, sel ast. return out } +var sCIMConfigurationImplementors = []string{"SCIMConfiguration", "Node"} + +func (ec *executionContext) _SCIMConfiguration(ctx context.Context, sel ast.SelectionSet, obj *types.SCIMConfiguration) graphql.Marshaler { + fields := graphql.CollectFields(ec.OperationContext, sel, sCIMConfigurationImplementors) + + out := graphql.NewFieldSet(fields) + deferred := make(map[string]*graphql.FieldSet) + for i, field := range fields { + switch field.Name { + case "__typename": + out.Values[i] = graphql.MarshalString("SCIMConfiguration") + case "id": + out.Values[i] = ec._SCIMConfiguration_id(ctx, field, obj) + if out.Values[i] == graphql.Null { + atomic.AddUint32(&out.Invalids, 1) + } + case "endpointUrl": + field := field + + innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) { + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + } + }() + res = ec._SCIMConfiguration_endpointUrl(ctx, field, obj) + if res == graphql.Null { + atomic.AddUint32(&fs.Invalids, 1) + } + return res + } + + if field.Deferrable != nil { + dfs, ok := deferred[field.Deferrable.Label] + di := 0 + if ok { + dfs.AddField(field) + di = len(dfs.Values) - 1 + } else { + dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) + deferred[field.Deferrable.Label] = dfs + } + dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { + return innerFunc(ctx, dfs) + }) + + // don't run the out.Concurrently() call below + out.Values[i] = graphql.Null + continue + } + + out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) + case "createdAt": + out.Values[i] = ec._SCIMConfiguration_createdAt(ctx, field, obj) + if out.Values[i] == graphql.Null { + atomic.AddUint32(&out.Invalids, 1) + } + case "updatedAt": + out.Values[i] = ec._SCIMConfiguration_updatedAt(ctx, field, obj) + if out.Values[i] == graphql.Null { + atomic.AddUint32(&out.Invalids, 1) + } + case "organization": + field := field + + innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + } + }() + res = ec._SCIMConfiguration_organization(ctx, field, obj) + return res + } + + if field.Deferrable != nil { + dfs, ok := deferred[field.Deferrable.Label] + di := 0 + if ok { + dfs.AddField(field) + di = len(dfs.Values) - 1 + } else { + dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) + deferred[field.Deferrable.Label] = dfs + } + dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { + return innerFunc(ctx, dfs) + }) + + // don't run the out.Concurrently() call below + out.Values[i] = graphql.Null + continue + } + + out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) + case "events": + field := field + + innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + } + }() + res = ec._SCIMConfiguration_events(ctx, field, obj) + return res + } + + if field.Deferrable != nil { + dfs, ok := deferred[field.Deferrable.Label] + di := 0 + if ok { + dfs.AddField(field) + di = len(dfs.Values) - 1 + } else { + dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) + deferred[field.Deferrable.Label] = dfs + } + dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { + return innerFunc(ctx, dfs) + }) + + // don't run the out.Concurrently() call below + out.Values[i] = graphql.Null + continue + } + + out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) + case "permission": + field := field + + innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) { + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + } + }() + res = ec._SCIMConfiguration_permission(ctx, field, obj) + if res == graphql.Null { + atomic.AddUint32(&fs.Invalids, 1) + } + return res + } + + if field.Deferrable != nil { + dfs, ok := deferred[field.Deferrable.Label] + di := 0 + if ok { + dfs.AddField(field) + di = len(dfs.Values) - 1 + } else { + dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) + deferred[field.Deferrable.Label] = dfs + } + dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { + return innerFunc(ctx, dfs) + }) + + // don't run the out.Concurrently() call below + out.Values[i] = graphql.Null + continue + } + + out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) + default: + panic("unknown field " + strconv.Quote(field.Name)) + } + } + out.Dispatch(ctx) + if out.Invalids > 0 { + return graphql.Null + } + + atomic.AddInt32(&ec.deferred, int32(len(deferred))) + + for label, dfs := range deferred { + ec.processDeferredGroup(graphql.DeferredGroup{ + Label: label, + Path: graphql.GetPath(ctx), + FieldSet: dfs, + Context: ctx, + }) + } + + return out +} + +var sCIMEventImplementors = []string{"SCIMEvent", "Node"} + +func (ec *executionContext) _SCIMEvent(ctx context.Context, sel ast.SelectionSet, obj *types.SCIMEvent) graphql.Marshaler { + fields := graphql.CollectFields(ec.OperationContext, sel, sCIMEventImplementors) + + out := graphql.NewFieldSet(fields) + deferred := make(map[string]*graphql.FieldSet) + for i, field := range fields { + switch field.Name { + case "__typename": + out.Values[i] = graphql.MarshalString("SCIMEvent") + case "id": + out.Values[i] = ec._SCIMEvent_id(ctx, field, obj) + if out.Values[i] == graphql.Null { + atomic.AddUint32(&out.Invalids, 1) + } + case "method": + out.Values[i] = ec._SCIMEvent_method(ctx, field, obj) + if out.Values[i] == graphql.Null { + atomic.AddUint32(&out.Invalids, 1) + } + case "path": + out.Values[i] = ec._SCIMEvent_path(ctx, field, obj) + if out.Values[i] == graphql.Null { + atomic.AddUint32(&out.Invalids, 1) + } + case "statusCode": + out.Values[i] = ec._SCIMEvent_statusCode(ctx, field, obj) + if out.Values[i] == graphql.Null { + atomic.AddUint32(&out.Invalids, 1) + } + case "requestBody": + out.Values[i] = ec._SCIMEvent_requestBody(ctx, field, obj) + case "responseBody": + out.Values[i] = ec._SCIMEvent_responseBody(ctx, field, obj) + case "errorMessage": + out.Values[i] = ec._SCIMEvent_errorMessage(ctx, field, obj) + case "membership": + field := field + + innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + } + }() + res = ec._SCIMEvent_membership(ctx, field, obj) + return res + } + + if field.Deferrable != nil { + dfs, ok := deferred[field.Deferrable.Label] + di := 0 + if ok { + dfs.AddField(field) + di = len(dfs.Values) - 1 + } else { + dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) + deferred[field.Deferrable.Label] = dfs + } + dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { + return innerFunc(ctx, dfs) + }) + + // don't run the out.Concurrently() call below + out.Values[i] = graphql.Null + continue + } + + out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) + case "ipAddress": + out.Values[i] = ec._SCIMEvent_ipAddress(ctx, field, obj) + if out.Values[i] == graphql.Null { + atomic.AddUint32(&out.Invalids, 1) + } + case "createdAt": + out.Values[i] = ec._SCIMEvent_createdAt(ctx, field, obj) + if out.Values[i] == graphql.Null { + atomic.AddUint32(&out.Invalids, 1) + } + case "permission": + field := field + + innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) { + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + } + }() + res = ec._SCIMEvent_permission(ctx, field, obj) + if res == graphql.Null { + atomic.AddUint32(&fs.Invalids, 1) + } + return res + } + + if field.Deferrable != nil { + dfs, ok := deferred[field.Deferrable.Label] + di := 0 + if ok { + dfs.AddField(field) + di = len(dfs.Values) - 1 + } else { + dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) + deferred[field.Deferrable.Label] = dfs + } + dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { + return innerFunc(ctx, dfs) + }) + + // don't run the out.Concurrently() call below + out.Values[i] = graphql.Null + continue + } + + out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) + default: + panic("unknown field " + strconv.Quote(field.Name)) + } + } + out.Dispatch(ctx) + if out.Invalids > 0 { + return graphql.Null + } + + atomic.AddInt32(&ec.deferred, int32(len(deferred))) + + for label, dfs := range deferred { + ec.processDeferredGroup(graphql.DeferredGroup{ + Label: label, + Path: graphql.GetPath(ctx), + FieldSet: dfs, + Context: ctx, + }) + } + + return out +} + +var sCIMEventConnectionImplementors = []string{"SCIMEventConnection"} + +func (ec *executionContext) _SCIMEventConnection(ctx context.Context, sel ast.SelectionSet, obj *types.SCIMEventConnection) graphql.Marshaler { + fields := graphql.CollectFields(ec.OperationContext, sel, sCIMEventConnectionImplementors) + + out := graphql.NewFieldSet(fields) + deferred := make(map[string]*graphql.FieldSet) + for i, field := range fields { + switch field.Name { + case "__typename": + out.Values[i] = graphql.MarshalString("SCIMEventConnection") + case "edges": + out.Values[i] = ec._SCIMEventConnection_edges(ctx, field, obj) + if out.Values[i] == graphql.Null { + atomic.AddUint32(&out.Invalids, 1) + } + case "pageInfo": + out.Values[i] = ec._SCIMEventConnection_pageInfo(ctx, field, obj) + if out.Values[i] == graphql.Null { + atomic.AddUint32(&out.Invalids, 1) + } + case "totalCount": + field := field + + innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + } + }() + res = ec._SCIMEventConnection_totalCount(ctx, field, obj) + return res + } + + if field.Deferrable != nil { + dfs, ok := deferred[field.Deferrable.Label] + di := 0 + if ok { + dfs.AddField(field) + di = len(dfs.Values) - 1 + } else { + dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) + deferred[field.Deferrable.Label] = dfs + } + dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { + return innerFunc(ctx, dfs) + }) + + // don't run the out.Concurrently() call below + out.Values[i] = graphql.Null + continue + } + + out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) + default: + panic("unknown field " + strconv.Quote(field.Name)) + } + } + out.Dispatch(ctx) + if out.Invalids > 0 { + return graphql.Null + } + + atomic.AddInt32(&ec.deferred, int32(len(deferred))) + + for label, dfs := range deferred { + ec.processDeferredGroup(graphql.DeferredGroup{ + Label: label, + Path: graphql.GetPath(ctx), + FieldSet: dfs, + Context: ctx, + }) + } + + return out +} + +var sCIMEventEdgeImplementors = []string{"SCIMEventEdge"} + +func (ec *executionContext) _SCIMEventEdge(ctx context.Context, sel ast.SelectionSet, obj *types.SCIMEventEdge) graphql.Marshaler { + fields := graphql.CollectFields(ec.OperationContext, sel, sCIMEventEdgeImplementors) + + out := graphql.NewFieldSet(fields) + deferred := make(map[string]*graphql.FieldSet) + for i, field := range fields { + switch field.Name { + case "__typename": + out.Values[i] = graphql.MarshalString("SCIMEventEdge") + case "node": + out.Values[i] = ec._SCIMEventEdge_node(ctx, field, obj) + if out.Values[i] == graphql.Null { + out.Invalids++ + } + case "cursor": + out.Values[i] = ec._SCIMEventEdge_cursor(ctx, field, obj) + if out.Values[i] == graphql.Null { + out.Invalids++ + } + default: + panic("unknown field " + strconv.Quote(field.Name)) + } + } + out.Dispatch(ctx) + if out.Invalids > 0 { + return graphql.Null + } + + atomic.AddInt32(&ec.deferred, int32(len(deferred))) + + for label, dfs := range deferred { + ec.processDeferredGroup(graphql.DeferredGroup{ + Label: label, + Path: graphql.GetPath(ctx), + FieldSet: dfs, + Context: ctx, + }) + } + + return out +} + var sSOAvailabilityImplementors = []string{"SSOAvailability"} func (ec *executionContext) _SSOAvailability(ctx context.Context, sel ast.SelectionSet, obj *types.SSOAvailability) graphql.Marshaler { @@ -17267,6 +19797,11 @@ func (ec *executionContext) unmarshalNCreateSAMLConfigurationInput2goᚗproboᚗ return res, graphql.ErrorOnPath(ctx, err) } +func (ec *executionContext) unmarshalNCreateSCIMConfigurationInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐCreateSCIMConfigurationInput(ctx context.Context, v any) (types.CreateSCIMConfigurationInput, error) { + res, err := ec.unmarshalInputCreateSCIMConfigurationInput(ctx, v) + return res, graphql.ErrorOnPath(ctx, err) +} + func (ec *executionContext) unmarshalNCursorKey2goᚗproboᚗincᚋproboᚋpkgᚋpageᚐCursorKey(ctx context.Context, v any) (page.CursorKey, error) { res, err := cursor.UnmarshalCursorKeyScalar(v) return res, graphql.ErrorOnPath(ctx, err) @@ -17319,6 +19854,11 @@ func (ec *executionContext) unmarshalNDeleteSAMLConfigurationInput2goᚗproboᚗ return res, graphql.ErrorOnPath(ctx, err) } +func (ec *executionContext) unmarshalNDeleteSCIMConfigurationInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐDeleteSCIMConfigurationInput(ctx context.Context, v any) (types.DeleteSCIMConfigurationInput, error) { + res, err := ec.unmarshalInputDeleteSCIMConfigurationInput(ctx, v) + return res, graphql.ErrorOnPath(ctx, err) +} + func (ec *executionContext) unmarshalNEmailAddr2goᚗproboᚗincᚋproboᚋpkgᚋmailᚐAddr(ctx context.Context, v any) (mail.Addr, error) { res, err := mail1.UnmarshalAddrScalar(v) return res, graphql.ErrorOnPath(ctx, err) @@ -17652,10 +20192,12 @@ var ( unmarshalNMembershipSource2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMembershipSource = map[string]coredata.MembershipSource{ "MANUAL": coredata.MembershipSourceManual, "SAML": coredata.MembershipSourceSAML, + "SCIM": coredata.MembershipSourceSCIM, } marshalNMembershipSource2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐMembershipSource = map[coredata.MembershipSource]string{ coredata.MembershipSourceManual: "MANUAL", coredata.MembershipSourceSAML: "SAML", + coredata.MembershipSourceSCIM: "SCIM", } ) @@ -17775,6 +20317,11 @@ func (ec *executionContext) marshalNReauthenticationReason2goᚗproboᚗincᚋpr return v } +func (ec *executionContext) unmarshalNRegenerateSCIMTokenInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐRegenerateSCIMTokenInput(ctx context.Context, v any) (types.RegenerateSCIMTokenInput, error) { + res, err := ec.unmarshalInputRegenerateSCIMTokenInput(ctx, v) + return res, graphql.ErrorOnPath(ctx, err) +} + func (ec *executionContext) unmarshalNRemoveMemberInput2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐRemoveMemberInput(ctx context.Context, v any) (types.RemoveMemberInput, error) { res, err := ec.unmarshalInputRemoveMemberInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) @@ -17913,6 +20460,106 @@ var ( } ) +func (ec *executionContext) marshalNSCIMConfiguration2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐSCIMConfiguration(ctx context.Context, sel ast.SelectionSet, v *types.SCIMConfiguration) graphql.Marshaler { + if v == nil { + if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { + graphql.AddErrorf(ctx, "the requested element is null which the schema does not allow") + } + return graphql.Null + } + return ec._SCIMConfiguration(ctx, sel, v) +} + +func (ec *executionContext) marshalNSCIMEvent2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐSCIMEvent(ctx context.Context, sel ast.SelectionSet, v *types.SCIMEvent) graphql.Marshaler { + if v == nil { + if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { + graphql.AddErrorf(ctx, "the requested element is null which the schema does not allow") + } + return graphql.Null + } + return ec._SCIMEvent(ctx, sel, v) +} + +func (ec *executionContext) marshalNSCIMEventEdge2ᚕᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐSCIMEventEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*types.SCIMEventEdge) graphql.Marshaler { + ret := make(graphql.Array, len(v)) + var wg sync.WaitGroup + isLen1 := len(v) == 1 + if !isLen1 { + wg.Add(len(v)) + } + for i := range v { + i := i + fc := &graphql.FieldContext{ + Index: &i, + Result: &v[i], + } + ctx := graphql.WithFieldContext(ctx, fc) + f := func(i int) { + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + ret = nil + } + }() + if !isLen1 { + defer wg.Done() + } + ret[i] = ec.marshalNSCIMEventEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐSCIMEventEdge(ctx, sel, v[i]) + } + if isLen1 { + f(i) + } else { + go f(i) + } + + } + wg.Wait() + + for _, e := range ret { + if e == graphql.Null { + return graphql.Null + } + } + + return ret +} + +func (ec *executionContext) marshalNSCIMEventEdge2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐSCIMEventEdge(ctx context.Context, sel ast.SelectionSet, v *types.SCIMEventEdge) graphql.Marshaler { + if v == nil { + if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { + graphql.AddErrorf(ctx, "the requested element is null which the schema does not allow") + } + return graphql.Null + } + return ec._SCIMEventEdge(ctx, sel, v) +} + +func (ec *executionContext) unmarshalNSCIMEventOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐSCIMEventOrderField(ctx context.Context, v any) (coredata.SCIMEventOrderField, error) { + tmp, err := graphql.UnmarshalString(v) + res := unmarshalNSCIMEventOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐSCIMEventOrderField[tmp] + return res, graphql.ErrorOnPath(ctx, err) +} + +func (ec *executionContext) marshalNSCIMEventOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐSCIMEventOrderField(ctx context.Context, sel ast.SelectionSet, v coredata.SCIMEventOrderField) graphql.Marshaler { + _ = sel + res := graphql.MarshalString(marshalNSCIMEventOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐSCIMEventOrderField[v]) + if res == graphql.Null { + if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { + graphql.AddErrorf(ctx, "the requested element is null which the schema does not allow") + } + } + return res +} + +var ( + unmarshalNSCIMEventOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐSCIMEventOrderField = map[string]coredata.SCIMEventOrderField{ + "CREATED_AT": coredata.SCIMEventOrderFieldCreatedAt, + } + marshalNSCIMEventOrderField2goᚗproboᚗincᚋproboᚋpkgᚋcoredataᚐSCIMEventOrderField = map[coredata.SCIMEventOrderField]string{ + coredata.SCIMEventOrderFieldCreatedAt: "CREATED_AT", + } +) + func (ec *executionContext) marshalNSSOAvailability2goᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐSSOAvailability(ctx context.Context, sel ast.SelectionSet, v types.SSOAvailability) graphql.Marshaler { return ec._SSOAvailability(ctx, sel, &v) } @@ -18428,6 +21075,13 @@ func (ec *executionContext) marshalOCreateSAMLConfigurationPayload2ᚖgoᚗprobo return ec._CreateSAMLConfigurationPayload(ctx, sel, v) } +func (ec *executionContext) marshalOCreateSCIMConfigurationPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐCreateSCIMConfigurationPayload(ctx context.Context, sel ast.SelectionSet, v *types.CreateSCIMConfigurationPayload) graphql.Marshaler { + if v == nil { + return graphql.Null + } + return ec._CreateSCIMConfigurationPayload(ctx, sel, v) +} + func (ec *executionContext) unmarshalOCursorKey2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋpageᚐCursorKey(ctx context.Context, v any) (*page.CursorKey, error) { if v == nil { return nil, nil @@ -18492,6 +21146,13 @@ func (ec *executionContext) marshalODeleteSAMLConfigurationPayload2ᚖgoᚗprobo return ec._DeleteSAMLConfigurationPayload(ctx, sel, v) } +func (ec *executionContext) marshalODeleteSCIMConfigurationPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐDeleteSCIMConfigurationPayload(ctx context.Context, sel ast.SelectionSet, v *types.DeleteSCIMConfigurationPayload) graphql.Marshaler { + if v == nil { + return graphql.Null + } + return ec._DeleteSCIMConfigurationPayload(ctx, sel, v) +} + func (ec *executionContext) marshalOForgotPasswordPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐForgotPasswordPayload(ctx context.Context, sel ast.SelectionSet, v *types.ForgotPasswordPayload) graphql.Marshaler { if v == nil { return graphql.Null @@ -18646,6 +21307,13 @@ func (ec *executionContext) marshalOPersonalAPIKeyConnection2ᚖgoᚗproboᚗinc return ec._PersonalAPIKeyConnection(ctx, sel, v) } +func (ec *executionContext) marshalORegenerateSCIMTokenPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐRegenerateSCIMTokenPayload(ctx context.Context, sel ast.SelectionSet, v *types.RegenerateSCIMTokenPayload) graphql.Marshaler { + if v == nil { + return graphql.Null + } + return ec._RegenerateSCIMTokenPayload(ctx, sel, v) +} + func (ec *executionContext) marshalORemoveMemberPayload2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐRemoveMemberPayload(ctx context.Context, sel ast.SelectionSet, v *types.RemoveMemberPayload) graphql.Marshaler { if v == nil { return graphql.Null @@ -18696,6 +21364,28 @@ func (ec *executionContext) marshalOSAMLConfigurationConnection2ᚖgoᚗproboᚗ return ec._SAMLConfigurationConnection(ctx, sel, v) } +func (ec *executionContext) marshalOSCIMConfiguration2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐSCIMConfiguration(ctx context.Context, sel ast.SelectionSet, v *types.SCIMConfiguration) graphql.Marshaler { + if v == nil { + return graphql.Null + } + return ec._SCIMConfiguration(ctx, sel, v) +} + +func (ec *executionContext) marshalOSCIMEventConnection2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐSCIMEventConnection(ctx context.Context, sel ast.SelectionSet, v *types.SCIMEventConnection) graphql.Marshaler { + if v == nil { + return graphql.Null + } + return ec._SCIMEventConnection(ctx, sel, v) +} + +func (ec *executionContext) unmarshalOSCIMEventOrder2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐSCIMEventOrderBy(ctx context.Context, v any) (*types.SCIMEventOrderBy, error) { + if v == nil { + return nil, nil + } + res, err := ec.unmarshalInputSCIMEventOrder(ctx, v) + return &res, graphql.ErrorOnPath(ctx, err) +} + func (ec *executionContext) marshalOSession2ᚖgoᚗproboᚗincᚋproboᚋpkgᚋserverᚋapiᚋconnectᚋv1ᚋtypesᚐSession(ctx context.Context, sel ast.SelectionSet, v *types.Session) graphql.Marshaler { if v == nil { return graphql.Null diff --git a/pkg/server/api/connect/v1/types/scim_configuration.go b/pkg/server/api/connect/v1/types/scim_configuration.go new file mode 100644 index 000000000..acdd4b0d5 --- /dev/null +++ b/pkg/server/api/connect/v1/types/scim_configuration.go @@ -0,0 +1,30 @@ +// Copyright (c) 2025 Probo Inc . +// +// Permission to use, copy, modify, and/or distribute this software for any +// purpose with or without fee is hereby granted, provided that the above +// copyright notice and this permission notice appear in all copies. +// +// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +// LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +// OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +// PERFORMANCE OF THIS SOFTWARE. + +package types + +import ( + "go.probo.inc/probo/pkg/coredata" +) + +func NewSCIMConfiguration(scimConfiguration *coredata.SCIMConfiguration) *SCIMConfiguration { + return &SCIMConfiguration{ + ID: scimConfiguration.ID, + Organization: &Organization{ + ID: scimConfiguration.OrganizationID, + }, + CreatedAt: scimConfiguration.CreatedAt, + UpdatedAt: scimConfiguration.UpdatedAt, + } +} diff --git a/pkg/server/api/connect/v1/types/scim_event.go b/pkg/server/api/connect/v1/types/scim_event.go new file mode 100644 index 000000000..a5fa0951c --- /dev/null +++ b/pkg/server/api/connect/v1/types/scim_event.go @@ -0,0 +1,82 @@ +// Copyright (c) 2025 Probo Inc . +// +// Permission to use, copy, modify, and/or distribute this software for any +// purpose with or without fee is hereby granted, provided that the above +// copyright notice and this permission notice appear in all copies. +// +// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +// LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +// OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +// PERFORMANCE OF THIS SOFTWARE. + +package types + +import ( + "go.probo.inc/probo/pkg/coredata" + "go.probo.inc/probo/pkg/gid" + "go.probo.inc/probo/pkg/page" +) + +type ( + SCIMEventOrderBy OrderBy[coredata.SCIMEventOrderField] + + SCIMEventConnection struct { + TotalCount int + Edges []*SCIMEventEdge + PageInfo PageInfo + + Resolver any + ParentID gid.GID + } +) + +func NewSCIMEventConnection( + p *page.Page[*coredata.SCIMEvent, coredata.SCIMEventOrderField], + resolver any, + parentID gid.GID, +) *SCIMEventConnection { + edges := make([]*SCIMEventEdge, len(p.Data)) + for i, scimEvent := range p.Data { + edges[i] = NewSCIMEventEdge(scimEvent, p.Cursor.OrderBy.Field) + } + + return &SCIMEventConnection{ + Edges: edges, + PageInfo: *NewPageInfo(p), + + Resolver: resolver, + ParentID: parentID, + } +} + +func NewSCIMEventEdge(scimEvent *coredata.SCIMEvent, orderField coredata.SCIMEventOrderField) *SCIMEventEdge { + return &SCIMEventEdge{ + Node: NewSCIMEvent(scimEvent), + Cursor: scimEvent.CursorKey(orderField), + } +} + +func NewSCIMEvent(scimEvent *coredata.SCIMEvent) *SCIMEvent { + event := &SCIMEvent{ + ID: scimEvent.ID, + Method: scimEvent.Method, + Path: scimEvent.Path, + StatusCode: scimEvent.StatusCode, + RequestBody: scimEvent.RequestBody, + ResponseBody: scimEvent.ResponseBody, + ErrorMessage: scimEvent.ErrorMessage, + IPAddress: scimEvent.IPAddress.String(), + CreatedAt: scimEvent.CreatedAt, + } + + if scimEvent.MembershipID != nil { + event.Membership = &Membership{ + ID: *scimEvent.MembershipID, + } + } + + return event +} diff --git a/pkg/server/api/connect/v1/types/types.go b/pkg/server/api/connect/v1/types/types.go index 6d55c60a4..8ce254012 100644 --- a/pkg/server/api/connect/v1/types/types.go +++ b/pkg/server/api/connect/v1/types/types.go @@ -94,6 +94,15 @@ type CreateSAMLConfigurationPayload struct { SamlConfigurationEdge *SAMLConfigurationEdge `json:"samlConfigurationEdge"` } +type CreateSCIMConfigurationInput struct { + OrganizationID gid.GID `json:"organizationId"` +} + +type CreateSCIMConfigurationPayload struct { + ScimConfiguration *SCIMConfiguration `json:"scimConfiguration"` + Token string `json:"token"` +} + type DeleteInvitationInput struct { OrganizationID gid.GID `json:"organizationId"` InvitationID gid.GID `json:"invitationId"` @@ -128,6 +137,15 @@ type DeleteSAMLConfigurationPayload struct { DeletedSamlConfigurationID gid.GID `json:"deletedSamlConfigurationId"` } +type DeleteSCIMConfigurationInput struct { + OrganizationID gid.GID `json:"organizationId"` + ScimConfigurationID gid.GID `json:"scimConfigurationId"` +} + +type DeleteSCIMConfigurationPayload struct { + DeletedScimConfigurationID gid.GID `json:"deletedScimConfigurationId"` +} + type ForgotPasswordInput struct { Email mail.Addr `json:"email"` } @@ -233,6 +251,7 @@ type Organization struct { Members *MembershipConnection `json:"members,omitempty"` Invitations *InvitationConnection `json:"invitations,omitempty"` SamlConfigurations *SAMLConfigurationConnection `json:"samlConfigurations,omitempty"` + ScimConfiguration *SCIMConfiguration `json:"scimConfiguration,omitempty"` ViewerMembership *Membership `json:"viewerMembership,omitempty"` Permission bool `json:"permission"` } @@ -280,6 +299,16 @@ type PersonalAPIKeyEdge struct { type Query struct { } +type RegenerateSCIMTokenInput struct { + OrganizationID gid.GID `json:"organizationId"` + ScimConfigurationID gid.GID `json:"scimConfigurationId"` +} + +type RegenerateSCIMTokenPayload struct { + ScimConfiguration *SCIMConfiguration `json:"scimConfiguration"` + Token string `json:"token"` +} + type RemoveMemberInput struct { OrganizationID gid.GID `json:"organizationId"` MembershipID gid.GID `json:"membershipId"` @@ -364,6 +393,41 @@ type SAMLConfigurationEdge struct { Cursor page.CursorKey `json:"cursor"` } +type SCIMConfiguration struct { + ID gid.GID `json:"id"` + EndpointURL string `json:"endpointUrl"` + CreatedAt time.Time `json:"createdAt"` + UpdatedAt time.Time `json:"updatedAt"` + Organization *Organization `json:"organization,omitempty"` + Events *SCIMEventConnection `json:"events,omitempty"` + Permission bool `json:"permission"` +} + +func (SCIMConfiguration) IsNode() {} +func (this SCIMConfiguration) GetID() gid.GID { return this.ID } + +type SCIMEvent struct { + ID gid.GID `json:"id"` + Method string `json:"method"` + Path string `json:"path"` + StatusCode int `json:"statusCode"` + RequestBody *string `json:"requestBody,omitempty"` + ResponseBody *string `json:"responseBody,omitempty"` + ErrorMessage *string `json:"errorMessage,omitempty"` + Membership *Membership `json:"membership,omitempty"` + IPAddress string `json:"ipAddress"` + CreatedAt time.Time `json:"createdAt"` + Permission bool `json:"permission"` +} + +func (SCIMEvent) IsNode() {} +func (this SCIMEvent) GetID() gid.GID { return this.ID } + +type SCIMEventEdge struct { + Node *SCIMEvent `json:"node"` + Cursor page.CursorKey `json:"cursor"` +} + type SSOAvailability struct { Available bool `json:"available"` SamlConfigID *gid.GID `json:"samlConfigId,omitempty"` diff --git a/pkg/server/api/connect/v1/v1_resolver.go b/pkg/server/api/connect/v1/v1_resolver.go index 35a27af17..22d07ede0 100644 --- a/pkg/server/api/connect/v1/v1_resolver.go +++ b/pkg/server/api/connect/v1/v1_resolver.go @@ -1090,6 +1090,57 @@ func (r *mutationResolver) DeleteSAMLConfiguration(ctx context.Context, input ty return &types.DeleteSAMLConfigurationPayload{DeletedSamlConfigurationID: input.SamlConfigurationID}, nil } +// CreateSCIMConfiguration is the resolver for the createSCIMConfiguration field. +func (r *mutationResolver) CreateSCIMConfiguration(ctx context.Context, input types.CreateSCIMConfigurationInput) (*types.CreateSCIMConfigurationPayload, error) { + if ok := r.Authorize(ctx, input.OrganizationID, iam.ActionSCIMConfigurationCreate, nil); !ok { + return nil, nil + } + + config, token, err := r.iam.OrganizationService.CreateSCIMConfiguration(ctx, input.OrganizationID) + if err != nil { + r.logger.ErrorCtx(ctx, "cannot create scim configuration", log.Error(err)) + return nil, gqlutils.InternalServerError(ctx) + } + + return &types.CreateSCIMConfigurationPayload{ + ScimConfiguration: types.NewSCIMConfiguration(config), + Token: token, + }, nil +} + +// DeleteSCIMConfiguration is the resolver for the deleteSCIMConfiguration field. +func (r *mutationResolver) DeleteSCIMConfiguration(ctx context.Context, input types.DeleteSCIMConfigurationInput) (*types.DeleteSCIMConfigurationPayload, error) { + if ok := r.Authorize(ctx, input.OrganizationID, iam.ActionSCIMConfigurationDelete, nil); !ok { + return nil, nil + } + + err := r.iam.OrganizationService.DeleteSCIMConfiguration(ctx, input.OrganizationID, input.ScimConfigurationID) + if err != nil { + r.logger.ErrorCtx(ctx, "cannot delete scim configuration", log.Error(err)) + return nil, gqlutils.InternalServerError(ctx) + } + + return &types.DeleteSCIMConfigurationPayload{DeletedScimConfigurationID: input.ScimConfigurationID}, nil +} + +// RegenerateSCIMToken is the resolver for the regenerateSCIMToken field. +func (r *mutationResolver) RegenerateSCIMToken(ctx context.Context, input types.RegenerateSCIMTokenInput) (*types.RegenerateSCIMTokenPayload, error) { + if ok := r.Authorize(ctx, input.ScimConfigurationID, iam.ActionSCIMConfigurationUpdate, nil); !ok { + return nil, nil + } + + config, token, err := r.iam.OrganizationService.RegenerateSCIMToken(ctx, input.OrganizationID, input.ScimConfigurationID) + if err != nil { + r.logger.ErrorCtx(ctx, "cannot regenerate scim token", log.Error(err)) + return nil, gqlutils.InternalServerError(ctx) + } + + return &types.RegenerateSCIMTokenPayload{ + ScimConfiguration: types.NewSCIMConfiguration(config), + Token: token, + }, nil +} + // LogoURL is the resolver for the logoUrl field. func (r *organizationResolver) LogoURL(ctx context.Context, obj *types.Organization) (*string, error) { if ok := r.Authorize(ctx, obj.ID, iam.ActionOrganizationGet, nil); !ok { @@ -1216,6 +1267,26 @@ func (r *organizationResolver) SamlConfigurations(ctx context.Context, obj *type return types.NewSAMLConfigurationConnection(page, r, obj.ID), nil } +// ScimConfiguration is the resolver for the scimConfiguration field. +func (r *organizationResolver) ScimConfiguration(ctx context.Context, obj *types.Organization) (*types.SCIMConfiguration, error) { + if ok := r.Authorize(ctx, obj.ID, iam.ActionSCIMConfigurationGet, nil); !ok { + return nil, nil + } + + config, err := r.iam.OrganizationService.GetSCIMConfiguration(ctx, obj.ID) + if err != nil { + var notFound *iam.ErrNoSCIMConfigurationFound + if errors.As(err, ¬Found) { + return nil, nil + } + + r.logger.ErrorCtx(ctx, "cannot get scim configuration", log.Error(err)) + return nil, gqlutils.InternalServerError(ctx) + } + + return types.NewSCIMConfiguration(config), nil +} + // ViewerMembership is the resolver for the viewerMembership field. func (r *organizationResolver) ViewerMembership(ctx context.Context, obj *types.Organization) (*types.Membership, error) { if ok := r.Authorize(ctx, obj.ID, iam.ActionMembershipList, nil); !ok { @@ -1358,6 +1429,24 @@ func (r *queryResolver) Node(ctx context.Context, id gid.GID) (types.Node, error } return types.NewPersonalAPIKey(personalAPIKey), nil } + case coredata.SCIMConfigurationEntityType: + action = iam.ActionSCIMConfigurationGet + loadNode = func(ctx context.Context, id gid.GID) (types.Node, error) { + scimConfiguration, err := r.iam.GetSCIMConfiguration(ctx, id) + if err != nil { + return nil, err + } + return types.NewSCIMConfiguration(scimConfiguration), nil + } + case coredata.SCIMEventEntityType: + action = iam.ActionSCIMEventGet + loadNode = func(ctx context.Context, id gid.GID) (types.Node, error) { + scimEvent, err := r.iam.GetSCIMEvent(ctx, id) + if err != nil { + return nil, err + } + return types.NewSCIMEvent(scimEvent), nil + } default: return nil, fmt.Errorf("unsupported entity type: %d", id.EntityType()) } @@ -1452,6 +1541,127 @@ func (r *sAMLConfigurationConnectionResolver) TotalCount(ctx context.Context, ob return nil, gqlutils.InternalServerError(ctx) } +// EndpointURL is the resolver for the endpointUrl field. +func (r *sCIMConfigurationResolver) EndpointURL(ctx context.Context, obj *types.SCIMConfiguration) (string, error) { + return r.baseURL.WithPath("/api/connect/v1/scim/2.0").MustString(), nil +} + +// Organization is the resolver for the organization field. +func (r *sCIMConfigurationResolver) Organization(ctx context.Context, obj *types.SCIMConfiguration) (*types.Organization, error) { + if ok := r.Authorize(ctx, obj.Organization.ID, iam.ActionOrganizationGet, nil); !ok { + return nil, nil + } + + if obj.Organization == nil { + return nil, nil + } + + if gqlutils.OnlyIDSelected(ctx) { + return &types.Organization{ + ID: obj.Organization.ID, + }, nil + } + + organization, err := r.iam.OrganizationService.GetOrganization(ctx, obj.Organization.ID) + if err != nil { + var errOrganizationNotFound *iam.ErrOrganizationNotFound + if errors.As(err, &errOrganizationNotFound) { + return nil, nil + } + + r.logger.ErrorCtx(ctx, "cannot get organization for scim configuration", log.Error(err)) + return nil, gqlutils.InternalServerError(ctx) + } + + return types.NewOrganization(organization), nil +} + +// Events is the resolver for the events field. +func (r *sCIMConfigurationResolver) Events(ctx context.Context, obj *types.SCIMConfiguration, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.SCIMEventOrderBy) (*types.SCIMEventConnection, error) { + if ok := r.Authorize(ctx, obj.ID, iam.ActionSCIMEventList, nil); !ok { + return nil, nil + } + + pageOrderBy := page.OrderBy[coredata.SCIMEventOrderField]{ + Field: coredata.SCIMEventOrderFieldCreatedAt, + Direction: page.OrderDirectionDesc, + } + if orderBy != nil { + pageOrderBy.Field = coredata.SCIMEventOrderField(orderBy.Field) + pageOrderBy.Direction = page.OrderDirection(orderBy.Direction) + } + + cursor := cursor.NewCursor(first, after, last, before, pageOrderBy) + + events, err := r.iam.OrganizationService.ListSCIMEventsByConfigID(ctx, obj.ID, cursor) + if err != nil { + r.logger.ErrorCtx(ctx, "cannot list scim events", log.Error(err)) + return nil, gqlutils.InternalServerError(ctx) + } + + return types.NewSCIMEventConnection(events, r, obj.ID), nil +} + +// Permission is the resolver for the permission field. +func (r *sCIMConfigurationResolver) Permission(ctx context.Context, obj *types.SCIMConfiguration, action string) (bool, error) { + return r.Resolver.Permission(ctx, obj, action) +} + +// Membership is the resolver for the membership field. +func (r *sCIMEventResolver) Membership(ctx context.Context, obj *types.SCIMEvent) (*types.Membership, error) { + if ok := r.Authorize(ctx, obj.Membership.ID, iam.ActionMembershipGet, nil); !ok { + return nil, nil + } + + if obj.Membership == nil { + return nil, nil + } + + if gqlutils.OnlyIDSelected(ctx) { + return &types.Membership{ + ID: obj.Membership.ID, + }, nil + } + + membership, err := r.iam.GetMembership(ctx, obj.Membership.ID) + if err != nil { + var errMembershipNotFound *iam.ErrMembershipNotFound + if errors.As(err, &errMembershipNotFound) { + return nil, nil + } + + r.logger.ErrorCtx(ctx, "cannot get membership for scim event", log.Error(err)) + return nil, gqlutils.InternalServerError(ctx) + } + + return types.NewMembership(membership), nil +} + +// Permission is the resolver for the permission field. +func (r *sCIMEventResolver) Permission(ctx context.Context, obj *types.SCIMEvent, action string) (bool, error) { + return r.Resolver.Permission(ctx, obj, action) +} + +// TotalCount is the resolver for the totalCount field. +func (r *sCIMEventConnectionResolver) TotalCount(ctx context.Context, obj *types.SCIMEventConnection) (*int, error) { + if ok := r.Authorize(ctx, obj.ParentID, iam.ActionSCIMEventList, nil); !ok { + return nil, nil + } + + switch obj.Resolver.(type) { + case *sCIMConfigurationResolver: + count, err := r.iam.OrganizationService.CountSCIMEvents(ctx, obj.ParentID) + if err != nil { + r.logger.ErrorCtx(ctx, "cannot count scim events", log.Error(err)) + return nil, gqlutils.InternalServerError(ctx) + } + return &count, nil + } + + r.logger.ErrorCtx(ctx, "unsupported resolver", log.Any("resolver", obj.Resolver)) + return nil, gqlutils.InternalServerError(ctx) +} + // Identity is the resolver for the identity field. func (r *sessionResolver) Identity(ctx context.Context, obj *types.Session) (*types.Identity, error) { if gqlutils.OnlyIDSelected(ctx) { @@ -1542,6 +1752,19 @@ func (r *Resolver) SAMLConfigurationConnection() schema.SAMLConfigurationConnect return &sAMLConfigurationConnectionResolver{r} } +// SCIMConfiguration returns schema.SCIMConfigurationResolver implementation. +func (r *Resolver) SCIMConfiguration() schema.SCIMConfigurationResolver { + return &sCIMConfigurationResolver{r} +} + +// SCIMEvent returns schema.SCIMEventResolver implementation. +func (r *Resolver) SCIMEvent() schema.SCIMEventResolver { return &sCIMEventResolver{r} } + +// SCIMEventConnection returns schema.SCIMEventConnectionResolver implementation. +func (r *Resolver) SCIMEventConnection() schema.SCIMEventConnectionResolver { + return &sCIMEventConnectionResolver{r} +} + // Session returns schema.SessionResolver implementation. func (r *Resolver) Session() schema.SessionResolver { return &sessionResolver{r} } @@ -1563,5 +1786,8 @@ type personalAPIKeyConnectionResolver struct{ *Resolver } type queryResolver struct{ *Resolver } type sAMLConfigurationResolver struct{ *Resolver } type sAMLConfigurationConnectionResolver struct{ *Resolver } +type sCIMConfigurationResolver struct{ *Resolver } +type sCIMEventResolver struct{ *Resolver } +type sCIMEventConnectionResolver struct{ *Resolver } type sessionResolver struct{ *Resolver } type sessionConnectionResolver struct{ *Resolver }